[ELDK] JFFS2 file system error message

Wolfgang Denk wd at denx.de
Sat Oct 31 13:42:32 CET 2009


Dear "J.H.Kim",

In message <3a9e3d730910310328s3b04d6d4vd607cbccd1b9dae7 at mail.gmail.com> you wrote:
> 
> My file system is JFFS2.
> When root file is written first time and kernel boots,
> it works good.
> But whenever kernel boot again, the following JFFS2 error message appears.
> More kernel boots, more JFFS2 error message show up.
> 
> Error message is like this :
> JFFS2 notice: (1) check_node_data: wrong data CRC in data node at
> 0x001f597c: read 0x46058895, calculated 0x52158bec.
> JFFS2 notice: (1) check_node_data: wrong data CRC in data node at
> 0x001f4734: read 0x46058895, calculated 0x3f140b03.

This is pretty normal in case of powering off /resetting a system
while the file system was active / being written to. In such
situations you may lose data (the active files), but the garbage
collector is supposed to clean up this mess.

> By what reason the message show up?
> How can I fix it ?

Normally you don't have to fix this. Just give the garbage collector
thread enough time to clean up before resetting the system again. And
try to avoid to have files active (open for writing) when resetting
the system.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If a person (a) is poorly, (b) receives treatment  intended  to  make
him  better, and (c) gets better, then no power of reasoning known to
medical science can convince him  that  it  may  not  have  been  the
treatment that restored his health.
- Sir Peter Medawar, The Art of the Soluble


More information about the eldk mailing list