Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Feb 2005 08:40:20 +0100
From:      Divacky Roman <xdivac02@stud.fit.vutbr.cz>
To:        Emil Mikulic <emikulic@dmr.ath.cx>
Cc:        current@freebsd.org
Subject:   Re: pfctl -f causes fatal trap 12
Message-ID:  <20050213074020.GA28974@stud.fit.vutbr.cz>
In-Reply-To: <20050213005144.GA2580@dmr.ath.cx>
References:  <20050212030852.GF693@dmr.ath.cx> <20050212162440.GA82987@stud.fit.vutbr.cz> <20050213005144.GA2580@dmr.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

maybe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050213074020.GA28974>