<?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 i.MX8M Plus EXT4-fs error in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-EXT4-fs-error/m-p/2403246#M246322</link>
    <description>&lt;P&gt;i.MX8M Plus EXT4-fs error&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXT4-fs error (device dm-6): ext4_find_dest_de:2030: inode #228492: block 918033: comm Binder:296_3: bad entry in directory: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, lblk=0, size=4096 fake=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Aug 2026 09:24:17 GMT</pubDate>
    <dc:creator>dino0531</dc:creator>
    <dc:date>2026-08-10T09:24:17Z</dc:date>
    <item>
      <title>i.MX8M Plus EXT4-fs error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-EXT4-fs-error/m-p/2403246#M246322</link>
      <description>&lt;P&gt;i.MX8M Plus EXT4-fs error&amp;nbsp;&lt;/P&gt;&lt;P&gt;EXT4-fs error (device dm-6): ext4_find_dest_de:2030: inode #228492: block 918033: comm Binder:296_3: bad entry in directory: rec_len is smaller than minimal - offset=0, inode=0, rec_len=0, lblk=0, size=4096 fake=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2026 09:24:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-EXT4-fs-error/m-p/2403246#M246322</guid>
      <dc:creator>dino0531</dc:creator>
      <dc:date>2026-08-10T09:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: i.MX8M Plus EXT4-fs error</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-EXT4-fs-error/m-p/2405603#M246419</link>
      <description>&lt;P&gt;The added trace confirms the panic is a configured response to an EXT4 metadata error on&amp;nbsp;dm-6&amp;nbsp;; Binder is probably just the userspace thread that happened to create/open a file when EXT4 detected the corrupt directory block.&lt;/P&gt;
&lt;P&gt;What happened:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;EXT4 detected an invalid directory entry while creating a file: the call path is&amp;nbsp;openat()&amp;nbsp;→&amp;nbsp;ext4_create()&amp;nbsp;→&amp;nbsp;ext4_add_entry()&amp;nbsp;→&amp;nbsp;ext4_find_dest_de()&amp;nbsp;.&lt;/LI&gt;
&lt;LI&gt;The directory block is corrupt:&amp;nbsp;inode=0, rec_len=0&amp;nbsp;at&amp;nbsp;offset=0&amp;nbsp;is not a valid EXT4 directory entry.&lt;/LI&gt;
&lt;LI&gt;EXT4 then aborted the journal:&amp;nbsp;Aborting journal on device dm-6-8&amp;nbsp;.&lt;/LI&gt;
&lt;LI&gt;The kernel panicked because the filesystem is configured for&amp;nbsp;errors=panic&amp;nbsp;; EXT4 has explicit panic-on-error modes (&amp;nbsp;EXT4_MOUNT_ERRORS_PANIC&amp;nbsp;,&amp;nbsp;EXT4_ERRORS_PANIC&amp;nbsp;).&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;So the immediate issue is&amp;nbsp;&lt;STRONG&gt;filesystem corruption on the block device behind&amp;nbsp;dm-6&amp;nbsp;&lt;/STRONG&gt;, not a Binder driver failure.&lt;/P&gt;
&lt;P&gt;Most likely location is Android&amp;nbsp;/data&amp;nbsp;/ userdata if&amp;nbsp;dm-6&amp;nbsp;is a mapped encrypted userdata device. NXP i.MX Linux documentation shows EXT4 filesystems can be created on device-mapper crypt devices, and the crypt target intercepts block I/O&amp;nbsp;. NXP Android notes also state that after erasing userdata, Android recreates the EXT4 filesystem and encryption setup on first boot, and normal boot can call&amp;nbsp;e2fsck&amp;nbsp;to check the filesystem&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;Recommended debug sequence:&lt;/P&gt;
&lt;P&gt;adb root&lt;/P&gt;
&lt;P&gt;adb shell mount | grep dm-6&lt;/P&gt;
&lt;P&gt;adb shell cat /proc/mounts | grep dm-6&lt;/P&gt;
&lt;P&gt;adb shell ls -l /dev/block/mapper&lt;/P&gt;
&lt;P&gt;adb shell ls -l /dev/block/by-name&lt;/P&gt;
&lt;P&gt;adb shell dmctl list devices&lt;/P&gt;
&lt;P&gt;adb shell dmsetup table&lt;/P&gt;
&lt;P&gt;Then check for the real lower-layer cause before the EXT4 panic:&lt;/P&gt;
&lt;P&gt;adb shell dmesg | grep -Ei "mmc|cqhci|timeout|I/O error|Buffer I/O|dm-|verity|ext4|jbd2"&lt;/P&gt;
&lt;P&gt;If&amp;nbsp;dm-6&amp;nbsp;maps to&amp;nbsp;/data&amp;nbsp;/ userdata:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Boot to recovery, initramfs, or another mode where userdata is&amp;nbsp;&lt;STRONG&gt;not mounted read-write&lt;/STRONG&gt;&amp;nbsp;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;UL&gt;
&lt;LI&gt;Run:&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;e2fsck -f -y /dev/block/by-name/userdata&lt;/P&gt;
&lt;P&gt;or run it on the correct mapped node only if that is the intended unmounted filesystem target:&lt;/P&gt;
&lt;P&gt;e2fsck -f -y /dev/block/dm-6&lt;/P&gt;
&lt;P&gt;NXP community guidance for similar EXT4 corruption is to check/repair the filesystem with&amp;nbsp;fsck&amp;nbsp;/&amp;nbsp;e2fsck&amp;nbsp;; one reported EXT4 corruption case was resolved with&amp;nbsp;e2fsck&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;If the unit is a development board and data preservation is not required, the cleaner recovery is usually:&lt;/P&gt;
&lt;P&gt;fastboot erase userdata&lt;/P&gt;
&lt;P&gt;fastboot reboot&lt;/P&gt;
&lt;P&gt;or reflash the Android image set. Android will recreate userdata on first boot in the normal userdata-encryption flow&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;For root cause, focus on these areas:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Unexpected power loss or reset during eMMC writes.&lt;/STRONG&gt;&amp;nbsp;NXP material notes that power loss during eMMC writing can reproduce filesystem/superblock damage, and sudden power loss or power-cycle stress can cause eMMC/SD data corruption.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;eMMC / storage errors.&lt;/STRONG&gt;&amp;nbsp;Look for lower-level&amp;nbsp;mmc&amp;nbsp;,&amp;nbsp;cqhci&amp;nbsp;, timeout, or I/O errors before the EXT4 message.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Power integrity / reset sequencing.&lt;/STRONG&gt;&amp;nbsp;If this happens during repeated power cycling, increase the off/on interval and verify the PMIC/eMMC rails are stable before boot.&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;DDR instability.&lt;/STRONG&gt;&amp;nbsp;Similar NXP forum guidance for EXT4 directory corruption also suggested checking whether all patches are applied and validating DDR calibration with the DDR stress test when power timing did not resolve the issue.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Takeaway: map&amp;nbsp;dm-6&amp;nbsp;; if it is userdata, run offline&amp;nbsp;e2fsck&amp;nbsp;or erase/recreate userdata, then investigate eMMC power-loss/reset, lower-level MMC I/O errors, and DDR stability as the likely root causes.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Aug 2026 03:59:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Plus-EXT4-fs-error/m-p/2405603#M246419</guid>
      <dc:creator>yipingwang</dc:creator>
      <dc:date>2026-08-17T03:59:22Z</dc:date>
    </item>
  </channel>
</rss>

