* 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
* Re: JFFS2 errors - are these normal?
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
0 siblings, 1 reply; 4+ messages in thread
From: Ricard Wanderlof @ 2007-12-19 8:00 UTC (permalink / raw)
To: Ramesh; +Cc: linux-mtd
On Tue, 18 Dec 2007, Ramesh wrote:
> 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:
You shouldn't be getting ECC errors that quickly, on a chip like that I
would expect it would take many months before you'd see an ECC error if
ever.
My guess without knowing more would be that there is a hardware problem
causing the communication with the nand chip to fail ever so often.
> 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.
If the device mounts properly then there shouldn't be much wrong with the
image.
/Ricard
--
Ricard Wolf Wanderlöf ricardw(at)axis.com
Axis Communications AB, Lund, Sweden www.axis.com
Phone +46 46 272 2016 Fax +46 46 13 61 30
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: JFFS2 errors - are these normal?
2007-12-19 8:00 ` Ricard Wanderlof
@ 2007-12-19 9:13 ` Patrick Agrain
2007-12-19 15:23 ` Ramesh
0 siblings, 1 reply; 4+ messages in thread
From: Patrick Agrain @ 2007-12-19 9:13 UTC (permalink / raw)
To: linux-mtd
Hi Ramesh ,
What Flash from ST have you tested ? Is it a 256MBytes ? Large Pages
(2048 bytes) ?
What is the marking on the chip ?
Thanks in advance.
Regards,
Patrick Agrain
Ricard Wanderlof a écrit :
> On Tue, 18 Dec 2007, Ramesh wrote:
>
>> 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:
>
> You shouldn't be getting ECC errors that quickly, on a chip like that I
> would expect it would take many months before you'd see an ECC error if
> ever.
>
> My guess without knowing more would be that there is a hardware problem
> causing the communication with the nand chip to fail ever so often.
>
>> 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.
>
> If the device mounts properly then there shouldn't be much wrong with the
> image.
>
> /Ricard
> --
> Ricard Wolf Wanderlöf ricardw(at)axis.com
> Axis Communications AB, Lund, Sweden www.axis.com
> Phone +46 46 272 2016 Fax +46 46 13 61 30
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: JFFS2 errors - are these normal?
2007-12-19 9:13 ` Patrick Agrain
@ 2007-12-19 15:23 ` Ramesh
0 siblings, 0 replies; 4+ messages in thread
From: Ramesh @ 2007-12-19 15:23 UTC (permalink / raw)
To: Patrick Agrain; +Cc: linux-mtd
On 12/19/07, Patrick Agrain <patrick.agrain@alcatel-lucent.fr> wrote:
> Hi Ramesh ,
>
> What Flash from ST have you tested ? Is it a 256MBytes ? Large Pages
> (2048 bytes) ?
> What is the marking on the chip ?
>
> Thanks in advance.
> Regards,
>
> Patrick Agrain
Hi Patrick,
The driver reports the following:
NAND device: Manufacturer ID: 0x20, Chip ID: 0xda (ST Micro NAND 256
MiB 3.3V 8-bit)
The page size is 2k and erasesize is 0x20000.
--Ramesh
> > On Tue, 18 Dec 2007, Ramesh wrote:
> >
> >> 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:
> >
> > You shouldn't be getting ECC errors that quickly, on a chip like that I
> > would expect it would take many months before you'd see an ECC error if
> > ever.
> >
> > My guess without knowing more would be that there is a hardware problem
> > causing the communication with the nand chip to fail ever so often.
> >
> >> 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.
> >
> > If the device mounts properly then there shouldn't be much wrong with the
> > image.
> >
> > /Ricard
> > --
> > Ricard Wolf Wanderlöf ricardw(at)axis.com
> > Axis Communications AB, Lund, Sweden www.axis.com
> > Phone +46 46 272 2016 Fax +46 46 13 61 30
^ 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