From owner-freebsd-scsi Sat Sep 12 16:22:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA24374 for freebsd-scsi-outgoing; Sat, 12 Sep 1998 16:22:25 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from uni4nn.gn.iaf.nl (osmium.gn.iaf.nl [193.67.144.12]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id QAA24366 for ; Sat, 12 Sep 1998 16:22:23 -0700 (PDT) (envelope-from wilko@yedi.iaf.nl) Received: by uni4nn.gn.iaf.nl with UUCP id AA08740 (5.67b/IDA-1.5); Sun, 13 Sep 1998 01:12:01 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.8.8/8.6.12) id AAA20591; Sun, 13 Sep 1998 00:40:06 +0200 (CEST) From: Wilko Bulte Message-Id: <199809122240.AAA20591@yedi.iaf.nl> Subject: Re: Weird Toshiba CD causes CAM to crash. In-Reply-To: <199809122214.QAA26512@panzer.plutotech.com> from "Kenneth D. Merry" at "Sep 12, 98 04:14:11 pm" To: ken@plutotech.com (Kenneth D. Merry) Date: Sun, 13 Sep 1998 00:40:06 +0200 (CEST) Cc: cattelan@thebarn.com, freebsd-scsi@FreeBSD.ORG X-Organisation: Private FreeBSD site - Arnhem, The Netherlands X-Pgp-Info: PGP public key at 'finger wilko@freefall.freebsd.org' X-Mailer: ELM [version 2.4ME+ PL38 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org As Kenneth D. Merry wrote... > Wilko Bulte wrote... > > As Russell Cattelan wrote... > > > I has to put his hack back into scsi_da.c > > > > > > + if (!strncmp(*(&(&cgd->inq_data)->product),"CD-ROM XM-5401TA", > > > + strlen("CD-ROM XM-5401TA"))){ > > > + printf("daasync skipping device that looks like CD\n"); > > > + break; > > > + } > > > + > > > if (cgd->pd_type != T_DIRECT) > > > break; > > > > > > Other wise it would crash someplace in "dadone" at boot time. > > > > > > I know this drive is a little weird. > > > > Said drive worked fine for me in the non-CAM world. I would not generally > > qualify Toshiba CDs as weird, they tend to be pretty good. Currently I have > > a 12x that replaced the 5401: > > > > TOSHIBA CD-ROM XM-5701TA 0557 > > Most Toshiba drives work just fine. His problem is that his drive probes > as a direct access device for some reason. I can explain that part: it was probably inside an SGI or something like that. Older SGI machines (maybe new ones also?) need CD drives to behave like a DA (disk) device in order for the CDs to be bootable. Digital has the same thing in their RRDxx cdrom drives. For the newer DEC drives (the Toshiba ones) you can switch from DEC RRD4x to Toshiba mode (512 and 2048 byte blocks respectively) by (un)setting the parity jumper. Parity is always enabled. Sun also has/had 512 byte block drives. I don't know if the DEC and Sun drives probe as DA devices, but I think they do not. At least I never had troubles getting DEC RRD drives probed as harddisks. Never tried them with CAM though. Hope this helps... Wilko _ ______________________________________________________________________ | / o / / _ Bulte email: wilko@yedi.iaf.nl |/|/ / / /( (_) Arnhem, The Netherlands WWW : http://www.tcja.nl ______________________________________________ Powered by FreeBSD __________ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message