Where to find Kernel Headers
I'm having a great deal of difficulty getting my NVidia drivers updated ever since upgrading my Linux RH kernel to 2.4.18-24.7.
As suggested by the NVchooser I downloaded:
However when I try to compile the NVidia kernel module I get an error indicating that the NVdriver was compiled for a different kernel version.
/lib/modules/2.4.18-24.7.xsmp/kernel/drivers/video/NVdriver was compiled for kernel version 2.4.9 while this kernel is version 2.4.18-24.7.xsmp.
This makes sence since according to:
# rpm -qa | grep kernel
I've only got the headers for 2.4.9.
My Question is:
How and where to I get the kernel-headers for the kernel-smp-2.4.18-24.7.x. I've downloaded kernel-2.4.18-24.7.x.src.rpm and performed a rpm --rebuild on it and it doesn't provide me with the headers. The only RPMs that it provides are:
I'm fresh out of ideas. I wish I'd never "Upgraded my kernel!"
Any help would be very gratefully appreciated.
Assuming you are booting into RH 2.4.18-XX.XX kernel. You can get the kernel source from the Redhat site. OR you can use the RH udate utility to update the kernel AND download the source files at the same time. I notice that you are running RH7.3.! Are you booting into that kernel when you try to compile the Nvidia Drivers??
As shown from you list, you need to download the 'kernel-source-2.4.18-24.7.x.i386.rpm' file. And install that before you compile the Nvidia drivers.
Thanks for the reply;
I've been able to figure it out. Once I installed the kernel-source rpm, and POINTED the /usr/src/linux symlink to /usr/src/linux-2.4.18 directory everything worked like a charm.
Now I'm back up and running with my new kernel. Not the effortless upgrade I had anticipated.
|All times are GMT -5. The time now is 12:08 PM.|
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.