Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Amigaz on June 20, 2004, 03:43:39 PM

Title: OS 3.9 bootup prog, need help
Post by: Amigaz on June 20, 2004, 03:43:39 PM
Everytime I boot up my A1200T I get this message

"Cannot open cdrom.device unit 0"

Have an IDEFIX adapter with IDEFIX'97 software (version 2.13) installed which my cd-rom and hdd are connected to.
As I am a pc damaged person I'm not so good at Amiga's software so can anyone here help me on a simple level?
I really apreciate the help I got thru this forum so far.
I closer now to finish my A1200T which is my dream come true thanks to all of the help I've gotten here.

/J-J
Title: Re: OS 3.9 bootup prog, need help
Post by: doctorq on June 20, 2004, 04:21:43 PM
If you have a program like FindCD or what ever it's called in the IDEfix software, then try to run this.

It should tell you what device driver and unit number your CD drive has. Edit the file for your CDROM which is placed in Devs:DOSDrivers. Mine is called CD0 and CDR. In this file there should be a line where the device driver should be entered, and below there should be a line for the unit number. Set these lines to the values of the program, and try to reboot. Hopefully the error requester is gone :) Good luck.

EDIT:
The error requester means that either the mountfile in Devs:DOSDrivers can't find the device driver or the unit number is wrong. Could also be a problem with the jumper settings of the CD drive.

Primary IDE cable, master, would be unit 0
Primary IDE cable, slave, would be unit 1
Secondary IDE cable, master, would be unit 2
Secondary IDE cable, slave, would be unit 3

At least on my controllers....
Title: Re: OS 3.9 bootup prog, need help
Post by: JaXanim on June 20, 2004, 04:49:12 PM
doctorq's advice is good. The Device and Unit settings are text files within the CD0 icon.

You edit these using the Workbench-Icons menu. Click the CD0 icon once to select it. Open the Information option in the Icons menu. The CD0 icon's panel will pop up. Click the 'Icon' tab and this gives you access to the files.

The Default Tool should be C:Mount

The ToolTypes should say DEVICE=scsi.device and the UNIT= entry according to the location of the drive on the IDE interface as already described.

Cheers,

JaX
Title: Re: OS 3.9 bootup prog, need help
Post by: Amigaz on June 20, 2004, 05:29:47 PM
Thanks for the quick help/reply's

Mine is called CD2 not CD0, think the IDEFIX software named it like that and there are no tooltypes for the icon at all.
The only CD0 icon I have is in my AmigaXL folder which is located in DEVS/DOSDrivers
Shall I just rename it to CD0 or shall I install the IDEFIX software again with other settings, have thought about installing the latest version which is version 3xx something.

/J-J
Title: Re: OS 3.9 bootup prog, need help
Post by: cgutjahr on June 20, 2004, 05:41:37 PM
Quote

AMIGAZ wrote:
Mine is called CD2 not CD0, think the IDEFIX software named it like that

You can call it whatever you want - just rename it and reboot. 'CD2' should be fine, though it's kind of a standard to call it 'CD0'.

The fact that IDEFix decided to call it 'CD2' hints that there are other CDx files interferring with your current CD mountlist though.

Quote

and there are no tooltypes for the icon at all.

'CD2' is a text file, you can edit it with any text editor (like 'Editpad' in the 'SYS:Tools/' folder).

Have a look at the file and tell us what the first few lines look like.

Quote

The only CD0 icon I have is in my AmigaXL folder which is located in DEVS/DOSDrivers

I don't get that - why do you have a AmigaXL folder? And *where* is it located exactly?

Try renaming the Devs/Dosdrivers directory in your AmigaXL folder. Maybe your Amiga is trying to mount the CD0 file from that folder (which can not work, for obvious reasons).
Title: Re: OS 3.9 bootup prog, need help
Post by: Amigaz on June 20, 2004, 05:46:01 PM
I have OS XL with OS3.9 in it.
The Amiga XL folder with CD0 is in my DEVS:DOSDRIVERS folder.

This is how my CD2 icon looks like in a text editor:

/***************************************************************/
/*  CacheCDFS mountlist entry © 1993 Elaborate Bytes, O. Kastl */
/***************************************************************/
   FileSystem     = L:CacheCDFS /* The name of the game */
   Device         = "scsi.device" /* Name of exec device driver */
   Unit           = 2 /* exec device unit */
   Flags          = 0 /* OpenDevice flags */
   BlocksPerTrack = 351000 /* Unused */
   BlockSize      = 2048 /* True, but unused */
   Mask           = 0x7ffffffe /* Memory mask for direct read */
   MaxTransfer    = 0x1000000 /* Maximum amount of bytes for direct read */
   Reserved       = 0 /* Unused */
   Interleave     = 0 /* Unused */
   LowCyl         = 0 /* Unused */
   HighCyl        = 0 /* Unused */
   Surfaces       = 1 /* Unused */
   Buffers        = 50 /* Number of cache lines */
   BufMemType     = 513 /* MEMF_PUBLIC|MEMF_24BITDMA */
   GlobVec        = -1 /* Do not change! */
   Mount          = 1 /* Mount it immediately */
   Priority       = 10 /* Priority of FileSystem task */
   DosType        = 0x43443031 /* Currently unused */
   StackSize      = 3000 /* Minimum stack required is 3000! */
   Control        = "MD=0 LC=1 DC=8 L LV AL LFC=1 S NC"
   /* The Control field is for special adjustments */
   /* L/S convert all file/volume names to lowercase */
   /* LV/S convert volume names to lowercase */
   /* AL/S Auto-Lower converts only non-Amiga CDs */
   /* LFC/N start converting at this character */
   /* LC/N/A number of blocks per cache line */
   /* DC/N/A number of cache lines for the data cache */
   /* MD/N/A number of blocks, when starting direct read, not using */
   /* the cache. 0 will be a reasonable default (LC*DC+1) */
   /* S/S Do SCSI direct commands, no Trackdisk like commands! */
   /* NC/S Do NOT use TD_ADDCHANGEINT, poll for DiskChange! */
   /* M/S Issue a TD_MOTOR (OFF) command after read */
Title: Re: OS 3.9 bootup prog, need help
Post by: JaXanim on June 20, 2004, 07:10:17 PM
Does the 'UNIT=2' in the CD2 Mountlist correspond with the position of the drive on the IDE interface?

This script places it as Master on Channel 2.

[EDIT] Your error mesage indicates the software is actually looking for CD0 as Master on Channel 1. This is almost certainly wrong, since that's where the Boot partition goes. Try dragging the CD0 icon from the AmigaXL drawer into Devs/DOSdrivers and edit this icon as discussed earlier.

Cheers,

JaX
Title: Re: OS 3.9 bootup prog, need help
Post by: Amigaz on June 20, 2004, 07:13:55 PM
It's positioned as master on the 2nd IDE channel on my IDEFIX adapter and the CDROM is set as master on the jumper at the back.
The cd works ok in workbench and is mounted at startup it's just that my computer can't boot into my Picasso96 mode and my voodoo card settings doesn't start just because of this so now I have to have my NEC 3D monitor hooked up also so I can click past the bootup error message because the voodoo drivers haven't been loaded up before the message turns up, lol
Title: Re: OS 3.9 bootup prog, need help
Post by: Amigaz on June 20, 2004, 08:53:08 PM
Problem solved (my way)

Removed and backed up the CD0's that were in DEVS/DOSDrivers:AmigaXL & AMIthlon.
Looked at the startup sequence that it tried to mount those which must have ran in conflict with the IDEFIX mounting.
You learn something new everyday, wish I knew more about how Amiga OS'es work have used PC's too much after I sold my miggy in '93
Now I just need to get my SB128 card working in my miggy and configure MiamiDX so I can view this page from my miggy instead of my Xeon-can  :hammer:

J-J
Title: Re: OS 3.9 bootup prog, need help
Post by: elendil on June 20, 2004, 10:14:19 PM
I'm guessing you've installed os3.9 on your a1200 from the amigaXL cd, which is a modified version of os3.9, made to work on amithlon/amigaXL. Your cd2 is your actual cdrom unit. the CD0 is an inexistant drive, hence the error when the device driver tries to access it.

So your solution should work just dandy.

Sincerely,

-Kenneth Straarup.