public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* IF eraseall will destryed(phys) the nand flash ?
@ 2002-12-03 21:42 shadow
  2002-12-04 10:01 ` Thomas Gleixner
  0 siblings, 1 reply; 7+ messages in thread
From: shadow @ 2002-12-03 21:42 UTC (permalink / raw)
  To: linux-mtd

Hi all,
I got an Input/Output error when I erase the nand flash. It printed these 
messages.
-------------------------
Erasinand_erase: attempt to erase a bad block at page 0x00000020
ng 8 Kibyte @ 4000 --  0 % complete.
eraseall: /dev/mtd/6: Mnand_erase: attempt to erase a bad block at page 
0x00000030
TD Erase failure: Input/output error
Erasing 8 Kibyte @ 6000 --  1 % complete.
eraseall: /dev/mtd/6: Mnand_erase: attempt to erase a bad block at page 
0x00000040
TD Erase failure: Input/output error
Erasing 8 Kibyte @ 8000 --  1 % complete.
eraseall: /dev/mtd/6: MTD Erase failure: Input/output error
Erased 2048 Kibyte @ 0 -- 100% complete. 
-----------------------------

I found the Input/output error always occurred at the same page even if it 
is a new SMC. But I have a question, the block_size is larger than 
page_size, isn't it ? IF larger why nand driver attempt to erase a bad 
block at page 0x00000020. In my mind, I think one block includes many 
      ^^
pages. Another problem is why the new SMC has some bad blocks and occurred 
at the same page with using eraseall program erase it. Then I put this SMC 
that has bad blocks into Digital Camera that can erase data on the SMC. 
The DC Can't format it, what's up ? eraseall destroyed it ?

IF the SMC has some bad blocks, then how to correct it ?

thanks in advance,

Brian

      

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

end of thread, other threads:[~2002-12-05  0:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-12-03 21:42 IF eraseall will destryed(phys) the nand flash ? shadow
2002-12-04 10:01 ` Thomas Gleixner
2002-12-03 22:46   ` shadow
2002-12-04 10:35     ` Thomas Gleixner
2002-12-04 13:00       ` shadow
2002-12-04 10:51     ` Henrik Nordstrom
2002-12-04 13:03       ` shadow

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