No keyboard with 3.5.4 initrd
Hi All,
I'm playing around with the testing configs in Slackware64 14 and have run into a problem with 3.5.4. My install uses 2 partitions, 1 for /boot and another luks encrypted volume with everything else on it. My initrd was built using the output of the mkinitrd command generator in /usr/share/mkinitrd as follows: Code:
mkinitrd -c -k 3.4.11 -f ext4 -r /dev/cryptvg/root -m usbhid:ehci-hcd:xhci-hcd:mbcache:jbd2:ext4 -C /dev/sda5 -L -h /dev/cryptvg/swap -l uk -u -o /boot/initrd-generic-3.4.11.gz The mkinitrd command generator produces working output for all other kernels. Discuss....:) |
I would type "lsusb -t" with another kernel running to check which modules are needed by your USB keyboard, then check that theses modules are available and loaded using the 3.5.4 kernel.
|
Quote:
Code:
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M Code:
mkinitrd -c -k 3.5.4 -f ext4 -r /dev/cryptvg/root -m usbhid:ehci-hcd:xhci-hcd:mbcache:jbd2:ext4 -C /dev/sda5 -L -h /dev/cryptvg/swap -l uk -u -o /boot/initrd-generic-3.5.4.gz |
Hi,
Try adding the module hid-generic. (make sure it's module compiled option of course.) I had a similar problem with luks - fully encrypted root partition w/ Slackware x64 14.0, but with kernel 3.6.0. It appears they (kernel devs) made a change where the generic usbhid module doesn't have "all" the drivers with it, and instead broken them up. (correct me if I'm wrong, anyone...) If you make menuconfig on the /usr/src/3.2.29 that Patrick includes and compare it in parallel with a make menuconfig on a newer kernel you will notice the Device Drivers ---> HID menu is slightly different. I'm not sure which exactly kernel version this occurs. I haven't had the chance to go digging. I haven't compiled a new kernel in a few months. Like you, I was thrown off by this for a little while, having done many Luks setups and custom kernels in the past with prior Slackware versions. I've already informed Eric of the issue, regarding the document and the script not picking the latest driver. He's taken note and will investigate later, as the team is on a much needed break after this latest release. :) Hope that helps. |
Quote:
|
Thanks taichi135!
Just wanted to add my thanks to taichi135. I experienced the same problem with a non-booting system last night... wasn't able to use my keyboard to figure out what the problem was. I booted to an emergency partition, added the hid-generic module to my initrd, and I was then able to figure out why my system wasn't booting and fix it.
|
All times are GMT -5. The time now is 04:59 PM. |