From owner-freebsd-arch@FreeBSD.ORG Wed Dec 15 08:36:54 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 26AB616A4CE for ; Wed, 15 Dec 2004 08:36:54 +0000 (GMT) Received: from mproxy.gmail.com (mproxy.gmail.com [216.239.56.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id 01C5543D45 for ; Wed, 15 Dec 2004 08:36:54 +0000 (GMT) (envelope-from csujun@gmail.com) Received: by mproxy.gmail.com with SMTP id q44so360658cwc for ; Wed, 15 Dec 2004 00:36:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=bcisQXdlIn/3F/323yfyoISfHnrFTcNtusdy5borFaDBaaHmfXjL1uMejmt3phCT+fI0hXJTDhUORyRVUqSn6adv9D4U2gWV1uoC5EC6lZAKd2SgbMRGORjddpQhp5b8v1LpFHroMqcmoTE8wiJdlRq0LPQIPR2HBCOrXTBeifM= Received: by 10.11.99.79 with SMTP id w79mr767471cwb; Wed, 15 Dec 2004 00:36:53 -0800 (PST) Received: by 10.11.118.15 with HTTP; Wed, 15 Dec 2004 00:36:53 -0800 (PST) Message-ID: Date: Wed, 15 Dec 2004 16:36:53 +0800 From: Jun Su To: Poul-Henning Kamp In-Reply-To: <40354.1103097081@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <40354.1103097081@critter.freebsd.dk> cc: arch@freebsd.org Subject: Re: Propose for Several Dump types X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jun Su 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 08:36:54 -0000 On Wed, 15 Dec 2004 08:51:21 +0100, Poul-Henning Kamp wrote: > 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. We can also create an automation system to collect these information. When the number of crash in same function reaches a thorehold, it will send a report to a ML. :-) Sounds your idea is interesing. Anyway, I still think ascii format dump can not replace the minidump. Minidump can provide more information. > > -- > 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. > -- -- Jun Su