no kld in minidumps
Devon H. O'Dell
devon.odell at gmail.com
Fri Aug 18 02:56:10 UTC 2006
2006/8/17, Jeremie Le Hen <jeremie at le-hen.org>:
> my laptop has just triggered a bug in the iwi(4) driver. I called
> doadump() from DDB prompt and was happily surprised to see that
> only 167 MB of memory where dumped, instead of 1 GB.
> Unfortunately once I have rebooted, I went into kgdb and asked
> for the backtrace, which look pretty accurate until it reached
> the iwi(4) functions, which was loaded from multiuser mode.
> I know this is iwi(4) because I saw the backtrace in DDB.
> Is it the desired behaviour, not yet implemented, or am I only
> missing something ?
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
Good luck :)
> Thank you for your help.
> Jeremie Le Hen
> < jeremie at le-hen dot org >< ttz at chchile dot org >
> freebsd-current at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current