From owner-freebsd-arch@FreeBSD.ORG Wed Dec 15 21:58:14 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A74D216A4CE; Wed, 15 Dec 2004 21:58:14 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3AE8743D3F; Wed, 15 Dec 2004 21:58:14 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 37378AC93D; Wed, 15 Dec 2004 22:58:12 +0100 (CET) Date: Wed, 15 Dec 2004 22:58:12 +0100 From: Pawel Jakub Dawidek To: Jun Su Message-ID: <20041215215812.GM1130@darkness.comp.waw.pl> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="kZxC0s2ORSstvtHP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: alc@freebsd.org cc: arch@freebsd.org cc: tegge@freebsd.org cc: delphij@FreeBSD.org Subject: Re: Propose for Several Dump types X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Dec 2004 21:58:14 -0000 --kZxC0s2ORSstvtHP Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 14, 2004 at 03:43:37PM +0800, Jun Su wrote: +> Kernel-Only Dump +> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D +> We now can use /dev/kmem as the core file. If we can generate a dump fil= e with +> the same information with it, then we can enable kernel-only dump with +> very limit code changes. +>=20 +> 1. Change KVM library to support a new type of file that only contains +> kernel memory. +> 2. Change kernel side to write only kernel memory when dumping. +> 3. Change dumpon utility to do the right checking on the partiction size. I like the idea of Kernel-Only dump also because of security reasons - user may not want to send whole dump full of passwords, etc. It will be also cool if we can introduce malloc(9) flag (M_NODUMP), so we can safely allocate things like gbde keys, etc. and be sure it will not be part of a dump. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --kZxC0s2ORSstvtHP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBwLN0ForvXbEpPzQRAqQtAKCN4pDY3AN2wlQbHvALalpQKdnqXACeI7od EFBSodsUaEA6hz5jZMFPfII= =U8Gx -----END PGP SIGNATURE----- --kZxC0s2ORSstvtHP--