From owner-freebsd-current@FreeBSD.ORG Sat Aug 21 22:11:16 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 24C6B16A4CE for ; Sat, 21 Aug 2004 22:11:16 +0000 (GMT) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 557CD43D45 for ; Sat, 21 Aug 2004 22:11:15 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) i7LMACRh088620 for ; Sat, 21 Aug 2004 18:10:12 -0400 (EDT) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: current@freebsd.org In-Reply-To: <1093061539.9940.32.camel@shumai.marcuscom.com> References: <1093058259.9940.29.camel@shumai.marcuscom.com> <1093061539.9940.32.camel@shumai.marcuscom.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-tEPhE6wUU7tDs/kigfnu" Organization: MarcusCom, Inc. Message-Id: <1093126270.17246.53.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sat, 21 Aug 2004 18:11:10 -0400 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.64 X-Spam-Checker-Version: SpamAssassin 2.64 (2004-01-11) on creme-brulee.marcuscom.com Subject: Re: [FIXED] Cannot install onto mpt-driven drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2004 22:11:16 -0000 --=-tEPhE6wUU7tDs/kigfnu Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-08-21 at 00:12, Joe Marcus Clarke wrote: > On Fri, 2004-08-20 at 23:17, Joe Marcus Clarke wrote: > > I just got a new Dell Precision 360 workstation with an LSILogic SCSI > > controller: > >=20 > > mpt0: port 0xcd00-0xcdff mem > > 0xfe780000-0xfe79ffff,0xfe760000-0xfe77ffff irq 10 at device 3.0 on pci= 2 > > mpt1: port 0xce00-0xceff mem > > 0xfe7x0000-0xfe7dffff,0xfe7a0000-0xfe7bffff irq 9 at device 3.1 on pci2 > >=20 > > I'm trying to install 5.2.1-RELEASE on this machine, then upgrade it to > > RELENG_5. The controller and 36 GB SCSI harddrive are detected just > > fine at boot time, but as soon as I go to write out my partitions to > > this drive, I get a timeout: > >=20 > > mpt1: time out on request index =3D 0xfe sequence =3D 0x000001a0 > > mpt: Status 00000001, Mask 00000001, Doorbell 24000000 > > request state On Chip > > SCSI IO Request @ 0xcde1fc30 > > Chain Offset 0x10 > > Msg Flags 0x00 > > MsgContext 0x000000fe > > Bus: 0 > > TargetID 0 > > SenseBufferLength 32 > > LUN: 0x0 > > Control 0x01000000 WRITE SIMPLEQ > > DataLength 0x00010000 > > SenseBufferAddr 0x00391de0 > > CDB[0:6] 0a 01 3a 65 80 00 > > SE32 0xd6937c30: Addr=3D0x9aa7000 FlagsLength=3D0x14001000 > > HOST_TO_IOC > > SE32 0xd6937c38: Addr=3D0xa128000 FlagsLength=3D0x94001000 > > HOST_TO_IOC LAST_ELEMENT > > CE32 0xd6937c40: Addr=3D0x391c48 NxtChn0=3D0x16 Flags=3D0x30 Len=3D0x5= 0 > > SE32 0xd6937c48: Addr=3D0xaa69000 FlagsLength=3D0x14001000 > > HOST_TO_IOC > >=20 > > This trace continues for a while, but I'm transcribing it from the > > screen. I can certainly do the entire thing if someone is interested.=20 > > I can even set someone up with serial console access if they'd like.=20 > > Also note: this same model controller and drive work in another Dell > > Precision machine under -STABLE. I've tried booting 5.2.1 under norma= l > > sand safe modes with the same result. I looked in CVS, and there didn'= t > > appear to be any relevant driver changes since 5.2.1-RELEASE. Hoping > > someone can help me out. Thanks. >=20 > Sorry to follow-up to myself, but it looks like this problem can be > fixed by the patch in > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dkern/66479. I saw the > original NetBSD PR that reported this: > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=3D24967, and my > symptoms look the same. >=20 > I'll try and build a release with this patch to see if it does the > trick. In the meantime, if someone could have a look at this PR, that > would be great. Okay, one last follow-up to myself. I built a custom 5.2.1-RELEASE with the patch from the above PR, and it worked perfectly. I was able to install 5.2.1 on this system, and then boot the resulting install. It would be really great if this could make it into 5.3-RELEASE, or at least into HEAD. Thanks. Joe >=20 > Joe >=20 > >=20 > > Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-tEPhE6wUU7tDs/kigfnu Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (FreeBSD) iD8DBQBBJ8h+b2iPiv4Uz4cRAj47AJwKKYX3uzoHfVO80JlVfODd7JsrsQCfaEu7 QOY8iu+yVA9viL6Tqa15pjI= =iO8M -----END PGP SIGNATURE----- --=-tEPhE6wUU7tDs/kigfnu--