Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 1998 16:46:44 -0600 (MDT)
From:      "Kenneth D. Merry" <ken@plutotech.com>
To:        dmlb@ragnet.demon.co.uk (Duncan Barclay)
Cc:        johan@granlund.nu, freebsd-current@FreeBSD.ORG
Subject:   Re: Exabyte 8200 and CAM, Take 2
Message-ID:  <199810052246.QAA28339@panzer.plutotech.com>
In-Reply-To: <XFMail.981005205330.dmlb@computer.my.domain> from Duncan Barclay at "Oct 5, 98 08:53:30 pm"

next in thread | previous in thread | raw e-mail | index | archive | help

--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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810052246.QAA28339>