Subject: Re: SCSI CD-ROM always empty on boot
To: Martin Husemann <martin@rumolt.teuto.de>
From: Alistair G. Crooks <agc@uts.amdahl.com>
List: current-users
Date: 07/24/1995 00:56:38
> on boot my system always says:
> 
> > ahb0 at isa0 port 0x1000-0x1fff irq 11: model 1740 or 1742, revision 2
> > scsibus0 at ahb0
> > ahb0 targ 0 lun 0: <QUANTUM, LPS525S, 3100> SCSI2 0/direct fixed
> > sd0 at scsibus0: 501MB, 2448 cyl, 6 head, 69 sec, 512 bytes/sec
> > ahb0 targ 1 lun 0: <HP, C3325A, 4299> SCSI2 0/direct fixed
> > sd1 at scsibus0: 2069MB, 3703 cyl, 9 head, 127 sec, 512 bytes/sec
> > ahb0 targ 4 lun 0: <TOSHIBA, CD-ROM XM-3501TA, 2694> SCSI2 5/cdrom removable
> > cd0 at scsibus0: drive empty
>                    ^^^^^^^^^^^
> even if drive cd0 is not empty. Is this a SCSI driver bug or does my
> CD-ROM lie? Does anybody get no "drive empty" message for a SCSI CD-ROM?

It may be that your CD-ROM drive is a slow one, and that it needs some
more time to spin up the CD to read the data on it.  I have a slow
Matshita CD-ROM drive (CR-532, 2.5a, FWIW), and it definitely needs
time to spin up.

To facilitate this, modify your kernel config file to contain:

options SCSI_DELAY = 10

which gives the drive 10 seconds to come up to speed.

Whilst I'm here, could some kind person (Hi Chris), run the script to
make a new tar_files set - the last set of tar_files is from July 8th,
which makes it a tad difficult to write about the latest -current
stuff.  (I know you didn't want the CD-ROM made, Chris, but that's
going a bit far :-))

Alistair
--
Alistair G. Crooks (agc@uts.amdahl.com)                	   +44 125 234 6377
Amdahl European HQ, Dogmersfield Park, Hartley Wintney, Hants RG27 8TE, UK.
[These are only my opinions, and certainly not those of Amdahl Corporation]