On 05/01/2010 08:06 PM, Si St wrote: > query_device: crypt_query_device API call > [(equal) ,query_device:299] crypt_query_device(&co) == 0 > [(equal) ,query_device:302] crypt_query_device(&co) == 1 > [(success),query_device:304] strncmp(crypt_get_dir(), DMDIR, 11) > [(success),query_device:305] strcmp(co.cipher, "aes-cbc-essiv:sha256") > FAIL line 305 [query_device]: code 1, > FAIL: api-test For the archive: this fail is because SLED10 (2.6.16.60-0.21-default kernel) contains broken dm-crypt module. It seems this upstream patch is missing http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=37af6560f7978c60791b5f3df17ce8b3e97f2d6e it causes device-mapper table status to incorrectly prints cipher this way: 0 65536 crypt cbc(aes)-cbc-essiv:sha256 0000000000000000000000000000000000000000000000000000000000000000 0 7:0 0 The correct form is 0 65536 crypt aes-cbc-essiv:sha256 0000000000000000000000000000000000000000000000000000000000000000 0 7:0 0 So cryptsetup cannot work properly with this kernel. Milan _______________________________________________ dm-crypt mailing list dm-crypt@xxxxxxxx http://www.saout.de/mailman/listinfo/dm-crypt