From owner-freebsd-questions Tue Feb 27 23:55: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 2735A37B718 for ; Tue, 27 Feb 2001 23:55:05 -0800 (PST) (envelope-from mwm@mired.org) Received: (qmail 25568 invoked by uid 100); 28 Feb 2001 07:55:04 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15004.44760.531860.628224@guru.mired.org> Date: Wed, 28 Feb 2001 01:55:04 -0600 To: Ken Marx Cc: questions@freebsd.org Subject: Re: kernel core image In-Reply-To: <22376787@toto.iv> X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Ken Marx types: > Is there a way to get a copy of a running kernel core image? If you've compiled with the DDB option, invoking the debugger and using the "panic" command will do the trick. Of course, you might be better off using the debugger to find the information you want, then continuing or shutting the system down smoothly. If you just want a copy of the kernel virtual memory space, it's /dev/kmem. But be carefull with it - it includes the I/O address space, so you can royally hose your system playing with it. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message