Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 1998 15:59:25 -0800 (PST)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Simon Karpen <slk@acm.rpi.edu>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: How do I disable Tagged Command Queue on a particular device?
Message-ID:  <Pine.BSF.4.03.9811161555530.17775-100000@resnet.uoregon.edu>
In-Reply-To: <Pine.LNX.3.96.981113230609.297A-100000@grace.acm.rpi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 13 Nov 1998, Simon Karpen wrote:

> I've just installed 3.0-RELEASE (my first FreeBSD install, though I've
> been using SunOS, Solaris, Linux, and other Unix for several years).
> 
> FreeBSD is on part of a Quantum Fireball ST, which is connected via
> a Buslogic BT-958 SCSI HBA. I know this drive has firmware bugs that
> make it unstable (command timeouts under Linux, CCB timeouts under
> FreeBSD) when run with a queue depth of larger than 7. 
> 
> Under Linux I add BusLogic=QD:[10,7] to the kernel command line.
> This limits the Queue depth of the fireball (target 1) to 7. I
> have yet to find a similar setting/command in FreeBSD.
> 
> So, how do I do at least one of:
> disable tagged command queue globally
> disable tagged command queue for that drive
> limit queue depth to 7
> 
> I would greatly appreciate an answer, as I would like to give FreeBSD
> a real try, but I can't with SCSI timeouts under any sustained heavy write
> activity.

Modify the SCSI system quirks table in the kernel source at
/usr/src/sys/cam/cam_xpt.c and set the mintags and maxtags to 0.  

Also check for an updated firmware for your drive.

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9811161555530.17775-100000>