<?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>Processor Expert SoftwareのトピックRe: IMX6ULL fails to mount UBIFS after power-cycle</title>
    <link>https://community.nxp.com/t5/Processor-Expert-Software/IMX6ULL-fails-to-mount-UBIFS-after-power-cycle/m-p/1777017#M5743</link>
    <description>&lt;P&gt;Hi Zhiming,&lt;/P&gt;&lt;P&gt;Thanks for your reply! Our issue is a little different, the kernel emits 0 errors or warnings when trying to mount. There are no messages indicating read errors or so. After re-performing an ubiformat, everything is fine and we can perform numerous "dirty" reboots. However in a real-life product that is of course not an option. The filesystem can not go corrupt in our case.&lt;/P&gt;&lt;P&gt;The NAND chips are practically new and we've seen this happen on some new systems. Since UBIFS is supposed to be fault tolerant, this issue is likely caused somewhere between the GPMI and the NAND. The error is also that un-common that no error messages pop up. I did not find any other reference with this kind of behavior.&lt;BR /&gt;&lt;BR /&gt;I made a dump of the mtd and I will sniff through that to find any areas that are different to see what might have caused this.&lt;/P&gt;&lt;P&gt;BR, Pieter&lt;/P&gt;</description>
    <pubDate>Tue, 19 Dec 2023 08:55:06 GMT</pubDate>
    <dc:creator>PiVo</dc:creator>
    <dc:date>2023-12-19T08:55:06Z</dc:date>
    <item>
      <title>IMX6ULL fails to mount UBIFS after power-cycle</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/IMX6ULL-fails-to-mount-UBIFS-after-power-cycle/m-p/1775589#M5740</link>
      <description>&lt;P&gt;Dear readers,&lt;/P&gt;&lt;P&gt;We are experiencing an issue with mounting UBIFS. On a (very) limited number of products we see that it can occur that the filesystem fails to mount during boot. This issue is &lt;EM&gt;not&lt;/EM&gt; (yet) reproducible by attempting excessive amounts of power-cuts while writing. When the issue occurs the kernel plainly bails out without any error notable messages:&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;[ &amp;nbsp;333.690893] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 4206&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;[ &amp;nbsp;333.740652] UBIFS (ubi0:0): recovery needed&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;[ &amp;nbsp;334.197053] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;Our system is running on a system with kernel 5.4.24-2.1.0, using NAND type MT29F1G08ABAFAH4-AAT:F.&lt;BR /&gt;&lt;BR /&gt;After enabling dynamic_debug in the kernel, I'm getting the following logging. Can anybody help me out decoding this, to get an idea of what is happening (has happened)?&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.574942] ubifs_change_lp: UBIFS DBG lp (pid 687): LEB 130, free 0, dirty 2496, flags 19&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.583293] ubifs_lpt_lookup_dirty: UBIFS DBG lp (pid 687): LEB 130, free 2048, dirty 608, flags 3&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.592327] ubifs_wbuf_seek_nolock: UBIFS DBG io (pid 687): LEB 130:126976, jhead 1 (base)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.600665] ubifs_replay_journal: UBIFS DBG mnt (pid 687): finished, log head LEB 4:108544, max_sqnum 32724, highest_inum 206&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.614759] kill_orphans: UBIFS DBG rcvry (pid 687): LEB 8&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.620366] ubifs_start_scan: UBIFS DBG scan (pid 687): scan LEB 8:0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.645085] ubifs_scan: UBIFS DBG scan (pid 687): look at LEB 8:0 (126976 bytes left)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.653078] ubifs_scan_a_node: UBIFS DBG scan (pid 687): scanning orphan node at LEB 8:0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.661768] ubifs_scan: UBIFS DBG scan (pid 687): look at LEB 8:40 (126936 bytes left)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.669828] ubifs_scan_a_node: UBIFS DBG scan (pid 687): scanning padding node at LEB 8:40&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.678193] ubifs_scan_a_node: UBIFS DBG scan (pid 687): 1980 bytes padded at LEB 8:40, offset now 2048&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.687669] ubifs_scan: UBIFS DBG scan (pid 687): look at LEB 8:2048 (124928 bytes left)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.696317] ubifs_scan_a_node: UBIFS DBG scan (pid 687): hit empty space at LEB 8:2048&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.704373] ubifs_end_scan: UBIFS DBG scan (pid 687): stop scanning LEB 8 at offset 2048&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.725848] ubifs_lookup_level0: UBIFS DBG tnc (pid 687): search key (181, inode)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.733528] ubifs_lookup_level0: UBIFS DBG tnc (pid 687): found 0, lvl 0, n -1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Jan 1 01:48:48 kernel: [ 234.743305] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" stops&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you in advance,&lt;BR /&gt;Best regards, Pieter&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 12:44:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/IMX6ULL-fails-to-mount-UBIFS-after-power-cycle/m-p/1775589#M5740</guid>
      <dc:creator>PiVo</dc:creator>
      <dc:date>2023-12-15T12:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL fails to mount UBIFS after power-cycle</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/IMX6ULL-fails-to-mount-UBIFS-after-power-cycle/m-p/1776727#M5742</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/172542"&gt;@PiVo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here i find some reference cases may help you&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors/UBIFS-recovery-needed/td-p/149849" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/UBIFS-recovery-needed/td-p/149849&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://groups.google.com/g/linux-sunxi/c/qy1e73X6TVs/m/Z8gz8-MDqcsJ" target="_blank"&gt;https://community.toradex.com/t/vf50-kernel-panic-starting-with-ubifs-error-ubi0-2-pid-1/12911/4https://groups.google.com/g/linux-sunxi/c/qy1e73X6TVs/m/Z8gz8-MDqcsJ&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiming_Liu_0-1702954477635.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/254933i49BD154CF27FC470/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiming_Liu_0-1702954477635.png" alt="Zhiming_Liu_0-1702954477635.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This issue could relate to&amp;nbsp;&lt;SPAN&gt;NAND&amp;nbsp;or kernel. You can try to replace another&amp;nbsp;MT29F1G08ABAFAH4-AAT:F NAND to cross-verify this issue.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 02:54:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/IMX6ULL-fails-to-mount-UBIFS-after-power-cycle/m-p/1776727#M5742</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-12-19T02:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL fails to mount UBIFS after power-cycle</title>
      <link>https://community.nxp.com/t5/Processor-Expert-Software/IMX6ULL-fails-to-mount-UBIFS-after-power-cycle/m-p/1777017#M5743</link>
      <description>&lt;P&gt;Hi Zhiming,&lt;/P&gt;&lt;P&gt;Thanks for your reply! Our issue is a little different, the kernel emits 0 errors or warnings when trying to mount. There are no messages indicating read errors or so. After re-performing an ubiformat, everything is fine and we can perform numerous "dirty" reboots. However in a real-life product that is of course not an option. The filesystem can not go corrupt in our case.&lt;/P&gt;&lt;P&gt;The NAND chips are practically new and we've seen this happen on some new systems. Since UBIFS is supposed to be fault tolerant, this issue is likely caused somewhere between the GPMI and the NAND. The error is also that un-common that no error messages pop up. I did not find any other reference with this kind of behavior.&lt;BR /&gt;&lt;BR /&gt;I made a dump of the mtd and I will sniff through that to find any areas that are different to see what might have caused this.&lt;/P&gt;&lt;P&gt;BR, Pieter&lt;/P&gt;</description>
      <pubDate>Tue, 19 Dec 2023 08:55:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Processor-Expert-Software/IMX6ULL-fails-to-mount-UBIFS-after-power-cycle/m-p/1777017#M5743</guid>
      <dc:creator>PiVo</dc:creator>
      <dc:date>2023-12-19T08:55:06Z</dc:date>
    </item>
  </channel>
</rss>

