<?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>topic Re: Data corrupted error on dm-verity iMX6dl in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Data-corrupted-error-on-dm-verity-iMX6dl/m-p/1633844#M204221</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200751"&gt;@Aravinthkumar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Make sure that the disk has not been changed after the HASH tree is made.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;For example, such as mount, umount.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Then pay attention, after making the hash tree, do not change the content in it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Would you like to share your processing steps? If there is still a problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Harvey&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Apr 2023 11:08:38 GMT</pubDate>
    <dc:creator>Harvey021</dc:creator>
    <dc:date>2023-04-14T11:08:38Z</dc:date>
    <item>
      <title>Data corrupted error on dm-verity iMX6dl</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Data-corrupted-error-on-dm-verity-iMX6dl/m-p/1632866#M204123</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Team,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm using dm-verity in yocto Linux 5.15 on the imx6dl board. On boot&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when device mapper creates I'm getting a data block corrupted error,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you please help to fix this issue.?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error log:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;# cryptsetup 2.4.3 processing "veritysetup create rootfs&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;/dev/mmcblk3p3 /dev/mmcblk3p2&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;11757d96406b3407f8ab9109908c45&lt;/SPAN&gt;&lt;SPAN&gt;1a061c2fd1e66a38f830bb31ebc4cb&lt;/SPAN&gt;&lt;SPAN&gt;5b51&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;--debug"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;device-mapper: verity: 179:3: data block 13040 is corrupted&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;Buffer I/O error on dev dm-0, logical block 13040, async page read&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;device-mapper: verity: 179:3: data block 13040 is corrupted&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;Buffer I/O error on dev dm-0, logical block 13040, async page read&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;[&amp;nbsp; &amp;nbsp; 6.115793] Buffer I/O error on dev dm-0, logical block 13040,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;async page read&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;[&amp;nbsp; &amp;nbsp; 6.130642] Buffer I/O error on dev dm-0, logical block 13040,&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;async page read&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;[&amp;nbsp; &amp;nbsp; 6.348502] device-mapper: verity: 179:3: reached maximum errors&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;[&amp;nbsp; &amp;nbsp; 7.966201] EXT4-fs (dm-0): unable to read superblock&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="arial,helvetica,sans-serif" size="2"&gt;&lt;SPAN&gt;mount: /new_root: can't read superblock on /dev/mapper/rootfs.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#Yocto #dm-verity #linux5.15 #initramfs #dm-verity-initramfs #veritysetup&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Aravinthkumar.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 06:55:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Data-corrupted-error-on-dm-verity-iMX6dl/m-p/1632866#M204123</guid>
      <dc:creator>Aravinthkumar</dc:creator>
      <dc:date>2023-04-13T06:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: Data corrupted error on dm-verity iMX6dl</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Data-corrupted-error-on-dm-verity-iMX6dl/m-p/1633844#M204221</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200751"&gt;@Aravinthkumar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Make sure that the disk has not been changed after the HASH tree is made.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;For example, such as mount, umount.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Then pay attention, after making the hash tree, do not change the content in it.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Would you like to share your processing steps? If there is still a problem.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Best regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Harvey&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 11:08:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Data-corrupted-error-on-dm-verity-iMX6dl/m-p/1633844#M204221</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-04-14T11:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Data corrupted error on dm-verity iMX6dl</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Data-corrupted-error-on-dm-verity-iMX6dl/m-p/1634638#M204305</link>
      <description>&lt;P&gt;Thanks for your response. We have not done any changes on disk.&lt;/P&gt;&lt;P&gt;Below are partitions command executed for partitioning in MFG tool&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;sfdisk --force ${node} &amp;lt;&amp;lt; EOF&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;${BOOT_ROM_SIZE}M,500M,0c&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;700M,800M,83&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;1600M,,83&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;EOF&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below command executed for Hash flash and Rootfs flash in MFG tool ucl file&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;lt;!-- create&amp;nbsp; rootfsHashTree --&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;lt;CMD state="Updater" type="push" body="$ while [ ! -e /dev/mmcblk%mmc%p2 ]; do sleep 1; echo waiting...; done "&amp;gt;Waiting for the partition ready&amp;lt;/CMD&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;lt;CMD state="Updater" type="push" body="send" file="firmware/core-image-base.rootfs.tar.bz2.metadata" ifdev="MX6D"&amp;gt;HASH flash&amp;lt;/CMD&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;lt;CMD state="Updater" type="push" body="$ dd if=$FILE of=/dev/mmcblk%mmc%p2 bs=4096 seek=2"&amp;gt;HASH flash to board&amp;lt;/CMD&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;lt;!-- burn rootfs --&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;lt;CMD state="Updater" type="push" body="$ mkfs.ext4 -F -E nodiscard /dev/mmcblk%mmc%p3"&amp;gt;Formatting rootfs partition&amp;lt;/CMD&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;lt;CMD state="Updater" type="push" body="$ mkdir -p /mnt/mmcblk%mmc%p3"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;lt;CMD state="Updater" type="push" body="$ mount -t ext4 /dev/mmcblk%mmc%p3 /mnt/mmcblk%mmc%p3"/&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;lt;CMD state="Updater" type="push" body="pipe tar -jxv -C /mnt/mmcblk%mmc%p3" file="firmware/core-image-base.rootfs.tar.bz2" ifdev="MX6SL MX6SLL MX6D MX6Q MX6SX"&amp;gt;Sending and writting rootfs&amp;lt;/CMD&amp;gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravinth&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;lt;CMD state="Updater" type="push" body="frf"&amp;gt;Finishing rootfs write&amp;lt;/CMD&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;lt;CMD state="Updater" type="push" body="$ umount /mnt/mmcblk%mmc%p3"&amp;gt;Unmounting rootfs partition&amp;lt;/CMD&amp;gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&amp;lt;CMD state="Updater" type="push" body="$ echo Update Complete!"&amp;gt;Done&amp;lt;/CMD&amp;gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 11:40:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Data-corrupted-error-on-dm-verity-iMX6dl/m-p/1634638#M204305</guid>
      <dc:creator>Aravinthkumar</dc:creator>
      <dc:date>2023-04-17T11:40:10Z</dc:date>
    </item>
    <item>
      <title>Re: Data corrupted error on dm-verity iMX6dl</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Data-corrupted-error-on-dm-verity-iMX6dl/m-p/1635755#M204404</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems hash mismatch between data and hash partition block when create mapper device, "/dev/mmcblk3p3 /dev/mmcblk3p2 11757d96406b3407f8ab9109908c451a061c2fd1e66a38f830bb31ebc4cb5b51".&lt;/P&gt;
&lt;P&gt;Can you share your full log and whole running steps, we can help analyze dm-verity procedure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 02:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Data-corrupted-error-on-dm-verity-iMX6dl/m-p/1635755#M204404</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-04-19T02:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Data corrupted error on dm-verity iMX6dl</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Data-corrupted-error-on-dm-verity-iMX6dl/m-p/2315507#M243943</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200751"&gt;@Aravinthkumar&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Could you share the resolution to this block corruption?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Feb 2026 10:29:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Data-corrupted-error-on-dm-verity-iMX6dl/m-p/2315507#M243943</guid>
      <dc:creator>suryashankar</dc:creator>
      <dc:date>2026-02-10T10:29:39Z</dc:date>
    </item>
  </channel>
</rss>

