How to debug a kernel with a lot kld's?
Lukas Ertl
le at FreeBSD.org
Tue Jun 7 10:59:14 GMT 2005
On Tue, 7 Jun 2005, Alexander Leidinger wrote:
> I want to produce a backtrace of a kernel panic ("lockmgr: locking against
> myself" while accessing a msdosfs, very easy to reproduce for me: let
> rythmbox rescan the music collection (automatic operation at startup) which
> resides on a msdosfs). Unfortunately kgdb produces a lot of unresolved
> symbols since I load msdosfs as a module. The straigt forward way of
> debugging this is to build msdosfs into the kernel (or to use firewire when
> I'm back at my place), but I like to know if there's another way too
> (loading the modules into kgdb).
Does this help:
<http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug-kld.html>
cheers,
le
--
Lukas Ertl http://homepage.univie.ac.at/l.ertl/
le at FreeBSD.org http://people.freebsd.org/~le/
More information about the freebsd-current
mailing list