* JFFS2 question
@ 2005-11-10 1:24 Vahid Fereydunkolahi
2005-11-10 1:40 ` Josh Boyer
0 siblings, 1 reply; 2+ messages in thread
From: Vahid Fereydunkolahi @ 2005-11-10 1:24 UTC (permalink / raw)
To: linux-mtd
Hi,
If on the JFFS2 Erase block 0 (jeb0) I wrote pages
p0, p1, p2, and p3, and then I updated these pages on
jeb1 with p0', p1', p2' and on the jeb2 with p3',
what would happen if the jeb1 goes bad (When I read
the data back, is it goint to be p0, p1, p2, p3')?
Regards,
--vahid
__________________________________
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: JFFS2 question
2005-11-10 1:24 JFFS2 question Vahid Fereydunkolahi
@ 2005-11-10 1:40 ` Josh Boyer
0 siblings, 0 replies; 2+ messages in thread
From: Josh Boyer @ 2005-11-10 1:40 UTC (permalink / raw)
To: Vahid Fereydunkolahi; +Cc: linux-mtd
On 11/9/05, Vahid Fereydunkolahi <fereydunk@yahoo.com> wrote:
> Hi,
> If on the JFFS2 Erase block 0 (jeb0) I wrote pages
> p0, p1, p2, and p3, and then I updated these pages on
> jeb1 with p0', p1', p2' and on the jeb2 with p3',
> what would happen if the jeb1 goes bad (When I read
> the data back, is it goint to be p0, p1, p2, p3')?
Can you define what "goes bad" means? If you're using NAND flash and
you get an ECC error, it can be a soft error and doesn't necessarily
mean the block itself is bad. See the "How does JFFS2 handle a block
going bad in NAND flash" topic here:
http://linux-mtd.infradead.org/faq/jffs2.html
If you mean something else it depends which nodes are effected. Each
node (p0', p1', p2'), has it's own CRC. If any/all of those are bad,
you'll see an error message displayed and the previous node will be
used.
Hope that helps.
josh
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-11-10 1:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-10 1:24 JFFS2 question Vahid Fereydunkolahi
2005-11-10 1:40 ` Josh Boyer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox