sja@sirius.hut.fi (Sakari Jalovaara) (03/07/90)
(Sun 3/50, SunOS 4.0.3) Sometimes when X (MIT "example" X11R3 and X11R4) exits, the keyboard first sends random characters and then freezes completely. This has happened several (10..20) times on our dozen Suns. I have tried the following: kbd_mode -a no effect stty sane >/dev/console hangs echo foo >/dev/console nothing appears on the console kill -9 [getty PID] new getty appears, kbd still hung fastboot fixes rsh [machine] xinit X works; keyboard still dead when X exits rsh [machine] suntool suntools works; keyboard still dead when suntools exits L1-A C abort works (goes to the ROM monitor); keyboard still dead after C(ontinue) disconnect and reconnect the keyboard no effect kill -9 [getty pid]; trace -p [new getty PID] This cures the keyboard! Trace sometimes does magical things... This might (read: "gut feeling") be streams-related; "netstat -m" reports lots (hundreds or thousands) of allocation failures after keyboard hangs. Has anyone else seen this? Is there a fix? ++sja