From owner-freebsd-questions@FreeBSD.ORG Wed Mar 18 11:26:28 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 701CB2DB for ; Wed, 18 Mar 2015 11:26:28 +0000 (UTC) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.31.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C47F926 for ; Wed, 18 Mar 2015 11:26:27 +0000 (UTC) Received: from [78.35.132.116] (helo=fabiankeil.de) by smtprelay01.ispgateway.de with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1YYBxD-00073o-68 for freebsd-questions@freebsd.org; Wed, 18 Mar 2015 12:16:03 +0100 Date: Wed, 18 Mar 2015 12:16:03 +0100 From: Fabian Keil To: freebsd-questions@freebsd.org Subject: Dumping on GELI consumers (was: FreeBSD 10.1 crashing under load) Message-ID: <15982c3e.3980e72b@fabiankeil.de> In-Reply-To: <4e9beab4.5e4e3963@fabiankeil.de> References: <4e9beab4.5e4e3963@fabiankeil.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/85_36R+cZ719Jfm_pxqloI8"; protocol="application/pgp-signature" X-Df-Sender: Nzc1MDY3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Mar 2015 11:26:28 -0000 --Sig_/85_36R+cZ719Jfm_pxqloI8 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Fabian Keil wrote: > Christian Kujau wrote: > > Right now the system just reboots but leaves nothing in the system log = as=20 > > to _why_ it crashed. I've configured a crash dump device as per [0] but= no=20 > > crash dump is ever taken. I'm running with encrypted swap (via GELI),=20 > > maybe crashdumping doesn't work with encrypted swap? >=20 > IIRC it's not officially supported but you can dump on the device > below the geli layer: >=20 > fk@r500 ~ $swapinfo=20 > Device 1K-blocks Used Avail Capacity > /dev/ada0s1b.eli 2097152 0 2097152 0% > fk@r500 ~ $dumpon -l > ada0s1b >=20 > Saving the dump automatically after boot doesn't work (for me), > but "service savecore start" works after "swapoff -a". For the archives: It works as expected when enabling the swap device with rc.d/swaplate. Currently this requires a small swapon patch: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198598 Fabian --Sig_/85_36R+cZ719Jfm_pxqloI8 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEUEARECAAYFAlUJXnMACgkQBYqIVf93VJ0wqACVFcdbe51AQug0HEf+tcxEu9tY igCgvC3qawuqr1AHmQ3zjU/pp4YdvAI= =9qey -----END PGP SIGNATURE----- --Sig_/85_36R+cZ719Jfm_pxqloI8--