From owner-freebsd-current Mon Oct 5 15:47:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21894 for freebsd-current-outgoing; Mon, 5 Oct 1998 15:47:06 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from panzer.plutotech.com (panzer.plutotech.com [206.168.67.125]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21882 for ; Mon, 5 Oct 1998 15:46:56 -0700 (PDT) (envelope-from ken@panzer.plutotech.com) Received: (from ken@localhost) by panzer.plutotech.com (8.9.1/8.8.5) id QAA28339; Mon, 5 Oct 1998 16:46:44 -0600 (MDT) From: "Kenneth D. Merry" Message-Id: <199810052246.QAA28339@panzer.plutotech.com> Subject: Re: Exabyte 8200 and CAM, Take 2 In-Reply-To: from Duncan Barclay at "Oct 5, 98 08:53:30 pm" To: dmlb@ragnet.demon.co.uk (Duncan Barclay) Date: Mon, 5 Oct 1998 16:46:44 -0600 (MDT) Cc: johan@granlund.nu, freebsd-current@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28s (25)] MIME-Version: 1.0 Content-Type: multipart/mixed; boundary=ELM907627604-28258-0_ Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --ELM907627604-28258-0_ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Duncan Barclay wrote... > > On 05-Oct-98 Johan Granlund wrote: > > > > [Long Snip] > > > > > >> Strange, my Exabyte 8200 probes fine with no lockups, I have a NCR810 > >> card. Current as of about 06:30GMT 2/10/98. Exabyte has same firmware as > >> yours. > > Having now got some tapes for this drive it locks up when being _used_ under > CAM. It probes fine though. It isn't surprising that y'all are having trouble with 8200's under CAM. The tape driver needs some work before it will work around all the bugs in all the old (and often broken) tape drives out there. Hopefully we'll be able to do something about it before 3.0, but for now, just realize that it's a little broken. I've attached a patch to disable multi-lun probing and serial number requests; that should allow the drive to at least probe properly. We'll probably end up disabling serial number inquiries and multi-lun probing for all SCSI-1 devices. (need to adjust the transport layer quirk mechanism to handle that, first) Ken -- Kenneth Merry ken@plutotech.com --ELM907627604-28258-0_ Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: attachment; filename=cam_xpt.8200.diffs.new Content-Description: cam_xpt.8200.diffs.new Content-Transfer-Encoding: 7bit ==== //depot/cam/sys/cam/cam_xpt.c#163 - /usr/home/ken/perforce/cam/sys/cam/cam_xpt.c ==== *** /tmp/tmp.4257.0 Mon Oct 5 16:44:23 1998 --- /usr/home/ken/perforce/cam/sys/cam/cam_xpt.c Mon Oct 5 16:42:47 1998 *************** *** 346,351 **** --- 346,362 ---- CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0 }, { + /* + * The 8200 doesn't like multi-lun probing, and probably + * don't like serial number requests either. + */ + { + T_SEQUENTIAL, SIP_MEDIA_REMOVABLE, "EXABYTE", + "EXB-8200*", "*" + }, + CAM_QUIRK_NOSERIAL|CAM_QUIRK_NOLUNS, /*mintags*/0, /*maxtags*/0 + }, + { /* Default tagged queuing parameters for all devices */ { T_ANY, SIP_MEDIA_REMOVABLE|SIP_MEDIA_FIXED, --ELM907627604-28258-0_-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message