2006/8/17, Jeremie Le Hen <jeremie_at_le-hen.org>: > Hi, > > 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 http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-kld.html Good luck :) --Devon > Thank you for your help. > Regards, > -- > Jeremie Le Hen > < jeremie at le-hen dot org >< ttz at chchile dot org > > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" >Received on Fri Aug 18 2006 - 00:56:10 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:59 UTC