Help building a new kernel...

Richard R Malloy rrmalloy at mediaone.net
Fri Oct 8 09:48:21 EDT 1999


Jerry Feldman {75562} wrote:

> Christoph wrote:
> >
> > I'm trying to build a new kernel for my system and not having much luck.
> >
> > System: Intel DK440LX MB with single PII 266 (kernel I'm building includes SMP)
> >     OS: RedHat 6.0
> >
> > I don't understand a few key points and can't seem to find adequate
> > documentation.  Here are my questions...
> >
> >         1) How do I build a kernel with a new version identifier, such that
> >            when it is working, uname -r will report the new version?
> >            And more importantly, it'll find it's modules in
> >            /lib/modules/[new-version]
> >

   In the top level Makefile there are:

VERSION = 2
PATCHLEVEL = 2
SUBLEVEL = 12
EXTRAVERSION =

   What I've done in the past for my dual processor, is to build with EXTRAVERSION
set to nsmp or smp. Depending
on my mood. This will create a directory in the /lib/modules containing the
EXTRAVERSION text. I believe that
uname -r will also respond properly.  This way you should be able to make multiple
kernels with the same source
tree differing only in configuration. Remember to change your EXTRAVERSION.



-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list