Messages in this thread | | | Date | Fri, 01 May 1998 00:37:10 +0200 | From | Matjaz Breskvar <> | Subject | Keyboard related reboot problem |
| |
Hello!
Every boot on my machine with kernel later than 2.0.0 (and possibly with
kernels sooner than 2.0.0 --- i haven't tried them out yet --- including
2.1.98) results with system reset (during kernel boot).
There are two levels of problem: 1. No kernel later than 2.0 will boot 2. The kernels 2.0 - (including) 2.0.8 will boot only if i hold down any key during boot. On later than 2.0.8 (including 2.1.98) this "workaround" does not work.
I tried to narrow down the problem and this is how i discovered the function call where reboot happens. (The following is for kernel 2.1.98, but during the same function call the reboot happens in 2.0 kernels). It is in
linux/drivers/keyboard.c --- [ at the end of file ]
__initfunc(int kbd_init(void)) { . . .
kbd_init_hw(); init_bh(KEYBOARD_BH, kbd_bh); <---- This is it mark_bh(KEYBOARD_BH); return 0; }
The kernel reboots after kbd_init_hw() so the offending function call is init_bh(KEYBOARD_BH, kbd_bh).
Temporary "workaround" that works for me (at least i can run linux latter than 2.0.8) is to comment it out. I noticed no side effects other
than keyboard leds not working when turning Caps Lock (and similar) on, although they do work.
The hardware i run on is:
intel pentium 166 MMX, ATX motherboard (Spacewalker), eide disk, 32 Mb of SDRAM, ATI Expression graphics card on PCI, Sound Blaster 32 AWE,
I do not know if it is relevant but keyboard works normaly under DOS. I hope that i have been as specific as needed.
Thank you very much in advance !
Matjaz Breskvar
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |