From owner-freebsd-questions Mon Mar 25 23: 1: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id 78E5937B41F for ; Mon, 25 Mar 2002 22:59:20 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 2B303BD23; Mon, 25 Mar 2002 22:59:20 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id WAA23277; Mon, 25 Mar 2002 22:59:19 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id g2Q6wB044797; Mon, 25 Mar 2002 22:58:11 -0800 (PST) (envelope-from swear@blarg.net) To: Scott Mitchell Cc: Mike Meyer , "Gary W. Swearingen" , Per olof Ljungmark , freebsd-questions@FreeBSD.ORG Subject: Re: Switching between kernels References: <200203241500.g2OF02U62813@dns2.s.bonet.se> <20020324163052.C281@fishballoon.dyndns.org> <20020324223626.G281@fishballoon.dyndns.org> <15518.28332.691125.587105@guru.mired.org> <20020325235153.A290@fishballoon.dyndns.org> From: swear@blarg.net (Gary W. Swearingen) Date: 25 Mar 2002 22:58:11 -0800 In-Reply-To: <20020325235153.A290@fishballoon.dyndns.org> Message-ID: <0vzo0vke7w.o0v@localhost.localdomain> Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Scott Mitchell writes: > Is it possible, without major heroics, to have separate module > installations for each kernel? The kernel Makefile has ${DESTDIR}/modules > as the install path, so I guess you could tweak DESTDIR or just rename > /modules after the first module set was installed. Then set the > module_path loader variable to make sure the right set was used at boot > time. /sys/compile/KERNCONF/Makefile already creates modules.old/ (which I always rename with kernel.old) but at boot you need to do "unload" to unload old (new) modules and then, I guess, set that module_path (?). Then after booting, or better (?), near start of /etc/rc, do something with kldconfig(8). I haven't had enough need for it to figure it out yet. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message