public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Trying to use DOC2000 on Debian
@ 2007-08-15 23:21 mailthrottle-mtd
  2007-08-16 13:34 ` Andy Kennedy
  0 siblings, 1 reply; 3+ messages in thread
From: mailthrottle-mtd @ 2007-08-15 23:21 UTC (permalink / raw)
  To: linux-mtd

Hello to the list.

I'm sorry to ask here but I could not find the answers
by myself.
I have a "native" dos formatted DOC2000, my first goal
is access it from Linux.
I guessed I have to create the necessary device node
first so I created some of them (it seems MAKEDEV
script in debian only provides mtdX devices, I added
these by hand):

mknod /dev/ftla b 44 0
mknod /dev/ftla1 b 44 1
mknod /dev/ftla2 b 44 2
mknod /dev/ftla3 b 44 3
mknod /dev/ftla4 b 44 4
mknod /dev/nftla b 93 0
mknod /dev/nftla1 b 93 1
mknod /dev/nftla2 b 93 2
mknod /dev/nftla3 b 93 3
mknod /dev/nftla4 b 93 4

Then I tried "modprobe diskonchip" and I saw some
messages from which I guess the system recognized a
DiskOnChip device.
I could be happy now but when I try to mount
/dev/nftla1 or fdisk /dev/nftla the system delay a
while then prints some messages saying it is
formatting some blocks (I'm sorry I can't reproduce
the exact messages now).
After this I cannot access the device anymore and if I
reboot with a dos floppy disk I can see dos cannot
find any partition on DOC2000, I have to create it and
format it again.
Can you help me to understand what is happening?
It is possible to read the DOC "native" format using
mtd drivers?
I learn there are different format nftl/inftl but
can't say which one is really used by the device,
shoul I try to access it as inftl?

I'm using debian stable (Etch) kernel 2.6.18.

Thanks.

Alessandro.




      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html

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

* Re: Trying to use DOC2000 on Debian
  2007-08-15 23:21 Trying to use DOC2000 on Debian mailthrottle-mtd
@ 2007-08-16 13:34 ` Andy Kennedy
  0 siblings, 0 replies; 3+ messages in thread
From: Andy Kennedy @ 2007-08-16 13:34 UTC (permalink / raw)
  To: mailthrottle-mtd; +Cc: linux-mtd

mailthrottle-mtd@yahoo.it wrote:
> Hello to the list.
>
> I'm sorry to ask here but I could not find the answers
> by myself.
> I have a "native" dos formatted DOC2000, my first goal
> is access it from Linux.
> I guessed I have to create the necessary device node
> first so I created some of them (it seems MAKEDEV
> script in debian only provides mtdX devices, I added
> these by hand):
>
> mknod /dev/ftla b 44 0
> mknod /dev/ftla1 b 44 1
> mknod /dev/ftla2 b 44 2
> mknod /dev/ftla3 b 44 3
> mknod /dev/ftla4 b 44 4
> mknod /dev/nftla b 93 0
> mknod /dev/nftla1 b 93 1
> mknod /dev/nftla2 b 93 2
> mknod /dev/nftla3 b 93 3
> mknod /dev/nftla4 b 93 4
>
> Then I tried "modprobe diskonchip" and I saw some
> messages from which I guess the system recognized a
> DiskOnChip device.
> I could be happy now but when I try to mount
> /dev/nftla1 or fdisk /dev/nftla the system delay a
> while then prints some messages saying it is
> formatting some blocks (I'm sorry I can't reproduce
> the exact messages now).
> After this I cannot access the device anymore and if I
> reboot with a dos floppy disk I can see dos cannot
> find any partition on DOC2000, I have to create it and
> format it again.
> Can you help me to understand what is happening?
> It is possible to read the DOC "native" format using
> mtd drivers?
> I learn there are different format nftl/inftl but
> can't say which one is really used by the device,
> shoul I try to access it as inftl?
>
> I'm using debian stable (Etch) kernel 2.6.18.
>
> Thanks.
>
> Alessandro.
>
>
>   
Well, you've jacked it up.  You've also lost all of your data as the
nftl driver formated that puppy.  Furthermore, you've removed the DOC
firmware (without even knowing it) and you'll have to get a DOS boot
floppy with dformat (and a good image file) to replace it.

As far as accessing it via Linux -- good luck getting support on it.  It
appears that the DOC developers of the driver for Linux do not "give"
out support for mounting this puppy under Linux.  I have attempted
everything and cannot get the stupid sucker to work.

I have a bootable floppy that will restore your DOC back to DOS if you'd
like it -- just e-mail me off-line.

Andy

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

* Re: Trying to use DOC2000 on Debian
       [not found] <46C451CA.5000507@techmoninc.com>
@ 2007-08-16 15:22 ` mailthrottle-mtd
  0 siblings, 0 replies; 3+ messages in thread
From: mailthrottle-mtd @ 2007-08-16 15:22 UTC (permalink / raw)
  To: Andy Kennedy; +Cc: linux-mtd

--- Andy Kennedy:
> Well, you've jacked it up.  You've also lost all of
> your data as the nftl driver formated that puppy.
>  Furthermore, you've removed the DOC 
> firmware (without even knowing it) and you'll have
> to get a DOS boot 
> floppy with dformat (and a good image file) to
> replace it.
> 
Fortunately I think the firmware is still there
because after an "fdisk" and "format c:" from a boot
floppy I can use it again from DOS. I don't know if
there are other hidden damages (bad block map?).

> As far as accessing it via Linux -- good luck
> getting support on it.

Thanks. If I make some progress I will tell here.

Alessandro.



      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html

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

end of thread, other threads:[~2007-08-16 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-15 23:21 Trying to use DOC2000 on Debian mailthrottle-mtd
2007-08-16 13:34 ` Andy Kennedy
     [not found] <46C451CA.5000507@techmoninc.com>
2007-08-16 15:22 ` mailthrottle-mtd

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