From owner-freebsd-net@FreeBSD.ORG Thu Mar 18 14:04:15 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E51991065679; Thu, 18 Mar 2010 14:04:15 +0000 (UTC) (envelope-from auryn@zirakzigil.org) Received: from mail.zirakzigil.org (mail.zirakzigil.org [82.63.178.63]) by mx1.freebsd.org (Postfix) with ESMTP id 5F20C8FC23; Thu, 18 Mar 2010 14:04:15 +0000 (UTC) Received: from localhost (unknown [192.168.1.2]) by mail.zirakzigil.org (Postfix) with ESMTP id 30CEB94531; Thu, 18 Mar 2010 15:04:13 +0100 (CET) X-Virus-Scanned: amavisd-new at zirakzigil.org Received: from mail.zirakzigil.org ([192.168.1.2]) by localhost (ext.zirakzigil.org [192.168.1.2]) (amavisd-new, port 10024) with ESMTP id EbTY5LJFKbSp; Thu, 18 Mar 2010 15:04:09 +0100 (CET) Received: from aurynmob2.giulioferro.it (unknown [192.168.1.2]) (Authenticated sender: auryn@zirakzigil.org) by mail.zirakzigil.org (Postfix) with ESMTPA id 7A77094527; Thu, 18 Mar 2010 15:04:09 +0100 (CET) Message-ID: <4BA232D6.6030400@zirakzigil.org> Date: Thu, 18 Mar 2010 15:04:06 +0100 From: Giulio Ferro User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100223 Thunderbird/3.0.1 MIME-Version: 1.0 To: Max Laier References: <4B8E4850.1060104@zirakzigil.org> <201003171747.28053.max@love2party.net> <4BA10A12.2060903@zirakzigil.org> <201003171800.51027.max@love2party.net> In-Reply-To: <201003171800.51027.max@love2party.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-net@freebsd.org" , Greg Hennessy , freebsd-pf@freebsd.org Subject: Re: PF + BRIDGE + PFSYNC causes system freezing X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Mar 2010 14:04:16 -0000 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 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 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 Hope it helps...