Hi ,
I am Facing an and ECC error on dm365 (2.6.37 Kernel).
Description:
" run torture test for PEB 85
PEB 85 passed torture test, do not mark it a bad "
UBIFS reads is stuck at this infinite loop.
Error is coming from ubi_io_read in which
ubi->mtd->read(ubi->mtd, addr, len, &read, buf) is returning -EUCLEAN.
ubi trying to move this data to another block.
then ubi_eba_copy is called. . ubi_copy_leb writes the data to that block and read backs for validity And read back validity is failed and ubi_copy_leb returns 1 to wear_leveling worker and it schedules a erase on that block and erase is success full and it is trying to copy data again to that block.
This loop is executing continuously.
In nand_read_ops function :
return mtd->ecc_stats.corrected - stats.corrected ? -EUCLEAN : 0;
Is returing EUCLEAN to upper layer which is reported as UBI_IO_BITFLIPS in ubi/io.c
I am getting this error on only board and 5 other boards are working fine.
As per my understanding its issue with the ECC correction in nand driver.
Please let me know if you have any inputs regarding this .
Thanks & Regards.
Dibin