From owner-freebsd-bugs Mon Sep 29 08:53:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA18219 for bugs-outgoing; Mon, 29 Sep 1997 08:53:32 -0700 (PDT) Received: from imdave.pr.mcs.net (imdave@imdave.pr.mcs.net [205.164.3.77]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA18200; Mon, 29 Sep 1997 08:53:21 -0700 (PDT) Received: (from imdave@localhost) by imdave.pr.mcs.net (8.8.7/8.8.7) id KAA07346; Mon, 29 Sep 1997 10:52:57 -0500 (CDT) Date: Mon, 29 Sep 1997 10:52:57 -0500 (CDT) From: Dave Bodenstab Message-Id: <199709291552.KAA07346@imdave.pr.mcs.net> To: dg@root.com, phk@critter.freebsd.dk Subject: Re: kern/4630: buffer_map might become corrupted Cc: dyson@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, peter@netplex.com.au, Tor.Egge@idi.ntnu.no Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > From: Poul-Henning Kamp > In message <199709290905.CAA00880@implode.root.com>, David Greenman writes: > >>BTW2; I wish there was an easy way of producing a stack trace automatically > >>on a panic or fatal trap, or as a diagnostic tool. Having a machine panic > >>and reboot is near for unattended machines. Having a stack trace in the > >>console log would be fantastic. :-) > > > > John and I were talking about this exact thing just last night. :-) I > >think the best approach would be to create a 'cda' crash dump analyzer > >that generates a report on reboot (stores the report in a file) that includes > >a traceback, register info, dumps of important data structures and lists, etc. > > And optionally emails it to some configurable address. > > >The alternative is to try to output a traceback on the console at crash time, > >but this is likely going to scroll other important information off the screen. > Well, if scroll-lock works this is no big loss. > > >Anyway, this has been on my wishlist for years. > mine too. I guess I'm a pack rat, but I saved a copy of a ``crash'' clone back when I was running Microport's system V/AT on my 286. It was written by John F. Haugh II around 1988, with a copyright allowing non-commercial derivatives. As I recall, I compared it with the stock "crash" command that came with my system. It compared favorably, but since the stock version had a couple of more options, there was no reason for me to pursue it. It's system V based, but if you'd like a copy upon which to base a FreeBSD version, let me know and I can email it. Dave Bodenstab imdave@mcs.net