You are not logged in.

#1 2022-10-18 07:10:01

NPC_1337
Member
Registered: 2022-10-18
Posts: 1

No more encryption passphrase prompt at boot

Hey,

so a recent update seems to have disabled my system's ability to display a prompt for the passphrase for my encrypted root partition.
I now only get the following output on both my screens (both attached to my iGPU/mainboard):

:: running early hook [udev]
Starting version 251.5-1-arch
_

From there I can type the passphrase blindly and successfully boot the system, however it would be nice to get the prompt back in case of error.
A regular boot looked like this before:

:: running early hook [udev]
Starting version 251.5-1-arch
:: running hook [udev]
:: Triggering uevents...
:: running hook [keymap]
:: Loading keymap...done.
:: running hook [encrypt]

A password is required to access the volume foo
Enter passphrase for /dev/nvmen1p2:

After some troubleshooting I noticed that the prompt gets displayed properly, when I remove the vfio-pci.ids bit for my dedicated GPU from my kernel commandline (in /boot/loader/entries/arch.conf).
No prompt:

options cryptdevice=UUID=1234-56789-0abcdef-123456:vg0 root=/dev/mapper/vg0-root rw intel_pstate=no_hwp intel_iommu=on iommu=pt vfio-pci.ids=1002:67df,1002:aaf0 hugepages=4096

Yes prompt:

options cryptdevice=UUID=1234-56789-0abcdef-123456:vg0 root=/dev/mapper/vg0-root rw intel_pstate=no_hwp intel_iommu=on iommu=pt hugepages=4096

So it seems that not initializing my dedicated GPU at boot seems to be the cause for not displaying a prompt.
I have two monitors, one is connected to my dedicated GPU AND my iGPU (which I use for the archlinux host) and the other is only connected to the iGPU.
They both display the same thing during boot.

My mkinitcpio.conf:

MODULES=(vendor-reset vfio_pci vfio vfio_iommu_type1 vfio_virqfd ext4)
BINARIES=()
FILES=()
HOOKS=(base udev autodetect keyboard keymap modconf block encrypt lvm2 resume filesystems fsck)

Some more info:
CPU: Intel i7-4790K
dGPU: AMD RX480
Kernel: 6.0.1-arch2-1
systemd: 251.5-1

If anyone can make any sense from this and tell me how to restore my beloved prompt, I'd be eternally grateful.
Thanks for reading



EDIT 2023-09: Solved by some update (systemd is now version 254.3-1, linux 6.5.3.arch1-1)

Last edited by NPC_1337 (2023-09-17 09:34:48)

Offline

Board footer

Powered by FluxBB