marking a block bad

Ricard Wanderlof ricard.wanderlof at axis.com
Wed Feb 6 02:44:44 EST 2008


On Tue, 5 Feb 2008, Jeff Hane wrote:

> I am using yaffs for my root filesystem and I am getting some ECC
> errors for reads and writes.  What I'm trying to understand is what
> determines if a block has gone bad when the block is marked bad. I see
> the way to mark a block bad in the mtd code but not clear on when this
> will be used.
> Of course this leads to another problem, if a block is marked bad and
> the system is rebooted the data that was in that block would become
> unaccessible(assume the system can reboot).  In this case, is there
> something that can be done, by the filesystem or other methods, to try
> to re-locate the data before reboot or rebuilding the bbt?

People around here tend to know about mtd and jffs2, yaffs is a different 
matter.

/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



More information about the linux-mtd mailing list