Hi,
I installed RH5.2. It comes with a kernel 2.0.36-0.7. Modules are installed
in a directory called 2.0.36-0.7
Since then I have regularly rebuilt the kernel. But everytime I do this it
gets a version number of 2.0.36. The -0.7 suffix is gone. Also re-making and
re-installing the modules will place them in a directory 2.0.36 (I'm unsure
about the full path) and overwrites any previous versions of those modules.
I really would like to have different kernels (for testing or with specific
configurations) and keep the modules separated. Is there a mechanism in
Linux that allows be to include a "build"-version? E.g. what I would like is
this:
1. Original RedHat distributed kernel v2.0.36-0.7 with modules in dir
2.0.36-0.7
2. Completely monolithic kernel v2.0.36-1 with no modules
3. Modular kernel v2.0.36-2 with modules in dir 2.0.36-2
4. Modular kernel v2.0.36-3 with pcmcia-support; modules in dir 2.0.36-3
Suppose a new pcmcia driver (experimental) is released. Then I would want to
add:
5. Kernel v2.0.36-4 with experimental pcmcia-support; modules in dir
2.0.36-4
Then from LILO I could select the kernel of my choice and the kernel would
only use the modules that were compiled for it. AFAIK this cannot be done.
I've found a file called version.c (or was it version.h? I don't recall) but
changing that won't work when I switch to a 2.2.x kernel.
Comments please?
--
Maurice Hendrix
snailmail: Fuji Photo Film BV Standard disclaimers apply
Dept. P1LPI
attn. M. Hendrix
PO Box 90156
5000 LJ Tilburg
phone: +31 13-579 1370 or fax: +31 13-579 1385
- Still 21 months to go until the next millenium...