From owner-freebsd-scsi Tue Dec 15 22:47:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA01419 for freebsd-scsi-outgoing; Tue, 15 Dec 1998 22:47:35 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from wopr.caltech.edu (wopr.caltech.edu [131.215.240.222]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA01407 for ; Tue, 15 Dec 1998 22:47:32 -0800 (PST) (envelope-from mph@wopr.caltech.edu) Received: (from mph@localhost) by wopr.caltech.edu (8.9.1/8.9.1) id WAA22578; Tue, 15 Dec 1998 22:47:12 -0800 (PST) (envelope-from mph) Message-ID: <19981215224711.A21538@wopr.caltech.edu> Date: Tue, 15 Dec 1998 22:47:11 -0800 From: Matthew Hunt To: "Kenneth D. Merry" , Oliver Fromme Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: tosha reports random errors after transition to CAM References: <19981129142027.A9664@wopr.caltech.edu> <199812010528.WAA13755@panzer.plutotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: <199812010528.WAA13755@panzer.plutotech.com>; from Kenneth D. Merry on Mon, Nov 30, 1998 at 10:28:58PM -0700 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Nov 30, 1998 at 10:28:58PM -0700, Kenneth D. Merry wrote: > Matthew Hunt wrote... > > [ after non-CAM to CAM upgrade... ] > > When I try to rip CD audio, tosha emits the following error: > > > > wopr:~/tmp$ tosha -v -t 1 -o out.pcm > > Device: /dev/cd0c IBM CDRM00201 !F 0724 > > tosha: WARNING: Drive type not recognized. > > [...] > > error returned from CD-DA read command: > > (pass1:ahc0:0:3:0): Vendor Specific Command. CDB: d8 > > (pass1:ahc0:0:3:0): ILLEGAL REQUEST asc:bf,0 > > (pass1:ahc0:0:3:0): Vendor Specific ASC > It's kinda difficult to decipher vendor-specific error messages. I would > suggest contacting Oliver Fromme . He > is the author of tosha, and he may know what that error code means. He may > also want to explicitly define that particular IBM CDROM drive as a > Toshiba-like drive. As it turns out, it looks like treating my IBM branded drive as a Toshiba does fix the problem. I have no idea why it would have started appearing after changing to CAM. I've attached the trivial patch I've used, but I don't know whether it's appropriate for widespread use. I understand that my drive is really an XM-4101, but I don't know whether it's generally true that IBM drives are really Toshibae. --- /usr/home/mph/FreeBSD/ports/audio/tosha/work/tosha-0.05/tosha.c Tue Dec 15 22:45:25 1998 +++ tosha.c.new Tue Dec 15 22:44:56 1998 @@ -627,6 +627,7 @@ fprintf (stderr, "Device: %s %s %s %s\n", device, vendor, product, versid); if (!strncmp(vendor, "TOSHIBA", 7) || + !strncmp(vendor, "IBM", 3) || !strncmp(vendor, "DEC", 3)) { denschange = 0x82; } -- Matthew Hunt * Inertia is a property of matter. http://www.pobox.com/~mph/pgp.key for PGP public key 0x67203349. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message