public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Alexandru Harsanyi <a.harsanyi@willhart-tech.com>
To: Linux Mtd <linux-mtd@lists.infradead.org>
Subject: Re: DOC 2000 driver (NFTL) in kernel 2.4.7
Date: Wed, 08 Aug 2001 15:42:42 +0800	[thread overview]
Message-ID: <3B70ED72.78088871@willhart-tech.com> (raw)
In-Reply-To: 22004.997252928@redhat.com

Hi,

I commented out the ECC checking part, and nftlmount.c now detects my
partition. I mounted it read-only and made some tests with copying some
files of it. It seems to be working.

However, when I mount it read-write and I write some files to the
partition, the NFTL driver hangs my system...

The messages are:
------------
_Doc_WaitReady called for out-of-line wait
Setting inplace to 0. VUC 194, block 2 was 0 lastEUN, and is in EUN 333
(!=) 673
Cannot fold Virtual Unit Chain 194 in place. Trying out-of-place
-------------

The DOC data doesn't seem to be corrupted (as I can boot from it again)
but nothing gets written to it.

Best Regards,
Alex.

David Woodhouse wrote:
> 
> a.harsanyi@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
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2001-08-08  7:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E15RXGo-00058Q-00@pentafluge.infradead.org>
2001-08-01  3:46 ` DOC 2000 driver (NFTL) in kernel 2.4.7 Saul Thurrowgood
2001-08-07  9:36   ` David Woodhouse
2001-08-08  4:30     ` Alexandru Harsanyi
2001-08-08  6:42       ` David Woodhouse
2001-08-08  7:42         ` Alexandru Harsanyi [this message]
2001-08-08  8:52           ` David Woodhouse
2001-07-31  4:40 Alexandru Harsanyi
2001-07-31 20:45 ` David Woodhouse

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=3B70ED72.78088871@willhart-tech.com \
    --to=a.harsanyi@willhart-tech.com \
    --cc=linux-mtd@lists.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