Date: Tue, 15 Dec 1998 22:47:11 -0800 From: Matthew Hunt <mph@pobox.com> To: "Kenneth D. Merry" <ken@plutotech.com>, Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de> Cc: freebsd-scsi@FreeBSD.ORG Subject: Re: tosha reports random errors after transition to CAM Message-ID: <19981215224711.A21538@wopr.caltech.edu> In-Reply-To: <199812010528.WAA13755@panzer.plutotech.com>; from Kenneth D. Merry on Mon, Nov 30, 1998 at 10:28:58PM -0700 References: <19981129142027.A9664@wopr.caltech.edu> <199812010528.WAA13755@panzer.plutotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <oliver.fromme@heim3.tu-clausthal.de>. 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 <mph@pobox.com> * 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981215224711.A21538>