[Bug 2092209] Re: Can't enter passphrase for encrypted disk on splash screen
David B
2092209 at bugs.launchpad.net
Fri Dec 20 16:03:21 UTC 2024
I tried "nvidia-drm.modeset=0". I didn't observe any changes in
behavior.
I have also tried tapping the Escape key. The results depend on when I
tap it.
If I tap the Escape key on the first password splash screen (before the
screen blank), the text screen appears. Interestingly, I can type the
password, but it is not obfuscated (it appears in plain text) and
hitting return just causes a LF on the text terminal.
If I tap the Escape key on the password splash that occurs after the
screen blank, nothing happens.
As far as workarounds go, I'm satisfied to just not use splash.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to plymouth in Ubuntu.
https://bugs.launchpad.net/bugs/2092209
Title:
Can't enter passphrase for encrypted disk on splash screen
Status in plymouth package in Ubuntu:
New
Bug description:
The system has an encrypted disk (/dev/mapper/nvme1n1p4_crypt) that is to be mounted on /data at boot time. During the boot process:
* The default splash screen appears
* A splash screen prompting for the crypt password appears for a couple of seconds. During this time I can enter a few characters.
* The screen goes blank for a second or two.
* The splash screen prompting for the crypt password reappears. It contains dots for the characters that I entered previously. But, it doesn't accept any more input. Ctl-Alt-Del does work, and is the only escape that I've found from the hung condition.
If I boot without "splash" (by editing the GRUB vmlinuz line), I am
prompted for the password, and I can enter it in the terminal, and the
boot process and mount all succeed.
I've created a plymouth-debug.log. The following region of the log
looks suspicious to me:
{{{
00:00:06.096 ../src/libply-splash-core/ply-device-manager.c:1034:create_pix: Adding displays for 1 heads
00:00:06.096 ../src/main.c:1143:on_pixel_display_added : pixel display added after splash loaded, so attaching to splash
00:00:06.096 ../src/libply-splash-core/ply-boot-splash.c:142:ply_boot_splas: adding 1728x1080 pixel display
00:00:06.096 ../src/libply-splash-core/ply-boot-splash.c:145:ply_boot_splas: Splash already shown, so pausing display until next frame update
00:00:06.097 ../src/plugins/controls/label-pango/plugin.c:325:size_control : Text 'Please enter passphrase for disk PC801 NVMe SK hynix 1TB (nvme1n1p4_crypt) on /data:' has dimensions 668x23
00:00:06.097 ../src/plugins/controls/label-pango/plugin.c:325:size_control : Text 'Please enter passphrase for disk PC801 NVMe SK hynix 1TB (nvme1n1p4_crypt) on /data:' has dimensions 668x23
00:00:06.097 ../src/plugins/controls/label-pango/plugin.c:325:size_control : Text 'Please enter passphrase for disk PC801 NVMe SK hynix 1TB (nvme1n1p4_crypt) on /data:' has dimensions 668x23
00:00:06.097 ../src/libply-splash-graphics/ply-label.c:89:ply_label_free : Unloading label control plugin
00:00:06.097 ../src/libply-splash-core/ply-device-manager.c:1148:create_dev: activating renderer
00:00:06.097 ../src/libply-splash-core/ply-device-manager.c:1172:create_dev: activating keyboards
00:00:06.097 ../src/libply-splash-core/ply-keyboard.c:376:ply_keyboard_watc: Watching for keyboard input from renderer
00:00:06.097 ../src/libply-splash-core/ply-boot-splash.c:165:ply_boot_splas: removing 1728x1080 pixel display
00:00:06.097 ../src/libply-splash-core/ply-keyboard.c:395:ply_keyboard_stop: No longer watching for keyboard input from renderer
00:00:06.097 ../src/libply/ply-event-loop.c:765:ply_event_loop_stop_watchin: stopping watching fd 7
00:00:06.097 ../src/libply/ply-event-loop.c:781:ply_event_loop_stop_watchin: removing destination for fd 7
}}}
BTW... I'm using the nvidia driver. I mention this because the above
lines from the plymouth log look as though the display is changed, and
the event loop stops watching the keyboard while the password splash
is awaiting input.
I'm also curious if it normal for plymouth to check the size of the
password prompt 3 times.
The same behavior is described in
https://askubuntu.com/questions/1535684/cant-enter-passphrase-for-encrypted-disk-on-splash-screen
However, I have additional information (e.g., the plymouth log) that
might be pertinent.
System info:
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
uname -a: Linux david-XPS 6.8.0-51-generic #52-Ubuntu SMP
PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64
GNU/Linux
/proc/fb contains: 0 i915drmfb
Kernel driver in use: nvidia
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia
Should I file this as a bug against plymouth?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/2092209/+subscriptions
More information about the foundations-bugs
mailing list