[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernels above 4.9 break encrypted disks



Le 20/08/2017 à 01:08, Borden Rhodes a écrit :

Here is the output from my system:
$ modinfo 4.12.0-1-amd64 xts
modinfo: ERROR: Module 4.12.0-1-amd64 not found.

You forgot the -k option before the version.
Otherwise, you can directly probe the file :

modinfo /lib/modules/4.12.0-1-amd64/kernel/crypto/xts.ko

$ lsinitramfs /boot/initrd.img-4.12.0-1-amd64 | grep ecb
## No output

So the ecb module is not included.
Can you check that the 4.12 kernel has an ecb module ?

ls /lib/modules/4.12.0-1-amd64/kernel/crypto/

I'm sure I just need to tweak something in a setting somewhere. I just
don't know where to begin.

As a workaround, my idea is to force inclusion of the ecb module in the initramfs by listing it in /etc/initramfs-tools/modules and rebuilding the initramfs with

update-initramfs -u -k 4.12.0-1-amd64


Reply to: