Date: Mon, 4 Apr 2011 18:16:09 -0700 From: Garrett Cooper <yanegomi@gmail.com> To: Julian Elischer <julian@freebsd.org> Cc: "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>, David Somayajulu <david.somayajulu@qlogic.com> Subject: Re: Setting up a running FreeBSD/PCBSD system to enter kgdb on panic Message-ID: <BANLkTi=JkmKWkWV93iiNqx2hP8UaZsrc0g@mail.gmail.com> In-Reply-To: <4D9A61A7.6080906@freebsd.org> References: <75E1A2A7D185F841A975979B0906BBA6774E1B99D3@AVEXMB1.qlogic.org> <4D9A61A7.6080906@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 4, 2011 at 5:26 PM, Julian Elischer <julian@freebsd.org> wrote:
> On 4/4/11 4:35 PM, David Somayajulu 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.
>> thanks
>> david S.
>
> sure but firstly have you already got everything set up so you can get into
> kgdb normally?
> (serial cable? (or firewire?) ports all set up right? second machine?
>
> here are som bits of the puzzle for my machine:
>
> from /boot/device.hints:
>
> hint.uart.1.at="isa"
> hint.uart.1.port="0x2F8"
> hint.uart.1.flags="0x80"
> hint.uart.1.irq="3"
> hint.uart.1.baud="115200"
.flags on uart(4) doesn't support 0x20, 0x40, like on sio(4). Interesting.
Thanks,
-Garrett
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=JkmKWkWV93iiNqx2hP8UaZsrc0g>
