Le mardi, 19 février 2008 22.10:10 David Härdeman, vous avez écrit : > On Tue, Feb 19, 2008 at 06:38:49PM +0100, Didier Raboud wrote: > > > >Command failed: No key available with this passphrase. > > This probably means that the necessary crypto modules are not present in > the initramfs image or that they weren't loaded as appropriate. > > Could you uncompress the initramfs image and check the contents? > > This can be done by e.g.: > > 1) mkdir /tmp/init > 2) cp /boot/initrd.img-something /tmp/init/initrd.gz > 3) cd /tmp/init > 4) gunzip initrd.gz > 5) cpio -i < initrd > > Then you can poke around in the uncompressed source tree...the modules > are under /lib/modules/something/...
Hi, I tried to do so with a working kernel (2.6.24-1) and a non-working kernel (2.6.25-rc2) : -------- $ ls -la /tmp/init-2.6.25/lib/modules/2.6.25-rc2-amd64/kernel/crypto/ total 93 drwxr-xr-x 2 didier didier 1024 2008-02-19 23:31 . drwxr-xr-x 8 didier didier 1024 2008-02-19 23:31 .. -rw-r--r-- 1 didier didier 33060 2008-02-19 23:31 aes_generic.ko -rw-r--r-- 1 didier didier 11778 2008-02-19 23:31 cbc.ko -rw-r--r-- 1 didier didier 25958 2008-02-19 23:31 crypto_blkcipher.ko -rw-r--r-- 1 didier didier 16658 2008-02-19 23:31 sha256_generic.ko $ ls -la /tmp/init-2.6.24/lib/modules/2.6.24-1-amd64/kernel/crypto/ total 80 drwxr-xr-x 2 didier didier 1024 2008-02-19 23:32 . drwxr-xr-x 8 didier didier 1024 2008-02-19 23:32 .. -rw-r--r-- 1 didier didier 30873 2008-02-19 23:32 aes_generic.ko -rw-r--r-- 1 didier didier 15406 2008-02-19 23:32 blkcipher.ko -rw-r--r-- 1 didier didier 11712 2008-02-19 23:32 cbc.ko -rw-r--r-- 1 didier didier 15584 2008-02-19 23:32 sha256_generic.ko -------- So it seems that the same modules are loaded on both initramfs'es.. Regards, Didier
signature.asc
Description: This is a digitally signed message part.

