[dm-crypt] Re: [DM-Verity] Corruption after activation during boot

Tom Eccles <[email protected]> Wed, 24 Mar 2021 08:57:32 +0000
Newsgroups de.saout.dm-crypt
Message-ID <[email protected]>
Hi Aditya,

On 3/20/21 11:22 AM, Aditya Prakash wrote:
> Hi,
> I am using the same device (/dev/sda2) for data and hash with --hash-offset
> set. The hash offset is set to 4096 added to the total space used in
> /dev/sda. When I verify the verity target without activating, it succeeds
> and gives valid (V) status. However, when I try to load it during boot, it
> gives an error with corruption at 0 and 1 block and is stuck in the boot
> loop.
> 
> Is there something wrong I am doing with the hash-offset? Any help or
> guidance would be really appreciated.

This sounds similar to https://gitlab.com/cryptsetup/cryptsetup/-/issues/462

That issue should be fixed with Linux 5.12.

Tom

> 
> Thanks,
> Aditya
> 
> 
> _______________________________________________
> dm-crypt mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> 
_______________________________________________
dm-crypt mailing list -- [email protected]
To unsubscribe send an email to [email protected]