[SOLVED] jffs2: filesystem corruption caused by writing and powercycle
eibach at gdsys.de
eibach at gdsys.de
Thu Apr 3 09:49:04 EDT 2008
> I have a problem with jffs2 filesystem corruption.
> My environment is kernel 2.6.23.4, running on PPC.
> Flash is Spansion 29GL512 NOR-Flash.
>
> The problem can be reproduced simply by turning off power while writing.
> After 3 or 4 powercycles I get errormessages when trying to copy the file I wrote before turning off power:
>
> / # cp /data/tst /data/tst2
> Data CRC ee9173b1 != calculated CRC 6af6806d for node at 0221f108
> cp: read error: Input/output error
> / #
The problem is solved by patch
"[JFFS2] Fix data CRC checking on NOR flash."
from David Woodhouse, 21 Nov 2007.
Cheers
Dirk
More information about the linux-mtd
mailing list