[Pkg-cryptsetup-devel] Bug#429928: Bug#429928: cryptsetup: can't boot with kernel 2.6.21

Jonas Meurer jonas at freesources.org
Thu Jun 21 10:53:25 UTC 2007


On 21/06/2007 Dmitry Borodaenko wrote:
> Package: cryptsetup
> Version: 2:1.0.4+svn29-1
> Severity: important
> 
> When booting latest Linux kernel 2.6.21 from unstable
> (linux-image-2.6.21-1-686 2.6.21-4), device mapper reports "Error
> allocating crypto tfm" (see screen photo at boot time[0]) and returns to
> the step of asking for password.
> 
> angdraug at x41:~$ cat /etc/crypttab 
> # <target device> <source device> <key file> <options>
> root    /dev/sda5       none            cipher=aes-cbc-essiv:sha256
> #swap   /dev/sda6       /dev/urandom    swap

This most likely means that the required crypto kernel modules were not
loaded by the initramfs.

For aes-cbc-essiv:sha256, you need the kernel modules dm-mod, dm-crypt,
aes, cbc, sha256 and blkcipher.

If you use initramfs-tools, add all these to /etc/initramfs-tools/modules
and regenerate the initramfs afterwards.

Maybe some of these modules where compiled into the 2.6.18 kernel while
the 2.6.21 kernel has compiled them as modules.

...
 jonas

-- 
"In post-historical society, the rulers have ceased to rule,
		but the slaves remain slaves." - Perry Anderson




More information about the Pkg-cryptsetup-devel mailing list