HI, I have build cryptsetup over Ubuntu 12.04 using standard way with almost all the dependent packages compiled manually. Below is the list of all the packages which generated dependency
errors:- 1) util-linux-ng-2.18.tar.bz2 -->{./configure && make && make install} 2) libgpg-error-1.9.tar.gz --> {./configure && make && make install} 3) libgcrypt-1.5.3.tar.gz --> {./configure && make && make install} 4) LVM2.2.02.99.tgz --> {./configure && make && make install} 5) cryptsetup-1.6.2.tar.bz2 --> {./configure && make && make install} After that I have changed the running kernel 3.8.x with the debian packages of Linux kernel 3.11.x which already have dm-verity.ko module. 6) Then I have insert dm-verity module (modprobe dm-verity) In order to test verity framework, I have created two sample block devices;one for data device and other for hash device:- 7) losetup system.img.raw /dev/loop2 echo "0 $(blockdev --getsize /dev/loop2) linear /dev/loop2 0" |\
dmsetup create my_dm 8) dd if=/dev/zero of=/tmp/store1 bs=1024 seek=2047 count=1 losetup /tmp/store1 /dev/loop0 echo "0 $(blockdev --getsize /dev/loop0) linear /dev/loop0 0" |\
dmsetup create my_hash_dm And finally during test; the veritysetup shows following error instead of Root Hash veritysetup format /dev/mapper/my_dm /dev/mapper/my_hash_dm
Unknown crypt device type VERITY requested. I am unable to locate the issue and tried alot. Please indicate if any of the step is incorrect and should not be done. Also specify any alternatives. Thanks Akash |
-- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel