Subject: Re: New sgimips snapshot for INDY/Indigo 2, dated 20020409
To: sgimips NetBSD list <sgimips@mrynet.com>
From: pascal dameme <netinet@freesurf.fr>
List: port-sgimips
Date: 04/14/2002 12:37:58
> Also...
>
> > sd2 at scsibus0 target 3 lun 0: <TOSHIBA, CD-ROM XM-3401TA, 1534> SCSI2
> > 0/direct fixed
> > sd2: could not mode sense (4/5); using fictitious geometry
> > sd2(wdsc0:0:3:0):  Check Condition on CDB: 0x25 00 00 00 00 00 00 00 00
00
> >     SENSE KEY:  Not Ready
> >      ASC/ASCQ:  Medium Not Present
> >
> > sd2(wdsc0:0:3:0): could not get size
> > sd2: 0, 0 cyl, 64 head, 32 sec, 512 bytes/sect x 0 sectors
> > sd2: async, 8-bit transfers
>
> That doesn't look good.  That should have been probed as cd0 instead of
sd2.
> I haven't seen this before.  Perhaps there are quirks necessary in the
kernel
> to identify this as a CD drive.

I added it to the scsi_quirk_inquiry_pattern[] list (in
dev/scsipi/scsiconf.c), using the
 <TOSHIBA , CD-ROM XM-3401TA, 0283> as template.  This is clearly not enough
..

it is now recognized as follow :

cd0 at scsibus0 target 3 lun 0: <TOSHIBA, CD-ROM XM-3401TA, 1534> SCSI2
5/cdrom
removable
cd0: async, 8-bit transfers

but it wont talk to me : neither mount nor dd  succeed to use it ...
Any thoughts ?

Pascal.