From: Christopher Curtis <ccurtis@ee.fit.edu>
To: axp-list@redhat.com
Subject: Re: Modules on the Alpha
Date: Fri, 12 Jun 1998 10:29:34 -0400 (EDT) [thread overview]
Message-ID: <Pine.GSO.3.96.980612102132.26700A-100000@yacht.ee.fit.edu> (raw)
In-Reply-To: <199806121418.KAA14858@adder.cs.Virginia.EDU>
On Fri, 12 Jun 1998, Greg Lindahl wrote:
> > > have no modules loaded. Too bad processor support isn't a module, I
> > > have to build separate kernels for PC164 and PC164LX (although perhaps
> >
> > Hmm, processor support can't be a module. Initialization is needed
> > too early, and something like a kernel side 'request_module("pyxis")'
> > requires a mounted root-filesystem and kerneld running.
>
> Even if it can't be a module, it would still be handy. Basically you
> would have to split out processor support and have it picked at
> run-time by a command-line argument to the kernel...
You're high. :)
This is quite impossible to do, except where CPUs are compatible, and only
then would you be able to dynamically load a subset of processor support.
Eg, you could have an "Alpha" family, which would have to be staticly
compiled, and "module" support for the 21164, etc. Handling loading would
be accomplished by the "least common denominator" of all compatible
processors. If you mean a single kernel that could load *all* supported
processors, that's quite impossible. An "if" is quite different whether
you're on an Alpha, SPARC, or x86 variant.
OTOH, You could, I suppose, have a "generic" Alpha kernel with processor
modules, and a "generic" x86 kernel, etc. But even then you'd have to use
a set of "generic" loader modules (IDE, SCSI, CDROM, etc) to even load the
processor optimized ones, which would then have to replace the modules
that are already active and running, else suffer unoptimized performance
for those modules.
> Under SunOS this was very handy; I could make one kernel and use it on
> a huge variety of machines. Most modern Unixes auto-detect the
> hardware type.
Sun made their own hardware, and I'm pretty sure SunOS would only run on
Sun hardware. Modern Unices can detect hardware type, but only because
they've been compiled for it. There is no way you can detect hardware and
do a conditional boot because the conditional itself varies by platform.
--
Christopher Curtis - http://www.ee.fit.edu/users/ccurtis
Florida Institute of Technology - System Administrator, Programmer
Melbourne, Florida USA - http://www.lp.org/
next prev parent reply other threads:[~1998-06-12 14:32 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-06-12 14:18 Modules on the Alpha Greg Lindahl
1998-06-12 6:19 ` Jay.Estabrook
1998-06-12 14:29 ` Christopher Curtis [this message]
1998-06-12 15:08 ` Alvin Starr
1998-06-12 15:23 ` Richard Henderson
-- strict thread matches above, loose matches on Subject: below --
1998-06-12 14:38 Greg Lindahl
1998-06-11 14:34 Greg Lindahl
[not found] <357F6DD1.DB201ACE@paralleldata.com>
1998-06-11 14:22 ` Brian E.W. Wood
1998-06-11 13:41 Greg Lindahl
1998-06-11 14:22 ` Brian E.W. Wood
1998-06-12 8:18 ` Quant-X Alpha Linux Support
1998-06-11 4:16 Brian E.W. Wood
1998-06-11 6:32 ` Richard Henderson
1998-06-11 7:02 ` Joakim Roubert
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox