[Pkg-cryptsetup-devel] Bug#478268: Bug#478268: cryptsetup: LUKS device no more recognized at boot
luca at pca.it
Wed May 14 14:13:40 UTC 2008
On Wed, 14 May 2008 10:58:36 +0200, Jonas Meurer wrote:
> On 28/04/2008 Luca Capello wrote:
>> The only partion not encrypted on my system is /dev/sda1, i.e. /boot.
>> Thus, /dev/sda2 is the LVM PV which contains /, /home, swap and four
>> others /mnt LVs.
> I just tried to reproduce your bug, but so far I failed.
Yesterday I remembered that since a while  I've MODULES=dep in
/etc/initramfs-tools/initramfs.conf. Indeed, this is the source of my
bug: changing it to MODULES=most generates an initrd which recognizes my
Just for my curiosity, what was the MODULES value in your tests?
> As you're the only one reporting this bug, I do believe that either
> your setup is broken or you discovered a cornercase.
> I'm thus downgrading severity to important.
While I agree this could be a cornercase, I'm not sure it's less
important. Anyway, it's your package ;-)
>>> do you get a busybox rescue prompt after the cryptsetup failure?
> That's indeed strange. I'm not initramfs expert, but I thought that
> something like break=init or break=bottom should give you a rescue
Thanks to David's information , I could enter the rescue prompt!
Briefly, dm-crypt is not present in the initrd, while all the others
(thus dm-mod, sha256, aes and crypto_blkcipher) yes.
$ cat /proc/modules
$ modprobe sha256 && cat /proc/modules
$ modprobe aes && cat /proc/modules
$ modprobe crypto_blkcipher && cat /proc/modules
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 306 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20080514/4afd4f89/attachment.pgp
More information about the Pkg-cryptsetup-devel