From owner-freebsd-stable@FreeBSD.ORG Tue Feb 15 03:34:34 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B183216A4CE for ; Tue, 15 Feb 2005 03:34:34 +0000 (GMT) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EFEB43D41 for ; Tue, 15 Feb 2005 03:34:34 +0000 (GMT) (envelope-from Peter_Losher@isc.org) Received: from tardis.isc.org (tardis.isc.org [IPv6:2001:4f8:3:bb::37]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by farside.isc.org (Postfix) with ESMTP id 30320677EF for ; Tue, 15 Feb 2005 03:34:34 +0000 (UTC) (envelope-from Peter_Losher@isc.org) From: Peter Losher Organization: ISC Date: Mon, 14 Feb 2005 19:34:32 -0800 User-Agent: KMail/1.7.2 To: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart123173339.WT4U97SpFn"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200502141934.41373.Peter_Losher@isc.org> Subject: Weird bge related lock order reversal... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Feb 2005 03:34:34 -0000 --nextPart123173339.WT4U97SpFn Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline (apologies if you get this sent twice, I sent the first one to=20 stable@freebsd.org by mistake)=20 I have a quad-Opteron box running FreeBSD 5.3-p5/i386, and it has two onboa= rd Broadcom copper GigE NIC's (bge0 is used as a private wire, bge1 is the public interface) =2D=3D- bge0: mem 0xf1140000-0xf114ffff,0xf1150000-0xf115ffff irq 31 at device 3.0 on pci14 miibus0: on bge0 bge0: Ethernet address: bge0: [GIANT-LOCKED] bge1: mem 0xf1160000-0xf116ffff,0xf1170000-0xf117ffff irq 28 at device 3.1 on pci14 miibus1: on bge1 bge1: Ethernet address: bge1: [GIANT-LOCKED] =2D=3D- When booting, and just after initializing the network (configuring the NIC's for autoneg to a DLink GigE switch), console spits out this lock order reversal: =2D=3D- Starting local daemons:bge1: gigabit link up lock order reversal 1st 0xc5a65dec inp (rawinp) @ netinet/raw_ip.c:199 2nd 0xc5a65ea0 inp (raw6inp) @ netinet/raw_ip.c:199 KDB: stack backtrace: kdb_backtrace(ffffffff,c08fdb48,c08fdb70,c088f47c,c09223e8) at kdb_backtrace+0x29 witness_checkorder(c5a65ea0,9,c08391f0,c7) at witness_checkorder+0x49d _mtx_lock_flags(c5a65ea0,0,c08391e7,c7) at _mtx_lock_flags+0x1e rip_input(c5461200,14,50000e0,0,0) at rip_input+0x64 ip_input(c5461200) at ip_input+0x596 netisr_processqueue(c0923418) at netisr_processqueue+0x6e swi_net(0) at swi_net+0x88 ithread_loop(c4fe7a80,e7307d48,c08f6780,0,c082cc46) at ithread_loop+0x10c fork_exit(c05fa5dc,c4fe7a80,e7307d48) at fork_exit+0x66 fork_trampoline() at fork_trampoline+0x8 =2D-- trap 0x1, eip =3D 0, esp =3D 0xe7307d7c, ebp =3D 0 --- =2D=3D- Is this ominous? Are there any known issues w/ Broadcom NIC's running at Gi= gE speeds? The only other oddity on this system is that we have assigned v6 addresses to vlan interfaces. (we haven't done that in the past until now) Thanks in advance for any light you can shed on this... Best Wishes - Peter =2D-=20 Peter_Losher@isc.org | ISC | OpenPGP 0xE8048D08 | "The bits must flow" --nextPart123173339.WT4U97SpFn Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCEW3RPtVx9OgEjQgRArMqAKCj60d7qy8CYvTQ85yl6lnPEx5kVwCdG0q3 f1ejnPHYs8BaSdQMbifHhCA= =cHzQ -----END PGP SIGNATURE----- --nextPart123173339.WT4U97SpFn--