[plug] RH6.2 Kernel problem
David Griffiths
griffith at environ.wa.gov.au
Tue Jun 6 12:01:16 WST 2000
>stephen humble wrote:
>> Anyone got any ideas or suggestions about this ?
>
>rm -f /lib/modules/2.2.14-5.0/*/*.o
>make modules_install
>depmod -a
>
>--
>Linux will not get in the door by simply mentioning it... it must win
>by proving itself superior. We have no marketing department, our sales
>department is an FTP server in North Carolina and our programming
>department spans seven continents. Am I getting through? -- Signal11
>(/.)
A handy thing to do here is - after doing your "make mrproper" and "make
xconfig"
edit the Makefile EXTRAVERSION line to include your own unique identifier.
eg change
EXTRAVERSION = -15
to
EXTRAVERSION = -15_SH1
where SH stands for Stephen Humble (or whatever).
When the make modules_install occurs it will then create it's own subdir in
/lib/modules/2.2.14-5.0_SH1 automatically, and the SH1 tag is compiled into the
kernel itself (shows with uname -r). Then you carry on as usual - (make dep
clean bzImage etc).
Don't forget to include the extra tag when copying bzImage to /boot (and in
lilo.conf too).
This should completely eliminate problems with different kernel
compilations and their modules
- I think I have 5 different kernels booting from my RH6.2 lilo config at
present (just messing
about).
cheers,
Dave
========================================================================
David Griffiths griffith at environ.wa.gov.au
Air Quality Management Branch
Department of Environmental Protection Phone: 61 8 9222 7151
Westralia Square Fax : 61 8 9321 5184
141 St Georges Tce
Perth 6000
Western Australia
========================================================================
More information about the plug
mailing list