From owner-freebsd-current@FreeBSD.ORG Sat Apr 28 02:03:05 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4367E16A402 for ; Sat, 28 Apr 2007 02:03:05 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id BF67913C458 for ; Sat, 28 Apr 2007 02:03:04 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l3S231DE027594; Sat, 28 Apr 2007 12:03:01 +1000 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l3S231ew027593; Sat, 28 Apr 2007 12:03:01 +1000 (EST) (envelope-from peter) Date: Sat, 28 Apr 2007 12:03:01 +1000 From: Peter Jeremy To: Tom Cumming Message-ID: <20070428020301.GI840@turion.vk2pj.dyndns.org> References: <20070427012401.GZ2445@obelix.dsto.defence.gov.au> <20070427013742.GA51877@troutmask.apl.washington.edu> <20070427014317.GA17436@xor.obsecurity.org> <20070427030017.GA52347@troutmask.apl.washington.edu> <20070427031124.GA18527@xor.obsecurity.org> <20070427180021.GA57409@xor.obsecurity.org> <20070427222116.GG840@turion.vk2pj.dyndns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NklN7DEeGtkPCoo3" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.14 (2007-02-12) Cc: freebsd-current@freebsd.org Subject: Re: Panic on boot. How do I get a kernel dump. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Sat, 28 Apr 2007 02:03:05 -0000 --NklN7DEeGtkPCoo3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Apr-27 16:22:48 -0700, Tom Cumming wrote: > .. or number 3) I can use my existing dump analysis tools and scripts to >examine the dump, and I cannot run the scripts from the console prompt. You can probably do this using a remote GDB session. See http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kernel= debug-online-gdb.html >I don't follow the geom code... is there a place in geom where I could put >something like, geom->dumpdev =3D "mydevice"? No. Kernel dumping now relies far more on the device infrastructure and isn't amenable to static initialisation. If you feel like looking, check out kern_shutdown.c:dumper. --=20 Peter Jeremy --NklN7DEeGtkPCoo3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGMqtV/opHv/APuIcRAmCpAJ4kMvlTq5JfYlE1wFyMJGqYOeMRGgCfZm4a l6daHFDLRrmNZMskP1uJIHo= =TdWR -----END PGP SIGNATURE----- --NklN7DEeGtkPCoo3--