public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "David Girault" <david@nexgen-software.fr>
To: "Liste Linux Mtd" <linux-mtd@lists.infradead.org>
Subject: [DOC2000] invalid size detected
Date: Tue, 10 Dec 2002 15:33:48 +0100	[thread overview]
Message-ID: <001201c2a059$27471aa0$0111010a@nexgenprivate> (raw)

Hi all,

I am trying to access a 8MB DOC2000 using kernel 2.4.20 and MTD lasted CVS
version (using patchin.sh).

The current CVS version detect a bad size for my DOC device when I load
modules using :
  /sbin/modprobe -a doc2000 nftl mtdchar
  /sbin/modprobe -a docprobe

The previous version I build (2.4.18) detect the correct size but lack for
UnitSizeFactor!=1 support.

I think the problem is in the NAND_IDS.C chip identification but I am not
sure.
As I can see, there is a name conflict beetween nand_ids.h and nand_ids.c.

What de you think of this problems/bug?

Thank.
David.


-------------------------

LOG for 2.4.20+MTD CVS:

  NFTL driver: nftlcore.c $Revision: 1.87 $, nftlmount.c $Revision: 1.31 $
  Using configured DiskOnChip probe address 0xdc000
  DiskOnChip 2000 found at address 0xDC000
  Flash chip found: Manufacturer ID: EC, Chip ID: E6 (NAND 2MB 5V)
  1 flash chips found. Total DiskOnChip size: 2 MiB
  NFTL: UnitSizeFactor 0x00 detected. This violates the spec but we think we
know
  what it means...
  NFTL Media Header sanity check failed:
  numvunits (1984) > nb_blocks (512) - nb_boot_blocks(8) - 2
  Could not find valid boot record
  Could not mount NFTL device

cat /proc/mtd:

  dev:    size   erasesize  name
  mtd0: 00200000 00001000 "DiskOnChip 2000"

-------------------------

LOG for 2.4.18:

  NFTL driver: nftlcore.c $Revision: 1.82 $, nftlmount.c $Revision: 1.25 $
  Using configured DiskOnChip probe address 0xdc000
  DiskOnChip 2000 found at address 0xDC000
  Flash chip found: Manufacturer ID: EC, Chip ID: E6 (Samsung KM29U64000)
  1 flash chips found. Total DiskOnChip size: 8 MiB
  Sorry, we don't support UnitSizeFactor of != 1 yet.
  Could not find valid boot record
  Could not mount NFTL device

cat /proc/mtd:
  dev:    size   erasesize  name
  mtd0: 00800000 00002000 "DiskOnChip 2000"

             reply	other threads:[~2002-12-10 13:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-10 14:33 David Girault [this message]
2002-12-10 15:07 ` [DOC2000] invalid size detected Thomas Gleixner
2002-12-10 15:49   ` David Girault
     [not found] <F171pP0Xthjx7ciQ7SB000082c6@hotmail.com>
2002-12-10 15:41 ` David Girault

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='001201c2a059$27471aa0$0111010a@nexgenprivate' \
    --to=david@nexgen-software.fr \
    --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