From owner-freebsd-current@FreeBSD.ORG Tue Oct 31 20:55:23 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 8106B16A494; Tue, 31 Oct 2006 20:55:23 +0000 (UTC) (envelope-from nb_root@videotron.ca) Received: from relais.videotron.ca (relais.videotron.ca [24.201.245.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7CAC43D49; Tue, 31 Oct 2006 20:55:22 +0000 (GMT) (envelope-from nb_root@videotron.ca) Received: from clk01a ([24.202.77.103]) by VL-MO-MR002.ip.videotron.ca (Sun Java System Messaging Server 6.2-2.05 (built Apr 28 2005)) with ESMTP id <0J80004MBQ49XNI0@VL-MO-MR002.ip.videotron.ca>; Tue, 31 Oct 2006 15:55:22 -0500 (EST) Date: Tue, 31 Oct 2006 15:55:16 -0500 From: Nicolas Blais In-reply-to: <200610311907.aa91003@nowhere.iedowse.com> To: freebsd-current@freebsd.org Message-id: <200610311555.21480.nb_root@videotron.ca> MIME-version: 1.0 Content-type: multipart/signed; boundary=nextPart17883039.r9O9Kpb5qQ; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-transfer-encoding: 7bit References: <200610311907.aa91003@nowhere.iedowse.com> User-Agent: KMail/1.9.4 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ian Dowse , Doug Barton , Yuriy Tsibizov Subject: [FIXED] Re: Asus A8V hangs during pci probe on fresh-CURRENT 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, 31 Oct 2006 20:55:23 -0000 --nextPart17883039.r9O9Kpb5qQ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Tuesday 31 October 2006 14:07, Ian Dowse wrote: > In message <200610302227.52575.nb_root@videotron.ca>, Nicolas Blais write= s: > >I saw that pci.c was updated today (to version 1.318) and I decided to > > give it a try. As expected, it did not work, so I kept my /usr/src in > > sync, but reverted pci.c to 1.292.2.9 and my system booted fine! > > > >By diff'ing with 1.315 > >(http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/pci/pci.c.diff?f=3DH&= r1=3Dt > >ext&tr1=3D1.292.2.9&r2=3Dtext&tr2=3D1.315) we can find there's obviously > > something in the vpd code that my system doesn't like, or that the vpd > > code doesn't like something about my system ;). > > FYI, jmg@ sent me the following patch that fixed a similar issue. > The thing in common between systems seeing this hang appears to be > that they have a Brooktree card installed. Seemingly, some Brooktree > cards have a PCI capability claiming VPD support, but the VPD data > is missing, which confuses the parser. One of the pci_read_vpd_reg() > calls then gets stuck when it tries to read from an invalid address. > > Ian Thanks! That fixed the problem! Though seeing a 'continue' before a 'break'= hurts my eyes, I'm happy it works :) I've updated the patch for today's current which has pci.c version 1.318. I= t is available here: http://24.202.77.103:8081/FreeBSD/update/pci.c.diff Hopefully either this is commited or a real fix will be commited soon. Nicolas. =2D-=20 =46reeBSD 7.0-CURRENT #9: Tue Oct 31 15:44:23 EST 2006 nicblais@clk01a:= /usr/obj/usr/src/sys/CLK01A=20 PGP? : http://www.clkroot.net/security/nb_root.asc --nextPart17883039.r9O9Kpb5qQ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFR7g54wTBlvcsbJURAoVBAJ4ioPewLRJZGECkTz+YH4GDOznIWACfYOTO jJugW1w8u7mu6K8Od2aCem4= =Z/p9 -----END PGP SIGNATURE----- --nextPart17883039.r9O9Kpb5qQ--