DragonFly bugs List (threaded) for 2004-05
Re: Fatal trap 12: page fault while in kernel mode.
Sascha Wildner 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
transcribe it by hand, or use some better method?
the best method would probably be to put a
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.