From owner-freebsd-scsi Fri Oct 6 5:21:48 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from goliath.siemens.de (goliath.siemens.de [194.138.37.131]) by hub.freebsd.org (Postfix) with ESMTP id DD4A637B503 for ; Fri, 6 Oct 2000 05:21:43 -0700 (PDT) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer goliath.siemens.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by goliath.siemens.de (8.11.0/8.11.0) with ESMTP id e96CLgC09679 for ; Fri, 6 Oct 2000 14:21:42 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail1.siemens.de (8.11.0/8.11.0) with ESMTP id e96CLf128041 for ; Fri, 6 Oct 2000 14:21:41 +0200 (MET DST) Received: (from localhost) by curry.mchp.siemens.de (8.11.0/8.11.0) id e96CLfo34073; Date: Fri, 6 Oct 2000 14:21:41 +0200 From: Andre Albsmeier 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> References: <20001006112333.A1179@curry.mchp.siemens.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20001006112333.A1179@curry.mchp.siemens.de>; from Andre.Albsmeier@mchp.siemens.de on Fri, Oct 06, 2000 at 11:23:33AM +0200 X-Echelon: BND CIA NSA Mossad KGB MI6 IRA detonator nuclear assault strike Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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: 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: 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: 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: 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: port 0xb800-0xb8ff mem 0xdd800000-0xdd800fff irq 14 at device 9.0 on pci0 > ahc1: 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