From: "Eric" <liuhxshanghai@263.net>
To: <linux-mtd@lists.infradead.org>
Subject: JFFS2 messages
Date: Thu, 26 Jul 2007 10:36:12 +0800 [thread overview]
Message-ID: <20070726023728.51A5F16DDEC@smtp2.263.net> (raw)
Hi, all:
We are developing AT91RM9200-DK based device, 32M SDRAM, 8M Nor flash for linux kernel image and INITRD, Nand flash for applications and storage. Our application will frequently write something to the Nand.
Now we are performing critical test. The device may lose power at any time and it will reboot after 10sec. Two days has gone.
While rebooting and mounting Nand flash, Jffs2 gives many messages, like:
---------------------------------------------------------------------
Empty flash at 0x000cc738 ends at 0x000cc800
....
jffs2_scan_eraseblock(): Node at 0x00ca0ffc {0x1985, 0xe002, 0xe0021985) has invalid CRC 0x00000075 (calculated 0xd7cd6a7b)
.....
JFFS2 notice: (179) check_node_data: wrong data CRC in data node at 0x01b25a00: read 0x58d6423f, calculated 0xb3eebebd.
JFFS2 notice: (179) read_dnode: node CRC failed on dnode at 0x1057bdc: read 0xffffffff, calculated 0x32a8b981
.......
---------------------------------------------------------------------
Now these message becomes more and more.
Another frustrating thing is that we find one log file (produced by our application) is corrupted. Its size is over 800M and cannot cat it. However, can rm it.
I am wondering whether the device can survive the test, and JFFS2 is as robust as the webpage (http://www.denx.de/wiki/DULG/RootFileSystemOnAJFFS2FileSystem) says: JFFS2 (Journalling Flash File System version 2) was specifically designed for use on flash memory devices in embedded systems. It is a log-structured file system which means that it is robust against loss of power, crashes or other unorderly shutdowns of the system ("robust" means that data that is just being written when the system goes down may be lost, but the file system itself does not get corrupted and the system can be rebootet without need for any kind of file system check).
Thanks and Regards
Eric
next reply other threads:[~2007-07-26 2:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-26 2:36 Eric [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-04-22 12:34 jffs2 messages Dmitry Konyshev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070726023728.51A5F16DDEC@smtp2.263.net \
--to=liuhxshanghai@263.net \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox