Author: Brendan Peter Date: To: yaffs Subject: [Yaffs] corrupted file system on older yaffs2 mount
I'm using the yaffs2 file system in a device running a TI DM ARM chip
along with a 512 MB NAND chip. The Linux kernel version is 2.6.5, and
the yaffs version 1.1.2.4,yaffs_fs and 11.2.1,yaffs_guts. The problem
we're seeing is that yaffs2 is in some circumstances reporting a used
block as free. This seems to happen after either an unmount or
powerloss. The first yaffs2 warning is:
**>> yaffs chunk 144754 was not erased
**>> yaffs chunk 146432 was not erased
**>> yaffs chunk 146752 was not erased
**>> yaffs chunk 146880 was not erased
**>> yaffs chunk 147264 was not erased
**>> yaffs chunk 147648 was not erased
**>> yaffs write required 7 attempts
And, after enough time:
page 84227 in gc has no object
page 84228 in gc has no object
page 84229 in gc has no object
page 84230 in gc has no object
CONFIG_YAFFS_ALWAYS_CHECK_CHUNK_ERASED is set, and the output of
/proc/yaffs is as follows on a file system exhibiting the errors
described above.
---------------------------------------------------------------------
CONFIDENTIALITY NOTICE: This e-mail and any attachments contain information from DriveCam, Inc., and are intended solely for the use of the named recipient(s). This e-mail may contain confidential information of DriveCam, Inc. and its customers. Any dissemination of this e-mail by anyone other than an intended recipient is strictly prohibited. If you are not a named recipient, you are prohibited from any further viewing of the e-mail or any attachments or from making any use of the e-mail or attachments. If you believe you have received this e-mail in error, notify the sender immediately and permanently delete the e-mail, any attachments, and all copies thereof from any drives or storage media and destroy any printouts of the e-mail or attachments.
This message has been content scanned for known viruses, spam, undesirable content and malicious code by the MailGate.