From owner-freebsd-stable@FreeBSD.ORG Mon May 2 14:07:01 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 D4F3B16A4CE for ; Mon, 2 May 2005 14:07:01 +0000 (GMT) Received: from 82-168-79-254-bbxl.xdsl.tiscali.nl (82-168-75-155-bbxl.xdsl.tiscali.nl [82.168.75.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id D164143D55 for ; Mon, 2 May 2005 14:07:00 +0000 (GMT) (envelope-from rene@82-168-79-254-bbxl.xdsl.tiscali.nl) Received: from 82-168-79-254-bbxl.xdsl.tiscali.nl (localhost [127.0.0.1]) j42E6xEm001344 for ; Mon, 2 May 2005 16:06:59 +0200 (CEST) (envelope-from rene@82-168-79-254-bbxl.xdsl.tiscali.nl) Received: (from rene@localhost)j42E6wtf001343 for stable@freebsd.org; Mon, 2 May 2005 16:06:58 +0200 (CEST) (envelope-from rene) Date: Mon, 2 May 2005 16:06:58 +0200 From: Rene Ladan To: stable@freebsd.org Message-ID: <20050502140658.GA1273@82-168-79-254-bbxl.xdsl.tiscali.nl> References: <20050502125104.GA987@82-168-79-254-bbxl.xdsl.tiscali.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OgqxwSJOaUobr8KG" Content-Disposition: inline In-Reply-To: <20050502125104.GA987@82-168-79-254-bbxl.xdsl.tiscali.nl> User-Agent: Mutt/1.4.2.1i Subject: Re: bpf/fxp RELENG_5 LOR 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: Mon, 02 May 2005 14:07:01 -0000 --OgqxwSJOaUobr8KG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, May 02, 2005 at 02:51:05PM +0200, Rene Ladan wrote: >=20 > FreeBSD 5.4-STABLE #0: Mon May 2 02:26:10 CEST 2005 > root@82-168-79-254-bbxl.xdsl.tiscali.nl:/usr/obj/usr/src/sys/RENE >=20 > #tcpdump >=20 > fxp0: promiscuous mode enabled >=20 > lock order reversal > 1st 0xc066de80 bpf global lock (bpf global lock) @ /usr/src/sys/net/bpf.= c:385 > 2nd 0xc14c9264 fxp0 (network driver) @ /usr/src/sys/modules/fxp/../../de= v/fxp/if_fxp.c:2394 >=20 > fxp0: promiscuous mode disabled Of course, to obfuscate debugging, this only happens sporadically, e.g. when using tcpdump the first time. :( This and related fxp LORs all point to some file and to src/sys/dev/fxp/if_fxp.c, at places where a FXP_LOCK(sc), with sc of type fxp_softc * is done. from src/sys/dev/fxp/fxpvar.h: #define FXP_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) Regards, Rene --=20 "It won't fit on the line." -- me, 2001 --OgqxwSJOaUobr8KG Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCdjQBvz70qa4zXcwRAvnyAJ4nkUxreTaBnCXRIPc9z7a1m8Ed7gCfVCCm r6B3fMk7XdCA209PlNkeBBo= =vjvP -----END PGP SIGNATURE----- --OgqxwSJOaUobr8KG--