bit flip

catboat at catboat at
Wed Oct 3 15:32:50 EDT 2007

Hello all, 

A NAND card flipped a bit and caused a data CRC problem in a data node. 
When I cat the file, this region is zeroes. cat exits with rc 0.

I can simulate this. I made a jffs2 file system using mkfs.jffs2. 
In a file with multiple data nodes, I manually flip a bit in one of them.
At mount time, I see a printk about it.  cat exits with 0 and the file has a 
chunk of zeroes in it.

Seems incorrect to me.  I expected jffs2 to return EIO somewhere.

Does it seem incorrect to you? 

Monte Copeland
IBM Austin

More information about the linux-mtd mailing list