From owner-freebsd-pf@FreeBSD.ORG Fri Dec 8 01:50:13 2006 Return-Path: X-Original-To: freebsd-pf@hub.freebsd.org Delivered-To: freebsd-pf@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03AB816A407 for ; Fri, 8 Dec 2006 01:50:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD9E543CAA for ; Fri, 8 Dec 2006 01:49:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id kB81oBVF016974 for ; Fri, 8 Dec 2006 01:50:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id kB81oB4A016973; Fri, 8 Dec 2006 01:50:11 GMT (envelope-from gnats) Date: Fri, 8 Dec 2006 01:50:11 GMT Message-Id: <200612080150.kB81oB4A016973@freefall.freebsd.org> To: freebsd-pf@FreeBSD.org From: "Boris S." Cc: Subject: Re: kern/106400: fatal trap 12 at restart of PF with ALTQ if ng0 device has detached X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Boris S." 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: Fri, 08 Dec 2006 01:50:13 -0000 The following reply was made to PR kern/106400; it has been noted by GNATS. From: "Boris S." To: Max Laier Cc: bug-followup@freebsd.org Subject: Re: kern/106400: fatal trap 12 at restart of PF with ALTQ if ng0 device has detached Date: Fri, 08 Dec 2006 02:41:30 +0100 Max Laier schrieb: > Okay, this is highly untested and certainly needs more work, but I don't > have a crashbox set up right now, so if you could give it a try we might > be getting somewhere quick. > > Please turn on misc debugging (pfctl -xm). > > This also might be a way to use ALTQ on not yet created interfaces, though > this needs even more work. > > Report back if this changes anything. If you get a crash I'd like to see > a dump and dmesg if possible. This test patch works great! I've connected, disconnected, restarted and reloaded very many times in random order and nothing bad happens! If I kill my mpd4 (without touching pf) I get the debug log: pf: remove altq ng0. ...22 22 22 I get always "22 22 22". No other numbers after serval restarts of mpd4, pf and FreeBSD. Thank you for your promptly investigation! Boris