Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2002 23:51:53 +0000
From:      Scott Mitchell <scott.mitchell@mail.com>
To:        Mike Meyer <mwm-dated-1017447981.e0f1b4@mired.org>
Cc:        "Gary W. Swearingen" <swear@blarg.net>, Per olof Ljungmark <peo@intersonic.se>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Switching between kernels
Message-ID:  <20020325235153.A290@fishballoon.dyndns.org>
In-Reply-To: <15518.28332.691125.587105@guru.mired.org>; from mwm-dated-1017447981.e0f1b4@mired.org on Sun, Mar 24, 2002 at 06:26:20PM -0600
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Mar 24, 2002 at 06:26:20PM -0600, Mike Meyer wrote:
> In <20020324223626.G281@fishballoon.dyndns.org>, Scott Mitchell <scott.mitchell@mail.com> typed:
> > On Sun, Mar 24, 2002 at 02:23:53PM -0800, Gary W. Swearingen wrote:
> > > Scott Mitchell <scott.mitchell@mail.com> writes:
> > > > Just hit a key to break out of the autoboot countdown, then:
> > > > 	boot kernel.PCM
> > > > or whatever you called the alternative kernel.
> > > Might he need to do something with modules.PCM?
> > > (The Handbook and loader(8) manual are too sketchy.))
> 
> That's because the truth is variable. Most modules don't care about
> most compile-time options. A few do care about some.
> 
> > Since both of Per's kernels are built from the same sources and identical
> > except for the SMP/PCM options, either should work with the same set of
> > modules.
> 
> You're probably right. On the other hand, it wouldn't surprise me if
> some modules changed because of SMP. PCM is available as a module
> itself, so that shouldn't change anything.

True... I hadn't thought of that.

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.

Although if you're going to that much trouble it might be easier to just
statically link everything.

	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




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