From owner-freebsd-current@FreeBSD.ORG Mon Nov 17 12:51:11 2003 Return-Path: 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 6FBA416A4CE for ; Mon, 17 Nov 2003 12:51:11 -0800 (PST) Received: from tensor.xs4all.nl (tensor.xs4all.nl [194.109.160.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id D13BA43F85 for ; Mon, 17 Nov 2003 12:51:09 -0800 (PST) (envelope-from dimitry@andric.com) Received: from kilgore.dim (kilgore.dim [192.168.0.3]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by tensor.xs4all.nl (Postfix) with ESMTP id 5A84B22827; Mon, 17 Nov 2003 21:51:07 +0100 (CET) Date: Mon, 17 Nov 2003 21:50:52 +0100 From: Dimitry Andric X-Mailer: The Bat! (v2.01.26) Business X-Priority: 3 (Normal) Message-ID: <17748113363.20031117215052@andric.com> To: Doug White In-Reply-To: <20031117094635.O21453@carver.gumbysoft.com> References: <20031116071046.HNIV1420.out003.verizon.net@outgoing.verizon.net> <20031117094635.O21453@carver.gumbysoft.com> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="----------EF128D525DF21C" cc: vze2ztys@verizon.net cc: current@freebsd.org Subject: Re: kldload(2) and debug kernels X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Mon, 17 Nov 2003 20:51:11 -0000 ------------EF128D525DF21C Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On 2003-11-17 at 18:47:28 Doug White wrote: > If you give a specific path to a module then it will load that module. No. It will not load arbitrary files, but _only_ files that end in ".ko". I've encountered this before, and therefore I always simply follow a make installkernel.debug by a script like: #!/bin/sh kernpath=/boot/kernel for i in ${kernpath}/*.debug; do mv $i `echo $i | sed s/\.debug$//`; done rm -fv ${kernpath}/linker.hints kldxref -v ${kernpath} This is simply because I almost never keep a copy of /usr/obj after installing, and it can be handy to debug later. I assume that all debugging info is simply ignore by the boot and kernel module loaders, but it can later be used by kgdb. ------------EF128D525DF21C Content-Type: application/pgp-signature -----BEGIN PGP MESSAGE----- Version: GnuPG v1.2.3 (MingW32) iD8DBQE/uTSssF6jCi4glqMRAlBlAJ0VW1fv2w2so4YDEgX7ysUEn8kKiACdEP54 uI4OoBN4JIXtGFxuDBiolMM= =0ORC -----END PGP MESSAGE----- ------------EF128D525DF21C--