public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Help to understand error messages (MTD on Samsung NAND chips)
@ 2003-07-15 16:39 llandre
  2003-07-15 17:45 ` Thomas Gleixner
  0 siblings, 1 reply; 6+ messages in thread
From: llandre @ 2003-07-15 16:39 UTC (permalink / raw)
  To: linux-mtd

Hi all,

I've just intalled MTD on a Linux box equipped with the 2.4.21-pre5 kernel 
of the linuxppc_devel tree.
I have two NAND Flashes from Samsung (K9F5608U0B). I followed the 
istructions described in the "nand.html" documend released with the MTD 
source files. I statically linked the MTD drivers and the two chips are 
recognized correctly during boot:
----------------------------------------------------------------------------
NAND device: Manufacture ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MB 3,3V)
Using static partition definition
Creating 1 MTD partitions on "NAND 32MB 3,3V":
0x00000000-0x02000000 : "PPChameleon Nand Flash"
mtd: Giving out device 0 to PPChameleon Nand Flash
NAND device: Manufacture ID: 0xec, Chip ID: 0x75 (Samsung NAND 32MB 3,3V)
Using static partition definition
Creating 1 MTD partitions on "NAND 32MB 3,3V":
0x00000000-0x02000000 : "PPChameleonEVB Nand Flash"
mtd: Giving out device 1 to PPChameleonEVB Nand Flash
----------------------------------------------------------------------------


When I try to erase the first one, I get these messages:
----------------------------------------------------------------------------
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.
...
Erasing 16 Kibyte @ 158000 --  4 % complete.
eraseall: /dev/mtd0: MTD Erase failure: Input/output error
Erasing 16 Kibyte @ 15c000 --  4 % complete.
eraseall: /dev/mtd0: MTD Erase failure: Input/output error
Erasing 16 Kibyte @ 160000 --  4 % complete.
eraseall: /dev/mtd0: MTD Erase failure: Input/output error
Erasing 16 Kibyte @ 164000 --  4 % complete.
eraseall: /dev/mtd0: MTD Erase failure: Input/output error
Erasing 16 Kibyte @ 168000 --  4 % complete.
eraseall: /dev/mtd0: MTD Erase failure: Input/output error
Erased 32768 Kibyte @ 0 -- 100% complete.
bash-2.05#
----------------------------------------------------------------------------


Anybody can explain me the meaning of error messages?
Why do they occur only on the lowest addresses?


Many thanks in advance.


llandre

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

end of thread, other threads:[~2003-07-31 18:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-15 16:39 Help to understand error messages (MTD on Samsung NAND chips) llandre
2003-07-15 17:45 ` Thomas Gleixner
2003-07-16  8:51   ` llandre
2003-07-16 22:34     ` David Woodhouse
2003-07-31 16:16   ` llandre
2003-07-31 18:56     ` Thomas Gleixner

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