LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   3.7.1 LUKS USB Problem (http://www.linuxquestions.org/questions/slackware-14/3-7-1-luks-usb-problem-4175445398/)

lopid 01-13-2013 08:32 AM

3.7.1 LUKS USB Problem
 
After updating to -current and 3.7.1, my LUKS prompt no longer works with my USB keyboard. I did the usual mkinitrd:

Code:

mkinitrd -c -k 3.7.1-smp -m ext4:uhci-hcd:usbhid -f ext4 -r /dev/cryptvg/root -C /dev/sda2 -L -l uk -h /dev/cryptvg/swap
I have to switch to PS/2 in order to enter the LUKS password. After that, I can switch back to USB and continue as usual, so it just appears to be the LUKS prompt that has the problem.

I tried changing uhci-hcd to ehci-hcd (actually, I added them both), thinking that the kernel now uses EHCI instead of UHCI, but it made no difference. I can see all the modules being loaded just before it shows the prompt. I’ve not had this problem using previous kernels with that mkinitrd command.

Edit: It’s probably worth noting that I ran out of disk space when doing the upgrade, but I “slackpkg reinstall kernel”’d after clearing space and the upgrade continued without any further problem.

GazL 01-13-2013 08:56 AM

Check you didn't make the same typo in your initrd module list that you have above. It should be 'ehci-hcd'. not 'ehci-hid'. Other than that, you're thinking pretty much along the same lines and doing exactly what I would have.
.

lopid 01-13-2013 09:08 AM

Quote:

Originally Posted by GazL (Post 4868973)
Check you didn't make the same typo in your initrd module list that you have above. It should be 'ehci-hcd'. not 'ehci-hid'.

Just a typo in the post. Iíll correct it.

GazL 01-13-2013 09:11 AM

Yep, no worries. I thought it might be but it was worth ruling out.

lopid 03-29-2013 01:40 PM

I found that I have to add hid-generic:

Code:

mkinitrd -c -k 3.8.4-smp -m ext4:uhci-hcd:usbhid:hid-generic -f ext4 -r /dev/cryptvg/root -C /dev/sda2 -L -l uk -h /dev/cryptvg/swap
This is probably due to the later kernels, and should be added to README_CRYPT.TXT in the "USB keyboards and LUKS" section.

Phorize 05-15-2013 02:53 PM

Posted on wrong thread..ignore


All times are GMT -5. The time now is 09:08 AM.