public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* DOC2000 & NFTL problems
@ 2000-08-02 11:48 Ciro Cattuto
       [not found] ` <3988F8D2.FD1AB1E2@sis.com.tw>
  0 siblings, 1 reply; 5+ messages in thread
From: Ciro Cattuto @ 2000-08-02 11:48 UTC (permalink / raw)
  To: mtd

Hello,

I decided to give a try to the DOC2000/NFTL driver included in mtd.
I have an Eurotech PC104 SBC with a DOC socket. I'm using a 2 Mb DOC2000,
enabled in the SBC BIOS and mapped at 0xd8000.

Under DOS everything works fine: the systems detects, identifies and
formats the DOC. Everything is also fine with the binary-only Linux driver
provided by M-Systems, under Linux 2.0.38.

Next, I try Linux 2.2.16 with the mtd driver and patch.

 ---------------------------------------------------------------------
 M-Systems DiskOnChip driver. (C) 1999 Machine Vision Holdings, Inc.
 DiskOnChip 2000 found at address 0xD8000
 1 flash chips found. Total DiskOnChip size: 2 Mb
 Ignoring DiskOnChip 2000 at 0xDA000 - already configured
 M-Systems NAND Flash Translation Layer driver. (C) 1999 MVHI
 $Id: nftl.c,v 1.37 2000/07/26 10:02:27 dwmw2 Exp $
 ---------------------------------------------------------------------

...then I get the following message, repeated for all EUNs (0-511)...

 ---------------------------------------------------------------------
 EUN 506: EraseMark not 0x3c69 (0xffff 0xffff instead)
 ---------------------------------------------------------------------

...and when it comes to detecting the partition, I get:

 ---------------------------------------------------------------------
  nftla: unknown partition table
 ---------------------------------------------------------------------

NOTE: there _is_ a valid NFTL partition on the DOC, while the above happens.

Okay, now I try to format the DOC using nftl_format: no errors.
When I try to fdisk /dev/nftla, though, I get an invalid partition table.
Any attempt to write a new partition table results in the following:

 ---------------------------------------------------------------------
 NFTL_writeblock(): Cannot find block to write to
 end_request: I/O error, dev 5d:00 (unknown), sector 2
 No Virtual Unit Chains available for folding. Failing request
 Cannot make free space.
 ---------------------------------------------------------------------

...I'm probably missing something obvious, but I would still appreciate
some feedback on this problem. Thank you.

Cheers,

Ciro

-- 
Ciro Cattuto, Open Source Developer, Linuxcare Italia SpA
Tel. +39.338.3002140  Fax +39.049.8036484 
ciro@linuxcare.com    http://www.linuxcare.com/
ciro@prosa.it         http://www.prosa.it/
Linuxcare. Support for the revolution.




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-08-04  7:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-02 11:48 DOC2000 & NFTL problems Ciro Cattuto
     [not found] ` <3988F8D2.FD1AB1E2@sis.com.tw>
2000-08-03 10:58   ` Ciro Cattuto
2000-08-04  1:54     ` Ollie Lho
2000-08-04  2:17       ` Ciro Cattuto
2000-08-04  7:45       ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox