Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
04-20-2004, 04:31 PM
|
#1
|
Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168
Rep:
|
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
|
|
|
04-20-2004, 09:20 PM
|
#2
|
Member
Registered: Jul 2003
Location: KS, USA
Distribution: Mandrake 9.1
Posts: 51
Rep:
|
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.
|
|
|
04-21-2004, 09:27 AM
|
#3
|
Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168
Original Poster
Rep:
|
How do I know if the headers are installed or not. Where are they located?
Thanks for the help
Later
|
|
|
04-21-2004, 02:22 PM
|
#4
|
Senior Member
Registered: Nov 2001
Location: Toledo, Ohio - USA
Distribution: Mageia 1
Posts: 1,079
Rep:
|
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.
|
|
|
04-21-2004, 02:36 PM
|
#5
|
Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168
Original Poster
Rep:
|
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
|
|
|
04-21-2004, 02:40 PM
|
#6
|
Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168
Original Poster
Rep:
|
as a side note.....
Is there anyway to update your video drivers,sound drivers etc through urpmi??
Just curious.
Later
|
|
|
04-22-2004, 03:37 PM
|
#7
|
LQ Newbie
Registered: Dec 2003
Posts: 3
Rep:
|
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.
|
|
|
04-23-2004, 09:35 AM
|
#8
|
Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Red Hat, openBSD,Mandrake,freeBSD,SunOS
Posts: 168
Original Poster
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:32 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|