From owner-freebsd-current@FreeBSD.ORG Thu Sep 2 03:32:55 2004 Return-Path: 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 B1CDF16A4CE for ; Thu, 2 Sep 2004 03:32:55 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5970B43D1F for ; Thu, 2 Sep 2004 03:32:55 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.11/8.12.11) with ESMTP id i823UIRe036131; Wed, 1 Sep 2004 23:30:18 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i823UIh3036128; Wed, 1 Sep 2004 23:30:18 -0400 (EDT) (envelope-from robert@fledge.watson.org) Date: Wed, 1 Sep 2004 23:30:18 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Patrick Guelat In-Reply-To: <20040901223721.S82908@murphy.imp.ch> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE cc: freebsd-current@freebsd.org Subject: Re: Panic in propagate_priority() [5.3-BETA2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 02 Sep 2004 03:32:55 -0000 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)