From owner-freebsd-arch@FreeBSD.ORG Wed Dec 15 07:51:24 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 99AA816A4CF; Wed, 15 Dec 2004 07:51:24 +0000 (GMT) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id B81E343D46; Wed, 15 Dec 2004 07:51:23 +0000 (GMT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.13.1/8.13.1) with ESMTP id iBF7pLWF040355; Wed, 15 Dec 2004 08:51:22 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Jun Su From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 15 Dec 2004 09:44:08 +0800." Date: Wed, 15 Dec 2004 08:51:21 +0100 Message-ID: <40354.1103097081@critter.freebsd.dk> Sender: phk@critter.freebsd.dk cc: arch@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 07:51:24 -0000 In message , Jun Su writes: >On Tue, 14 Dec 2004 08:48:44 +0100, Poul-Henning Kamp > wrote: >> In message , Jun Su writes: >> >> >MiniDump >> >======= >> >In a minidump, Register info, plus the crash stack is enough. >> >> Make it an EVENTHANDLER() and dump it in ascii format. > ^^^^^^^^^^^^ >Don't think the ascii format is a good choose. We can only dump the >information like the ones we can get in the KDB. My propose is storing >the pages that the stack point is in. Then we can get more useful >stack in the userland with the kernel file and kernel symbol. An ascii format summary is a _great_ format because people can email us it without knowing anything else. We could in fact make it a /etc/rc.conf tunable: "send_panic_reports=YES" and we would receive it in email whenever a crash occured. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.