From owner-freebsd-current@FreeBSD.ORG Tue Feb 22 15:36:20 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from green.homeunix.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 0F49416A4CE; Tue, 22 Feb 2005 15:36:20 +0000 (GMT) Received: from green.homeunix.org (green@localhost [127.0.0.1]) by green.homeunix.org (8.13.3/8.13.1) with ESMTP id j1MFaJl7006270; Tue, 22 Feb 2005 10:36:19 -0500 (EST) (envelope-from green@green.homeunix.org) Received: (from green@localhost) by green.homeunix.org (8.13.3/8.13.1/Submit) id j1MFaIkL006269; Tue, 22 Feb 2005 10:36:18 -0500 (EST) (envelope-from green) Date: Tue, 22 Feb 2005 10:36:18 -0500 From: Brian Fundakowski Feldman To: Divacky Roman Message-ID: <20050222153618.GA966@green.homeunix.org> References: <20050212030852.GF693@dmr.ath.cx> <20050212162440.GA82987@stud.fit.vutbr.cz> <20050213005144.GA2580@dmr.ath.cx> <20050213074020.GA28974@stud.fit.vutbr.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050213074020.GA28974@stud.fit.vutbr.cz> User-Agent: Mutt/1.5.6i cc: Emil Mikulic cc: current@freebsd.org Subject: Re: pfctl -f causes fatal trap 12 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: Tue, 22 Feb 2005 15:36:20 -0000 On Sun, Feb 13, 2005 at 08:40:20AM +0100, Divacky Roman wrote: > On Sun, Feb 13, 2005 at 11:51:44AM +1100, Emil Mikulic wrote: > > On Sat, Feb 12, 2005, Divacky Roman top-posted: > > > same here.... I have pf as module and see this panic on boot > > > > > > when I reboot after the panic, fsck takes place and then it doesn > > > panic (obviously the fsck changes something which causes pf not to > > > panic) > > > > Really? I hadn't noticed that. You should send your message to the > > mailing list in case it can help one of the developers track down the > > problem. > > yes.... and oh, I forgot to cc: current (and I am doing it now) > > > >From the kgdb output: > > > > (kgdb) frame 11 > > > > #11 0xc0627fdc in softclock (dummy=0x0) at \ > > > > /usr/src/sys/kern/kern_timeout.c:315 > > > > 315 mtx_unlock(c_mtx); > > > > (kgdb) print c_mtx > > > > $1 = (struct mtx *) 0x0 > > > > It looks to me like that part of the code is trying to unlock an > > uninitialized mutex. > > > > I guess running fsck somehow causes the mutex to be initialized before > > loading the pf rules breaks stuff. This should be fixed now -- callout_init() was not being called. -- Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\ <> green@FreeBSD.org \ The Power to Serve! \ Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\