From owner-freebsd-questions Thu Dec 10 07:42:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA05760 for freebsd-questions-outgoing; Thu, 10 Dec 1998 07:42:52 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from test.opengroup.com (olam.net [128.121.130.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA05755 for ; Thu, 10 Dec 1998 07:42:51 -0800 (PST) (envelope-from graeme@echidna.com) Received: from echidna.com (inet.erols.com [209.122.117.150]) by test.opengroup.com (8.8.8/8.8.8) with ESMTP id KAA04833; Thu, 10 Dec 1998 10:41:29 -0500 (EST) (envelope-from graeme@echidna.com) Message-ID: <366FEBC9.32724456@echidna.com> Date: Thu, 10 Dec 1998 10:42:01 -0500 From: Graeme Tait Reply-To: graeme@echidna.com Organization: Echidna X-Mailer: Mozilla 4.02 [en]C-DIAL (Win95; U) MIME-Version: 1.0 To: Jt CC: Robert Blayzor , freebsd-questions@FreeBSD.ORG Subject: Re: 2.2.8-STABLE Reboots Mysteriously References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jt wrote: > > Check the "dumpdev" setting in rc.conf, it specifies where kernel crash > dumps should go. This _must_ be one of your swap drives, and the swap > drive must be big enough to have the content of your physical memory > dumped onto it. To enable it without rebooting, use dumpon(8). What is the correct syntax for this - is it like dumpdev="/dev/rda0s1a" (raw mode?) if say /dev/da0s1a is a swap partition? I have 2 swap partitions on da0 and da1 *exactly* the size of memory (262144*1024 bytes). Will this work in a crash, or does the swap partition need to be marginally larger than memory? Finally, is there a simple way to induce a crash in a normal working system, to see how the crash dumps work? > After that, when your machine crashes, the crash dump will be saved into > /var/crash when it comes back up, along with a copy of the kernel which > generated it. These can be inspected later with `gdb -k'. -- Graeme Tait - Echidna To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message