Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Sep 2004 23:30:18 -0400 (EDT)
From:      Robert Watson <rwatson@freebsd.org>
To:        Patrick Guelat <pg@imp.ch>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Panic in propagate_priority() [5.3-BETA2]
Message-ID:  <Pine.NEB.3.96L.1040901232805.31277B-100000@fledge.watson.org>
In-Reply-To: <20040901223721.S82908@murphy.imp.ch>

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

On Wed, 1 Sep 2004, Patrick Guelat wrote:

> Since nobody answered to the problem yet that I reported a  few days
> ago I did some more tests and got several panics since then...
>=20
> I'm trying to run OSPF6 on a gif-tunnel between a Cisco-7206VXR and a
> box running 5.3-BETA2 and get a panic everytime I start ospf6d (from
> /usr/ports/net/quagga).=20
>=20
> It always ends in a panic in propagate_priority(), sometimes I get the
> following panic-message:=20
>=20
>      panic: process 37 (swi1: net):1 holds rip but isn't blocked on a
> lock
>=20
> "rip" is the lock defined in netinet/raw_ip.c which is also used by the
> netinet6/raw_ip6.c.=20

A couple of questions:

- Is this an SMP box?
- Is PREEMPTION enabled on the box?
- Are you using net.isr.enable=3D1 or debug.mpsafenet=3D1?

Is WITNESS compiled into your kernel, and if so, when you drop to DDB from
panic(), what does "show pcpu", "show locks", and "show locks 37"
indicate?

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Principal Research Scientist, McAfee Research


>=20
> Tracing the userland-part nearly always ends at the sendmsg(2)
> call on the raw socket, but sometimes the panic also occurs=20
> some time before ospf6d sends it's first hello message (maybe during
> the reception of the ipv6 ospf packet from the cisco ?)
>=20
> Regards
>=20
> Patrick
> --
> Patrick Gu=E9lat, ImproWare AG Network Services, CH-4133 Pratteln
> Mail: Patrick.Guelat@imp.ch - Phone: +41 61 826 93 00 (ext: 13)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040901232805.31277B-100000>