Welcome, Guest. Please login or register.

Author Topic: MountDOS: "MD01:: bad number"  (Read 2807 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
MountDOS: "MD01:: bad number"
« on: January 11, 2008, 07:14:47 PM »
Lots of problems today :-)

I've got a 4GB compact flash card in a CF->IDE reader, connected to the internal IDE interface of my A4000. The card has a single FAT32 partition filling the whole card. I am trying to get MountDOS to mount the partition (it can see it in the list). I am using this command:

MountDOS DEVICE scsi.device UNIT 0 FAT95 MOUNT

It mounts MD01:, but if I try to access it (even CD to it) I get an error saying "MD01:: bad number". I do have Fat95 in L:.

I wondered whether the partition may be too big, so I deleted them all and created one 512MB in size, but got the same error. I get no icon on Workbench, and the volume doesn't show up anywhere. The partition is readable and writeable on a PC. The card is actually a Sony Memory Stick Pro Duo in a MS Pro Duo -> CF adapter. Not sure if that matters.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: MountDOS: "MD01:: bad number"
« Reply #1 on: January 11, 2008, 07:32:20 PM »
Just tried with a 512MB Compact Flash card (a real CF card this time) and got the same problem. Here is the mountlist created by MountDOS for that card:

MD01:
FileSystem       = L:fat95
Device           = scsi.device
Unit             = 0
Flags            = 1
Surfaces         = 1
BlocksPerTrack   = 1
MaxTransfer      = 0xFFFE00
Reserved         = 0
LowCyl           = 63
HighCyl          = 1000943
Buffers          = 20
BufMemType       = 1
StackSize        = 2048
Priority         = 10
GlobVec          = -1
DosType          = 0x46415401
Activate         = 1
#

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: MountDOS: "MD01:: bad number"
« Reply #2 on: January 11, 2008, 08:09:33 PM »
Thanks, but I don't think that will work. The LowCyl and HighCyl parameters in the mountlist I posted define the boundaries of the partition. The mountlist you posted doesn't have those parameters because the mountlist can't know how big the card is until it attempts to mount it. There must be a function in compactflash.device which looks at the card and finds its partition boundaries. Since scsi.device can't do this, it won't work without LowCyl and HighCyl.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: MountDOS: "MD01:: bad number"
« Reply #3 on: January 11, 2008, 08:20:28 PM »
Hmm ok. So would that mountlist A4000_Mad posted work?

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: MountDOS: "MD01:: bad number"
« Reply #4 on: January 11, 2008, 08:22:37 PM »
Just used GiggleDisk to create a mountlist and it seems to work!

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: MountDOS: "MD01:: bad number"
« Reply #5 on: January 11, 2008, 08:29:57 PM »
Hmm spoke too soon. GiggleDisk created a mountlist which worked for the 512MB card, but not the 4GB MS in the adapter. Thomas would that mountlist A4000_MAD posted work?

[EDIT]
Yes I did create a new mountlist for the 4GB card...
[/EDIT]

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: MountDOS: "MD01:: bad number"
« Reply #6 on: January 11, 2008, 08:51:14 PM »
Nemmind, typo in mountlist when I changed the filesystem :-) GiggleDisk mountlist works for the 4GB card :-D

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline motorollinTopic starter

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show all replies
Re: MountDOS: "MD01:: bad number"
« Reply #7 on: April 03, 2008, 09:02:48 PM »
Really? I couldn't get it to work. Probably my fault :lol:

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10