Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2008 10:35:49 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Kostik Belousov <kostikbel@gmail.com>
Cc:        Kirk Strauser <kirk@strauser.com>, freebsd-current@freebsd.org
Subject:   Re: System, diagnose thyself: auto-documentation for crashes
Message-ID:  <200809021035.49822.jhb@freebsd.org>
In-Reply-To: <20080830084824.GE2038@deviant.kiev.zoral.com.ua>
References:  <BDDFB834-C15F-4E48-B1D1-B644940FBE42@strauser.com> <200808291726.16799.jhb@freebsd.org> <20080830084824.GE2038@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 30 August 2008 04:48:24 am Kostik Belousov wrote:
> On Fri, Aug 29, 2008 at 05:26:16PM -0400, John Baldwin wrote:
> > On Friday 29 August 2008 05:07:15 pm Kirk Strauser wrote:
> > > On Aug 29, 2008, at 10:44 AM, John Baldwin wrote:
> > > 
> > > > See /usr/sbin/crashinfo for a start.  I have patches to enable it
> > > > from /etc/rc.d/savecore after generating a patch (still need to test  
> > > > them
> > > > though).
> > > 
> > > 
> > > I'm not finding that anywhere, either on my systems or on Google.
> > 
> > It's in HEAD.
> > 
> > http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.sbin/crashinfo/crashinfo.sh
> 
> John, why not MFCing it ? MFC cannot break anything :), it is a standalone
> utility, and it definitely useful to have bigger test base.

It is on the list, I've just been a bit busy recently. :)  Also, I didn't want 
to merge it to 7.x until I fixed vmstat and iostat to work on core dumps 
again.

> I propose to add some note to the manpage, explicitely mentioning
> experimantal status of utility, and the fact that both user interface
> and output format are subject to change. I imagine this is the only
> obstacle for MFC.

Actually, Y! has used a script like this in production for years, so I don't 
foresee much in the way of changes in the future.  One change would be to add 
a run of ddb to dump the capture buffer from a crash dump.  Another change 
would be to re-enable w(1) if it ever becomes useful on crash dumps again.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809021035.49822.jhb>