public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [Yaffs1] mkyaffs exits with "MTD Erase failure"
@ 2007-06-04 13:06 Martin Egholm Nielsen
  2007-06-04 13:58 ` Ricard Wanderlof
  0 siblings, 1 reply; 7+ messages in thread
From: Martin Egholm Nielsen @ 2007-06-04 13:06 UTC (permalink / raw)
  To: linux-mtd

Hi,

I have run into a problem: By "accident", we changed the die of our NAND 
  without paying attention to the new timing parameters.
Hence, the read-operation (with fixed timing!) reported ready before 
data was actually ready on the NAND. Consequently, this caused checksum 
errors, and several blocks was erroneously marked bad!

So, I fixed the timing in the kernel and tried erasing the flash again. 
But with no luck - mkyaffs refuses to erase/program the flash:

# flash_eraseall /dev/mtd0
....
Skipping bad block at 0x0179c000
Erasing 16 Kibyte @ 1ffc000 -- 99 % complete.
# mkyaffs -e /dev/mtd0
argc 3 sh 0 optcnt 2
Erasing and programming NAND
Erasing block at 0x080
Erasing block at 0x084000
...
Erasing block at 0x0874000
nand_erase: attempt to erase a bad block at page 0x000004e0

Erasing block at 0x087c000
...
Erasing block at 0x089c000

MTD Erase failure
: Input/output error
#


And then my question - why do I get the I/O error?

BR,
  Martin Egholm

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

end of thread, other threads:[~2007-06-06 20:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1398.1181133636.2239.linux-mtd@lists.infradead.org>
2007-06-06 16:07 ` [Yaffs1] mkyaffs exits with "MTD Erase failure" Ian McDonnell
2007-06-06 20:38   ` Martin Egholm Nielsen
2007-06-04 13:06 Martin Egholm Nielsen
2007-06-04 13:58 ` Ricard Wanderlof
2007-06-04 14:36   ` Martin Egholm Nielsen
2007-06-04 15:12     ` Ricard Wanderlof
2007-06-06 12:06       ` Martin Egholm Nielsen

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