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

From: Lukas Ertl <le_at_FreeBSD.org>
Date: Tue, 7 Jun 2005 12:58:24 +0200 (CEST)
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/
Received on Tue Jun 07 2005 - 08:59:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:36 UTC