Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-04-03, 05:43 PM   #1
CAMMS
Registered User
 
Join Date: Mar 2003
Posts: 2
Question Where to find Kernel Headers

Hello

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:
NVIDIA_GLX-1.0-2960.i386.rpm
NVIDIA_kernel-1.0-2960.src.rpm

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
kernel-smp-2.4.18-24.7.x
kernel-2.4.2-2
kernel-headers-2.4.9-34

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:

kernel-2.4.18-24.7.x.i386.rpm
kernel-BOOT-2.4.18-24.7.x.i386.rpm
kernel-doc-2.4.18-24.7.x.i386.rpm
kernel-source-2.4.18-24.7.x.i386.rpm

I'm fresh out of ideas. I wish I'd never "Upgraded my kernel!"

Any help would be very gratefully appreciated.

Thanks

Christophe
CAMMS is offline   Reply With Quote
Old 03-06-03, 12:45 AM   #2
Wolfman [TWP]
Geforce 8800 GTS 512
 
Join Date: Nov 2002
Location: Australia
Posts: 396
Default

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.
Wolfman [TWP] is offline   Reply With Quote
Old 03-06-03, 03:04 PM   #3
CAMMS
Registered User
 
Join Date: Mar 2003
Posts: 2
Default

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.

Cheers
CAMMS is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Random crashes, NVRM Xid messages Iesos NVIDIA Linux 90 10-04-12 03:27 AM
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Crash when logout from X TGL NVIDIA Linux 10 09-13-02 08:22 PM

All times are GMT -5. The time now is 10:52 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.