From owner-freebsd-smp Fri Feb 23 2:48: 2 2001 Delivered-To: freebsd-smp@freebsd.org Received: from urban.iinet.net.au (urban.iinet.net.au [203.59.24.231]) by hub.freebsd.org (Postfix) with ESMTP id 722F537B401; Fri, 23 Feb 2001 02:47:58 -0800 (PST) (envelope-from julian@elischer.org) Received: from elischer.org (i078-087.nv.iinet.net.au [203.59.78.87]) by urban.iinet.net.au (8.8.7/8.8.7) with ESMTP id SAA04408; Fri, 23 Feb 2001 18:47:48 +0800 Message-ID: <3A963FB5.995FEA7D@elischer.org> Date: Fri, 23 Feb 2001 02:47:17 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Kris Kennaway Cc: smp@freebsd.org, julian@freebsd.org Subject: Re: NETGRAPH broken with witness References: <20010222231154.A852@mollari.cthul.hu> <3A963410.1C656DB3@elischer.org> <20010223020859.A4771@mollari.cthul.hu> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Kris Kennaway wrote: > > On Fri, Feb 23, 2001 at 01:57:36AM -0800, Julian Elischer wrote: > > Kris Kennaway wrote: > > > > > > Apparently this was never tested: early in the boot phase I get the > > > following panic: > > > > > > panic: spin lock netgraph worklist mutex not in order list > > > > > > and indeed the witness code appears to have no knowledge of the > > > netgraph spinlocks. > > > > so how is it supposed to know? > > From what I can gather, you add the locking hierarchy to be enforced > to spin_order_list in kern.mutex.c hmm tricky.. I thought initiating the damned thing would insert it. I have no idea of the correct ordering. > > Kris > > -------------------------------------------------------------------------------- > Part 1.2Type: application/pgp-signature -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message