From owner-freebsd-bugs Mon Sep 29 02:13:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id CAA29533 for bugs-outgoing; Mon, 29 Sep 1997 02:13:38 -0700 (PDT) Received: from schizo.dk.tfs.com (mail.trw.dk [195.8.133.123]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id CAA29524; Mon, 29 Sep 1997 02:13:31 -0700 (PDT) Received: from critter.freebsd.dk (critter.dk.tfs.com [140.145.230.252]) by schizo.dk.tfs.com (8.8.7/8.7.3) with ESMTP id LAA22456; Mon, 29 Sep 1997 11:12:59 +0200 (MET DST) Received: from critter.freebsd.dk (localhost.dk.tfs.com [127.0.0.1]) by critter.freebsd.dk (8.8.7/8.8.7) with ESMTP id LAA00946; Mon, 29 Sep 1997 11:12:04 +0200 (CEST) To: dg@root.com cc: Peter Wemm , Tor Egge , freebsd-bugs@freebsd.org, dyson@freebsd.org Subject: Re: kern/4630: buffer_map might become corrupted In-reply-to: Your message of "Mon, 29 Sep 1997 02:05:01 PDT." <199709290905.CAA00880@implode.root.com> Date: Mon, 29 Sep 1997 11:12:03 +0200 Message-ID: <944.875524323@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop."