I've seen this type of error posted before but I seem to be having a different issue. I am being plagued with the following problem while trying to mount our rootfs which is a UBIFS NAND partition. The differences I see between our occurrences and others is that this is extremely intermittent, and in some cases, it recovers and then boots correctly, but in other cases, it continues, making the unit unusable. I have been postulating anything from bad NAND hardware to power supply issues to UBI bugs, etc. I am running a very old kernel (3.12.10 with TI patches for ARM Sitara AM355x CPUs) which works just find except for this issue, but this issue seems to be happening also with a 4.9.88 kernel with NXP iMX patches on different hardware, so I have a difficult time accepting that it is due to the age of the kernel. That being said, I am open to anything, as this seems to be an impossible problem. Any tips as to how to debug this would be greatly appreciated. I would rather not have to re-flash many thousands of units in the field if there is any sort of other solution. A patched kernel or uboot with different kernel boot parameters would be the ideal solution, if it exists. Thanks in advance for any help. UBIFS: background thread "ubifs_bgt0_0" started, PID 779 UBIFS: recovery needed UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 679:4096, read only 126976 bytes, retry UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 679:4096, read only 126976 bytes, retry UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 679:4096, read only 126976 bytes, retry UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 679:4096, read 126976 bytes UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 679:4096, read only 126976 bytes, retry UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 679:4096, read only 126976 bytes, retry UBI warning: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 679:4096, read only 126976 bytes, retry UBI error: ubi_io_read: error -74 (ECC error) while reading 126976 bytes from PEB 679:4096, read 126976 bytes UBIFS error (pid 1): ubifs_recover_leb: corrupt empty space LEB 7:2048, corruption starts at 2241 UBIFS error (pid 1): ubifs_scanned_corruption: corruption at LEB 7:4289 UBIFS error (pid 1): ubifs_scanned_corruption: first 8192 bytes from LEB 7:4289 UBIFS error (pid 1): ubifs_recover_leb: LEB 7 scanning failed UBIFS: background thread "ubifs_bgt0_0" stops Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/