|03-04-03, 06:43 PM||#1|
Join Date: Mar 2003
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.
|03-06-03, 01:45 AM||#2|
Geforce 8800 GTS 512
Join Date: Nov 2002
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.
|03-06-03, 04:04 PM||#3|
Join Date: Mar 2003
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.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Random crashes, NVRM Xid messages||Iesos||NVIDIA Linux||90||10-04-12 04:27 AM|
|Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295])||gbailey||NVIDIA Linux||1||06-27-12 11:24 AM|
|UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console...||interzoneuk||NVIDIA Linux||0||06-26-12 05:51 AM|
|xorg locks-up with newest nvidia drivers w/ vdpau.||theroot||NVIDIA Linux||1||06-24-12 12:04 PM|
|Crash when logout from X||TGL||NVIDIA Linux||10||09-13-02 09:22 PM|