Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Aug 2006 00:52:53 +0400 (MSD)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        Dmitry Pryanishnikov <dmitry@atlantis.dp.ua>, "Devon H. O'Dell" <devon.odell@gmail.com>, freebsd-current@freebsd.org, Jeremie Le Hen <jeremie@le-hen.org>
Subject:   Re: no kld in minidumps
Message-ID:  <20060821004825.F9919@mp2.macomnet.net>
In-Reply-To: <44E5FFF3.9040908@icyb.net.ua>
References:  <1155864187.00584864.1155853201@10.7.7.3> <1155882183.00584920.1155870001@10.7.7.3> <44E5C008.9010008@icyb.net.ua> <20060818204915.S42981@atlantis.atlantis.dp.ua> <44E5FFF3.9040908@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 18 Aug 2006, 20:59+0300, Andriy Gapon wrote:

> on 18/08/2006 20:50 Dmitry Pryanishnikov said the following:
> > Hello!
> >
> > On Fri, 18 Aug 2006, Andriy Gapon wrote:
> >> BTW, has anyone contemplated or even done this - some sort of a script
> >> to automatically add all modules that were loaded at a time of crash ?
> >
> >   Hmm, isn't this the task for asf(8). If not, what is asf(8) for?
>
> This is a very nice command, thank you! But it does not seem to be
> directly applicable to postmortem situation i.e. crash dump
> debugging. Or maybe it will be easier to teach kldstat to work with
> dumps/images in addition to what it does now ?

There is some support in /usr/src/tools/debugscripts/ but I didn't try
it recently.  To make it work you need to to do smth like that:

cd /usr/obj/usr/src/sys/GENERIC/ && make gdbinit

-- 
Maxim Konovalov



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