Re: Continuing Problems with DC390W and 4.2 Release

[ Available lists | Index of freebsd-scsi | Month of Jan 2001 | Week of 6 Jan 2001 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Kenneth D. Merry <ken@kdm.org>
Date
6 Jan 2001 15:43:48
Subject
Re: Continuing Problems with DC390W and 4.2 Release
Message-ID
20010106164330.A26365@panzer.kdm.org

References to

[ Hide this part ]
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



Elapsed time: 0.095 seconds