DOC 2000 driver (NFTL) in kernel 2.4.7
David Woodhouse
dwmw2 at infradead.org
Wed Aug 8 02:42:08 EDT 2001
a.harsanyi at willhart-tech.com said:
> ANAND header found at 0xc000 in mtd0, but ECC read failed (err 1)
> ANAND header found at 0xe000 in mtd0, but ECC read failed (err 1)
> Could not find valid boot record
And with this applied...?
Index: nftlmount.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/nftlmount.c,v
retrieving revision 1.20
diff -u -r1.20 nftlmount.c
--- nftlmount.c 2001/08/07 09:22:07 1.20
+++ nftlmount.c 2001/08/08 06:41:48
@@ -103,6 +103,7 @@
continue;
}
+#if 0
/* Finally reread to check ECC */
if ((ret = MTD_READECC(nftl->mtd, block * nftl->EraseSize, SECTORSIZE,
&retlen, buf, (char *)&oob) < 0)) {
@@ -119,6 +120,7 @@
buf[0], buf[1], buf[2], buf[3], buf[4], buf[5]);
continue;
}
+#endif
/* OK, we like it. */
--
dwmw2
More information about the linux-mtd
mailing list