From owner-freebsd-current@FreeBSD.ORG Tue Mar 3 02:56:38 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 02CCE106564A; Tue, 3 Mar 2009 02:56:38 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id A3A1F8FC1B; Tue, 3 Mar 2009 02:56:37 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id n232wSA8048065; Mon, 2 Mar 2009 21:58:28 -0500 (EST) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Alexander Motin In-Reply-To: <49AC68A4.6060201@FreeBSD.org> References: <49AC4DB3.9020007@FreeBSD.org> <1236029236.37252.113.camel@shumai.marcuscom.com> <49AC5E39.7090305@FreeBSD.org> <1236034349.37252.147.camel@shumai.marcuscom.com> <49AC68A4.6060201@FreeBSD.org> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-Pg/qwRph8wnmfZEm/iV1" Organization: FreeBSD, Inc. Date: Mon, 02 Mar 2009 21:56:39 -0500 Message-Id: <1236048999.37252.159.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,MIME_QP_LONG_LINE, NO_RELAYS autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: FreeBSD-Current Subject: Re: Continuing saga: FreeBSD -CURRENT hangs with ATA code after April X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 03 Mar 2009 02:56:38 -0000 --=-Pg/qwRph8wnmfZEm/iV1 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2009-03-03 at 01:15 +0200, Alexander Motin wrote: > Joe Marcus Clarke wrote: > > On Tue, 2009-03-03 at 00:31 +0200, Alexander Motin wrote: > >> Joe Marcus Clarke wrote: > >>> On Mon, 2009-03-02 at 23:20 +0200, Alexander Motin wrote: > >>>> Joe Marcus Clarke wrote: > >>>>> I started this thread on May 31 of last year: > >>>>> > >>>>> http://lists.freebsd.org/pipermail/freebsd-current/2008-May/085923.= html > >>>>> > >>>>> The problem remains as of: > >>>>> > >>>>> FreeBSD fugu.marcuscom.com 8.0-CURRENT FreeBSD 8.0-CURRENT #12: Sun= Mar > >>>>> 1 16:10:52 EST 2009 > >>>>> gnome@fugu.marcuscom.com:/space/obj/usr/src/sys/FUGU i386 > >>>>> > >>>>> The only way I can boot this system is to hack in the ATA code from > >>>>> April 9, 2008. I would love just to be able to boot this guy on a > >>>>> default -CURRENT. > >>>> 1) If I understand right, you had working system on April 9, 2008 an= d=20 > >>>> not working on May 31, 2008 and now. Have you tried to narrow down t= hat=20 > >>>> interval between working and not working system to find exact point = of=20 > >>>> breakage? I see no documented changes in Promise support there in CV= S=20 > >>>> log, but for example, on Apr 10 2008 I see some related changes=20 > >>>> unmentioned in commit message. > >>> The April 9 date is the documented date of last working. It was the > >>> commit on April 10 13:05:05 that broken things: > >>> > >>> "Add experimental support for SATA Port Multipliers > >>> > >>> Support is working on the Silicon Image SiI3124/3132. > >>> Support is working on some AHCI chips but far from all. > >>> > >>> Remember this is WIP, so test reports and (constructive) suggestions = are welcome!" > >> You can try to comment out > >> /* set portmultiplier port */ > >> ATA_OUTB(ctlr->r_res2, 0x4e8 + (ch->unit << 8), port & 0x0f); > >> inside ata_promise_mio_command(). Don't know if there is some problem=20 > >> with it, but it was added at that time and looks like it is at least n= ot=20 > >> applicable for this type of controller. > >=20 > > That did it! Thanks! I can now easily post the full verbose dmesg on > > HEAD code if you'd like. >=20 > Apply this patch first. It should be good as far as I can tell without=20 > having that chips datasheets. Works fine. Here is the verbose dmesg now that the machine is fully booting on HEAD. Thanks! http://www.marcuscom.com/downloads/fugu_v.dmesg Joe --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-Pg/qwRph8wnmfZEm/iV1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkmsnGUACgkQb2iPiv4Uz4eyIwCeNqU9Yj5agWaHIWQ3NhUTVMC2 SD4AoIV4+NDhOB/ZuyQp1wrLIwEcg0QE =obwy -----END PGP SIGNATURE----- --=-Pg/qwRph8wnmfZEm/iV1--