dm-crypt.saout.de archive mirror
 help / color / mirror / Atom feed
From: Aditya Prakash <adiprakash@cs.stonybrook.edu>
To: dm-crypt@saout.de
Subject: [dm-crypt] [DM-Verity] Corruption after activation during boot
Date: Sat, 20 Mar 2021 04:22:41 -0700	[thread overview]
Message-ID: <CAA+CgzajXkSk0KUqbO-=wBp63+sYpHsyy8pyEtc1aU-tKMUQdQ@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 503 bytes --]

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.


Thanks,
Aditya

[-- Attachment #1.2: Type: text/html, Size: 609 bytes --]

[-- Attachment #2: Type: text/plain, Size: 147 bytes --]

_______________________________________________
dm-crypt mailing list -- dm-crypt@saout.de
To unsubscribe send an email to dm-crypt-leave@saout.de

             reply	other threads:[~2021-03-20 11:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-20 11:22 Aditya Prakash [this message]
2021-03-24  8:57 ` [dm-crypt] Re: [DM-Verity] Corruption after activation during boot Tom Eccles
2021-03-24  9:45   ` Milan Broz
2021-03-24 23:51     ` Aditya Prakash
2021-03-25  0:10       ` Milan Broz
2021-03-25  1:24         ` Aditya Prakash

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA+CgzajXkSk0KUqbO-=wBp63+sYpHsyy8pyEtc1aU-tKMUQdQ@mail.gmail.com' \
    --to=adiprakash@cs.stonybrook.edu \
    --cc=dm-crypt@saout.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).