From owner-freebsd-current Thu Jan 25 10:37:18 2001 Delivered-To: freebsd-current@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 33B0637B6A7 for ; Thu, 25 Jan 2001 10:37:00 -0800 (PST) Received: from victoria-221.budapest.interware.hu ([195.70.63.221] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 14LrGT-0004gK-00; Thu, 25 Jan 2001 19:36:58 +0100 Message-ID: <3A70723D.1C2959E0@elischer.org> Date: Thu, 25 Jan 2001 10:36:45 -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: "Rogier R. Mulhuijzen" Cc: freebsd-current@freebsd.org Subject: Re: panic in netgraph (caught by WITNESS) in custom UP kernel References: <4.3.2.7.0.20010125011302.00beb520@mail.drwilco.net> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Rogier R. Mulhuijzen" wrote: > > FYI: > > Full source CVSupped on the 18th or 19th > > Panic came about when I did a 'ls' in ngctl(8). > > Kernel config attached, gdb of core follows below: > > This GDB was configured as "i386-unknown-freebsd"... > IdlePTD 5300224 > initial pcb at 31c4e0 > panicstr: from debugger > panic messages: > --- > panic: mutex_enter: MTX_SPIN on MTX_DEF mutex netgraph node mutex @ > ../../netgraph/ng_base.c:2205 > panic: from debugger > Uptime: 1d4h5m24s I think I fixed this yesterday by adding MTX_SPIN to the mtx_init() call. let me know if that isn't the case (check you have the last patch to ng_base.c) -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ from Perth, presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message