Skip site navigation (1)Skip section navigation (2)
Date:      25 Mar 2002 22:58:11 -0800
From:      swear@blarg.net (Gary W. Swearingen)
To:        Scott Mitchell <scott.mitchell@mail.com>
Cc:        Mike Meyer <mwm-dated-1017447981.e0f1b4@mired.org>, "Gary W. Swearingen" <swear@blarg.net>, Per olof Ljungmark <peo@intersonic.se>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Switching between kernels
Message-ID:  <0vzo0vke7w.o0v@localhost.localdomain>
In-Reply-To: <20020325235153.A290@fishballoon.dyndns.org>
References:  <200203241500.g2OF02U62813@dns2.s.bonet.se> <20020324163052.C281@fishballoon.dyndns.org> <sxadsx61vq.dsx@localhost.localdomain> <20020324223626.G281@fishballoon.dyndns.org> <15518.28332.691125.587105@guru.mired.org> <20020325235153.A290@fishballoon.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Scott Mitchell <scott.mitchell@mail.com> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0vzo0vke7w.o0v>