UBIFS and MLC NAND Flash

Pedro I. Sanchez psanchez at fosstel.com
Mon Mar 22 12:57:39 EDT 2010


Hello,

I have a few questions regarding this topic.

1. The UBIFS FAQ has a summary of the state of the support for MLC NAND 
flash here:

  http://www.linux-mtd.infradead.org/faq/ubifs.html#L_ubifs_mlc

The question is, is this still the case? Does the FAQ reflect the 
current state of affairs?

2. I have several boards with MLC NAND flash running the Linux kernel 
2.6.29 and UBIFS. I am seeing a fairly large rate of file "corruption" 
errors, files that all of a sudden become unreadable. Curiously enough, 
they have been read-only files in all cases, program executables and 
shared libraries.

Would upgrading to a more recent kernel, or back porting the latest 
UBIFS code, help? Shall I expect better support for MLC NAND flash in 
the latest UBIFS code?

3. I am also seeing other errors where it is the U-Boot or the Kernel 
partitions that become corrupted. UBIFS is not involved there directly 
since these partitions are at the mtd level and outside the UBI layer.

More specifically, my flash is partitioned as mtd0, mtd1, mtd2, mtd3, 
mtd4. Only mtd4 has UBI/UBIFS on top. Is it possible that some flash 
handling problems in UBIFS (mtd4) "spill over" other non-UBIFS mtd 
partitions?

4. Other than minimizing flash writes, is there any other suggestion on 
what to do to improve on the failure rate I see in the file system?

Thank you in advance, I would very much appreciate you answers.

-- 
Pedro




More information about the linux-mtd mailing list