From owner-freebsd-stable Thu Dec 20 5:39:23 2001 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gactr.uga.edu (mail.gactr.uga.edu [128.192.37.21]) by hub.freebsd.org (Postfix) with SMTP id 4AFDC37B416 for ; Thu, 20 Dec 2001 05:39:17 -0800 (PST) Received: (qmail 13368 invoked from network); 20 Dec 2001 13:39:16 -0000 Received: from qat.noc.nat (HELO gactr.uga.edu) ([10.10.100.125]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 20 Dec 2001 13:39:16 -0000 Message-ID: <3C21EA04.D000E3FC@gactr.uga.edu> Date: Thu, 20 Dec 2001 08:39:16 -0500 From: "Robin P. Blanchard" Organization: Georgia Center Information Technology X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: stable@freebsd.org Subject: help debugging kernel Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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