Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Apr 2011 11:35:55 -0700
From:      Patrick Mahan <mahan@mahan.org>
To:        freebsd-net@freebsd.org
Subject:   Re: Setting up a running FreeBSD/PCBSD system to enter kgdb on panic
Message-ID:  <4D9B610B.1020903@mahan.org>
In-Reply-To: <246965dca85d0f49c9c7aaa3f180e398.dnswclient@www.dnswatch.com>
References:  <75E1A2A7D185F841A975979B0906BBA6774E1B99D3@AVEXMB1.qlogic.org>	<BANLkTikoodW_MzdRkRkFS_u5=wCDs%2B_BkA@mail.gmail.com> <246965dca85d0f49c9c7aaa3f180e398.dnswclient@www.dnswatch.com>

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


On 4/5/11 10:38 AM, fbsdmail@dnswatch.com wrote:
> 
> On Mon, April 4, 2011 5:07 pm, Eitan Adler wrote:
>> On Mon, Apr 4, 2011 at 7:35 PM, David Somayajulu
>> <david.somayajulu@qlogic.com> wrote:
>>
>>> Hi All,
>>> Is there some way I can setup a running FreeBSD - (I use PCBSD7.2) - to
>>> break into kgdb when the system panics. I am trying to get a stack
>>> trace when "Fatal trap 12: page fault while in kernel mode" happens.
>>
>> debug.debugger_on_panic=1
> 
> Does this line go in C:\Windows\system32\win.ini?
> 

No, it's a sysctl line.  Issue as either root or via 'sudo' -

% sudo sysctl debug.debugger_on_panic=1

Assuming your kernel has been built with DDB/KDB enabled.

Patrick



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