Date: Fri, 6 Oct 2000 14:21:41 +0200 From: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> To: Andre.Albsmeier@mchp.siemens.de Cc: freebsd-scsi@freebsd.org Subject: Re: Tagged Queueing gone on -STABLE ? No, it seems disabled Message-ID: <20001006142141.A1444@curry.mchp.siemens.de> In-Reply-To: <20001006112333.A1179@curry.mchp.siemens.de>; from Andre.Albsmeier@mchp.siemens.de on Fri, Oct 06, 2000 at 11:23:33AM %2B0200 References: <20001006112333.A1179@curry.mchp.siemens.de>
next in thread | previous in thread | raw e-mail | index | archive | help
If have digged a bit more into this. It seems that Tagged
Queueing is supported but not enabled anymore by default:
Lets check some negotiation parameters:
root@bali:~>camcontrol negotiate da3 -c
Current Parameters:
(pass3:ahc0:0:3:0): sync parameter: 12
(pass3:ahc0:0:3:0): frequency: 20.000MHz
(pass3:ahc0:0:3:0): offset: 31
(pass3:ahc0:0:3:0): bus width: 16 bits
(pass3:ahc0:0:3:0): disconnection is enabled
(pass3:ahc0:0:3:0): tagged queueing is enabled
^^^^^^^^^^^^^^^^^^^^^^^^^^ note this
Then let's check tags:
root@bali:~>camcontrol tags da3 -v
(pass3:ahc0:0:3:0): dev_openings 1
(pass3:ahc0:0:3:0): dev_active 0
(pass3:ahc0:0:3:0): devq_openings 1
(pass3:ahc0:0:3:0): devq_queued 0
(pass3:ahc0:0:3:0): held 0
(pass3:ahc0:0:3:0): mintags 24
(pass3:ahc0:0:3:0): maxtags 32
Now we hit the drive a bit with multiple dd's and
check the tags again while the dd's are running:
root@bali:~>camcontrol tags da3 -v
(pass3:ahc0:0:3:0): dev_openings 0
(pass3:ahc0:0:3:0): dev_active 1
(pass3:ahc0:0:3:0): devq_openings 0
(pass3:ahc0:0:3:0): devq_queued 0
(pass3:ahc0:0:3:0): held 0
(pass3:ahc0:0:3:0): mintags 24
(pass3:ahc0:0:3:0): maxtags 32
We see that there is one tag active.
Now let's enable Tagged Queueing with camcontrol:
root@bali:~>camcontrol negotiate da3 -T enable
Current Parameters:
(pass3:ahc0:0:3:0): sync parameter: 12
(pass3:ahc0:0:3:0): frequency: 20.000MHz
(pass3:ahc0:0:3:0): offset: 31
(pass3:ahc0:0:3:0): bus width: 16 bits
(pass3:ahc0:0:3:0): disconnection is enabled
(pass3:ahc0:0:3:0): tagged queueing is enabled
Let's hit the drive again with dd and check the tags:
root@bali:~>camcontrol tags da3 -v
(pass3:ahc0:0:3:0): dev_openings 28
(pass3:ahc0:0:3:0): dev_active 4
(pass3:ahc0:0:3:0): devq_openings 28
(pass3:ahc0:0:3:0): devq_queued 0
(pass3:ahc0:0:3:0): held 0
(pass3:ahc0:0:3:0): mintags 24
(pass3:ahc0:0:3:0): maxtags 32
Now it seems that Tagged Queueing is really enabled.
-Andre
On Fri, 06-Oct-2000 at 11:23:33 +0200, Andre.Albsmeier@mchp.siemens.de wrote:
> I just rebuilt the newest -STABLE and noticed that there
> is no 'Tagged Queueing Enabled' message any more when booting:
>
> da0 at ahc0 bus 0 target 0 lun 0
> da0: <QUANTUM XP32275W LYK8> Fixed Direct Access SCSI-2 device
> -da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
> +da0: 40.000MB/s transfers (20.000MHz, offset 31, 16bit)
> da0: 2170MB (4445380 512 byte sectors: 255H 63S/T 276C)
> da1 at ahc0 bus 0 target 1 lun 0
> da1: <QUANTUM XP32275W LYK8> Fixed Direct Access SCSI-2 device
> -da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
> +da1: 40.000MB/s transfers (20.000MHz, offset 31, 16bit)
> da1: 2170MB (4445380 512 byte sectors: 255H 63S/T 276C)
> da2 at ahc0 bus 0 target 2 lun 0
> da2: <QUANTUM XP34550W LYK8> Fixed Direct Access SCSI-2 device
> -da2: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
> +da2: 40.000MB/s transfers (20.000MHz, offset 31, 16bit)
> da2: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C)
> da3 at ahc0 bus 0 target 3 lun 0
> da3: <QUANTUM XP34550W LYK8> Fixed Direct Access SCSI-2 device
> -da3: 40.000MB/s transfers (20.000MHz, offset 31, 16bit), Tagged Queueing Enabled
> +da3: 40.000MB/s transfers (20.000MHz, offset 31, 16bit)
> da3: 4341MB (8890760 512 byte sectors: 255H 63S/T 553C)
> Mounting root from ufs:/dev/da1s1a
> da10 at ahc1 bus 0 target 0 lun 0
>
>
> I don't know if only the message is missing or the Tagged Queueing
> is really disabled. It happens on other machines (with IBM drives)
> as well. I am using these two controllers:
>
> ahc0: <Adaptec 2940 Ultra2 SCSI adapter> port 0xb800-0xb8ff mem 0xdd800000-0xdd800fff irq 14 at device 9.0 on pci0
> ahc1: <Adaptec 2940 Ultra SCSI adapter> port 0xb400-0xb4ff mem 0xdd000000-0xdd000fff irq 15 at device 10.0 on pci0
>
> Maybe this has to do with the recent changes to the Adaptec driver.
>
> Did others observer similar things? How is it with -current?
>
> -Andre
--
An NT server can be run by an idiot, and usually is.
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?20001006142141.A1444>
