public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Bad Blocks On JFFS2/NAND
@ 2004-10-19 11:22 Simon Haynes
  2004-10-19 11:50 ` Thomas Gleixner
  0 siblings, 1 reply; 9+ messages in thread
From: Simon Haynes @ 2004-10-19 11:22 UTC (permalink / raw)
  To: linux-mtd


I have experienced a problem in which a JFF2 filesystem on NAND became full. 
This is a root file system and constant writes to a logfile filled the 
filesystem. On investigation it was found that the NAND device now had 
hundreds of bad blocks. 

I started to investigate this and found that JFFS2 was announcing 

Newly-erased block contained word 0x1985e002 at offset 0x020f7e00

Messages which result in my mtd/jffs2 code marking the block bad. What I find 
strange is that a subsequent scan list the new block at a different 16k 
offset when the device erasesize is 16k, in this case 0x020f0000.
Is that because my device is 128Mb and JFFS2 is using this 'virtual erase 
size' of 32k ?

I have observed this now on several different NAND devices and it seems to be 
more prominent while performing small writes.

I am currently trying to work out if the erase is not completing, or this is 
the wrong block or something else. 

I was wondering if anyone has seen something similar

Cheers

Simon. 

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

end of thread, other threads:[~2004-10-20 10:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-19 11:22 Bad Blocks On JFFS2/NAND Simon Haynes
2004-10-19 11:50 ` Thomas Gleixner
2004-10-19 14:39   ` Simon Haynes
2004-10-19 15:02     ` Thomas Gleixner
2004-10-19 15:18       ` Simon Haynes
2004-10-19 21:45   ` Michael Moedt
2004-10-19 21:55     ` Thomas Gleixner
2004-10-20  9:40       ` Simon Haynes
2004-10-20  9:53         ` Thomas Gleixner

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