LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-13-2013, 08:32 AM   #1
lopid
Member
 
Registered: Jun 2008
Posts: 156

Rep: Reputation: Disabled
Exclamation 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.

Last edited by lopid; 01-13-2013 at 09:09 AM. Reason: Typo correction.
 
Old 01-13-2013, 08:56 AM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
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.
.
 
Old 01-13-2013, 09:08 AM   #3
lopid
Member
 
Registered: Jun 2008
Posts: 156

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by GazL View Post
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.
 
Old 01-13-2013, 09:11 AM   #4
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
Yep, no worries. I thought it might be but it was worth ruling out.
 
Old 03-29-2013, 01:40 PM   #5
lopid
Member
 
Registered: Jun 2008
Posts: 156

Original Poster
Rep: Reputation: Disabled
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.

Last edited by lopid; 03-29-2013 at 01:42 PM. Reason: _ → -, although both work.
 
Old 05-15-2013, 02:53 PM   #6
Phorize
Member
 
Registered: Sep 2005
Location: UK
Distribution: Slackware
Posts: 226

Rep: Reputation: 29
Posted on wrong thread..ignore

Last edited by Phorize; 05-15-2013 at 02:54 PM. Reason: posted on wrong thread
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB keyboard and LUKS slackwareuser5000 Slackware 1 06-26-2012 12:37 PM
LUKS LVM with usb token at boot mrmnemo Ubuntu 3 02-26-2011 08:35 AM
USB HDD with Loop-AES/LUKS jmoschetti45 Linux - Security 2 01-31-2010 11:17 PM
[SOLVED] Entering passphrase on LUKS partition with USB brooky9999 Slackware 7 04-09-2009 04:22 AM
Problem with LUKS or USB device pendeli Linux - General 3 06-23-2008 02:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration