7-STABLE panic: mtx_lock() of spin mutex %s @ %s:%d

Florian Smeets flo at kasimir.com
Tue Nov 27 01:30:11 PST 2007

Max Laier wrote:
> On Tuesday 27 November 2007, Florian Smeets wrote:
>> Hi
>> i was able to reproduce a hang on a 7-STABLE (csuped just after Scotts
>> critical section MFC) firewall which runs mpd4 from ports and uses pf
>> for packet filtering. Sometimes when i restart mpd4 the box just hangs.
>> I have a up-script which calls /sbin/pfctl -f /etc/pf.conf.
> It's an ALTQ problem, really.  I don't know if there is a down-script that 
> runs before the interface is destroyed, but if there is - adding 
> pfctl -Fq there should work around your problem.  I did have some patches 
> to have ALTQ working with dynamic interfaces, but I must have dropped 
> them.  I'll see what I can dig up in the next few days.

That would be great. I have a second non productive box where i can 
reproduce the problem. I'll be glad to test any patches.


More information about the freebsd-pf mailing list