Quick question.

David Woodhouse dwmw2 at infradead.org
Fri Oct 19 08:22:26 EDT 2001


gareth at microm-electronics.com said:
> ANAND header found @ 0xC000 in mtd0, but ECC read failed (err 1) 
> ANAND header found @ 0xE000 in mtd0, but ECC read failed (err 1)
> Could not find valid boot record.
> Could not mount NFTL device.

It's being anal and refusing to deal with the Media Header because the ECC 
failed on that block - it seems that some versions of the M-Systems 
firmware don't put ECC on the Media Header blocks.

--- drivers/mtd/nftlmount.c	2001/09/19 21:42:32	1.23
+++ drivers/mtd/nftlmount.c	2001/10/19 12:22:13
@@ -94,7 +94,7 @@
 			continue;
 		}
 
-#if 1 /* Some people seem to have devices without ECC or erase marks
+#if 0 /* Some people seem to have devices without ECC or erase marks
 	 on the Media Header blocks. There are enough other sanity
 	 checks in here that we can probably do without it.
       */



--
dwmw2






More information about the linux-mtd mailing list