PF + BRIDGE + PFSYNC causes system freezing
Giulio Ferro
auryn at zirakzigil.org
Thu Mar 18 14:04:16 UTC 2010
On 17.03.2010 18:00, Max Laier wrote:
> Can you enable WITNESS and compile in DDB. Make sure to report any LORs
>>> and once the system freezes try to enter the debugger and get ps and
>>> locks information.
>>>
>>> show allchains
>>> show alllocks
>>> ps
>>>
>>> After that you can try to "call doadump" so you get the information in
>>> the coredump and don't have to transcribe it manually.
>>>
>>> Thanks,
>>> Max
>>>
>> Sorry, I'm not really an expert of this, but how can I enter the debugger
>> if the system has frozen?
>>
> Ctrl+Alt+ESC (in default configuration).
> _______________________________________________
>
I've added this to the kernel
option KDB
option WITNESS
option WITNESS_KDB
option DDB
Now it can't even boot properly. It stops when it tries to configure
networking:
uma_zalloc_arg: zone "256" with the following non-sleepable locks held:
exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff80e31b20) locked @
/usr/src/sys/net/if.c:414
show allchains
<no result>
show alllocks
exclusive rw ifnet_rw (ifnet_rw) r = 0 (0xffffffff80e31b20) locked @
/usr/src/sys/net/if.c:414
exclusive sx ifnet_sx (ifnet_sx) r = 0 (0xffffffff80e31b40) locked @
/usr/src/sys/net/if.c:414
ps
<returns a lot of stuff. tell me to search something in particular>
call doadump
Cannot dump. Device not defined or unavailable
Hope it helps...
More information about the freebsd-net
mailing list