From owner-freebsd-questions@FreeBSD.ORG Fri Aug 12 20:29:41 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7ECA106566B for ; Fri, 12 Aug 2011 20:29:41 +0000 (UTC) (envelope-from mahan@mahan.org) Received: from ns.mahan.org (ns.mahan.org [67.116.10.138]) by mx1.freebsd.org (Postfix) with ESMTP id 84A648FC16 for ; Fri, 12 Aug 2011 20:29:41 +0000 (UTC) Received: from gypsy.mahan.org (localhost [127.0.0.1]) by ns.mahan.org (8.13.6/8.13.6) with ESMTP id p7CK6RY0054352; Fri, 12 Aug 2011 13:06:28 -0700 (PDT) (envelope-from mahan@mahan.org) Message-ID: <4E458789.2040406@mahan.org> Date: Fri, 12 Aug 2011 13:05:29 -0700 From: Patrick Mahan User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Daryl Sayers References: <201108100533.p7A5XUI9088601@mippet.ci.com.au> In-Reply-To: <201108100533.p7A5XUI9088601@mippet.ci.com.au> X-Enigmail-Version: 1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: kernel Panic not dumping to swap 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: Fri, 12 Aug 2011 20:29:41 -0000 On 8/9/11 10:33 PM, Daryl Sayers wrote: > I have a FreeBSD 8.2-STABLE (64bit) system with 4G mem installed. I have > had a few kernel panics over the last few weeks and would like to capture > a core dump. I have added the following to /etc/rc.conf > > dumpdev="AUTO" > dumpdir=/var/crash > > The /var/crash is a 5G filesystem (with 4.8G free). > When the machine panics the last 2 lines on the console are something like: > > > Physical memory: 3057 MB > Dumping 204 MB: 189 173 157 141 125 > > > The system then completely hangs and a hardware rest is required. As the dump > does not seem to finish I dont get my core dump in /var/cache when the machine > reboots. > > Any ideas?? > Daryl, A couple of questions: 1) How big is your swap partition? Is it large enough to hold the crash dump? 2) What type of hardware is this? I know that HP Proliants using the CISS raid control fail to produce a crashdump and just hangup these boxes. Perhaps this occurs for other types of hardware? Patrick