[Bug 229732] Re: USB Keyboard drivers not loaded in initramfs

Peter Cordes peter at cordes.ca
Tue Sep 9 21:53:15 UTC 2008


This is only a problem with break=premount or earlier.  break=mount
happens after hal/udev have loaded drivers for everything.

 Note that some servers don't _support_ ps/2 keyboards anymore.  e.g. I
have a rack of Dell PE1950 machines with a KVM-over-IP that connects to
1 USB port and their VGA out.  I don't think the PE1950 even has a PS/2
port anywhere.

 The best fix for this is probably in scripts/functions:panic().  It already does
        modprobe i8042
        modprobe atkbd
 before dropping to a shell.

 So just add maybe 
modprobe ehci-hcd
modprobe hid
to that.  I think that's right.  I'll see if I can boot a machine with a ps/2 and usb kbd attached, and load modules until the USB kbd starts working at break=premount.

 Hmm, I don't know how to detect the right USB controller module.  ehci-
hcd is for usb2.0 machines, and older hardware only has uhci-hcd or
ohci-hcd.  There might be laptops with no ps/2 ports, broken internal
keyboards, and only USB1.1 support.  Other than that, this fix would be
enough for most people, since USB keyboards are most often used on newer
computers.  At least USB1.1 computers will have PS/2 ports...


** Changed in: initramfs-tools (Ubuntu)
       Status: New => Confirmed

-- 
USB Keyboard drivers not loaded in initramfs
https://bugs.launchpad.net/bugs/229732
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to initramfs-tools in ubuntu.




More information about the kernel-bugs mailing list