Hang on boot without a keyboard

Martijn van Oosterhout (v3100411@student.anu.edu.au)
Sat, 20 Feb 1999 14:52:24 +0000


I've seen it on two machines now so I decided to try and
track it down. When there is no keyboard plugged, the kernel
gets stuck right after the Loading linux...... from LILO.

I tracked it down to empty_8042 in arch/i386/boot/setup.S:758

How do you tell the difference between a broken 8042 and
no keyboard present? I added a limit to the number of times
the code could loop and the kernel booted fine. It's been
working fine ever since.

Is this the right solution or is there something better?

Martijn van Oosterhout
Australia

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/