Bug 839075 - USB keyboard doesn't work for entering password pre root pivot with 3.5 kernels (3.4 works OK)
Summary: USB keyboard doesn't work for entering password pre root pivot with 3.5 kerne...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: dracut
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: dracut-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F18Alpha, F18AlphaBlocker
TreeView+ depends on / blocked
 
Reported: 2012-07-10 20:52 UTC by Bruno Wolff III
Modified: 2012-11-04 13:48 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-07-12 08:21:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
lsusb -v output (37.91 KB, text/plain)
2012-07-10 20:52 UTC, Bruno Wolff III
no flags Details
lsmod output (3.03 KB, text/plain)
2012-07-11 12:18 UTC, Bruno Wolff III
no flags Details
lsmod output under 3.4 kernel (2.71 KB, text/plain)
2012-07-11 18:09 UTC, Bruno Wolff III
no flags Details

Description Bruno Wolff III 2012-07-10 20:52:43 UTC
Created attachment 597423 [details]
lsusb -v output

Description of problem:
When I boot 3.5 kernels I can't use a USB keyboard to enter the rootfs password. Once I get past the root pivot, I can use them. (To work around this I have a PS/2 keyboard.)
When I boot 3.4 kernels (using the same dracut version to build the initramfs) then I can use USB keyboards.

Version-Release number of selected component (if applicable):
dracut-020-70.git20120710.fc18.x86_64
kernel-3.4.4-3.fc17.x86_64
kernel-3.5.0-0.rc6.git0.2.fc18.x86_64
systemd-186-2.fc18.x86_64
plymouth-0.8.6-1.fc18.x86_64


How reproducible:
Seems to happen every boot

I marked this as a potential blocker, but that may depend on how much USB hardware is affected.

Comment 1 Bruno Wolff III 2012-07-10 21:43:20 UTC
Since I was testing plymouth, I tried again with dracut-020-72.git20120710.fc18 and am seeing the same problem.

Comment 2 Harald Hoyer 2012-07-11 06:27:22 UTC
(In reply to comment #1)
> Since I was testing plymouth, I tried again with
> dracut-020-72.git20120710.fc18 and am seeing the same problem.

Can you give me a "lsmod" once your USB keyboard is working? Or just the list of modules, which are needed for it to work?

Comment 3 Bruno Wolff III 2012-07-11 12:18:22 UTC
Created attachment 597547 [details]
lsmod output

Comment 4 Bruno Wolff III 2012-07-11 18:09:38 UTC
Created attachment 597643 [details]
lsmod output under 3.4 kernel

Just in case it helps find out what changed I have included lsmod output from under a 3.4 kernel.

Comment 5 Bruno Wolff III 2012-07-11 18:43:44 UTC
I tested dracut-020-84.git20120711.fc18.x86_64 and still no joy.

Comment 6 Bruno Wolff III 2012-07-11 21:25:42 UTC
adding the following in /etc/dracut.conf fixes the issue for me:
add_drivers+="hid_generic"

hid_generic stood out on the list of modules loaded under the 3.5 kernel that weren't loaded under the 3.4 kernel. So I tried manually including it and it did the trick.

Comment 7 Harald Hoyer 2012-07-12 08:21:32 UTC
(In reply to comment #6)
> adding the following in /etc/dracut.conf fixes the issue for me:
> add_drivers+="hid_generic"
> 
> hid_generic stood out on the list of modules loaded under the 3.5 kernel
> that weren't loaded under the 3.4 kernel. So I tried manually including it
> and it did the trick.

Thanks! Will be in the next dracut!

Comment 8 Bruno Wolff III 2012-07-12 19:33:43 UTC
The kernel guys are talking about making sure hid_generic gets built as part of the kernel again and not as a module.

Comment 9 Harald Hoyer 2012-07-16 08:40:23 UTC
(In reply to comment #8)
> The kernel guys are talking about making sure hid_generic gets built as part
> of the kernel again and not as a module.

no problem, if it's builtin, it will just be a noop

Comment 10 udo 2012-11-04 13:48:42 UTC
or add a dracut.conf.d/usbkayboard.conf:

add_drivers+="hid-generic"


Note You need to log in before you can comment on or make changes to this bug.