public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* doc2000 geometry problem?
@ 2000-07-05 10:34 dr john halewood
  2000-07-05 13:11 ` David Woodhouse
  0 siblings, 1 reply; 3+ messages in thread
From: dr john halewood @ 2000-07-05 10:34 UTC (permalink / raw)
  To: mtd

I've got a feeling this is going to turn out to be bad hardware but I thought
it would be worth checking first.
  I'm yet another person trying to embed linux using the doc2000 on a
NatSemi-based platform (Geode aka MediaGX - uck). I've got the system up and
running but I've run into a problem (this is with 2.2.16+current mtd cvs). As I
add the modules dmesg looks like this
M-Systems NAND Flash Translation Layer driver. (C) 1999 MVHI
$Id: nftl.c,v 1.34 2000/06/07 14:48:52 dwmw2 Exp $
M-Systems DiskOnChip driver. (C) 1999 Machine Vision Holdings, Inc.
DiskOnChip 2000 found at address 0xD4000
1 flash chips found. Total DiskOnChip size: 8 Mb
Cannot calculate an NFTL geometry to match size of 0x3c0.
Using C:1024 H:0 S:1 (== 0 sects)
nftla: nftla1
 It turns out that /dev/nftla1 is a FAT12 partition: the people who supplied me
with the board also helpfully put their Wince-based thin client software on the
DOC. Now here's the rub: I can't reformat the doc2000. The nftldump, erase and
nftl_format utils all return an error (-1, helpful that) on the
ioctl(blah,MEMGETINFO,&blah) call, which makes me suspect that there's
something about this chip that's not very healthy. Anyone have any clues or
have I just done something really stupid?

cheers
john


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

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

* Re: doc2000 geometry problem?
  2000-07-05 10:34 doc2000 geometry problem? dr john halewood
@ 2000-07-05 13:11 ` David Woodhouse
  2000-07-05 13:54   ` dr john halewood
  0 siblings, 1 reply; 3+ messages in thread
From: David Woodhouse @ 2000-07-05 13:11 UTC (permalink / raw)
  To: john; +Cc: mtd


john@frumious.unidec.co.uk said:
>  The nftldump, erase and nftl_format utils all return an error (-1,
> helpful that) on the ioctl(blah,MEMGETINFO,&blah) call,

You _are_ using them on the flash device /dev/mtd0 aren't you, not on the 
nftl device /dev/nftla ?

You shouldn't need to do it though - can you not mount the /dev/nftla1 
partition? Or reformat it to ext2 with 'mkfs.ext2 /dev/nftla1' ?

--
dwmw2




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

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

* Re: doc2000 geometry problem?
  2000-07-05 13:11 ` David Woodhouse
@ 2000-07-05 13:54   ` dr john halewood
  0 siblings, 0 replies; 3+ messages in thread
From: dr john halewood @ 2000-07-05 13:54 UTC (permalink / raw)
  To: David Woodhouse; +Cc: mtd

On Wed, 05 Jul 2000, David Woodhouse wrote:
>You _are_ using them on the flash device /dev/mtd0 aren't you, not on the 
>nftl device /dev/nftla ?
yup
>
>You shouldn't need to do it though - can you not mount the /dev/nftla1 
>partition? Or reformat it to ext2 with 'mkfs.ext2 /dev/nftla1' ?

This is the funny bit: I mounted the fat partition on /dev/nftla1 happily, but
couldn't see any files on it. Trying to write to it gave a "No Virtual Unit
Chains available" message, and reformatting it this mkfs reported a success but
left the fat partition there. Is the fact that it sees 0 sectors significant or
is this normal?

john


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

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

end of thread, other threads:[~2000-07-05 13:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-05 10:34 doc2000 geometry problem? dr john halewood
2000-07-05 13:11 ` David Woodhouse
2000-07-05 13:54   ` dr john halewood

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