From owner-freebsd-questions@FreeBSD.ORG Wed Jun 25 14:25:08 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2A161065671 for ; Wed, 25 Jun 2008 14:25:08 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 6E3E28FC13 for ; Wed, 25 Jun 2008 14:25:02 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1KBVvb-0007zt-PG; Wed, 25 Jun 2008 16:24:55 +0200 Message-ID: <4862553A.30903@FreeBSD.org> Date: Wed, 25 Jun 2008 14:24:58 +0000 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: Toomas Aas , User Questions References: <200806251711.56906.toomas.aas@raad.tartu.ee> In-Reply-To: <200806251711.56906.toomas.aas@raad.tartu.ee> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: Subject: Re: Cannot get kernel core dump X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jun 2008 14:25:08 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Toomas Aas wrote: | Hello! | | I'm trying to report a problem which involves kernel panic, but I cannot get a | core dump. The system is 7.0-STABLE from June 18th. | | I've set the following in /etc/rc.conf (and of course rebooted, even several | times): | dumpdev="/dev/ad0s1b" | dumpdir="/home/crash" | | The machine has 512 MB RAM and swap partition is also 512 MB, but according to | dumpon(8) this shouldn't be a problem, because hw.physmem is still somewhat | smaller than the swap partition: | | bsd# sysctl hw.physmem | hw.physmem: 527863808 | | bsd# swapinfo | Device 1K-blocks Used Avail Capacity | /dev/ad0s1b 524288 0 524288 0% | | /home partition, where I've created the crash directory, has 55 GB free space. | | When the machine boots up, it dutifully reports: | kernel dumps on /dev/ad0s1b | | Then I "do the thing" that causes the panic. System prints the panic message | and hangs. Only thing left to do is press the reset button. On next boot, the | log says | savecore: no dumps found | | When the system panics and prints the panic message, it doesn't say anything | about saving the coredump. I haven't had a kernel panic for a long time, but | I seem to remember that in the past there was some kind of message to that | effect. | | Are there known conditions under which the core dump really isn't recorded, or | am I simply missing something obvious? Yes, if the panic occurs before the filesystem supposed to contain the crash dumps is mounted. Is it the case? | | -- | Toomas | _______________________________________________ | freebsd-questions@freebsd.org mailing list | http://lists.freebsd.org/mailman/listinfo/freebsd-questions | To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhiVTgACgkQwMJqmJVx9454AwCgowIDacy0X33iBwbC0QRVCYjw zGcAnig8zjnlrq1njlwqO7pJOGIyOV3O =4wCh -----END PGP SIGNATURE-----