From: pavankumar.p@globaledgesoft.com Subject: Re: DM-Verity Tool Date: Wed, 22 May 2013 21:30:03 +0530 (IST) Message-ID: <9159.192.168.200.1.1369238403.squirrel@gesmail.globaledgesoft.com> References: <22416.192.168.200.1.1369149109.squirrel@gesmail.globaledgesoft.com> <519CA6F0.3000309@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <519CA6F0.3000309@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: Marian Csontos Cc: dm-devel@redhat.com, pavankumar.p@globaledgesoft.com List-Id: dm-devel.ids 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 >> >