Date: Sat, 10 May 1997 08:16:43 +0200 From: j@uriah.heep.sax.de (J Wunsch) To: scsi@FreeBSD.ORG Cc: gavin@ormond.unimelb.edu.au (Gavin Cameron) Subject: Re: Help with a Toshiba SCSI CD-ROM Message-ID: <19970510081643.NU52750@uriah.heep.sax.de> In-Reply-To: <199705100346.NAA16135@gateway.ormond.unimelb.edu.au>; from Gavin Cameron on May 10, 1997 13:46:24 %2B1000 References: <199705100346.NAA16135@gateway.ormond.unimelb.edu.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Hmpf. :-) As Gavin Cameron wrote: > (aha0:3:0): "TOSHIBA CD-ROM XM-5301TA 1895" type 0 fixed SCSI 2 ^ > sd0(aha0:3:0): Direct-Access I didn't notice _this_ in my previous followup. This drive indeed claims it were a hard disk! =:-) > sd0(aha0:3:0): ILLEGAL REQUEST asc:24,0 Invalid field in CDB sks:c0,2 > sd0 could not mode sense (4). Using ficticious geometry Well, for sure, the drive complains about mode page 4 (Rigid disk geometry page) then. The big question is why it announces itself as type Direct-Access. You could always work around this by: Index: scsi/scsiconf.c =================================================================== RCS file: /home/ncvs/src/sys/scsi/scsiconf.c,v retrieving revision 1.85 diff -u -u -2 -r1.85 scsiconf.c --- scsiconf.c 1997/05/03 22:23:13 1.85 +++ scsiconf.c 1997/05/10 06:15:48 @@ -388,4 +388,11 @@ "cd", SC_MORE_LUS }, + /* + * Drunk Toshiba 5301 that pretends to be a Direct-Access drive. + */ + { + T_DIRECT, T_READONLY, T_REMOV, "TOSHIBA", "CD-ROM XM-5301TA", "*", + "cd", SC_ONE_LU + }, #endif /* !UKTEST */ #endif /* NCD */ -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970510081643.NU52750>