public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* bbt and bitflip
@ 2011-04-21 13:40 Matthieu CASTET
  2011-04-21 17:17 ` Matthieu CASTET
  2011-04-22  8:08 ` Artem Bityutskiy
  0 siblings, 2 replies; 8+ messages in thread
From: Matthieu CASTET @ 2011-04-21 13:40 UTC (permalink / raw)
  To: linux-mtd@lists.infradead.org

Hi,

the current bad block table implementation doesn't seem robust against bit flip.

at boot we call :
- search_read_bbts which scan for bbt using oob pattern.
- check_create
-- read_abs_bbt
--- read_bbt which ignore ecc bit flip/error

So if bit flip happen in BBT, we never scrub it.
And if bit flip accumulate and we can't correct it anymore, the code will parse
the corrupted data and our bad block info will be wrong (valid block can be
marked as bad and we lose bad, bad block can be see as valid).


Also the pattern and version in oob isn't protected by ecc. They can be corrupted.

Are bbt safe to use ?

Are there any plan to make the bbt more robust ?

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

end of thread, other threads:[~2011-06-24 20:37 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-21 13:40 bbt and bitflip Matthieu CASTET
2011-04-21 17:17 ` Matthieu CASTET
2011-04-22  8:14   ` Artem Bityutskiy
2011-04-22  8:15   ` Artem Bityutskiy
2011-06-23 16:36     ` Brian Norris
2011-06-24 19:55       ` Artem Bityutskiy
2011-06-24 20:36         ` Matthew L. Creech
2011-04-22  8:08 ` Artem Bityutskiy

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