[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [dm-devel] DM-Verity Tool



Thanks Marian & Mikulas,

I'm able to download & compile veritysetup. Also able to configure verity
target.

I have few queries with respect to dmsetup & veritysetup
1. What are the difference between configuring a verity target using
dmsetup & veritysetup. Can these be used interchangeably?

2. I tried passing the root hash value generated by veritysetup as a
parameter to dmsetup but this doesn't work. On doing dmsetup status, the
output is showing as the target corrupted (C). I examined dmesg & found
the following error

[22885.758996] device-mapper: verity: metadata block 62 is corrupted
[22885.759001] Buffer I/O error on device dm-1, logical block 1

3. After creating a verity target using "veritysetup" how to test the
target for corrupted case (As soon as creating the status is Verified (V))
?

Regards,
Pavan


> On 05/21/2013 05:11 PM, pavankumar p globaledgesoft com wrote:
>> Hello Mandeep,
>>
>> I was trying to download the source code to generate the hash from the
>> following location. But looks like this is moved. Pls share the latest
>> git
>> hub location of the source.
>> http://git.chromium.org/cgi-bin/gitweb.cgi?p=dm-verity.git;a=tree
>
> Hi Pavan, dm-verity is in upstream kernel tree now:
>
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/md/dm-verity.c
>
> -- Marian
>
> /* Wow! Kudos to Mikulas, the source looks rather neatly! I should print
> it and hang over my bed to get enlightened... */
>
>>
>>
>> Regards,
>> Pavan
>>
>>
>>
>> --
>> dm-devel mailing list
>> dm-devel redhat com
>> https://www.redhat.com/mailman/listinfo/dm-devel
>>
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]