Bug in erase failed?
joakim.tjernlund at transmode.se
Thu May 28 07:22:02 EDT 2009
When an erase has failed:
Newly-erased block contained word 0x0 at offset 0x0224df6
You end up in erase.c:490
/* Stick it on a list (any list) so erase_failed can take it
right off again. Silly, but shouldn't happen often. */
Here is the sector moved to the erasing list.
jffs2_erase_failed(c, jeb, bad_offset);
jffs2_erase_flailed also moves a sector:
but it is already moved so you end up moving a good sector to the bad
list. Very bad.
More information about the linux-mtd