How to debug a kernel with a lot kld's?

Alexander Leidinger Alexander at Leidinger.net
Tue Jun 7 10:30:37 GMT 2005


Hi,

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).

Bye,
Alexander.

-- 
http://www.Leidinger.net  Alexander @ Leidinger.net: PGP ID = B0063FE7
http://www.FreeBSD.org     netchild @ FreeBSD.org  : PGP ID = 72077137



More information about the freebsd-current mailing list