JFFS2 losing dirs/files on NAND flash
Marco Braga
marco.braga at gmail.com
Mon Oct 27 04:12:28 EDT 2008
Hello,
I am using JFFS2 on an ARM base board with a 128Mb NAND flash, kernel
2.6.22.10. Sometimes the board does not boot because a directory in
/etc has disappeared after a JFFS2 error or a file is missing data.
I'm trying to understand at what level (hardware, kernel, MTD, file
system) it happens. The error appears when trying to access the
directory or file:
JFFS2 warning: (96) jffs2_do_read_inode_internal: no data nodes found
for ino #65
JFFS2 notice: (96) jffs2_do_read_inode_internal: but it has children
so we fake some modes for it
JFFS2 warning: (96) jffs2_do_read_inode_internal: no data nodes found
for ino #97
JFFS2 notice: (96) jffs2_do_read_inode_internal: but it has children
so we fake some modes for it
...
I've not been able to relate it to an unclean shutdown. I've tried
powering off the board several times without being able to make the
problem happen. Moreover I've tried a multithreaded program that
opens, writes, reads and deletes several files to stress the FS and it
never happened after an overnight run.
Can you please help understanding the cause or the meaning of those log lines?
Thank you!
More information about the linux-mtd
mailing list