From owner-freebsd-scsi Fri May 9 23:21:42 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA22181 for freebsd-scsi-outgoing; Fri, 9 May 1997 23:21:42 -0700 (PDT) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id XAA22176 for ; Fri, 9 May 1997 23:21:35 -0700 (PDT) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id IAA01138; Sat, 10 May 1997 08:21:06 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.8.5/8.8.5) id IAA09315; Sat, 10 May 1997 08:16:43 +0200 (MET DST) Message-ID: <19970510081643.NU52750@uriah.heep.sax.de> 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 References: <199705100346.NAA16135@gateway.ormond.unimelb.edu.au> X-Mailer: Mutt 0.60_p2-3,5,8-9 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199705100346.NAA16135@gateway.ormond.unimelb.edu.au>; from Gavin Cameron on May 10, 1997 13:46:24 +1000 Sender: owner-freebsd-scsi@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk 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. ;-)