nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   "Unable to find kernel source tree" (http://www.nvnews.net/vbulletin/showthread.php?t=37293)

ntc 09-22-04 10:29 PM

"Unable to find kernel source tree"
3 Attachment(s)
I'm a complete Linux newbie, running Mandrake 10.0 Comunity. I tried to run the driver's installer and got:


-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
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; on Red Hat Linux systems, for example, be sure you have the
'kernel-source' rpm installed. If you know the correct kernel source
files are installed, you may specify the kernel source path with the
'--kernel-source-path' commandline option.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
What should I do?

whig 09-23-04 03:11 AM

Re: "Unable to find kernel source tree"
You should 1) install kernel source (which matches your running kernel for your Linux distribution) 2) close X, run the nvidia driver installer, and if successful 3) make modifications to your configuration as per nvidia readme 4) try it: startx

bms20 09-23-04 05:31 AM

Re: "Unable to find kernel source tree"
As it says, you need to install the kernel source.

Select (from memory) System->Configuration->Packaging->"Install Software" from the kde menu; enter the root password, when prompted. Type kernel into the search box - one of the items will be "Kernel Source". Select that package, and install it. Then try the NVidia installer again.

Basically, the NVidia module comes shipped as a pre-complied binary program (the X11 driver), which depends on a kernel-specific interface. The kernel-specific interface is compiled for your machine and kernel installation. So my RedHat box has a different compiled interface than your mandrake 10 box. In order to compile this interface, the kernel specification is required - this is provided by the kernel source package.

Good luck.

andux 09-24-05 01:21 AM

"Unable to find kernel source tree" again...
hey guys, i need help.
im gettin the exact same message as ntc when i try to install the nvidia drivers...
im running on ubuntu and am relatively new to this stuff.
i installed the following package,

name: linux-source-2.6.10
description: Linux kernel source for version 2.6.10 with Ubuntu patches

thinkin that would solve the problem, but it didnt...
i am lost...

netllama 09-24-05 02:20 PM

Re: "Unable to find kernel source tree"
Please generate and post a bug report.


arokh 09-24-05 08:18 PM

Re: "Unable to find kernel source tree"
This is described in the README guys! Also, do a forum search and you'll find 9999 people with the same "problem".

All times are GMT -5. The time now is 01:44 PM.

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