From owner-freebsd-questions Tue Mar 26 14:50:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com [62.253.162.45]) by hub.freebsd.org (Postfix) with ESMTP id 70E6A37B404 for ; Tue, 26 Mar 2002 14:50:32 -0800 (PST) Received: from lungfish.ntlworld.com ([80.4.0.215]) by mta05-svc.ntlworld.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020326225030.NIHT7206.mta05-svc.ntlworld.com@lungfish.ntlworld.com>; Tue, 26 Mar 2002 22:50:30 +0000 Received: from tuatara.goatsucker.org (tuatara.goatsucker.org [192.168.1.6]) by lungfish.ntlworld.com (8.11.6/8.11.3) with ESMTP id g2QMoTj15514; Tue, 26 Mar 2002 22:50:30 GMT (envelope-from scott@tuatara.goatsucker.org) Received: (from scott@localhost) by tuatara.goatsucker.org (8.11.6/8.11.6) id g2QMoTx03850; Tue, 26 Mar 2002 22:50:29 GMT (envelope-from scott) Date: Tue, 26 Mar 2002 22:50:29 +0000 From: Scott Mitchell To: "Gary W. Swearingen" Cc: Mike Meyer , Per olof Ljungmark , freebsd-questions@FreeBSD.ORG Subject: Re: Switching between kernels Message-ID: <20020326225029.B304@fishballoon.dyndns.org> 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> <0vzo0vke7w.o0v@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <0vzo0vke7w.o0v@localhost.localdomain>; from swear@blarg.net on Mon, Mar 25, 2002 at 10:58:11PM -0800 X-Operating-System: FreeBSD 4.5-STABLE i386 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 On Mon, Mar 25, 2002 at 10:58:11PM -0800, Gary W. Swearingen wrote: > 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.) I imagine you could do something clever with loader config files as well, to have it all happen even earlier in the boot process. Like you though, I haven't had any need to mess with this yet :-) Scott -- =========================================================================== Scott Mitchell | PGP Key ID | "Eagles may soar, but weasels Cambridge, England | 0x54B171B9 | don't get sucked into jet engines" scott.mitchell@mail.com | 0xAA775B8B | -- Anon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message