This bug did bite me in the past with Kernel 3.2 and Debian testing too, and I consider the Logitech wireless keyboard drivers in a similar tested fashion such as NVIDIA proprietary drivers – pretty much exotic and hard to maintain all the changes.
It’s not fun once you’ve chosen the grub entry and are prompted to enter your password for the encrypted LVM in order to boot your entire system – and nothing happens on the Logitech K800 wireless keyboard. But before it did work on selecting the correct grub entry.
Some googling for the error unveiled several threads providing insights and workaround fixes. This one told me that dracut is the root cause being responsible for loading the logitech kernel module before cryptsetup would prompt for the password. Which totally makes sense.
So how to convince dracut to load the logitech driver? It actually tries to do so already. So the initial workaround below did not work.
# vim /etc/dracut.conf add_drivers+=" hid-logitech-dj " # dracut -f
In a different manner, it came up that the kernel module had been renamed recently from “hid-logitech-dj” to “hid-logitech-hidpp”. Renaming something normally breaks all other dependencies, but looking at this fix – well, hardcoding everything somewhere in a shell script, oh my.
While waiting for an updated dracut, either patch the module-setup.sh – which might break on dracut package update again.
imagine ~ # yum install dracut imagine ~ # cp /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh.orig imagine ~ # vim /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh imagine ~ # diff -ur /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh.orig /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh --- /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh.orig 2015-04-03 12:45:32.779223333 +0200 +++ /usr/lib/dracut/modules.d/90kernel-modules/module-setup.sh 2015-04-03 12:45:45.843129483 +0200 @@ -45,7 +45,7 @@ instmods yenta_socket scsi_dh_rdac scsi_dh_emc \ atkbd i8042 usbhid hid-apple hid-sunplus hid-cherry hid-logitech \ - hid-logitech-dj hid-microsoft firewire-ohci \ + hid-logitech-dj hid-logitech-hidpp hid-microsoft firewire-ohci \ pcmcia usb_storage nvme hid-hyperv hv-vmbus \ sdhci_acpi
Or fix the dracut configuration for loading the correct additional driver. Note: Only rebuild the image for 3.19.x – the renamed driver does not exist in 3.18.x and below. (I did boot the old kernel allowing me to drecrypt the system).
# vim /etc/dracut.conf add_drivers+=" hid-logitech-hidpp " # dracut -f /boot/initramfs-3.19.1-201.fc21.x86_64.img 3.19.1-201.fc21.x86_64