[Pkg-cryptsetup-devel] Bug#478268: Bug#478268: cryptsetup: LUKS device no more recognized at boot
Luca Capello
luca at pca.it
Wed May 14 14:13:40 UTC 2008
Hi Jonas!
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 [1] 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
cryptoroot partition.
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
> prompt.
Thanks to David's information [2], 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
dm_mirror
dm_snapshot
dm_mod
sd_mod
thermal
processor
fan
ahci
libata
scsi_mod
dock
$ modprobe sha256 && cat /proc/modules
sha256_generic
$ modprobe aes && cat /proc/modules
aes
aes_generic
$ modprobe crypto_blkcipher && cat /proc/modules
crypto_blkcipher
=====
Thx, bye,
Gismo / Luca
Footnotes:
[1] http://lists.debian.org/debian-kernel/2007/09/msg00275.html
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=478268#27
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
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
mailing list