public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* JFFS2 errors - are these normal?
@ 2007-12-18 15:43 Ramesh
  2007-12-19  8:00 ` Ricard Wanderlof
  0 siblings, 1 reply; 4+ messages in thread
From: Ramesh @ 2007-12-18 15:43 UTC (permalink / raw)
  To: linux-mtd

Hi,

I am using linux 2.6.19 and ST micro NAND chip (256M) on a PowerPC
platform. After booting the OS, we install firmware on to the flash.
These firmware images are RPM packages. Once some packages are
installed, we start getting some ECC errors. I guess that's fine but
after a few more RPM installs, the errors seem more serious. Here's a
sample:

...
Node CRC 880608a4 != calculated CRC ade8c30b for node at 075ade08
jffs2_flush_wbuf(): Write failed with -5
Recovery of wbuf failed due to a second write error
Write of 162 bytes at 0x07540000 failed. returned -5, retlen 0
Not marking the space at 0x07540000 as dirty because the flash driver
returned retlen zero
jffs2_flush_wbuf(): Write failed with -5
Recovery of wbuf failed due to a second write error
Write of 162 bytes at 0x07540000 failed. returned -5, retlen 0
Not marking the space at 0x07540000 as dirty because the flash driver
returned retlen zero
jffs2_flush_wbuf(): Write failed with -5
Recovery of wbuf failed due to a second write error
Write of 99 bytes at 0x07540000 failed. returned -5, retlen 0
Node CRC 880608a4 != calculated CRC ade8c30b for node at 075ade08
...

The jffs2 image is created with the following flags: -e 0x20000 -s
0x1000 -b -v -p -n
Then I use sumtool with -e 0x20000 -b -p.

At this point, the flash is pretty much unusable unless I reflash and
then the RPM installs start the cycle again. Is there any way I can
avoid this?

Thanks.
--Ramesh

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

end of thread, other threads:[~2007-12-19 15:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-18 15:43 JFFS2 errors - are these normal? Ramesh
2007-12-19  8:00 ` Ricard Wanderlof
2007-12-19  9:13   ` Patrick Agrain
2007-12-19 15:23     ` Ramesh

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