Subject: Re: Pioneer SCSI CD-ROM changer problems under 1.4 on sun3
To: Matthew Fredette <fredette@MIT.EDU>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 10/17/2000 19:49:52
On Tue, Oct 17, 2000 at 09:11:17AM -0400, Matthew Fredette wrote:
> 
> > Today I picked up a Pioneer DRM-624x - a SCSI 6-disc changer.  On my
> > Sun 3/60 running NetBSD 1.4, it seems to probe fine:
> 
> [deletia]
> 
> I turned on SCSI debugging for this drive.  When I try to mount it,
> this is what happens:
> 
> cd0(si0:6:0): command: 0x1b,0x0,0x0,0x0,0x1,0x0-[0 bytes]
> cd0(si0:6:0): back in cmd()
> cd0(si0:6:0): sc_err1,err = 0x1
> code 0x70 valid 0x0 seg 0x0 key 0x2 ili 0x0 eom 0x0 fmark 0x0
> info: 0x0 0x0 0x0 0x0 followed by 8 extra bytes
> extra: 0x0 0x0 0x0 0x0 0x3a 0x0 0x0 0x0
> cd0(si0:6:0): scsipi_interpret_sense returned 19
> 
> So, I'm sending a START_STOP command to start the thing, and the drive
> is returning a sense key error, SKEY_NOT_READY.
> 
> I took the top off, and the motor never spins while this is happening,
> so I may just have gotten a bad drive.  But, to exhaust all of the
> possibilities:
> 
> - I noted that in scsipi_interpret_sense(), there's an option
>   to SCSI_IGNORE_NOT_READY.  Could this apply to this drive?
> 
> - Maybe there's "something else" that needs to be sent to this
>   drive to make it go?  What's the SSS_LOEJ bit do in the START_STOP
>   command?

This bit asks to perform a load or unload instead of start or stop.
This is used by the CDIOCCLOSE ioctl.
Could you try a 'eject -l cd0' before mount ?
On a single CD drive is would close the tray if open, maybe here is will load
the CD ?

--
Manuel Bouyer <bouyer@antioche.eu.org>
--