From owner-freebsd-current@FreeBSD.ORG Tue Jun 7 10:59:14 2005 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5319516A41C for ; Tue, 7 Jun 2005 10:59:14 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from imap1u.univie.ac.at (imap1.unet.univie.ac.at [131.130.1.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id C696C43D49 for ; Tue, 7 Jun 2005 10:59:13 +0000 (GMT) (envelope-from le@FreeBSD.org) Received: from pcle2.cc.univie.ac.at (pcle2.cc.univie.ac.at [131.130.2.177]) by imap1u.univie.ac.at (8.12.10/8.12.10) with ESMTP id j57AwOBX006770 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 7 Jun 2005 12:58:25 +0200 (CEST) Date: Tue, 7 Jun 2005 12:58:24 +0200 (CEST) From: Lukas Ertl To: Alexander Leidinger In-Reply-To: <20050607123024.b18hfrd5ww0088ok@netchild.homeip.net> Message-ID: <20050607125810.W37703@pcle2.cc.univie.ac.at> References: <20050607123024.b18hfrd5ww0088ok@netchild.homeip.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-DCC-ZID-Univie-Metrics: mx8 4248; Body=2 Fuz1=2 Fuz2=2 Cc: current@FreeBSD.org Subject: Re: How to debug a kernel with a lot kld's? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jun 2005 10:59:14 -0000 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: cheers, le -- Lukas Ertl http://homepage.univie.ac.at/l.ertl/ le@FreeBSD.org http://people.freebsd.org/~le/