From owner-freebsd-current@FreeBSD.ORG Tue Nov 14 18:11:02 2006 Return-Path: X-Original-To: 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 9DC0616A412 for ; Tue, 14 Nov 2006 18:11:02 +0000 (UTC) (envelope-from oberman@es.net) Received: from postal1.es.net (postal1.es.net [198.128.3.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E1C343D7C for ; Tue, 14 Nov 2006 18:10:58 +0000 (GMT) (envelope-from oberman@es.net) Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by postal1.es.net (Postal Node 1) with ESMTP (SSL) id SDY38658; Tue, 14 Nov 2006 10:10:58 -0800 Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (Tachyon Server) with ESMTP id F1B9E45053; Tue, 14 Nov 2006 10:10:57 -0800 (PST) To: Robert Watson In-Reply-To: Your message of "Tue, 14 Nov 2006 17:38:16 GMT." <20061114173539.X87081@fledge.watson.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1163527857_53581P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Tue, 14 Nov 2006 10:10:57 -0800 From: "Kevin Oberman" Message-Id: <20061114181057.F1B9E45053@ptavv.es.net> Cc: John-Mark Gurney , current@FreeBSD.org, jhb@FreeBSD.org Subject: Re: Recent kernel hangs on HP DL145 servers 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, 14 Nov 2006 18:11:02 -0000 --==_Exmh_1163527857_53581P Content-Type: text/plain; charset=us-ascii Content-Disposition: inline > Date: Tue, 14 Nov 2006 17:38:16 +0000 (GMT) > From: Robert Watson > Sender: owner-freebsd-current@freebsd.org > > On Tue, 14 Nov 2006, John-Mark Gurney wrote: > > > Robert Watson wrote this message on Tue, Nov 14, 2006 at 13:53 +0000: > >> I updated two boxes to recent kernels from a kernel around October 7 or so, > >> and they now both hang on boot if I have a Neterion 10gbps ethernet card in > >> the PCIe slot. Since I don't have the driver loaded at boot, it seems more > >> likely it's a kernel bug. Both identical machines now have the following > >> vpd warning during boot, which wasn't present previously, but may be > >> unrelated: > > > > It's very likely you are plagued w/ non-standard PCI cards... > > > > I assume you mean Nov 7th? If so, there was fix committed for more normal > > bad VPD data (v1.321 of sys/dev/pci/pci.c)... > > > > There is still an outstanding bug of a device that doesn't even properly > > handle VPD accesses and it hang waiting for a bit to clear... I need to > > inspect the patch closer before committing.. > > What I mean specifically is that the kernel dated October 7 works fine, and > any more recent kernel hangs solidly if I boot it. Obviously, this is > somewhat inconvenient. :-) > > The device in question is a PCI-X Neterion 10gbps card. The output from the > kernel when the device driver is loaded is: > > Copyright(c) 2002-2005 Neterion Inc. > xge0: mem > 0xd8300000-0xd8307fff,0xd8400000-0xd84fffff,0xd8308000-0xd83087ff irq 25 at > device 1.0 on pci129 > xge0: Device is on 64 bit PCIX(M1) 133MHz bus > > If there's more information I can provide I'm happy to do so, just let me know > what's needed. > > Is there a way I can disable vpd support at boot-time in some form -- i.e., > via a tunable? It would be very useful if these machines worked. The patch Ian Dowse submitted for this (which jmg is evaluating) has fixed the problem for at least two cases, my ancient Dell P3 and a newer ASUS A8V. It was posted back on 8 Nov. It simply adds a timeout for getting VPD info and lets the system proceed. Note that the last hunk is has been committed by jmg, so you only need the first two hunks. -- R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 Key fingerprint:059B 2DDF 031C 9BA3 14A4 EADA 927D EBB3 987B 3751 --==_Exmh_1163527857_53581P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Exmh version 2.5 06/03/2002 iD8DBQFFWgaxkn3rs5h7N1ERAkC/AKCeP5eSHdUHgiqonNtGZJrYCKNq5wCguYj1 fXhfhKJWf9KL7IJnaInCeeE= =80SS -----END PGP SIGNATURE----- --==_Exmh_1163527857_53581P--