Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2005 16:06:58 +0200
From:      Rene Ladan <r.c.ladan@student.tue.nl>
To:        stable@freebsd.org
Subject:   Re: bpf/fxp RELENG_5 LOR
Message-ID:  <20050502140658.GA1273@82-168-79-254-bbxl.xdsl.tiscali.nl>
In-Reply-To: <20050502125104.GA987@82-168-79-254-bbxl.xdsl.tiscali.nl>
References:  <20050502125104.GA987@82-168-79-254-bbxl.xdsl.tiscali.nl>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050502140658.GA1273>