Count bad blocks on NAND -

Martin Langhoff martin.langhoff at
Tue Sep 1 11:01:59 EDT 2009

On Tue, Sep 1, 2009 at 1:48 PM, Martin
Langhoff<martin.langhoff at> wrote:
> Note: The number is over-reported by 4 when you compare it with OFW --
> I am not sure why the accounting done by the MTD driver differs from
> the accounting done by OFW.

Looking at strace output over several XOs, it is always the last 4
blocks on the MTD device that are marked as 'bad'.

Maybe my patch is overshooting the mark somehow. Clearly those 4 "bad"
blocks are bogus.

 martin.langhoff at
 martin at -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first

More information about the Devel mailing list