<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックIssue while mounting device mapper created by dm-verity</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Issue-while-mounting-device-mapper-created-by-dm-verity/m-p/1263510#M172729</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Trying to implement dm-verity for verifying/Authenticating my readonly rootfile system.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Host :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Successfully created hashtree and roothash for my ro rootfile system and verified it with &lt;STRONG&gt;verify&lt;/STRONG&gt; command.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Target:(imx8m mini kernel)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Created a mapper /dev/mapper/vroot for the block device which has my readonly rootfile system with the help of hashtree and roothash.&lt;/P&gt;&lt;P&gt;when i try to mount it i'm getting below error.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;sh-4.4# mount -o ro /dev/mapper/vroot /mnt/&lt;BR /&gt;[ 455.059274] device-mapper: verity: 179:2: data block 0 is corrupted&lt;BR /&gt;[ 455.065872] EXT4-fs (dm-0): unable to read superblock&lt;BR /&gt;[ 455.073189] device-mapper: verity: 179:2: data block 0 is corrupted&lt;BR /&gt;[ 455.079513] EXT4-fs (dm-0): unable to read superblock&lt;BR /&gt;[ 455.086139] device-mapper: verity: 179:2: data block 0 is corrupted&lt;BR /&gt;[ 455.092485] EXT2-fs (dm-0): error: unable to read superblock&lt;BR /&gt;[ 455.100009] device-mapper: verity: 179:2: data block 0 is corrupted&lt;BR /&gt;[ 455.106334] SQUASHFS error: squashfs_read_data failed to read block 0x0&lt;BR /&gt;[ 455.113001] squashfs: SQUASHFS error: unable to read squashfs_super_block&lt;BR /&gt;[ 455.121428] device-mapper: verity: 179:2: data block 0 is corrupted&lt;BR /&gt;[ 455.127756] FAT-fs (dm-0): unable to read boot sector&lt;BR /&gt;mount: mounting /dev/mapper/vroot on /mnt/ failed: Input/output error&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Khaleel&lt;/P&gt;</description>
    <pubDate>Fri, 16 Apr 2021 11:12:34 GMT</pubDate>
    <dc:creator>khaleel</dc:creator>
    <dc:date>2021-04-16T11:12:34Z</dc:date>
    <item>
      <title>Issue while mounting device mapper created by dm-verity</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-while-mounting-device-mapper-created-by-dm-verity/m-p/1263510#M172729</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Trying to implement dm-verity for verifying/Authenticating my readonly rootfile system.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Host :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Successfully created hashtree and roothash for my ro rootfile system and verified it with &lt;STRONG&gt;verify&lt;/STRONG&gt; command.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Target:(imx8m mini kernel)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Created a mapper /dev/mapper/vroot for the block device which has my readonly rootfile system with the help of hashtree and roothash.&lt;/P&gt;&lt;P&gt;when i try to mount it i'm getting below error.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;sh-4.4# mount -o ro /dev/mapper/vroot /mnt/&lt;BR /&gt;[ 455.059274] device-mapper: verity: 179:2: data block 0 is corrupted&lt;BR /&gt;[ 455.065872] EXT4-fs (dm-0): unable to read superblock&lt;BR /&gt;[ 455.073189] device-mapper: verity: 179:2: data block 0 is corrupted&lt;BR /&gt;[ 455.079513] EXT4-fs (dm-0): unable to read superblock&lt;BR /&gt;[ 455.086139] device-mapper: verity: 179:2: data block 0 is corrupted&lt;BR /&gt;[ 455.092485] EXT2-fs (dm-0): error: unable to read superblock&lt;BR /&gt;[ 455.100009] device-mapper: verity: 179:2: data block 0 is corrupted&lt;BR /&gt;[ 455.106334] SQUASHFS error: squashfs_read_data failed to read block 0x0&lt;BR /&gt;[ 455.113001] squashfs: SQUASHFS error: unable to read squashfs_super_block&lt;BR /&gt;[ 455.121428] device-mapper: verity: 179:2: data block 0 is corrupted&lt;BR /&gt;[ 455.127756] FAT-fs (dm-0): unable to read boot sector&lt;BR /&gt;mount: mounting /dev/mapper/vroot on /mnt/ failed: Input/output error&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Khaleel&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 11:12:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-while-mounting-device-mapper-created-by-dm-verity/m-p/1263510#M172729</guid>
      <dc:creator>khaleel</dc:creator>
      <dc:date>2021-04-16T11:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while mounting device mapper created by dm-verity</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Issue-while-mounting-device-mapper-created-by-dm-verity/m-p/1263980#M172783</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;Please see&amp;nbsp;3.4 Configurations in Linux/Android platform for security features in&amp;nbsp;i.MX_Android_Security_User's_Guide.pdf&lt;/P&gt;</description>
      <pubDate>Mon, 19 Apr 2021 04:28:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Issue-while-mounting-device-mapper-created-by-dm-verity/m-p/1263980#M172783</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2021-04-19T04:28:27Z</dc:date>
    </item>
  </channel>
</rss>

