hello, On 16/08/2009 Celejar wrote: > On Sun, 16 Aug 2009 23:44:44 +0200 > Jonas Meurer <jo...@freesources.org> wrote: > > i don't know, but maybe the modprobe in initramfs is a striped down > > version that doesn't print out errors if the modules don't exist. > > Right you are; I experimented, and modprobe doesn't complain no matter > what I tell it to load - it just fails silently. > > > how exactly did you try to load cbc and sha256? because you need to give > > the module name as argument, not the filename (i.e. modprobe cbc, not > > modprobe cbc.ko). > > So cbc will not load, no matter what I try. Any idea what the problem > could be? > > > if everything is setup properly, the cryptroot initramfs script should > > load required modules automaticly anyway, so i guess that your selfbuild > > kernel simply doesn't have cbc and sha256 modules compiled. > > But they *are* - I see them under lib/modules/xxxx/kernel/crytpo: > > aes_generic.ko cbc.ko crypto_algapi.ko crypto_blkcipher.ko crypto_hash.ko > sha256_generic.ko > > So something is seriously messed up with my kernel / initramfs config - > sha256 needs to be manually loaded, and cbc refuses to load at all. > Any idea where to go from here?
seems like modprobe in initramfs is silent for non-existant modules even with the -v (--verbose) commandline option. please check the following commands and compare the output: (initramfs) modprobe -vl cbc kernel/crypto/cbc.ko (initramfs) modprove -v cbc insmod /lib/modules/2.6.30-1-amd64/kernel/crypto/cbc.ko (initramfs) cat /proc/modules | grep cbc cbc 3776 0 - Live 0xffffffffa015b000 and additionally please send me your kernel .config. greetings, jonas
signature.asc
Description: Digital signature