From owner-freebsd-hackers Wed Mar 21 22:47:45 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.enteract.com (mail.enteract.com [207.229.143.33]) by hub.freebsd.org (Postfix) with ESMTP id DC50237B71B for ; Wed, 21 Mar 2001 22:47:32 -0800 (PST) (envelope-from dscheidt@tumbolia.com) Received: from shell-2.enteract.com (dscheidt@shell-2.enteract.com [207.229.143.41]) by mail.enteract.com (8.11.1/8.11.2) with ESMTP id f2M6lRl73857; Thu, 22 Mar 2001 00:47:27 -0600 (CST) (envelope-from dscheidt@tumbolia.com) Date: Thu, 22 Mar 2001 00:47:26 -0600 (CST) From: David Scheidt X-Sender: dscheidt@shell-2.enteract.com To: Gurpratap Virdi Cc: freebsd-hackers@freebsd.org Subject: Re: Fw: Debugging kernel crashes In-Reply-To: <000d01c0b29b$2196cd60$050101c0@dhgfhcpps5nhe1> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 22 Mar 2001, Gurpratap Virdi wrote: :Hi, : : :I have the following questions related to the above instructions though. :I understand we can use dumpon(8) to tell the kernel to dump the core file :to a swap partition. If our system is only configured with one swap :partition, can we still point the kernel to this partition? I mean would Yes. Your dump partition should be at least as large as your physical memory. :the core file get overwritten when the system reboots and uses the space as :swap again. Now, supposedly the kernel is able to write the core file to the :swap partition and the system reboots without overwriting the core file, how :do we access the core file? savecore(8) will copy the dump to /var/crash at startup. /var/crash needs to be big enough ot hold the dump, and the running kernel. -- dscheidt@tumbolia.com Bipedalism is only a fad. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message