public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Wrong data CRC in data node
@ 2007-11-14 12:23 Jesper Saxtorph
  2007-11-14 14:36 ` Josh Boyer
  0 siblings, 1 reply; 3+ messages in thread
From: Jesper Saxtorph @ 2007-11-14 12:23 UTC (permalink / raw)
  To: linux-mtd

Hi

We have embedded systems where we get errors if the system is not allowed to
make a clean shutdown (that is taking the power or letting the watchdog make
a reset).
The full message we get is:
JFFS2 notice: (683) check_node_data: wrong data CRC in data node at 0x0016abe0: 
read 0x8d31ae61, calculated 0x46201a37
The addresses is not fixed, they change.
The 683 process is jffs2_gcd_mtd2.

We have the following setup:
Atmel at91
Dataflash memory
Kernel 2.6.19 with patches from http://maxim.org.za/at91_26.html

We have used kernel 2.6.12 earlier with no problems.

The errors are at our root partition, our only mounted flash.
If we mount root as read-only, the errors will not come.

I have search the net for related problems but not been able to find anything
usefull.

To get debug information I did the following:
I have added debug level 2 (noisy) in jffs2.
I have commented out #undef DEBUG_DATAFLASH in at91_dataflash.c
I have commented out #undef DEBUG_SPI in at91_spi.c

This did not give me any further information.

I wonder if there can be some kind of cache active (in 2.6.19 contra 2.6.12) we
are not aware of, that we should deactivate.

Is this a know this issue?

Any suggestions to what I could try?

With hope for suggestions,
Jesper Saxtorph
_____________________________________

Jesper Saxtorph
Software Developer

Prevas A/S
Frederikskaj 6
DK-2450 København SV

Phone +45 33159090

jesper.saxtorph@prevas.dk
www.prevas.dk

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-15  9:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-14 12:23 Wrong data CRC in data node Jesper Saxtorph
2007-11-14 14:36 ` Josh Boyer
2007-11-15  9:21   ` Jesper Saxtorph

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox