From owner-freebsd-arch@FreeBSD.ORG Wed Dec 15 08:45:11 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 2EA7016A4CF for ; Wed, 15 Dec 2004 08:45:11 +0000 (GMT) Received: from transport.cksoft.de (transport.cksoft.de [62.111.66.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id 82F2343D53 for ; Wed, 15 Dec 2004 08:45:10 +0000 (GMT) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from transport.cksoft.de (localhost [127.0.0.1]) by transport.cksoft.de (Postfix) with ESMTP id 7B8CC1FFACA; Wed, 15 Dec 2004 09:45:08 +0100 (CET) Received: by transport.cksoft.de (Postfix, from userid 66) id 36AA71FF9AB; Wed, 15 Dec 2004 09:45:06 +0100 (CET) Received: by mail.int.zabbadoz.net (Postfix, from userid 1060) id AC72215389; Wed, 15 Dec 2004 08:41:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.int.zabbadoz.net (Postfix) with ESMTP id A259B15336; Wed, 15 Dec 2004 08:41:50 +0000 (UTC) Date: Wed, 15 Dec 2004 08:41:50 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@e0-0.zab2.int.zabbadoz.net To: Poul-Henning Kamp In-Reply-To: <40354.1103097081@critter.freebsd.dk> Message-ID: References: <40354.1103097081@critter.freebsd.dk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS cksoft-s20020300-20031204bz on transport.cksoft.de 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 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:45:11 -0000 On Wed, 15 Dec 2004, 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. < SCNR > let's have a dialog UI to set this knob; sth that might look like this: +-----------------------------------------------------------------------+ | | | [ ] Do you really want to (automatically) send crash reports? | | [ ] Are you sure you really want to send them? | | [ ] Please confirm that the crash reports may be mailed out. | | [ ] Please confirm that a mail client is installed and working. | | [ ] Please confirm that the sender address I will chose is replyable. | | [ ] Do you want not to view no details before sending? | | [ ] Never ask me these silly questions again - just do it. | | [ ] Add note that FreeBSD rocks anyway. | | | | [ Yes ] [ No ] [ Maybe ] [ Please explain what this all means ] | | | +-----------------------------------------------------------------------+ < / SCNR > *uups* sorry; what I really meant is: if the knob is turned on then write the data to pre-filled send-pr understandable text file upon extraction and tell the user sth. like the following: --- cut --- To send a report of the last crashdump to FreeBSD developers please use: send-pr -f /var/crash/4305834 You will be able to review everything before mailing out. --- cut --- this can then either go to an extra mailing list or and extra gnats cateory. -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT