LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 06-12-2004, 02:48 PM   #1
so noob
LQ Newbie
 
Registered: May 2004
Posts: 18

Rep: Reputation: 0
rpms source directory-needed for nvidia installer


Hi there,

Whilst installing the nvidia gfx drivers for mandrake 10, the installer tells me that it needs to compile the kernal. I have a command line to use on the installer that tells it where the source files for the kernal is (and i presume presently beng used by the system?). I am still learning and do not know where to find the kernal is to pass onto the installer program.

Thanks for your help
Graham
 
Old 06-12-2004, 04:10 PM   #2
jdruin
Member
 
Registered: Jul 2003
Location: Louisville aka Derby City
Distribution: WinXP SP2 and SP3, W2K Server, Ubuntu
Posts: 313

Rep: Reputation: 30
I am not sure, but I think the kernel is called "linuz". The "locate" command can be used to find files as well as the "find" command. I am more familiar with "find" and the way to use it if you have no idea where a file is:

find / -name name_of_file

Sorry I cant be of more help. Maybe an expert will answer better.
 
Old 06-12-2004, 04:30 PM   #3
mhl
Member
 
Registered: Aug 2003
Location: Scottish exile in England
Distribution: Mepis, Ubuntu, Mint, virtual Mandriva
Posts: 91

Rep: Reputation: 15
If you have the kernel-source files installed (note that the default MDK 10 installation does NOT include kernel-source - you have to select it) then the nvidia drivers should install OK with simply

sh NVIDIA-Linux-x86-1.0-5336-pkg1.run

Check if you have the kernel-source installed with

rpm -q kernel-source

and also that the source files are the same version as the kernel itself. I had a problem recently trying to install the nvidia drivers ... then I discovered that I had kernel 2.6.3-4mdk but kernel-source 2.6.3-13mdk.
 
Old 06-13-2004, 05:31 AM   #4
so noob
LQ Newbie
 
Registered: May 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks to both of you for getting back to me.


Quote:
Originally posted by mhl
If you have the kernel-source files installed (note that the default MDK 10 installation does NOT include kernel-source - you have to select it) then the nvidia drivers should install OK with simply

sh NVIDIA-Linux-x86-1.0-5336-pkg1.run

Check if you have the kernel-source installed with

rpm -q kernel-source

and also that the source files are the same version as the kernel itself. I had a problem recently trying to install the nvidia drivers ... then I discovered that I had kernel 2.6.3-4mdk but kernel-source 2.6.3-13mdk.

Ok, I do not have the kernal source file installed, so what is the next step? Do I install the kernal source rpm through the software installer?

Whilst i am asking, I have downloaded the nforce drivers for my MB as mandrake 10 offical wont recgonise my network or sound driver on my Nforce2 abit board. I went to rmp managment and added the path where these rpms are, but dont know if that is right to get them to work.

Im learning though!

Cheers
Graham
 
Old 06-13-2004, 06:21 AM   #5
otish1000c
Member
 
Registered: May 2004
Location: Pennsylvania, USA
Distribution: dual boot.... Mandrake 10.0OE/10.xcooker
Posts: 611

Rep: Reputation: 30
to answer your kernel question, yes, use the software installer to install the sources. just type kernel in the search box, then choose the source that matches your kernel. if you're not sure of your kernel version number, type the following in terminal as root.......... uname -a

once you have the kernel sources installed, then proceed with your nvidia drivers installation. note, you must be completely out of the X environment for the drivers to install. if you need help with driver installation, check out This Thread & look for my post with the instructions on how to do so.

otis
 
  


Reply



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
NVIDIA driver install problem."kernel source "needed ztdep Linux - Hardware 4 07-21-2005 01:50 AM
RPMs needed for RHEL ES 3.0 Laserjock Linux - Enterprise 1 05-27-2005 02:30 AM
nvidia installer fails to create nvidia module rooman Linux - Software 3 10-04-2004 03:39 AM
where is linux source build directory/kernel source tree? webazoid Linux - Software 2 07-01-2004 08:37 PM
Newbie rpms koko!! help needed teona Linux - Software 7 10-12-2003 12:09 PM

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

All times are GMT -5. The time now is 09:49 PM.

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