LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-20-2004, 04:31 PM   #1
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Rep: Reputation: 30
Kernel Headers for 2.6


Hello,

I am trying to run the NVIDIA Accelerated Linux Driver for my geForce video card. The installer keeps failing because (I think) it can't find the kernel headers. Here is a quote from the README

Quote:
If no matching precompiled kernel interface is found, then the installer
will compile the kernel interface for you. However, first it will
check that you have the correct kernel headers intalled on your system.
If the installer must compile the kernel interface, then you must install
the kernel-sources package for your kernel.
Now the question is, how do I install the kernel headers? Can I use urpmi?

I am using Mandrake 10 BTW.

Thanks.


Later
 
Old 04-20-2004, 09:20 PM   #2
Coolrunr
Member
 
Registered: Jul 2003
Location: KS, USA
Distribution: Mandrake 9.1
Posts: 51

Rep: Reputation: 15
You need install the headers for the kernel you are using. You can do this using urmpi (not sure the package name) or using madrake's package manager to install the kernel sources.
 
Old 04-21-2004, 09:27 AM   #3
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Original Poster
Rep: Reputation: 30
How do I know if the headers are installed or not. Where are they located?

Thanks for the help

Later
 
Old 04-21-2004, 02:22 PM   #4
ernie
Senior Member
 
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Blog Entries: 4

Rep: Reputation: 70
If you try to install the kernel-sources package with urpmi, and the package is already installed, urpmi will tell you so. The kernel headers are incorporated into the source package, and are not in specific directories. Best suggestion is install kernel sources with urpmi or the GUI Install Software program.
 
Old 04-21-2004, 02:36 PM   #5
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Original Poster
Rep: Reputation: 30
I thought I installed them but when I ran the nVidia install drivers it says that I don't have the sources installed...so I guess I should talk to them.

I know that urpmi will tell you if something is installed or not but I was running:
Code:
[root@192:/home/devin]$urpmi kernel-sources
no package named kernel-sources
When I should have been running:
Code:
[root@192:/home/devin]$urpmi kernel-source
Everything already installed
So they are installed. The installer just can't seem to find them .

Thanks for the help.

Later
 
Old 04-21-2004, 02:40 PM   #6
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Original Poster
Rep: Reputation: 30
as a side note.....

Is there anyway to update your video drivers,sound drivers etc through urpmi??

Just curious.

Later
 
Old 04-22-2004, 03:37 PM   #7
root_access
LQ Newbie
 
Registered: Dec 2003
Posts: 3

Rep: Reputation: 0
about nvidia drivers

U can not install the drivers via urpmi from the free sources, because the drivers are licence based from Nvidia.

If u own a Commercial Mandrake (or other distro) theese drivers usually come with the installation CD's, but not for the download editions.

Installing the drivers is not that hard.

Just make sure that the installed kernel matches the kernel sources u install via URPMI.

ex:

1. download kernel-source package via URPMI
2. do a uname -r to see the current installed kernel revision.
3. check that the file /usr/src/linux is a symbolic link to the same kernel that uname -r returns.
if so, u can follow the procedures in the NVIDIA readme file, and compile the kernel module.

NB! a kernel 2.6.3-4mdk is installed with some Community editions of MDK 10, while the kernel-source from the ftp mirrors installs 2.6.3-8mdk.

This will not work!

Update to 2.6.3-8 kernel first with URPMI kernel, and choose linux 2.6.3-8 kernel.
reboot, and install the NVIDIA driver.

Remember to use same as installed. if u use enterprise, use enterprise in these advices.

ALLWAYS BACK UP BEFORE INSTALLING A NEW KERNEL.
 
Old 04-23-2004, 09:35 AM   #8
devinWhalen
Member
 
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168

Original Poster
Rep: Reputation: 30
Hey,

Thank you sooo much for your help. I don't know where I would be without Linux Questions!! (probably still using windows )

I upgraded my kernel and the kernel souce and everything is great! With my matching kernel and kernel source I was able to install the geForce drivers and now I can finally play video games!! Plus I learned a lot about the kernel

Thanks again.

Later
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
looking for kernel headers 2.6.12 zuessh Debian 6 09-14-2005 03:43 PM
Difference between kernel-headers kernel-source twinkers Debian 2 06-18-2005 11:20 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM
kernel-headers warmongr Red Hat 6 03-19-2004 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 01:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration