Fatal trap 12: page fault while in kernel mode.

walt wa1ter at myrealbox.com
Sun May 23 07:38:34 PDT 2004


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.





More information about the Bugs mailing list