SUMMARY: two CD-ROM drives on one SPARCstation

From: John Benjamins (johnb@edge.cis.mcmaster.ca)
Date: Mon Jul 27 1992 - 18:33:17 CDT


John Benjamins,

On Jul 22, 3:23pm, I wrote:
} Subject: two CD-ROM drives on one SPARCstation
} Hello sun-managers!
}
} I have a new SPARCstation 2, running SunOS 4.1.2. I want to put two
} CD-ROM drives on the machine (well I don't, the professor who owns the
} machine wants me to put two CD-ROM drives on the machine:-). I have
} the following lines in the config file:
}
} scsibus0 at esp # declare first scsi bus
} disk sd0 at scsibus0 target 3 lun 0 # first hard SCSI disk
} disk sd1 at scsibus0 target 1 lun 0 # second hard SCSI disk
} disk sd2 at scsibus0 target 2 lun 0 # third hard SCSI disk
} disk sd3 at scsibus0 target 0 lun 0 # fourth hard SCSI disk
} tape st0 at scsibus0 target 4 lun 0 # first SCSI tape
} #tape st1 at scsibus0 target 5 lun 0 # second SCSI tape
} disk sr0 at scsibus0 target 6 lun 0 # CD-ROM device
} disk sr1 at scsibus0 target 5 lun 0 # second CD-ROM device
}
} I naively figured I could steal target 5 from the tape driver, and
} plug in the second CD-ROM at target 5 instead. When I now do the
} config command, I get:
}
} config: line 181: syntax error
}
} Line 181 is the last line in the file, and its' the line I have for
} sr1. If I comment out that line, config works fine (in fact I generate
} the kernel the machine is currently using without problem). So my
} question is: Is there a way to get two CD-ROM drives on one
} SPARCstation with one SCSI bus. The GENERIC config file does have
} support for two CD-ROM drives, but in that case sr1 is on scsibus1.
} We don't want to buy a second SCSI bus for this, natch'.
}
} Thanks for any help you can give.

I got replies from:

--- bernards@ecn.nl (Marcel Bernards)
--- mdl@cypress.com (J. Matt Landrum)
--- Mike Raffety <miker@sbcoc.com>
--- baumann@proton.llumc.edu (Michael Baumann)
--- Wilson N G <noel@essex.ac.uk>
--- ldavis!woden!gunn@snowbird.central.sun.com (David Gunn)

The replies fell into 3 groups:

        1) I want to know too!
        2) Buy a multi-disc CDROM.
        3) The config file is missing a new line at the end.

I just got #3 from David Gunn and he was right on the money! I fixed
up the missing newline and all is well.

Someone asked about doing this with two SCSI interfaces,
unfortunately, I can't speak on that situation since I want two
CDROM's on one interface. I had removed all references to scsibus1
from the file. That also was not the problem.

Something others might be interested in:
} From: baumann@proton.llumc.edu (Michael Baumann)
}
} Hmmm, Why don't you convince the prof to spring for $1250 and get a pioneer
} 6 disk changer? As I understand it, it is a sun-bootable changer, that
} uses target 6, LUN[0-5]. Apparently it detects the request and swaps in that
} disk. (Yes, you could wind up thrashing)
}
} Contact Falcon at (800)326-1002

And the correct answer! Thanks David!

} From: ldavis!woden!gunn@snowbird.central.sun.com (David Gunn)
}
} Without looking into it at all, I would guess that you may not have
} a RETURN at the end of the last line, or else that the line for target 5
} needs to come before the line for target six.

-- 
 // E. John Benjamins,            Computing & Information Services,         \\
//                               McMaster University, Hamilton, Ont., CANADA \\
\\ Internet: johnb@edge.cis.mcmaster.ca    (BITNET: JOHNB@MCMASTER)          //
 \\ "The trouble with normal is it always gets worse" - Bruce Cockburn      //



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:06:46 CDT