This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ubifs error and file lost

I use ubifs on nandflash, sometimes it occurs ubifs error, such as ubifs_check_node:bad CRC, switch to read-only mode, then program can't boot successfully. Sometimes some files lost and some files become read-only. When errors happened, I must erase mtd block. In my kernel code, nandflash ecc is BCH8. Is it the problem of nandflash driver or ubi code? When I use ramdisk, error never happened.