From owner-freebsd-pf@FreeBSD.ORG Tue Nov 27 09:30:11 2007 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 B53FF16A418 for ; Tue, 27 Nov 2007 09:30:11 +0000 (UTC) (envelope-from flo@kasimir.com) Received: from kasimir.com (kasimir.com [85.214.51.166]) by mx1.freebsd.org (Postfix) with ESMTP id 05C9713C459 for ; Tue, 27 Nov 2007 09:30:10 +0000 (UTC) (envelope-from flo@kasimir.com) Received: (qmail 1273 invoked from network); 27 Nov 2007 10:30:09 +0100 Received: from relay3.vistream.de (HELO nibbler.vistream.local) (87.139.10.28) by greenplay.de with SMTP; 27 Nov 2007 10:30:09 +0100 Message-ID: <474BE383.6050905@kasimir.com> Date: Tue, 27 Nov 2007 10:29:39 +0100 From: Florian Smeets User-Agent: Thunderbird 2.0.0.10pre (Macintosh/20071126) MIME-Version: 1.0 To: Max Laier References: <474B5BD0.6040004@kasimir.com> <200711270130.01165.max@love2party.net> In-Reply-To: <200711270130.01165.max@love2party.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-pf@freebsd.org Subject: Re: 7-STABLE panic: mtx_lock() of spin mutex %s @ %s:%d 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: Tue, 27 Nov 2007 09:30:11 -0000 Max Laier wrote: > On Tuesday 27 November 2007, Florian Smeets wrote: >> Hi >> >> i was able to reproduce a hang on a 7-STABLE (csuped just after Scotts >> critical section MFC) firewall which runs mpd4 from ports and uses pf >> for packet filtering. Sometimes when i restart mpd4 the box just hangs. >> I have a up-script which calls /sbin/pfctl -f /etc/pf.conf. > > It's an ALTQ problem, really. I don't know if there is a down-script that > runs before the interface is destroyed, but if there is - adding > pfctl -Fq there should work around your problem. I did have some patches > to have ALTQ working with dynamic interfaces, but I must have dropped > them. I'll see what I can dig up in the next few days. > That would be great. I have a second non productive box where i can reproduce the problem. I'll be glad to test any patches. Cheers Florian