[Bug 775669] New: Unable to unlock the encrypted volume as the keyboard isn't working at this stage
https://bugzilla.novell.com/show_bug.cgi?id=775669 https://bugzilla.novell.com/show_bug.cgi?id=775669#c0 Summary: Unable to unlock the encrypted volume as the keyboard isn't working at this stage Classification: openSUSE Product: openSUSE 12.2 Version: RC 2 Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Normal Priority: P5 - None Component: Xen AssignedTo: jdouglas@suse.com ReportedBy: joop.boonen@boonen.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1 I've did an update from openSUSE 12.1 with an encrypted volume. The whole directory tree resides in this volume except for /boot When I boot normally i.e. without Xen i can unlock the encrypted volume. When I boot Xen I'm not able to unlock the encrypted volume. It looks like the keyboard working at this stage. Nothing happens when typing or enter. I've tried with an external usb keyboard, this gave the same result. The device is a HP Elitebook 8530w. This notebook doesn't have a ps2 keyboard connector, so I wasn't able to test it with a ps2 keyboard. Reproducible: Always Steps to Reproduce: 1.Boot Xen openSUSE 12.2 2.The encryption password is requested 3.The password cant be typed in. Also no reaction on just enter. Also connected a USB keyboard to the notebook. This didn't solve the problem Actual Results: Cant decrypt the encrypted volume .i.e. openSUSE DomU doesn't boot. Expected Results: To able to type te password, so openSUSE DomU will boot. -- 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=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c1
Joop Boonen
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c
Joop Boonen
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c
Charles Arnold
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c2
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c3
Joop Boonen
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c4
Jan Beulich
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c5
Joop Boonen
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c6
--- Comment #6 from Olaf Hering
Should be
zcat initrd-3.4.6-1.1-xen | cpio -it | grep -E '(usb|hid)'
to cover hid-generic.ko, and should also be done on the native initrd for comparison.
hid-generic is new in 3.5-rc1. With kernel-default the passphrase is asked via plymouth (or whatever). With kernel-xen the passphrase is asked via the well known scripts in textmode. I will debug it further. -- 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=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c7
--- Comment #7 from Jan Beulich
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c8
--- Comment #8 from Jan Beulich
With kernel-default the passphrase is asked via plymouth (or whatever). With kernel-xen the passphrase is asked via the well known scripts in textmode.
Who's plymouth, and why would Xen run in text mode when the native kernel doesn't? -- 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=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c9
Olaf Hering
(In reply to comment #6)
With kernel-default the passphrase is asked via plymouth (or whatever). With kernel-xen the passphrase is asked via the well known scripts in textmode.
Who's plymouth, and why would Xen run in text mode when the native kernel doesn't?
I have no idea. The keyboard works, ctrl+alt+del causes a reset. I have hacked /init to load all available drivers and after a while the kbd works. Later if it asks for the passphrase no kbd input is accepted. I think the bug is that plymouth text mode is broken. If I tweak the scripts in the initrd to not run plymouth then entering the passphrase is possible. Therefore this is not a xen bug. -- 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=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c11
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c12
Raymond Wooninck
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c13
Uwe Geuder
One cause why Plymouth doesn't show its graphical screen might be that kernel-xen is missing the KMS module/setup ?
That might well be. How do I check this? Can I fix this? -- 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=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c14
--- Comment #14 from Uwe Geuder
When booting Xen to safe mode the passphrase can be entered on the Luks volume can be opened.
s/on the Luks volume can be opened/and the Luks volume can be opened/ -- 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=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c15
--- Comment #15 from Uwe Geuder
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c16
Raymond Wooninck
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c17
--- Comment #17 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c18
--- Comment #18 from Uwe Geuder
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c19
Uwe Geuder
Uwe, Can you provide the output of the files contained within the initrd for this xen-kernel ? (lsinitrd <initrd-file>)
I've just attached the lsinitrd output. I also compared the contents of the initrd-desktop and the initrd-xen. The list of filenames is identical (with the expected exception of the kernel modules, which results from the different kernel names) I also unpacked the cpios and diffed them. Here is the result:
diff -r initrd-3.4.11-2.16-desktop.extracted/ initrd-3.4.11-2.16-xen.extracted/ diff -r initrd-3.4.11-2.16-desktop.extracted/config/start.sh initrd-3.4.11-2.16-xen.extracted/config/start.sh 1a2 [ "$RESOLVED_INITRD_MODULES" ] || RESOLVED_INITRD_MODULES='xennet xenblk' Only in initrd-3.4.11-2.16-desktop.extracted/lib/modules: 3.4.11-2.16-desktop Only in initrd-3.4.11-2.16-xen.extracted/lib/modules: 3.4.11-2.16-xen diff -r initrd-3.4.11-2.16-desktop.extracted/run_all.sh initrd-3.4.11-2.16-xen.extracted/run_all.sh 14a15 [ "$RESOLVED_INITRD_MODULES" ] || RESOLVED_INITRD_MODULES='xennet xenblk'
Only 2 files differ.
I assume that when you indicate that the passphrase can be entered when booting in safe-mode is that Plymouth is not running at that moment ?
I'd assume so. The screen is a white on black text mode console. -- 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=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c20
--- Comment #20 from Uwe Geuder
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c21
--- Comment #21 from Joop Boonen
As a workaround, boot with 'rd.plymouth=0' to fix the 'ask for passphrase' part
in the initrd.
--
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=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c
Joop Boonen
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c22
Raymond Wooninck
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c23
Uwe Geuder
1) What's the output of /sys/class/tty/console/active
Hmm, we are talking about a system with no working keyboard and no access to a shell (needless to mention ssh, because the rootfs hasn't even been mounted) So any advice how I could collect the information requested?
2) Please add plymouth:debug to the kernel command line
Done and screen shots taken of vt1 and vt7. (Other vts didn't seem to be in in use). I'll upload them in a minute. It looks like the vt1 output might already answer your question about the console. -- 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=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c24
--- Comment #24 from Uwe Geuder
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c25
--- Comment #25 from Uwe Geuder
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c26
--- Comment #26 from Uwe Geuder
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c27
--- Comment #27 from Raymond Wooninck
1) What's the output of /sys/class/tty/console/active
Hmm, we are talking about a system with no working keyboard and no access to a shell (needless to mention ssh, because the rootfs hasn't even been mounted)
So any advice how I could collect the information requested?
The request was here to capture the output when the system is fully booted. Just to see which console is indeed active. This can be done without having Plymouth active. But I assume that this is tty7 -- 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=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c28
--- Comment #28 from Uwe Geuder
The request was here to capture the output when the system is fully booted. Just to see which console is indeed active. This can be done without having Plymouth active.
OK. Booted to Xen kernel using rd.plymouth=0 $ cat /sys/class/tty/console/active xvc-1 tty0 The same as previously visible in screenshot of vt1
But I assume that this is tty7
Well yes, X is running on tty7 $ ps -el | grep X 4 S 0 1007 924 5 80 0 - 48023 ? tty7 00:00:14 Xorg so tty0 is tty7 as long as I am in X. Not sure whether this would already be the case when plymouth is running. . -- 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=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c29
Nick Couchman
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c
Nick Couchman
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c30
Андрей Кольчугин
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c31
--- Comment #31 from Nick Couchman
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c32
Raymond Wooninck
https://bugzilla.novell.com/show_bug.cgi?id=775669
https://bugzilla.novell.com/show_bug.cgi?id=775669#c33
Raymond Wooninck
participants (1)
-
bugzilla_noreply@novell.com