Hi, (opensuse 11.1, cryptsetup-1.0.5_SVNr46-57.8). I try to migrate from losetup (loop-aes I believe) to dm-crypt, however I didn't even touch the problem with compatibility issues because I am stuck on basic things. I load necessary modules: modprobe dm-mod modprobe dm-crypt modprobe aes_generic modprobe sha512_generic Since I want to have access to the file not to the partition I use losetup: losetup /dev/loop0 my_file So far, so good. But then I run cryptsetup: cryptsetup -d password_file --hash sha512 --cipher aes-cbc-plain --key-size 256 create mapped_img /dev/loop0 and get error: Command failed: reload ioctl failed; invalid argument I checked /var/log/warn, I see 3 lines there: kernel: device-mapper: table: 253:0: crypt: Error allocating crypto tfm kernel: device-mapper: ioctl: error adding target to table kernel: device-mapper: ioctl: device doesn't appear to be in the dev hash table. I already googled, searched the archive of this ML, so far no success in finding why this happens and how to solve this. Thank you in advance for help. Cheers, --------------------------------------------------------------------- dm-crypt mailing list - http://www.saout.de/misc/dm-crypt/ To unsubscribe, e-mail: dm-crypt-unsubscribe@xxxxxxxx For additional commands, e-mail: dm-crypt-help@xxxxxxxx