From owner-freebsd-questions@FreeBSD.ORG Thu Mar 2 02:26:25 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9AA8F16A420 for ; Thu, 2 Mar 2006 02:26:25 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4E5E43D46 for ; Thu, 2 Mar 2006 02:26:24 +0000 (GMT) (envelope-from on@cs.ait.ac.th) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) by mail.cs.ait.ac.th (8.13.1/8.12.11) with ESMTP id k222QH2U092153 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 2 Mar 2006 09:26:17 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.13.1/8.12.11) id k222QGRP099167; Thu, 2 Mar 2006 09:26:16 +0700 (ICT) Date: Thu, 2 Mar 2006 09:26:16 +0700 (ICT) Message-Id: <200603020226.k222QGRP099167@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org X-Virus-Scanned: on CSIM by amavisd-milter (http://www.amavis.org/) Subject: How to do a kernel dump? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2006 02:26:25 -0000 Hi, I'd like to get a kernel dump when the machine panics. I set-up dumpdev="/dev/rda0s1b" in /etc/rc.conf. My swap is: amanda41: swapinfo Device 1K-blocks Used Avail Capacity Type /dev/rda0s1b 1048448 0 1048448 0% Interleaved My memory is only 256 MB, so the swap is large enough to keep up to 4 dumps. But still no dump, no image created in /var/crash, the system reboots in multi-user mode and period. When I try savecore by hand I get: savecore: reboot after panic: page fault savecore: system went down at Thu Mar 2 01:13:26 2006 savecore: no dump, not enough free space on device (235544 available, need 264924) How should I understand that? Is it because I use the raw device (that is not clear in the handbook). System is: FreeBSD amanda.cs.ait.ac.th 4.11-RELEASE-p14 FreeBSD 4.11-RELEASE-p14 #5: Tue Feb 28 16:07:07 ICT 2006 root@amanda.cs.ait.ac.th:/usr/obj/usr/src/sys/SMALL i386 Thanks in advance, Olivier