1. In this particular codition, don't go for linux-2.6.9.tar.gz. As it may contain different version than 2.6.9-42.
Quote:
As for the second problem I was not able to find kernel-2.6.9-42.ELsmp rpm, but kernel-2.6.9-42.EL is already installed on the server.
|
Check whether it was Complied kernel rpm or Source kernel rpm.
# rpm -qa | grep kernel
# rpm -ql kernel-2.6.9-42.EL | more ( If this is displaying /lib/modules & /boot directories , then it is complied rpm, not the source one )
# rpm -ql kernel-2.6.9-42.EL.src | more ( If this is showing files in /usr/src/redhat, then it is a source rpm)
2.Have you gone through this steps, mentioned in README ?
<---------------------Start-------------------------->
Red Hat installation:
If the /usr/src/linux-<kernel-version> directory
does not exist, install the kernel source code per
Red Hat instructions. Once installed, follow the
commands listed below to configure the kernel source
to match the running kernel.
# cd /usr/src/linux-<kernel_version>
# make mrproper
# make -e KERNELRELEASE=`uname -r` oldconfig
# make -e KERNELRELEASE=`uname -r` dep
<---------------------End-------------------------->
3.
Quote:
One more thing is that the version.h is being searched in /lib/modules/$(shell uname -r)/build/include/linux/version.h.
|
Not much sure, but it should not search /lib/modules/, it should search /usr/src/redhat/ directory for the version.h.
Get back to us if still facing problems.