From owner-freebsd-scsi@FreeBSD.ORG Sat Feb 19 09:47:16 2005 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 146E016A4CE for ; Sat, 19 Feb 2005 09:47:16 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 4C0D343D48 for ; Sat, 19 Feb 2005 09:47:03 +0000 (GMT) (envelope-from delphij@delphij.net) Received: (qmail 80636 invoked by uid 0); 19 Feb 2005 09:38:08 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.99.7) by mail.freebsd.org.cn with SMTP; 19 Feb 2005 09:38:08 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 16468132DD1; Sat, 19 Feb 2005 17:46:51 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20655-08; Sat, 19 Feb 2005 17:46:28 +0800 (CST) Received: from localhost.localdomain (unknown [221.217.208.47]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by beastie.frontfree.net (Postfix) with ESMTP id B20E9132C9C; Sat, 19 Feb 2005 17:46:27 +0800 (CST) From: Xin LI To: Rong-En Fan In-Reply-To: <20050219092300.GA95182@svm.csie.ntu.edu.tw> References: <20050204102558.GA2001@svm.csie.ntu.edu.tw> <1108667040.656.20.camel@spirit> <20050218071746.GA41419@svm.csie.ntu.edu.tw> <20050218202901.GA71842@svm.csie.ntu.edu.tw> <20050219061517.GA92149@svm.csie.ntu.edu.tw> <1108803317.602.13.camel@spirit> <20050219092300.GA95182@svm.csie.ntu.edu.tw> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-NcBKV70H48hOQqD1g/9T" Organization: The FreeBSD Simplified Chinese Project Date: Sat, 19 Feb 2005 17:45:12 +0800 Message-Id: <1108806312.602.17.camel@spirit> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 FreeBSD GNOME Team Port X-Virus-Scanned: by amavisd-new at frontfree.net cc: ob@e-Gitt.NET cc: scsi@freebsd.org Subject: Re: Problem with mpt(4) and Infortrend RAID X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Feb 2005 09:47:16 -0000 --=-NcBKV70H48hOQqD1g/9T Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Would you please try: camcontrol tags da1 To see how many tags are actually allowed for the device, at the host side? It comes to my mind that: =E5=9C=A8 2005-02-19=E5=85=AD=E7=9A=84 17:23 +0800=EF=BC=8CRong-En Fan=E5= =86=99=E9=81=93=EF=BC=9A > Maximum Queued I/O Count - 256 =20 > LUNs per Host SCSI ID - 8 =20 > Max Number of Concurrent Host-LUN Connection - Def(4) =20 > Number of Tags Reserved for each Host-LUN Connection - Def(32)=20 Here: You have allowed only 32, and if the host has exceeded the limitation, then something strange *may* happen. My bet is to decrease the tags allowed at host side, to something like 32: camcontrol tags da1 -N 32. It's also possible to modify cam_xpt.c to set the default number. > I'm not that similar with SCSI, if it possible some parameters > here need to tune? If you have a spare box, try to decrease the tag depth :-) Please be sure to decrease tag depth on every device. Cheers, --=20 Xin LI http://www.delphij.net/ --=-NcBKV70H48hOQqD1g/9T Content-Type: application/pgp-signature; name=signature.asc Content-Description: =?UTF-8?Q?=E8=BF=99=E6=98=AF=E4=BF=A1=E4=BB=B6=E7=9A=84=E6=95=B0?= =?UTF-8?Q?=E5=AD=97=E7=AD=BE=E5=90=8D=E9=83=A8?= =?UTF-8?Q?=E5=88=86?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCFwqn/cVsHxFZiIoRAoDOAJ4hChNXsV6pxOS+zqQqXHrxP/RJmgCeKuRI 4HqG84LkJudWQ5pwOSbrh6U= =SNo3 -----END PGP SIGNATURE----- --=-NcBKV70H48hOQqD1g/9T--