Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Dec 2001 08:39:16 -0500
From:      "Robin P. Blanchard" <Robin_Blanchard@gactr.uga.edu>
To:        stable@freebsd.org
Subject:   help debugging kernel
Message-ID:  <3C21EA04.D000E3FC@gactr.uga.edu>

next in thread | raw e-mail | index | archive | help
I have an SMP box that keeps signal 12-ing. So I built a debug kernel
with:

makeoptions     DEBUG=-g                #Build kernel with gdb(1) debug
symbols
options         DDB
#options        DDB_UNATTENDED
options         KTRACE                  #kernel tracing
options         INVARIANTS
options         INVARIANT_SUPPORT
options         DIAGNOSTIC
options         MAXMEM="(128*1024)"	#limit mem usage to accomodate dump

Now when the box faults, I get:

panic: vm_page_unhold: hold count < 0 !!!
mp_lock = 00000001; cpuid = 0 ; 1apic.id = 01000000

and it's waiting at the DDB> prompt.

I type 'panic' to induce the dump at it reports:

device does not support dump routine.

What am I doing wrong here?

except from rc.conf:
dumpdev="/dev/amrd0s1b" 
dumpdir="/usr/local/var/adm/crash"
savecore="YES"

# swapinfo 
Device          1K-blocks     Used    Avail Capacity  Type
/dev/amrd0s1b      524160        0   524160     0%    Interleaved

# df -h
Filesystem                        Size   Used  Avail Capacity  Mounted
on
/dev/amrd0s1a                     124M    75M    39M    65%    /
/dev/amrd0s1e                     124M   4.5M   110M     4%    /tmp
/dev/amrd0s1g                     1.9G   255M   1.5G    14%    /usr
/dev/amrd0s1h                     5.3G    34M   4.9G     1%   
/usr/local
/dev/amrd0s1f                     124M    18M    96M    16%    /var
procfs                            4.0K   4.0K     0B   100%    /proc

# sysctl -a |grep dump
kern.dumpdev: { major = 133, minor = 0x20001 }
kern.sugid_coredump: 0
kern.coredump: 1
machdep.do_dump: 1


Thanks in advance.


-- 
------------------------------------
Robin P. Blanchard
IT Program Specialist
Georgia Center for Continuing Ed.
fon: 706.542.2404 fax: 706.542.6546
email: Robin_Blanchard@gactr.uga.edu
------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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