agherzan / yubikey-full-disk-encryption

Use YubiKey to unlock a LUKS partition
Apache License 2.0
795 stars 50 forks source link

No keyboard / usb device detected at boot since update (arch linux) #97

Closed Kefedric closed 1 year ago

Kefedric commented 1 year ago

Hi,

I've setup ykfde since 6month, was working flawlessly on my arch linux machine.

Yesterday I did my weekly arch update. This morning I boot up and no keyboad input on prompt.

It looks like no usb device is recognize at all.

Everything work well in BIOS. (keyboard and all) Until bootloader everything seems ok.

So I though something messed up the hooks order in mkinitcpio.conf.

So I checked (from a live linux mint, I successfully mount my encrypted system disk) It is the result : MODULES=(btrfs) BINARIES=(/usr/bin/btrfs) FILES=() HOOKS=(base udev autodetect keyboard keymap modconf block ykfde encrypt filesystems fsck)

So I confuse because everything seems in the good order.

Do you have any idea on how to fix this ?

Kefedric commented 1 year ago

I looked into pacman.log had this :

[2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] ==> Building image from preset: /etc/mkinitcpio.d/linux-zen.preset: 'default' [2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-zen -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-zen.img --microcode /boot/amd-ucode.img [2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] ==> Starting build: '6.2.8-zen1-1-zen' [2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] -> Running build hook: [base] [2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] -> Running build hook: [udev] [2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] -> Running build hook: [autodetect] [2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] sort: impossible de lire: '/sys/devices/pci0000:00/0000:00:08.1/0000:08:00.3/usb2/2-2/2-2.2/2-2.2:1.2/ep_02/uevent': Aucun fichier ou dossier de ce type [2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] modprobe: ERROR: missing parameters. See -h. [2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] -> Running build hook: [keyboard] [2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] -> Running build hook: [keymap] [2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] -> Running build hook: [modconf] [2023-03-31T18:43:15+0000] [ALPM-SCRIPTLET] -> Running build hook: [block] [2023-03-31T18:43:16+0000] [ALPM-SCRIPTLET] -> Running build hook: [ykfde] [2023-03-31T18:43:16+0000] [ALPM-SCRIPTLET] ==> WARNING: Possibly missing firmware for module: 'qat_4xxx' [2023-03-31T18:43:16+0000] [ALPM-SCRIPTLET] -> Running build hook: [encrypt]

The warning for ykfde seems to be harmless from my understanding

The issue Looks like some errors occured in the [autodetect] hook build.

I translate the error: "impossible to read /sys/devices/pci0000:00/0000:00:08.1/0000:08:00.3/usb2/2-2/2-2.2/2-2.2:1.2/ep_02/uevent no file or folder of this type.

So it seems it has nothing to do with ykfde but with autodetect hook, If you think I'am right, feel free to close this, and sorry for disturbance.

Vincent43 commented 1 year ago

Yes, I think this may be something with mkinitcpio changes.