Help to understand error messages (MTD on Samsung NAND chips)

Thomas Gleixner tglx at linutronix.de
Tue Jul 15 13:45:33 EDT 2003


On Tuesday 15 July 2003 18:39, llandre wrote:
> Hi all,
>
>- bash-2.05# eraseall /dev/mtd0
> Erasing 16 Kibyte @ 0 --  0 % complete.
> eraseall: /dev/mtd0: MTD Erase failure: Input/output error
> Erasing 16 Kibyte @ 4000 --  0 % complete.
> eraseall: /dev/mtd0: MTD Erase failure: Input/output error
> Erasing 16 Kibyte @ 8000 --  0 % complete.

This message comes either, if you try to erase a bad block, which is not 
likely, as all your blocks would be bad or the erasefunction is not 
successful

Do you use the latest CVS code ?
If yes, there were a lot of changes in NAND the last few days. 

Can you switch on the debugging in MTD and provide more detailed information. 
Please do a 
echo 9 >/proc/sys/kernel/printk 
before you start the erase .

-- 
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de




More information about the linux-mtd mailing list