Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2007 15:45:36 -0500
From:      Pete Curry <mail@petecurry.net>
To:        Kip Macy <kip.macy@gmail.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Panic and LOR
Message-ID:  <20070909204536.GB33652@kiwi.petecurry.net>
In-Reply-To: <b1fa29170709091311m6b4ddb9fm1f223ab1a85b8b5e@mail.gmail.com>
References:  <20070909180445.GA33652@kiwi.petecurry.net> <b1fa29170709091311m6b4ddb9fm1f223ab1a85b8b5e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Kip,

On Sun, Sep 09, 2007 at 01:11:02PM -0700, Kip Macy wrote:
> This is a known issue. sx locks aren't for use in the I/O path. The
> firewall maintainer chooses to use them. This might be avoidable in
> the future if we can establish a mechanism for preventing pfil from
> being unloaded without protecting it with an rwlock.
> 
Sorry, I didn't notice this in my search. I've switched to pf instead
and it seems to work fine.

Thank you!

- Pete Curry

>  -Kip
> 
> 
> 
> On 9/9/07, Pete Curry <mail@petecurry.net> wrote:
> > Hi,
> >
> > I've been getting a very reproducable panic in -CURRENT with moderate
> > network traffic (including same-machine traffic, and especially
> > with ssh), and a LOR on boot.
> >
> > kiwi# uname -a
> > FreeBSD kiwi.petecurry.net 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Sun
> > Sep  9 11:01:03 CDT 2007 root@:/usr/obj/usr/src/sys/KIWIKERN  amd64
> >
> > The source is from about 10:00 this morning, and my kernel config
> > and dmesg output is attached. It's been happening for at least a
> > few weeks, about as long as I've been running -CURRENT and had this
> > machine.
> >
> > The LOR message is:
> > Sep  9 11:16:00 kiwi kernel: lock order reversal: (sleepable after non-sleepable)
> > Sep  9 11:16:00 kiwi kernel: 1st 0xffffffff807781a8 PFil hook read/write mutex (PFil hook read/write mutex) @ /usr/src/sys/net/pfil.c:73
> > Sep  9 11:16:00 kiwi kernel: 2nd 0xffffffffb1e2f840 ipf filter load/unload mutex (ipf filter load/unload mutex) @ /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/fil.c:2419
> > [snip] 




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