Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Mar 2015 12:16:03 +0100
From:      Fabian Keil <freebsd-listen@fabiankeil.de>
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:  <alpine.DEB.2.19.4.1502120004310.7303@trent.utfs.org> <4e9beab4.5e4e3963@fabiankeil.de>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/85_36R+cZ719Jfm_pxqloI8
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Fabian Keil <freebsd-listen@fabiankeil.de> wrote:

> Christian Kujau <lists@nerdbynature.de> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15982c3e.3980e72b>