Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 May 2004 16:34:42 +0300
From:      Nick Strebkov <nick@humgat.org>
To:        hackers@freebsd.org
Subject:   obtaining a kernel crash dump
Message-ID:  <20040519133442.GA90053@nord.interexc.com>

next in thread | raw e-mail | index | archive | help
Hi there.

I can't obtain a crash dump.

% cat /sys/i386/conf/DEVEL | grep makeoptions
makeoptions     DEBUG=-g
% cat /etc/rc.conf| grep dump
dumpdev="/dev/ar0s1b"
dumpdir="/var/crash"

I'm testing my kernel patch and the following is what I see in
/var/log/messages:

May 19 16:17:00 devel /kernel: Fatal trap 12: page fault while in kernel mode
May 19 16:17:00 devel /kernel: fault virtual address    = 0x20a4e920
May 19 16:17:00 devel /kernel: fault code               = supervisor write, page not present
May 19 16:17:00 devel /kernel: instruction pointer      = 0x8:0xc01920d3
May 19 16:17:00 devel /kernel: stack pointer            = 0x10:0xe7951e80
May 19 16:17:00 devel /kernel: frame pointer            = 0x10:0xe7951ea4
May 19 16:17:00 devel /kernel: code segment             = base 0x0, limit 0xfffff, type 0x1b
May 19 16:17:00 devel /kernel: = DPL 0, pres 1, def32 1, gran 1
May 19 16:17:00 devel /kernel: processor eflags = interrupt enabled, resume, IOPL = 0
May 19 16:17:00 devel /kernel: current process          = 637 (rtpslave)
May 19 16:17:00 devel /kernel: interrupt mask           = net 
May 19 16:17:00 devel /kernel: trap number              = 12
May 19 16:17:00 devel /kernel: panic: page fault
May 19 16:17:00 devel /kernel: 
May 19 16:17:00 devel /kernel: syncing disks... 60 3 2 

[dd boot kernel messages]

May 19 16:17:00 devel savecore: no core dump

Thanks in advance.

-- 
Nick Strebkov
Public key: http://humgat.org/~nick/pubkey.txt
fpr: 552C 88D6 895B 6E64 F277 D367 8A70 8132 47F5 C1B6



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