From owner-freebsd-current@FreeBSD.ORG Thu Jun 24 19:32:37 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED7A416A4CE for ; Thu, 24 Jun 2004 19:32:37 +0000 (GMT) Received: from frodo.otenet.gr (frodo.otenet.gr [195.170.0.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 41E9143D53 for ; Thu, 24 Jun 2004 19:32:37 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.gr (patr530-a053.otenet.gr [212.205.215.53]) by frodo.otenet.gr (8.12.10/8.12.10) with ESMTP id i5OJWKIw009056; Thu, 24 Jun 2004 22:32:21 +0300 Received: from gothmog.gr (gothmog [127.0.0.1]) by gothmog.gr (8.12.11/8.12.11) with ESMTP id i5OJWKLu000974; Thu, 24 Jun 2004 22:32:20 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.gr (8.12.11/8.12.11/Submit) id i5OJWK0B000973; Thu, 24 Jun 2004 22:32:20 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 24 Jun 2004 22:32:20 +0300 From: Giorgos Keramidas To: "Conrad J. Sabatier" Message-ID: <20040624193220.GB878@gothmog.gr> References: <20040624142347.GD28051@afflictions.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: cc: Damian Gerow cc: freebsd-current@freebsd.org Subject: Re: Panic on today's -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2004 19:32:38 -0000 On 2004-06-24 14:22, "Conrad J. Sabatier" wrote: > On 24-Jun-2004 Damian Gerow wrote: > > See my thread 'ipf 3.4.35 woes' -- I'm using ipf, but not pf, and > > seeing exactly the same thing. And if I turn off the loading of ipf > > rulesets on boot, the panic goes away. Reloading them manually > > afterwards doesn't cause the panic. > > Just upgraded the system and tried this. It worked without the loading > of any ipf/ipnat stuff at boot time. Manually loading the rules after > the system was up was fine, just as you said. > > I removed pf from my kernel, btw, since I wasn't using it anyway, but > still have ipf (obviously). Try applying this minor diff to today's kernel: %% Index: sys/contrib/ipfilter/netinet/fil.c =================================================================== RCS file: /home/ncvs/src/sys/contrib/ipfilter/netinet/fil.c,v retrieving revision 1.38 diff -u -r1.38 fil.c --- sys/contrib/ipfilter/netinet/fil.c 21 Jun 2004 22:46:35 -0000 1.38 +++ sys/contrib/ipfilter/netinet/fil.c 24 Jun 2004 19:17:33 -0000 @@ -2155,9 +2155,6 @@ ip_natsync(ifp); ip_statesync(ifp); } -# if defined(__FreeBSD_version) && (__FreeBSD_version >= 500043) - IFNET_RUNLOCK(); -# endif ip_natsync((struct ifnet *)-1); # if defined(__FreeBSD_version) && (__FreeBSD_version >= 500043) IFNET_RUNLOCK(); %%