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

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-24-13, 03:58 PM   #1
devnull
On Deer Patrol
 
Join Date: Jan 2003
Location: 3rd rock from the sun
Posts: 41
Default Getting the error about the kernel source tree.

Hi guys, I'm trying to install the newest drivers for my GT440 graphics card. I got as far as accepting the EULA, after which it gives me this error:

Quote:
ERROR: Unable to find the kernel source tree for the currently running kernel. Please make sure you have installed the kernel source files for your kernel and that they are properly configured; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM installed. If you know the correct kernel source files are installed, you may specify the kernel source path with the '--kernel-source-path' command line option.
After a bit of Googling, I found this thread that basically told me it means you need the kernel sources for your distribution. Following the instructions, I searched for "kernel" in the install/remove software widget, but it revealed nothing. There's nothing about kernel sources in there. So now at this point, installing video drivers has become much like a guessing game for me. Are there any links that would help me determine the proper files it needs? (I can do the legwork myself, it's just finding exactly what kernel sources I need.) I am running Mandriva 2010.1 x64.

UPDATE: I believe I found the kernel sources it needs using uname -r (it says I'm using 2.6.33.7-desktop-2mnb if I'm understanding this correctly.) So I have downloaded the sources for this kernel. Is there anything extra I need to do? Like put in a path somewhere, or anything of that sort?

UPDATE2: Okay, I believe I've come as far as I can on this. I tried installing the NVidia drivers again, and got the same error. All I can do at this point is await your suggestions. Thank you in advance.
devnull is offline   Reply With Quote
Old 02-24-13, 11:27 PM   #2
devnull
On Deer Patrol
 
Join Date: Jan 2003
Location: 3rd rock from the sun
Posts: 41
Default Re: Getting the error about the kernel source tree.

I'm getting it, slowly but surely.

I got the kernel headers installed, now I'm getting a new error:;;;;;

Quote:
Neither the '/lib/modules/2.6.33.7-desktop-2mnb/build/include/linux/version.h' nor the '/lib/modules/2.6.33.7-desktop-2mnb/build/include/generated/uapi/linux/version.h' kernel header file exists. The most likely reason for this is that the kernel source files in '/lib/modules/2.6.33.7-desktop-2mnb/build' have not been configured.
What do they mean by "configuring kernel source files?"
devnull is offline   Reply With Quote
Old 02-25-13, 01:40 PM   #3
devnull
On Deer Patrol
 
Join Date: Jan 2003
Location: 3rd rock from the sun
Posts: 41
Default Re: Getting the error about the kernel source tree.

Okay, I'm compiling the kernel headers now (using instructions from here. I'm crossing my fingers that this will work now. I'll post back and let you know.
devnull is offline   Reply With Quote
Old 02-26-13, 05:44 PM   #4
devnull
On Deer Patrol
 
Join Date: Jan 2003
Location: 3rd rock from the sun
Posts: 41
Default Re: Getting the error about the kernel source tree.

Success! After physically installing the kernel per those instructions, the installation went off without a hitch.
devnull 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
[BUG] nvidia crashes kernel with 'Xid 13' and attempted to yield the CPU while atomic rockob NVIDIA Linux 36 09-26-12 07:48 AM
upgrade to xorg server 1.13 damaged Geforce 7300 GT KDE NVIDIA Linux 2 09-07-12 08:04 AM
Fatal upgrade: from bad (8800 GTS) to worse 9GTX 560 Ti) ssnyder NVIDIA Linux 1 07-01-12 08:14 PM
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

All times are GMT -5. The time now is 07:20 AM.


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