Kernel Source Tree

October 10, 2005 at 08:52:08
Specs: Fedora Core 4, AMD Athlon XP 3000+ 512

I'm brand new to Linux. I installed Fedora
Core 4 on Friday. Since then I have been trying to install an NVIDIA driver for my graphics card. I have followed the read me on the NVIDIA web site.
I set the runlevel to 3 and learned how to run things from shell, but I've hit a stumbling block it seems. This is what it says when I try to install the driver:

"Unable to find the Kernel source tree for the currently running kernel. Please make sure that
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 '--kernel-source-path'
commandline option."

Here's the web site I got the driver from:

I understand how to add or remove applications through X but I don't know wether or not the kernel source is installed. If it is, I don't know where. If it isn't I don't know what exactly to install. Just a quick run down of my system:
AMD Athlon XP 3000+
Abit KV7 motherboard
120 gig hard drive
NVIDIA GeForce 6200 256MB AGP graphics card

I've been pulling my hair out. Any help would be greatly appreciated. Thanks in advance.

See More: Kernel Source Tree

Report •

October 10, 2005 at 14:25:58

Means you need to install the kernel source code package(s), or find out where it is on your system, if it is.

98% of the population is asleep. The other 2% are staring around in complete amazement, abject terror, or both.

Report •

October 12, 2005 at 04:25:06

You will probably find the kernel source and headers on one of your installation CDs. The files will be called something like kernel-source-2.6.11-i386-fc4.rpm and kernel-headers-2.6.blah-blah.rpm. Install them with:
# rpm -ivh /mnt/cdrom/path/to/kernel-*.rpm
Now try and reinstall your nvidia drivers.

The reason for all this is that when installing the nvidia driver it compiles a kernel module and it requires some of the files from your kernel source code in order to do this. The same goes for other things too, eg if you wanted to compile something for XMMS like a plugin then you will probably have to have the XMMS development package installed. To save yourself hassel in the future when trying to compile things, when you next install linux select to install all the development libraries etc too.

Report •

November 15, 2005 at 14:15:11

You need kernel souces unpacked and stored on /usr/src/linux

video rapezilla-master

Report •

Related Solutions

Ask Question