From owner-aic7xxx Tue Jan 6 03:24:02 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id DAA00113 for aic7xxx-outgoing; Tue, 6 Jan 1998 03:24:02 -0800 (PST) (envelope-from owner-aic7xxx) Received: from charly.bl.physik.tu-muenchen.de (root@charly.bl.physik.tu-muenchen.de [129.187.41.10]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id DAA29972 for ; Tue, 6 Jan 1998 03:23:47 -0800 (PST) (envelope-from Klaus.Steinberger@Physik.Uni-Muenchen.DE) Received: from mowgli.bl.physik.tu-muenchen.de (k2@mowgli.bl.physik.tu-muenchen.de [129.187.160.14]) by charly.bl.physik.tu-muenchen.de (8.8.7/8.8.7) with ESMTP id MAA06614 for ; Tue, 6 Jan 1998 12:23:30 +0100 (MET) Received: (from k2@localhost) by mowgli.bl.physik.tu-muenchen.de (8.8.7/8.8.7) id MAA08964; Tue, 6 Jan 1998 12:23:30 +0100 Message-ID: <19980106122330.26991@mowgli.bl.physik.tu-muenchen.de> Date: Tue, 6 Jan 1998 12:23:30 +0100 From: Klaus Steinberger To: aic7xxx@FreeBSD.ORG Subject: Tagged Queueing and Dque Bit Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-md5; boundary=qMm9M+Fa2AknHoGS X-Mailer: Mutt 0.76 Sender: owner-aic7xxx@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk --qMm9M+Fa2AknHoGS Content-Type: text/plain; charset=us-ascii Hello, I have now some boxes running Linux 2.0.33 (aic driver version 4.1.1/3.2.1). I now have tagged queueing enabled as suggested and it works rock solid. But with one box it didn't work, until I figured out that the drive claims to have tagged queueing, but has the Dque bit set to one in the control mode page (Dque inhibits tagged queueing). The driver did time outs and gave me error messages that there is no active SCB for this drive. Attached devices: Host: scsi0 Channel: 00 Id: 01 Lun: 00 Vendor: SGI Model: IBMDSAS-3540 Rev: S47K Type: Direct-Access ANSI SCSI revision: 02 After I figured out the Dque bit, and reset it to zero, it worked flawlessly with tagged queueing enabled. So I would suggest, that the driver should check also the Control Mode Page (if available), and should honor the Dque bit (fall back to not use tagged queueing if Dque is set). Sincerly, Klaus -- Klaus Steinberger Beschleunigerlabor der TU und LMU Muenchen Phone: (+49 89)289 14287 Hochschulgelaende, D-85748 Garching, Germany FAX: (+49 89)289 14280 EMail: Klaus.Steinberger@Physik.Uni-Muenchen.DE URL: http://www.bl.physik.tu-muenchen.de/~k2/ --qMm9M+Fa2AknHoGS Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: 2.6.3ia iQCVAwUBNLIUMYVpYfkwrOJtAQFUVQQA40v0eGm07vueQ1nmxnT4VyaSf92MLGC2 MYCp8+liuoSwqLJQ75Yf8pZgYidPP1hGKMhTy9Mjq+GP1HunD5rMhG5HEaOynHxx ol6V2f90QWw1IbIv4otgACFzED+tTJ6tj6ctgScTfDtxyiB4+MKvPqz430dMSkSM cUia6L6DdCA= =EypN -----END PGP SIGNATURE----- --qMm9M+Fa2AknHoGS--