From owner-freebsd-pf@FreeBSD.ORG Thu Mar 18 16:39:37 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 48B7E1065692; Thu, 18 Mar 2010 16:39:37 +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 DF33B8FC13; Thu, 18 Mar 2010 16:39:36 +0000 (UTC) Received: from localhost (unknown [192.168.1.2]) by mail.zirakzigil.org (Postfix) with ESMTP id 93D1994119; Thu, 18 Mar 2010 17:39:35 +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 RsyQBK1csLi0; Thu, 18 Mar 2010 17:39:32 +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 38C2D9410C; Thu, 18 Mar 2010 17:39:32 +0100 (CET) Message-ID: <4BA25741.6070007@zirakzigil.org> Date: Thu, 18 Mar 2010 17:39:29 +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> <201003171800.51027.max@love2party.net> <4BA232D6.6030400@zirakzigil.org> <201003181526.00442.max@love2party.net> In-Reply-To: <201003181526.00442.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-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 16:39:37 -0000 On 18.03.2010 15:26, Max Laier wrote: Ok, it's happened again... and once the system freezes try to enter the debugger and get ps and >>>>> locks information. >>>>> >>>>> show allchains >>>>> No result >>>>> show alllocks >>>>> Process 4483 (sshd) thread 0xffffff0002ded3a0 (100159) exclusive sx so_rcv_sx (so_rcv_sx) r = 0 (0xffffff0002c79b98) locked @ /usr/src/sys/kern/uipc_sockbuf.c:148 Process 12 (intr) thread 0xffffff000242b3a0 (100028) exclusive sleep mutex if_bridge (if_bridge) r = 0 (0xffffff000282d018) locked @ /usr/src/sys/modules/if_bridge/../../net/if_bridge.c:2162 Process 12 (intr) thread 0xffffff00023d3ae0 (100021) exclusive slepp mutex Giant (Giant) r = 1 (0xffffffff80c6f660) locked @ /usr/src/sys/dev/usb/usb_transfer.c:3009 Process 12 (intr) thread 0xffffff00022603a0 (1000007) exclusive sleep mutex carp_if (carp_if) r = 0 (0xffffff0002730360) locked @ /usr/src/sys/netinet/ip_carp.c:881 >>>>> ps >>>>> >>>>> This yields a lot of lines, tell me if you want me to report something special > a "bt" would help in this case to see where the bad alloc is. > > Tracing pid 12 tid 100021 td 0xffffff00023d3ae0 kdb_enter() at kdb_enter+0x3d ... Thank for your interest.