From: Kevin Fenzi <kevin@scrye.com>
To: David Woodhouse <dwmw2@infradead.org>
Cc: <mtd@infradead.org>
Subject: Re: DOC2000 issues...
Date: Fri, 2 Feb 2001 16:15:25 -0700 (MST) [thread overview]
Message-ID: <20010202231525.19299.qmail@scrye.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0102022224380.8902-100000@imladris.demon.co.uk>
>>>>> "David" == David Woodhouse <dwmw2@infradead.org> writes:
David> That's amusing. you said the latest binary-only driver actually
David> detected four units, didn't you? Looks like our code is doing
David> better alias detection :)
yeah. ;)
>> M-Systems NAND Flash Translation Layer driver. (C) 1999 MVHI $Id:
>> nftl.c,v 1.57 2000/12/01 17:51:54 dwmw2 Exp $ Could not find valid
>> boot record Could not mount NFTL device
David> Hmmm. Failing to recognise the Media Header. #define ECC_DEBUG
David> in doc2000.c. It may well be the same problem that's causing
David> 72MiB units to fail.
yeah, looks like:
...
DiskOnChip ECC Error: Read at 728000
Errors corrected: ffffffff
...
for all kinds of sectors. ;)
David> If it complains about ECC errors, go to nftlmount.c. Find the
David> bit which does this:
David> if ((i & (SECTORSIZE - 1)) == 0) { /* read one sector for
David> every SECTORSIZE of blocks */ if (MTD_READECC(nftl->mtd, block
David> * nftl->EraseSize + i + SECTORSIZE, SECTORSIZE, &retlen, buf,
David> (char *)&oob) < 0) goto ReplUnitTable; }
David> Replace MTD_READECC with MTD_READ and omit the final (&oob)
David> argument.
ok.
So I have:
/* read one sector for every SECTORSIZE of blocks */
if (MTD_READ(nftl->mtd, block * nftl->EraseSize +
i + SECTORSIZE, SECTORSIZE,
&retlen, buf) < 0)
I still get:
tons of these...
DiskOnChip ECC Error: Read at 2fec000
Errors corrected: ffffffff
DiskOnChip ECC Error: Read at 2ff0000
Errors corrected: ffffffff
DiskOnChip ECC Error: Read at 2ff4000
Errors corrected: ffffffff
DiskOnChip ECC Error: Read at 2ff8000
Errors corrected: ffffffff
Could not find valid boot record
Could not mount NFTL device
...
NFTL_open
ENODEV: thisNFTL = 0, minor = 23809, ip = c1173cf0, fp = c111bef8
VFS: Cannot open root device "5d01" or 5d:01
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 5d:01
Should I have to have the DEBUG_ECC off?
Looks like in find_boot_record() at the top of that file is another
MTD_READECC...should I change that to MTD_READ?
David> -- dwmw2
kevin
To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
next prev parent reply other threads:[~2001-02-02 23:15 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-02 20:58 DOC2000 issues Kevin Fenzi
2001-02-02 21:22 ` David Woodhouse
2001-02-02 21:29 ` Kevin Fenzi
2001-02-02 21:43 ` David Woodhouse
2001-02-02 21:44 ` Kevin Fenzi
2001-02-02 21:46 ` David Woodhouse
2001-02-02 21:49 ` Kevin Fenzi
2001-02-02 22:07 ` David Woodhouse
2001-02-02 22:17 ` Kevin Fenzi
2001-02-02 22:30 ` David Woodhouse
2001-02-02 23:15 ` Kevin Fenzi [this message]
2001-02-03 0:12 ` David Woodhouse
2001-02-03 0:24 ` Kevin Fenzi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010202231525.19299.qmail@scrye.com \
--to=kevin@scrye.com \
--cc=dwmw2@infradead.org \
--cc=mtd@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox