Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2001 16:43:30 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Darren Joy <darrenj@uk.uu.net>
Cc:        freebsd-scsi@FreeBSD.ORG
Subject:   Re: Continuing Problems with DC390W and 4.2 Release
Message-ID:  <20010106164330.A26365@panzer.kdm.org>
In-Reply-To: <Pine.BSF.4.21.0101061900290.8530-100000@yukon.cam.uk.internal>; from darrenj@uk.uu.net on Sat, Jan 06, 2001 at 07:57:23PM %2B0000
References:  <Pine.BSF.4.21.0101061900290.8530-100000@yukon.cam.uk.internal>

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

On Sat, Jan 06, 2001 at 19:57:23 +0000, Darren Joy wrote:
[ ... ]

> A colleague once suggested to me that disabling Tagged Command Queueing
> could help. This I did in the controller BIOS, however upon bootup I see :
> 
> /kernel: ncr0: <ncr 53c825a fast10 wide scsi> port 0xe400-0xe4ff mem
> 0xeb001000-0xeb001fff,0xeb000000-0xeb0000f
> f irq 15 at device 15.0 on pci0
> 
> /kernel: da0 at ncr0 bus 0 target 0 lun 0
> /kernel: da0: <CONNER CFP2105S  2.14GB 1524> Fixed Direct Access SCSI-2 device
> /kernel: da0: 10.000MB/s transfers (10.000MHz, offset 8), Tagged Queueing Enabled
> /kernel: da0: 2048MB (4194304 512 byte sectors: 255H 63S/T 261C)
> 
> My thinking here is that disabling Tagged Command Queueing may cure my
> woes, but FreeBSD seems to be enabling it regardless!
> 
> I have double-checked the controller BIOS, and Tagged Command Queueing is
> definitely disabled for this device ( there's no option to disable it
> globally ), indeed, disabled for every individual device. I even tried
> reducing the queue length to the minimum setting allowed in the BIOS, but
> to no avail. And of course, I have tried it with Tagged Queueing enabled.
> 
> Can anyone offer any help as to how I might get the NCR ( or SYM ) to
> disable Tagged Command Queueing?

If you want to disable tagged queueing temporarily:

camcontrol negotiate da0 -v -T disable -a

If you want to do it permanantly:

echo "DQue: 1" | camcontrol modepage da0 -m 10 -P 3 -e

You may have to reboot the machine after changing the mode page in order
for the kernel to recognize the change.  (Tagged queueing will be disabled
for any given boot with the first command.)

Ken
-- 
Kenneth Merry
ken@kdm.org


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?20010106164330.A26365>