Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 1999 21:14:54 -0500
From:      "Chuck O'Donnell" <cao@bus.net>
To:        "Kenneth D. Merry" <ken@plutotech.com>
Cc:        scsi@FreeBSD.ORG
Subject:   Re: error messages from bt driver
Message-ID:  <19990314211454.A13537@milf18.bus.net>
In-Reply-To: <199903142346.QAA14931@panzer.plutotech.com>; from Kenneth D. Merry on Sun, Mar 14, 1999 at 04:46:41PM -0700
References:  <19990314162542.C11051@milf18.bus.net> <199903142346.QAA14931@panzer.plutotech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 14, 1999 at 04:46:41PM -0700, Kenneth D. Merry wrote:
> Chuck O'Donnell wrote...
> > 
> > Q: Is there any way to query the driver to find out how many tags are
> > currently enabled for the drive? e.g., a camcontrol(8) option or some
> > such? After I rebuilt the kernel and rebooted I couldn't tell for sure
> > if the drive inquiry data had matched my new quirk entry and correctly
> > adjusted the queue size for the drive.
> 
> Yes, I've got some camcontrol mods that will do that for you.  Grab the
> patches from here:
> 
> http://www.FreeBSD.ORG/~ken/camcontrol.diffs.031499
> 
> Type 'camcontrol tags -n da -u 4' (where "4" is the unit number of
> the disk in question) to find out how many tags are allowed for that
> device.
> 
> camcontrol tags -v will give you more detailed information.
> 

Works great!  thanks.


> > Attached below is a diff for the quirk, can you take a look and make
> > sure I did it correctly?
> 
> I would set the minimum to 2, but if the controller never tells us
> that the queue is full for the drive in question, you'll never get
> down that low..

I haven't quite figured out exactly what mintags does in the big
picture yet, still reading through the code and doc. I think I found
where it is used in cam_periph.c, I'll look more tomorrow.


Thanks again.

Chuck










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?19990314211454.A13537>