Date: Thu, 22 Mar 2001 00:47:26 -0600 (CST) From: David Scheidt <dscheidt@tumbolia.com> To: Gurpratap Virdi <gvirdi@gvirdi.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Fw: Debugging kernel crashes Message-ID: <Pine.BSF.4.21.0103220044570.77136-100000@shell-2.enteract.com> In-Reply-To: <000d01c0b29b$2196cd60$050101c0@dhgfhcpps5nhe1>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0103220044570.77136-100000>