Date: Fri, 18 Aug 2006 11:22:32 -0700 From: John-Mark Gurney <gurney_j@resnet.uoregon.edu> To: Andriy Gapon <avg@icyb.net.ua> Cc: Jeremie Le Hen <jeremie@le-hen.org>, freebsd-current@freebsd.org, "Devon H. O'Dell" <devon.odell@gmail.com> Subject: Re: no kld in minidumps Message-ID: <20060818182232.GX99774@funkthat.com> In-Reply-To: <44E5C008.9010008@icyb.net.ua> References: <1155864187.00584864.1155853201@10.7.7.3> <1155882183.00584920.1155870001@10.7.7.3> <44E5C008.9010008@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
Andriy Gapon wrote this message on Fri, Aug 18, 2006 at 16:26 +0300: > on 18/08/2006 05:56 Devon H. O'Dell said the following: > > > > Yeah, you have to do some magic to debug KLDs. Basically, you have to > > figure out where they were loaded by walking the module list, and then > > tell GDB where to find the TEXT section using add-symbol-file. > > Instructions for this are available at > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-kld.html > > 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 ? look at src/tools/debugscripts which has two different solutions to the problem... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060818182232.GX99774>