Package: cryptsetup-initramfs Version: 2:2.3.1-1 Severity: important Dear Maintainer,
After upgrading to linux-5.6.0, cryptsetup in initramfs was failing with: device-mapper: table: 253:0: crypt: Error allocating crypto tfm device-mapper: reload ioctl on failed: No such file or directory It seems that linux-5.6 changes a lot of things in crypto modules, and I started to add everything in /etc/initramfs-tools/modules from /lib/modules/5.6.0-1-amd64/kernel/crypto/. After bisecting the whole list, I figured out that I just need to add "ecb" in the list. For info, here is the start of my cryptsetup luksDump: LUKS header information for /dev/sda3 Version: 1 Cipher name: aes Cipher mode: xts-plain64 Hash spec: sha1 Payload offset: 4096 MK bits: 512 I still have a Core2 CPU as I reported in #901884. It is now a Q9550, but with the same feature set. I am available for further testing, Adrien -- Package-specific info: -- /proc/cmdline BOOT_IMAGE=/vmlinuz-5.6.0-1-amd64 root=UUID=62463010-7399-44cd-a0ef-e99aad3568e5 ro quiet luks=no radeon.dpm=0 -- /etc/crypttab sda3_crypt UUID=0629b8a7-14db-4142-964c-dcdc84af1513 none luks,discard sda4_crypt /dev/disk/by-partuuid/87e73465-99b4-49d5-a575-0291d637fcc3 sda3_crypt luks,keyscript=/lib/cryptsetup/scripts/decrypt_derived -- /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/sda3_crypt / ext4 lazytime,errors=remount-ro 0 1 UUID=e6f8f35b-6e83-4550-a703-124273418d82 /boot ext2 defaults,lazytime,noatime 0 2 /dev/mapper/sda4_crypt none swap sw 0 0 tmpfs /tmp tmpfs nodev,nosuid,size=20%,mode=1777 0 0 # Automounts belette:/nas/vidéos /home/adrien/Vidéos nfs defaults,users,noauto,x-systemd.automount,x-systemd.idle-timeout=1000m 0 0 belette:/nas/téléchargements /home/adrien/Téléchargements/belette nfs defaults,users,noauto,x-systemd.automount,x-systemd.idle-timeout=10m 0 0 belette:/nas/musique /home/adrien/Musique nfs defaults,users,noauto,x-systemd.automount,x-systemd.idle-timeout=1000m 0 0 belette:/nas/photos/adrien /home/adrien/Images nfs defaults,users,noauto,x-systemd.automount,x-systemd.idle-timeout=1000m 0 0 #belette:/media/nas/backups /media/belette/backups nfs defaults,noauto,mountvers=3,x-systemd.automount,x-systemd.idle-timeout=1000m 0 0 -- lsmod Module Size Used by rpcsec_gss_krb5 40960 0 auth_rpcgss 114688 1 rpcsec_gss_krb5 nfsv4 811008 2 dns_resolver 16384 1 nfsv4 nfs 376832 2 nfsv4 lockd 122880 1 nfs grace 16384 1 lockd fscache 389120 2 nfsv4,nfs coretemp 20480 0 snd_hda_codec_realtek 126976 1 snd_hda_codec_generic 94208 1 snd_hda_codec_realtek ata_generic 16384 0 ledtrig_audio 16384 2 snd_hda_codec_generic,snd_hda_codec_realtek snd_hda_codec_hdmi 73728 1 iTCO_wdt 16384 0 snd_hda_intel 57344 4 snd_intel_dspcfg 24576 1 snd_hda_intel iTCO_vendor_support 16384 1 iTCO_wdt watchdog 28672 1 iTCO_wdt snd_hda_codec 163840 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek kvm_intel 327680 0 radeon 1630208 7 kvm 811008 1 kvm_intel snd_hda_core 106496 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek snd_hwdep 16384 1 snd_hda_codec joydev 28672 0 snd_pcm 131072 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core irqbypass 16384 1 kvm ttm 122880 1 radeon snd_timer 45056 1 snd_pcm drm_kms_helper 245760 1 radeon lpc_ich 28672 0 pcspkr 16384 0 serio_raw 20480 0 i2c_i801 32768 0 sg 36864 0 pata_jmicron 16384 0 mfd_core 20480 1 lpc_ich snd 106496 16 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm soundcore 16384 1 snd r8169 90112 0 cec 61440 1 drm_kms_helper realtek 24576 1 libphy 139264 2 r8169,realtek i2c_algo_bit 16384 1 radeon button 24576 0 acpi_cpufreq 28672 0 overlay 135168 3 drm 598016 8 drm_kms_helper,radeon,ttm parport_pc 28672 0 sunrpc 499712 9 nfsv4,auth_rpcgss,lockd,rpcsec_gss_krb5,nfs ppdev 24576 0 lp 20480 0 parport 61440 3 parport_pc,lp,ppdev ip_tables 32768 0 x_tables 53248 1 ip_tables autofs4 53248 6 ext4 774144 2 crc16 16384 1 ext4 mbcache 16384 1 ext4 jbd2 139264 1 ext4 aes_generic 36864 4 libaes 16384 1 aes_generic xts 16384 2 dm_crypt 49152 2 dm_mod 159744 5 dm_crypt raid10 65536 0 raid456 176128 0 libcrc32c 16384 1 raid456 crc32c_generic 16384 3 async_raid6_recov 24576 1 raid456 async_memcpy 20480 2 raid456,async_raid6_recov async_pq 20480 2 raid456,async_raid6_recov async_xor 20480 3 async_pq,raid456,async_raid6_recov xor 24576 1 async_xor async_tx 20480 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov raid6_pq 122880 3 async_pq,raid456,async_raid6_recov raid1 53248 0 raid0 24576 0 multipath 20480 0 linear 20480 0 md_mod 180224 6 raid1,raid10,raid0,linear,raid456,multipath ecb 16384 2 sd_mod 57344 4 t10_pi 16384 1 sd_mod crc_t10dif 20480 1 t10_pi crct10dif_generic 16384 1 crct10dif_common 16384 2 crct10dif_generic,crc_t10dif evdev 28672 24 hid_generic 16384 0 usbhid 65536 0 hid 147456 2 usbhid,hid_generic ahci 40960 3 libahci 45056 1 ahci libata 290816 4 libahci,ahci,ata_generic,pata_jmicron scsi_mod 253952 3 sd_mod,libata,sg ehci_pci 20480 0 psmouse 180224 0 uhci_hcd 53248 0 ehci_hcd 98304 1 ehci_pci usbcore 315392 4 ehci_pci,usbhid,ehci_hcd,uhci_hcd usb_common 16384 3 usbcore,ehci_hcd,uhci_hcd -- System Information: Debian Release: bullseye/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE=fr_FR.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages cryptsetup-initramfs depends on: ii busybox 1:1.30.1-4 ii cryptsetup 2:2.3.1-1 ii debconf [debconf-2.0] 1.5.74 ii initramfs-tools [linux-initramfs-tool] 0.137 Versions of packages cryptsetup-initramfs recommends: ii console-setup 1.195 ii kbd 2.0.4-4 cryptsetup-initramfs suggests no packages. -- debconf information: cryptsetup-initramfs/prerm_active_mappings: true