According to Jeremy Wiebe: While burning my CPU.
>
> I had this same problem with my system when I compiled a new kernel. The
> fix consists of:
> a) Booting the new kernel
> b) cat /proc/version > /lib/modules/2.2.x/.rhkmvtag {2.2.x is the NEW
> kernel version}
> c) making a modification to rc.sysinit as shown in the file snippit
> below
> d) reboot your machine
>
> You may also need to edit the rc.sysinit file to look in 2.2.x module
> directories as well as 2.0.x. I believe on a 5.2 system the script is setup
> to only look in 2.0.x directories.
No thats not nessacary, it does not matter what the version number is, you
can see the effects of any script by making your own small script like the
one that follows, you can then see what they do.
#!/bin/sh
ktag="`cat /proc/version`"
grep -l "$ktag" /lib/modules/*
You will see that it will return "all" the subdirs from /lib/modules so your
theory about 2.0 or 2.2 is unfounded.
The magic is done by the ".rhkmvtag" script and possably another one, the
one i mentioned in my last mail.
>
> --------excerpt from rc.sysinit------------------
>
> # Set up kernel version-dependent symlinks.
> rm -f /lib/modules/preferred
> if [ -n $USEMODULES ]; then
> ktag="`cat /proc/version`"
> mtag=`grep -l "$ktag" /lib/modules/2.*/.rhkmvtag`
> ^^^^^
> If I remember correctly, on a 5.2 system the above line is:
> mtag=`grep -l "$ktag" /lib/modules/2.0.*/.rhkmvtag`
Not according to a copy i have..
mtag=`grep -l "$ktag" /lib/modules/*/.rhkmvtag` 2> /dev/null
There is no need to have /2.0 as the asterisk (*) is a wildcard and will
show ALL dirs.
I shall be reinstalling the most popular distro's again soon, so i will then
be able to check what i say before sending mail, at the moment i only have a
working Slackware here, so once again we will have to wait untill a more
experianced Redhat users comments about this.
>
> Hope that helps.
>
> ------------------------------------------------------
> Another message from Jer Wiebe
>
> Find me at...
> email: [EMAIL PROTECTED]
> ICQ: 4945359
>
> >
> > Redhat removes the symbolic link in /boot called preferred at boottime,
> take
> > a look at /etc/rc.d/rc.sysinit.
> > As far as i can tell the next few lines looks for the kernel version
> number
> > with 'cat /proc/version' the next part is magic, i rather think it looks
> for
> > an extention like 2.2.7-1 it uses a script called "rhkmvtag"
> > RedHatKernelMakeVersionTag so i think maybe the thing to do is rename the
> > image in /boot as follows.
> >
>
> P.S. My experience was that you don't need an extension on the kernel
> version. But I download kernels from ftp.kernel.org and don't bother with
> the rpm'ed kernels.
>
--
Regards Richard.
[EMAIL PROTECTED]