DragonFly BSD
DragonFly bugs List (threaded) for 2004-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Fatal trap 12: page fault while in kernel mode.


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Sun, 23 May 2004 07:38:34 -0700

Sascha Wildner wrote:
walt wrote:

The same bug I described in my post two days ago 'Newbie kernel-debugger
question'. May I ask how you got the backtrace into your email -- did you
transcribe it by hand, or use some better method?


walt,

the best method would probably be to put a

dumpdev="/dev/ad0s1b"

statement into your /etc/rc.conf (see rc.conf(5)) to enable crash dumps. The actual partition might differ in your configuration. When your system panics it will save a crash dump. After reboot you'll find the dump in /var/crash which. You can then debug it using gdb and just copy and paste the data into your mail.

This is all described in Lehey's paper (chapter 6, page 43) to which I referred in reply to your post two days ago.

I was only up to page 37 and struggling with serial debugging, so I'm glad you pointed out an easier way, thanks.




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]