From owner-freebsd-current@FreeBSD.ORG Mon Sep 27 15:29:27 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E997A16A4CE for ; Mon, 27 Sep 2004 15:29:27 +0000 (GMT) Received: from freebee.digiware.nl (dsl439.iae.nl [212.61.63.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id E4EDB43D45 for ; Mon, 27 Sep 2004 15:29:26 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from [212.61.27.71] (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with ESMTP id i8RFTP9S013963; Mon, 27 Sep 2004 17:29:25 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <415831D5.4050302@withagen.nl> Date: Mon, 27 Sep 2004 17:29:25 +0200 From: Willem Jan Withagen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Evren Yurtesen References: <4158BBC7.1020305@ispro.net.tr> In-Reply-To: <4158BBC7.1020305@ispro.net.tr> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org Subject: Getting a kerneldump. [Was: Re: panic: sorele ] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 15:29:28 -0000 > The thing is that I am not able to get a kernel dump. > Although I have set the > dumpdev="/dev/ad0s1b" > dumpdir="/usr/crash" > in /etc/rc.conf > What I get is: > Sep 27 18:06:59 proxy savecore: no dumps found > > Do I have to compile in something into the kernel so that it will be > able to make a dump or? > > Do I have to set something else to be able to get a kernel dump? Can > you please help me out here? I have created the /usr/crash directory > and there is lots of space in /usr partition(50gbyte) and the swap > device is /dev/ad0s1b and it is 16gbytes and 3gbytes physical RAM is > installed in the machine, so everything should be ok. > > Yet I am not able to get any crash dumps in /usr/crash directory. So > what am I missing? One way to test this is, if you have the KDB debugger compiled in: - break into the debugger; CTRL-ESC on you keyboard. - at the prompt: call doadump Ans see that 3Gb is written to disk. Then reboot, and see savecore write the dump to disk. Look at the flags of the manualpage to see if you can get more into out of savecore. And you can also set flags in /etc/rc.conf. savecore_flags="-v" If this works, than all preconditions of getting a dump are met and you have to look elsewhere for trobule If not, then this obviously needs to be fixed. --WjW