From owner-freebsd-scsi@FreeBSD.ORG Fri Oct 29 08:49:56 2004 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 C92E616A4CE for ; Fri, 29 Oct 2004 08:49:56 +0000 (GMT) Received: from mail.freebsd.org.cn (dns3.freebsd.org.cn [61.129.66.75]) by mx1.FreeBSD.org (Postfix) with SMTP id 3728143D46 for ; Fri, 29 Oct 2004 08:49:52 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: (qmail 54501 invoked by uid 0); 29 Oct 2004 08:44:42 -0000 Received: from unknown (HELO beastie.frontfree.net) (219.239.98.7) by mail.freebsd.org.cn with SMTP; 29 Oct 2004 08:44:42 -0000 Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id 934BD13142B for ; Fri, 29 Oct 2004 16:49:44 +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 00270-01 for ; Fri, 29 Oct 2004 16:49:34 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id 6C166131426; Fri, 29 Oct 2004 16:49:33 +0800 (CST) Date: Fri, 29 Oct 2004 16:49:33 +0800 From: Xin LI To: scsi@FreeBSD.org Message-ID: <20041029084933.GA621@frontfree.net> References: <20041025061527.GA3026@frontfree.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <20041025061527.GA3026@frontfree.net> User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.3-delphij FreeBSD 5.3-delphij #11: Tue Oct 26 14:12:03 CST 2004 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: by amavisd-new at frontfree.net Subject: Re: [RELENG_5_3] Strange timeout of mpt(4) with disk array 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: Fri, 29 Oct 2004 08:49:56 -0000 --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Still has the problem, on more hardware. Some more information: - One of these disk arries works well under 160M/s mode and RELENG_4 - One of these disk arries does not work at all under FreeBSD - Both of them works well under Linux and OpenBSD 3.6 (snapshot, i386) I'm trying to figure out why. It seems that OpenBSD's mpt(4) did something different from ours, however, I have hit some trouble porting their code due to busdma interface difference. I have a preliminary hacked port of OpenBSD's ``new'' features (without the firmware feature) but the result is not quite hearten. I try to do a more in-depth attempt on this. On Mon, Oct 25, 2004 at 02:15:27PM +0800, Xin LI wrote: > The message I got from the console (hand-copyed and typed) > mpt1: timeout on request index=3D0xf0 sequence=3D0x00000084 > mpt1: status 00000001; mask 00000001; Doorbell 24000000 > request state on chip >=20 > SCSI IO Request @ 0xe4ad5c5c > Chain Offset 0x00 > MsgFlags 0x00 > MsgContext 0x000000fe > Bus: 0 > TargetID: 0 > SenseBufferLength: 18 > LUN: 0x2 > Control: 0x02000500 READ UNTAGGED > DataLength 0x00000024 > SenseBufAddr 0x3e64ade0 > CDB[0:6] 12 40 00 00 24 00 > SE32 0xe4da9030; Addr=3D0x854884 FlagLength=3D0xd1000024 > LAST_ELEMENT END_OF_BUFFER END_OF_LIST Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQFBggQd/cVsHxFZiIoRAoA6AJ0b6FR4cWZ2S5HkgU2/4Gg7axUftQCfaneT NqQkD7SGq9Pw187eg3CnRxo= =bNxo -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--