From owner-freebsd-current@FreeBSD.ORG Mon Apr 23 22:19:54 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 7804416A401 for ; Mon, 23 Apr 2007 22:19:54 +0000 (UTC) (envelope-from tcumming123@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by mx1.freebsd.org (Postfix) with ESMTP id 36C5A13C457 for ; Mon, 23 Apr 2007 22:19:54 +0000 (UTC) (envelope-from tcumming123@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so1485909nza for ; Mon, 23 Apr 2007 15:19:53 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=PCZPZsqUZ00Sb9HWA7Wsj/UEzK0TkbR0Puy2JhCEMxxGf5GzW50LytrVg+r7AsnEXlxy0mlC8ouZ+zXzxbr+j1qnS+i9L6/Vq8K+3qj5IV9tAVVG5L1ZlQ6FN/X7yZj6waJz9rJbiQ2ZO8YhyaVLTghIljpdQ54sNqviwbeMirA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=RDZRpVZQhnTADRo+9Uz3KWJTv+chbjjKJoJvW/M4ukW9SPs0mNG1qYbjjxiylrOVq6bUruXZ5Zsi6KAWQE7b1bzVC+9k06duMz6ViByqaG+XWvZma0wPmx6gy8mvwZqoDNAd8m1kxdTBDCp9/xW4abhLG065gmPbi0QJZu5QYqc= Received: by 10.115.49.16 with SMTP id b16mr2734231wak.1177366793006; Mon, 23 Apr 2007 15:19:53 -0700 (PDT) Received: by 10.114.159.16 with HTTP; Mon, 23 Apr 2007 15:19:52 -0700 (PDT) Message-ID: Date: Mon, 23 Apr 2007 15:19:52 -0700 From: "Tom Cumming" To: freebsd-current@freebsd.org In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Mon, 23 Apr 2007 22:19:54 -0000 On 4/23/07, Ivan Voras wrote: > > Tom Cumming wrote: > > All of the doc's I can find are for getting a kernel dump after it's > booted > > (i.e., set the dumpdev using dumpon, etc.). I have a panic during boot > and > > it says it won't dump b/c there's no dump device. I cannot find any > doc's > > anywhere that mention how to set the dump device before you boot (i.e., > > from > > the loader, patch the kernel, whatever...). Does anyone know how to get > an > > early dump? > > Can you boot from a Live CD ("Fixit CD", CD1 in the set), and either > configure it from there, or build a kernel with debugging installed so > it presents you the debugger when it panics? I'm getting into the debugger when it panics (I started using 7-current). I'd rather get a dump because then I have a snapshot of the kernel when it panics and I can do a postmortem at my leisure. It also got me curious.. I'm sure there's got to be a way to do it! Thanx, tom