LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-19-2004, 08:19 AM   #1
bootsy
LQ Newbie
 
Registered: Jan 2004
Location: Sydney, Aust
Distribution: Suse 9.1
Posts: 27

Rep: Reputation: 15
Nvidia driver install on mandrake 10


I have gone through the suggested steps on a couple of other threads about installing nvidia drivers, i.e.
1. Installed correct kernel source (2.6.3-4mdk)
2. Downloaded the most recent driver
3. gone to shell
4. init 3
5. sh NVIDIA/....pkg1.run
6. Accepted the licence agreement etc

and then get the following error which I have dumped from /var/log/nvidia-installer.log:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Sep 19 23:09:12 2004

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel source path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /root/tmp
ftp site : ftp://download.nvidia.com

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.3-4mdk/build'
-> Performing cc_version_check with CC="cc".
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the appropriate nvidia-installer command line option.
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.

_____________
The output of rpm -qa | grep kernel is

kernel-source-2.6.3-4mdk
kernel-smp-2.6.3.4mdk-1-1mdk
kernel-enterprise-2.6.3.4mdk-1-1mdk
kernel-2.6.3.4mdk-1-1mdk
___________
If anyone can help point out where I am going wrong or what I can do next it'd be really appreciated.
 
Old 09-19-2004, 10:54 AM   #2
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Re: Nvidia driver install on mandrake 10

Quote:
Originally posted by bootsy


Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
ke the installer to attempt to download a kernel interface for your kernel f
rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
I usually answer "No" to this, as the installer will build its own interface...............



Quote:
-> Performing cc_version_check with CC="cc".
make sure your kernel has been compiled against your current version of Gcc.............
 
Old 09-19-2004, 05:49 PM   #3
bootsy
LQ Newbie
 
Registered: Jan 2004
Location: Sydney, Aust
Distribution: Suse 9.1
Posts: 27

Original Poster
Rep: Reputation: 15
Re: Re: Nvidia driver install on mandrake 10

make sure your kernel has been compiled against your current version of Gcc............. [/B][/QUOTE]

Thanx 320mb - sorry but a stoopid noobie question - how do I do this?
 
Old 11-03-2004, 03:50 AM   #4
Mito_Mandrake
LQ Newbie
 
Registered: Nov 2004
Distribution: Mandrake 10
Posts: 2

Rep: Reputation: 0
Guys,

I have also just installed Mandrake 10.0 Community Edition. After a bit of searching, I found the following solution to this problem. Btw, the error messages seem to be leading up the wrong path. For any fututure reference, here is what I got to work.

1) Install the kernel-source package.
Note: Must be a clean install. If you have already done a make mrproper in your linux source directory its easiest to just uninstall then reinstall this package.

2) Download the NVIDIA driver package.

3) Change the boot so that the graphical environment is NOT started, ie it boots to a text interface. ( under Mandrake Control Center ->Boot->Autologin screen)

4) Reboot the system.

5) As root, run the command:

sh /.NVIDIA-Linux-x86-1.0-6111-pkg1 --add-this-kernel

This should successfully compile and create a custom package named NVIDIA-Linux-x86-1.0-6111-pkg1-custom.run.

6) Run the new custom package using the command:

sh /.NVIDIA-Linux-x86-1.0-6111-pkg1-custom

7) Modify your XF86Config-4 file as per the instructions in the Nvidia README to change the nv driver to nvidia.

8) Start X again, then change Mandrake to start the graphical environment again on startup.

This will run the installer and set everything up properly. Some people say to modify some of the code files, but I didnt find this to be necessary, just the above steps.

My kernel is 2.6.3-4mdk.

Cheers

Last edited by Mito_Mandrake; 11-03-2004 at 03:55 AM.
 
  


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
DISCUSSION: Mandrake 9.1 NVIDIA driver install for newbies dalek LinuxAnswers Discussion 27 03-31-2009 07:35 AM
nvidia driver install on mandrake 10 ronss Mandriva 2 10-19-2004 04:59 PM
Nvidia Driver Install - rivafb driver conflicts rjcmi Debian 5 10-10-2004 11:58 PM
Mandrake, problems booting after failed nvidia driver install civic94vtc Mandriva 2 03-29-2004 05:04 PM
How do I install a NVIDIA driver on my new Mandrake 9.2.1 OS? THEBIGFISH Linux - Newbie 10 03-16-2004 01:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:18 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