From owner-freebsd-questions Sun Mar 4 20:41:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id BA5BD37B718 for ; Sun, 4 Mar 2001 20:41:41 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 87425 invoked by uid 100); 5 Mar 2001 04:41:40 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15011.6404.563919.65199@guru.mired.org> Date: Sun, 4 Mar 2001 22:41:40 -0600 To: Trevin Chow Cc: questions@freebsd.org Subject: Re: System crashing for unknown reason In-Reply-To: <5.0.2.1.2.20010304203903.026716e8@mail.trevinchow.com> References: <5.0.2.1.2.20010304202741.00aef750@mail.trevinchow.com> <68268964@toto.iv> <5.0.2.1.2.20010304203903.026716e8@mail.trevinchow.com> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry 'bout the dup, Trevin. Trevin Chow types: > At 10:32 PM 3/4/2001 -0600, you wrote: > >If you've got dumpdev set in /etc/rc.conf, the /etc/rc will use > >dumpon(8) to tell the OS to save a core image to that device when it > >panics, and will call savecore to check for such a dump and save it to > >/var/crash during the automatic reboot after the panic. You can set it > >in /etc/rc.conf and do the dumpon command by hand, and the next crash > >should leave you a core image in /var/crash. > Sorry, I'm pretty new to all this. How do you set "dumpdev" in > /etc/rc.conf? dumpdev="/var/crash"? No, you set it to a swap partition. See the dumpon and savecore man pages. > Then i presume i create the /var/crash directory? Yes, you have to create it, and make sure it's on a big enough partition to save memory and the kernel image to. Again, see the savecore man page for information about that. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message