[Bug 785603] New: No USB keyboard when booting Xen kernel, so can't unlock encrypted LVM and boot
https://bugzilla.novell.com/show_bug.cgi?id=785603 https://bugzilla.novell.com/show_bug.cgi?id=785603#c0 Summary: No USB keyboard when booting Xen kernel, so can't unlock encrypted LVM and boot Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Major Priority: P5 - None Component: Xen AssignedTo: jdouglas@suse.com ReportedBy: eruby@knowledgematters.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- Created an attachment (id=509955) --> (http://bugzilla.novell.com/attachment.cgi?id=509955) Results from "cat /lib/mkinitrd/scripts/boot-usb.sh" and "mkinitrd" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20100101 Firefox/16.0
From GRUB2 I can select the and boot the vmlinux-3.4.6-2.10-desktop.gz kernel and then enter my passphrase to unlock the encrypted LVM where the root and all other partitions besides /boot reside.
However, if I select the Xen kernel (vmlinux-3.4.6-2.10-xen.gz) when I get the prompt for the passphrase my USB keyboard no longer works. Reproducible: Always Steps to Reproduce: 1. Reboot machine with encrypted LVM and Xen kernel installed 2. Select Xen kernel 3. Can't unlock encrypted LVM Actual Results: Can't boot. Expected Results: Machine boots with Xen kernel. This sounds very similar to the bug reported with the 3.5 kernel here: https://bugzilla.novell.com/show_bug.cgi?id=773559 However, when I tried to work-around by adding 'hid-generic' to the /lib/mkinitrd/scripts/boot-usb.sh file I found that 'hid-generic' ***was already listed.*** HOWEVER, running mkinitrd throws the error "modprobe: Module hid_generic not found." and searching for packages containing the file 'hid-generic' using the YaST2 Software Management tool returns no results. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c1
--- Comment #1 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c2
Jan Beulich
This is similar to bug #775669
I'm not sure - there the ?hci-hcd modules all appear to be present. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c
Jiaying ren
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c3
Charles Arnold
As can be seen from the mkinitrd output, the -desktop flavor gets (among others)
ohci-hcd uhci-hcd ehci-hcd xhci-hcd hid usbhid
whereas the -xen flavor out of these only gets xhci-hcd. Why this is (or how to get mkinitrd to produce sufficiently verbose output to determine the reason) needs to be looked at (suggested by) a mkinitrd person.
Michal Marek owns the mkinitrd package. Perhaps he can answer this question. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c4
Jiaying ren
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c5
Earl Ruby
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c6
--- Comment #6 from Earl Ruby
As can be seen from the mkinitrd output, the -desktop flavor gets (among others)
ohci-hcd uhci-hcd ehci-hcd xhci-hcd hid usbhid
whereas the -xen flavor out of these only gets xhci-hcd. Why this is (or how to get mkinitrd to produce sufficiently verbose output to determine the reason) needs to be looked at (suggested by) a mkinitrd person.
(In reply to comment #1)
This is similar to bug #775669
I'm not sure - there the ?hci-hcd modules all appear to be present.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c7
Jan Beulich
The -xen flavor *does* have ohci-hcd uhci-hcd ehci-hcd xhci-hcd hid usbhid. Scroll your window to the left when viewing http://bugzillafiles.novell.org/attachment.cgi?id=509955
Yeah, sorry, it's the -desktop flavor that only gets xhci-hcd ([uoe]hci-hcd are all built in there).
The missing module is hid-generic, which is listed in the /lib/mkinitrd/scripts/boot-usb.sh script but which can't be found and is not included.
As mentioned elsewhere (perhaps in the referenced bug): 3.4 simply doesn't have such a module, it got introduced in 3.5 only.
Possibly relevant clue: When booting -desktop, I get a graphical screen with a prompt for the passphrase to unlock the LVM. When booting -xen, I get textmode (no graphics) and when I get the text prompt to unlock the LVM, my keyboard does nothing.
So why don't you make Xen match (by passing "vga=mode-<number>" to the hypervisor, with <number> matching the value passed via "vga=" to the native kernel)? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c8
--- Comment #8 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c9
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c10
Raymond Wooninck
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c11
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c12
--- Comment #12 from Earl Ruby
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c13
--- Comment #13 from Jan Beulich
https://bugzilla.novell.com/show_bug.cgi?id=785603
https://bugzilla.novell.com/show_bug.cgi?id=785603#c14
Raymond Wooninck
participants (1)
-
bugzilla_noreply@novell.com