Re: obtaining a kernel crash dump

2004-05-20 Thread Nick Strebkov
On Wed, May 19, 2004 at 05:20:04PM +0300, Peter Pentchev wrote: > On Wed, May 19, 2004 at 04:34:42PM +0300, Nick Strebkov wrote: > > 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

Re: obtaining a kernel crash dump

2004-05-20 Thread Andrew Gallatin
Nick Strebkov writes: > May 19 16:17:00 devel /kernel: > May 19 16:17:00 devel /kernel: syncing disks... 60 3 2 > > [dd boot kernel messages] Try disabling sync-on-panic. It almost always causes problems for me when trying to get dumps. % cat /etc/sysctl.conf kern.sync_on_panic=0 If

Re: obtaining a kernel crash dump

2004-05-19 Thread Mark Santcroos
On Wed, May 19, 2004 at 04:34:42PM +0300, Nick Strebkov wrote: > I can't obtain a crash dump. Can you, on a clean -current, break into DDB and force a panic by simply typing "panic" ? Please report whether the kernel dumps core in this case. Some systems have problems with ATA that prevents them

Re: obtaining a kernel crash dump

2004-05-19 Thread Peter Pentchev
On Wed, May 19, 2004 at 04:34:42PM +0300, Nick Strebkov wrote: > 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

obtaining a kernel crash dump

2004-05-19 Thread Nick Strebkov
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: