I encountered a problem that might be specific to notebooks with
power-management enabled. I run Linux 0.99pl9 (from SLS 1.01) on a
SX386/33 notebook (ESCOM blackmate) with 4MB main memory and 81MB
hard disk (with a 10MB swap partition).
When I run emacs under X (well, it is slowish) and the hard disk
has been shut down by the power management, it can happen that
the HD is started -- probably because Linux wants to swap -- and
while the HD spins up, all typed input is ignored. Well, I
glanced through the code and noticed that in the function
"ll_rw_page" Linux may sleep uninterrupatble (provided that my
interpretation of cli as disabling all interrupts is correct --
I'm not a 386 guru) until there is a free entry in the request
queue. I changed that by putting a sti/cli around the sleep and
it seemed to help somewhat. I'm not sure whether this a safe
hack, but I believe that kbd interrupts shouldn't be disabled
Nevertheless, I still encounter the problem sometimes,
e.g., when typing a ^K and some characters, these characters may
not find there way into the emacs buffer (if the ^K forces a HD
start, probably in order to swap).
Any hints or clues?