<li><a href="ubi.html#L_subpage">What is sub-page?</a></li>
<li><a href="ubi.html#L_subpage_verify_fail">I get "ubi_io_write: error -5 while writing 512 bytes to PEB 5:512"</a></li>
<li><a href="ubi.html#L_no_vid_header">I get "no VID header found at PEB 7923, only 0xFF bytes"</a></li>
+ <li><a href="ubifs.html#L_ecc_error">I get: "ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 47:4096, read 126976 bytes"</a></li>
<li><a href="ubi.html#L_force_no_subpage">How to force UBI to ignore sub-pages?</a></li>
<li><a href="ubi.html#L_flasher">How to implement UBI flasher?</a></li>
<li><a href="ubi.html#L_bgt_thread">What does the "ubi_bgt0d" thread do?</a></li>
+<h2><a name="L_ecc_error">
+I see this UBI error: "ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 47:4096, read 126976 bytes"
+</a></h2>
+
+<p>The <code>-74</code> error code is <code>-EBADMSG</code> and means an ECC
+error. In other words, UBI tried to read some data from the flash, but the
+flash driver found that there is an uncorrectable ECC error, and returned
+<code>-EBADMSG</code>.</p>
+
+<p>There may be many reasons for this. It may be because your NAND driver is
+buggy, or you HW is buggy. We recommend you to validate the driver using the
+<a href="../doc/general.xml#L_mtd_tests">MTD tests</a>.</p>
+
+<p>The other possibility is that you failed to flash your UBI/UBIFS image
+properly. Try to erase your flash, then attach it to UBI/UBIFS without writing
+any image, and check if you still have these errors.</p>
+
+<p>If you do not have errors when you mount empty flash, it is probably indeed
+related to how you flash the UBI/UBIFS images. One typical problem is related
+to ECC calculation algorithm - read
+<a name="ubifs.html#L_why_ubiformat">here</a> for more information. Make sure
+that you use <a name="../doc/ubifs.html#L_usptools">ubiformat</a>), or make sure
+your flashing program skips 0xFF properly (see
+<a href="../doc/ubi.html#L_flasher_algo">here</a>).</p>
+
+<p>Another possibility is that your flash reports that it supports
+<a href="../doc/ubi.html#L_subpage">sub-pages</a>, but does not actually support
+them properly.</p>
+
+
+
<h2><a name="L_force_no_subpage">How to force UBI to ignore sub-pages?"</a></h2>
<p>If your NAND flash supports
<li><a href="ubifs.html#L_end_hole">Why my file has zeroes at the end after an unclean reboot?</a></li>
<li><a href="ubifs.html#L_bgt_thread">What does the "ubifs_bgt0_0" thread do?</a></li>
<li><a href="ubifs.html#L_sudden_ro">UBIFS suddenly became read-only - what is this?</a></li>
- <li><a href="ubifs.html#L_lebsz_mismatch">I see this UBIFS error: "validate_sb: LEB size mismatch: 129024 in superblock, 126976 real"</a></li>
- <li><a href="ubifs.html#L_ecc_error">I see this UBI error: "ubi_io_read: error -74 while reading 126976 bytes from PEB 47:4096, read 126976 bytes"</a></li>
- <li><a href="ubifs.html#L_pdflush_blocked">I see this error: "INFO: task pdflush:110 blocked for more than 120 seconds"</a></li>
+ <li><a href="ubifs.html#L_lebsz_mismatch">I get: "validate_sb: LEB size mismatch: 129024 in superblock, 126976 real"</a></li>
+ <li><a href="ubifs.html#L_pdflush_blocked">I get: "INFO: task pdflush:110 blocked for more than 120 seconds"</a></li>
<li><a href="ubifs.html#L_study_ubifs">I want to study UBIFS - any recommendations?</a></li>
</ol>
-<h2><a name="L_ecc_error">
-I see this UBI error: "ubi_io_read: error -74 while reading 126976 bytes from PEB 47:4096, read 126976 bytes"
-</a></h2>
-
-<p>The <code>-74</code> error code is <code>-EBADMSG</code> and means an ECC
-error. In other words, UBI tried to read some data from the flash, but the
-flash driver found that there is an uncorrectable ECC error, and returned
-<code>-EBADMSG</code>.</p>
-
-<p>There may be many reasons for this. It may be because your NAND driver is
-buggy, or you HW is buggy. We recommend you to validate the driver using the
-<a href="../doc/general.xml#L_mtd_tests">MTD tests</a>.</p>
-
-<p>The other possibility is that you failed to flash your UBI/UBIFS image
-properly. Try to erase your flash, then attach it to UBI/UBIFS without writing
-any image, and check if you still have these errors.</p>
-
-<p>If you do not have errors when you mount empty flash, it is probably indeed
-related to how you flash the UBI/UBIFS images. One typical problem is related
-to ECC calculation algorithm - read
-<a name="ubifs.html#L_why_ubiformat">here</a> for more information. Make sure
-that you use <a name="../doc/ubifs.html#L_usptools">ubiformat</a>), or make sure
-your flashing program skips 0xFF properly (see
-<a href="../doc/ubi.html#L_flasher_algo">here</a>).</p>
-
-<p>Another possibility is that your flash does reports that it supports
-<a href="../doc/ubi.html#L_subpage">sub-page</a>, but does not actually support
-them properly. In that case the <code>-74</code> error happens when reading the
-first NAND page.</p>
-
-
<h2><a name="L_pdflush_blocked">
I see this error: "INFO: task pdflush:110 blocked for more than 120 seconds"
</a></h2>