Re: no kld in minidumps



Devon H. O'Dell wrote this message on Mon, Oct 30, 2006 at 14:28 -0400:
2006/8/20, Maxim Konovalov <maxim@xxxxxxxxxxx>:
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

From what I could tell, these were for remote debugging. I've written
a shellscript that wraps calling gdb -k (since we're using 4.x at the
shop). I'm not quite sure how to translate it into kgdb-feasible stuff
since kgdb doesn't have -x or -batch. If anybody would like to give me
pointers, I'd be glad to wrap it for either.

It's available at http://databits.net/~dho/load_syms.txt

You do know about:
http://www.freebsd.org/cgi/cvsweb.cgi/src/tools/debugscripts/

If you want to write up an entry for the README, I'll add it to the
collection..

--
John-Mark Gurney Voice: +1 415 225 5579

"All that I will do, has been done, All that I have, has not."
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: no kld in minidumps
    ... On Fri, 18 Aug 2006, Andriy Gapon wrote: ... Hmm, isn't this the task for asf. ... i.e. crash dump debugging. ... Or maybe it will be easier to teach kldstat to work with dumps/images in ...
    (freebsd-current)
  • Re: OT: For Free (sort of) - Hammond Organ
    ... Hmm I didn't realise that Hammond's organ had come off in the crash. ... Why not Ebay it? ...
    (uk.rec.cars.modifications)
  • Re: Lewis Interview on ITV
    ... appear more "excusable" than Kimi's crash the race before. ... your "informed" opinion against that of a racing car driver who's ... Hmm, hard choice... ...
    (rec.autos.sport.f1)
  • Re: Server automatically Shuts down.
    ... samy lancher wrote: ... Hmm; ... low-trafficked server that would crash ...
    (freebsd-questions)
  • Re: Lewis Interview on ITV
    ... pit exit. ... appear more "excusable" than Kimi's crash the race before. ... your "informed" opinion against that of a racing car driver who's ... Hmm, hard choice... ...
    (rec.autos.sport.f1)