From owner-freebsd-pf@FreeBSD.ORG Thu Mar 18 14:26:02 2010 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3057106564A for ; Thu, 18 Mar 2010 14:26:02 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mx1.freebsd.org (Postfix) with ESMTP id 744A98FC1A for ; Thu, 18 Mar 2010 14:26:02 +0000 (UTC) Received: from vampire.homelinux.org (dslb-088-066-020-132.pools.arcor-ip.net [88.66.20.132]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LzYuY-1NVs3X0ImA-014DgX; Thu, 18 Mar 2010 15:26:01 +0100 Received: (qmail 15434 invoked from network); 18 Mar 2010 14:26:00 -0000 Received: from f8x64.laiers.local (192.168.4.188) by laiers.local with SMTP; 18 Mar 2010 14:26:00 -0000 From: Max Laier Organization: FreeBSD To: freebsd-net@freebsd.org Date: Thu, 18 Mar 2010 15:26:00 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-RELEASE-p2; KDE/4.3.5; amd64; ; ) References: <4B8E4850.1060104@zirakzigil.org> <201003171800.51027.max@love2party.net> <4BA232D6.6030400@zirakzigil.org> In-Reply-To: <4BA232D6.6030400@zirakzigil.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201003181526.00442.max@love2party.net> X-Provags-ID: V01U2FsdGVkX1+1IJxw9DwRYeef8sHHGjtXf3zuSFaRpH4uc08 2xW+4DDagot54rB5wnUb0K1cYnEn+5Gd4wxo8sFnabdHYtGRFB OAcIij0u8YBjPHZkhXQuw== Cc: Giulio Ferro , Greg Hennessy , freebsd-pf@freebsd.org Subject: Re: PF + BRIDGE + PFSYNC causes system freezing X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 14:26:03 -0000 On Thursday 18 March 2010 15:04:06 Giulio Ferro wrote: > On 17.03.2010 18:00, Max Laier wrote: > > Can you enable WITNESS and compile in DDB. Make sure to report any LORs > > > >>> and once the system freezes try to enter the debugger and get ps and > >>> locks information. > >>> > >>> show allchains > >>> show alllocks > >>> ps > >>> > >>> After that you can try to "call doadump" so you get the information in > >>> the coredump and don't have to transcribe it manually. > >>> > >>> Thanks, > >>> Max > >> > >> Sorry, I'm not really an expert of this, but how can I enter the > >> debugger if the system has frozen? > > > > Ctrl+Alt+ESC (in default configuration). > > _______________________________________________ > > I've added this to the kernel > > option KDB > option WITNESS > option WITNESS_KDB remove WITNESS_KDB, it's not what you want. > option DDB > > > Now it can't even boot properly. It stops when it tries to configure > networking: > uma_zalloc_arg: zone "256" with the following non-sleepable locks held: > exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff80e31b20) locked @ > /usr/src/sys/net/if.c:414 a "bt" would help in this case to see where the bad alloc is. > show allchains > > > show alllocks > exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff80e31b20) locked @ > /usr/src/sys/net/if.c:414 > exclusive sx ifnet_sx (ifnet_sx) r = 0 (0xffffffff80e31b40) locked @ > /usr/src/sys/net/if.c:414 > > ps > > > call doadump > Cannot dump. Device not defined or unavailable define "dumpdev" in rc.conf to a swap partition with enough space or call dumpon(8). Thanks, Max