Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Mar 2010 15:04:06 +0100
From:      Giulio Ferro <auryn@zirakzigil.org>
To:        Max Laier <max@love2party.net>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, Greg Hennessy <Greg.Hennessy@nviz.net>, freebsd-pf@freebsd.org
Subject:   Re: PF + BRIDGE + PFSYNC causes system freezing
Message-ID:  <4BA232D6.6030400@zirakzigil.org>
In-Reply-To: <201003171800.51027.max@love2party.net>
References:  <4B8E4850.1060104@zirakzigil.org>	<201003171747.28053.max@love2party.net>	<4BA10A12.2060903@zirakzigil.org> <201003171800.51027.max@love2party.net>

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



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