Computing.Net > Forums > Linux > Kernel Source Tree

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Kernel Source Tree

Reply to Message Icon

Name: Holy Shell
Date: October 10, 2005 at 08:52:08 Pacific
OS: Fedora Core 4
CPU/Ram: AMD Athlon XP 3000+ 512
Comment:

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:
http://www.nvidia.com/object/linux_display_ia32_1.0-7664.html

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
DVD-R
NVIDIA GeForce 6200 256MB AGP graphics card

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



Sponsored Link
Ads by Google

Response Number 1
Name: Zenith
Date: October 10, 2005 at 14:25:58 Pacific
Reply:

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

http://kernel.org/

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


0

Response Number 2
Name: 3Dave
Date: October 12, 2005 at 04:25:06 Pacific
Reply:

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.


0

Response Number 3
Name: zilla
Date: November 15, 2005 at 14:15:11 Pacific
Reply:

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

video rapezilla-master


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: Kernel Source Tree

kernel source installation www.computing.net/answers/linux/kernel-source-installation/10721.html

how to install kernel source in RH8 www.computing.net/answers/linux/how-to-install-kernel-source-in-rh8/24161.html

kernel-source of linux-2.4.18-bf2.4 www.computing.net/answers/linux/kernelsource-of-linux2418bf24/13916.html