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 06-17-2005, 12:09 PM   #1
bcf2
Member
 
Registered: Nov 2003
Location: Nowhere and somewhere
Distribution: Mandrake 10
Posts: 124

Rep: Reputation: 15
Nvidia driver install not working


I am using Mandrake 10.1 community. I recently got around to trying to install the drivers off the Nvidia web site. I did everything fine, was not running X, etc, but got an error message called : "Could not find file nvidia.ko", the install quits and the drivers are not installed, what is the matter?
 
Old 06-17-2005, 02:19 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
read http://www.catb.org/~esr/faqs/smart-questions.html

Exactly what did you do? Could you please state exactly which commands you typed, and the output you got in return?

Running things from the emacs shell makes it easier to copy-paste--if you know how to use those tools already, that is.

--Jonas
 
Old 06-17-2005, 02:36 PM   #3
bcf2
Member
 
Registered: Nov 2003
Location: Nowhere and somewhere
Distribution: Mandrake 10
Posts: 124

Original Poster
Rep: Reputation: 15
Ok, sorry,
I open up the terminal as my normal user, type su, and get to root. I swiched to runlevel 3 by typing init 3.
I then whent and changed the following settings in my xorg.conf file:

changed driver name 'nv' to driver name 'nvidia'

I exited vi(the editor that I was using) and saved the changes.
I whent to where the .run file that I downloaded from nvidia.com that contains the installer for the drivers for my card. I type ./NVIDIA-Linux-x86-1.0-7664-pkg1.run
to run the installer. I have the source files for the kernel, and the installer sees that and proceeds to build the proper module for my kernel. The percentage bar goes to 100%, then tells me that it was missing the file 'nvidia.ko' and that my kernel might not be built with the proper files, then quits.
 
Old 06-17-2005, 02:47 PM   #4
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
if you have updatedb'ed recently, then
$ locate nvidia.ko
otherwise, use a plain
$ find / -name 'nvidia.ko'

--Just to check that the file is there.

in the following, take NV.run to mean the dot-run file with a long and awkward name

If the .run is a shell script ($ file NV.run), could you try running it like ($ bash -x NV.run) and posting the ouput (where reasonable)?

--Jonas
 
Old 06-17-2005, 02:58 PM   #5
bcf2
Member
 
Registered: Nov 2003
Location: Nowhere and somewhere
Distribution: Mandrake 10
Posts: 124

Original Poster
Rep: Reputation: 15
find dosen't find anything, and I can't run the shell script while X is running
 
Old 06-17-2005, 03:08 PM   #6
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
Quote:
and I can't run the shell script while X is running
"Well I guess you'll have to wake him up then, won't you?"

Quote:
Find dosen't find anything
Then you obviously doesn't have nvidia.ko on your machine. Get it. I would think that nvidia has the docs on where and how to get it.

--Jonas
 
Old 06-17-2005, 03:10 PM   #7
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
did you read the README? there is a section on common problems:

ftp://download.nvidia.com/XFree86/Li...664/README.txt

did you build your own kernel? if not, are you sure you have the source/headers installed?

also, check out the Linux forum at www.nvnews.net - tons of posts on nvidia install problems
 
Old 06-17-2005, 03:11 PM   #8
bcf2
Member
 
Registered: Nov 2003
Location: Nowhere and somewhere
Distribution: Mandrake 10
Posts: 124

Original Poster
Rep: Reputation: 15
thanks, I'le look those over carefully...
 
Old 06-17-2005, 05:48 PM   #9
bcf2
Member
 
Registered: Nov 2003
Location: Nowhere and somewhere
Distribution: Mandrake 10
Posts: 124

Original Poster
Rep: Reputation: 15
neither the nvidia knowlege base, or the nvidia Howto have any information concerning my problem. is there anything else you could suggest?
 
Old 06-17-2005, 07:34 PM   #10
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
seems you should find something between the readme and the nvnews forums... what is the exact error message? did you check the installer log file? maybe try a google search on the exact error message.
 
Old 06-17-2005, 08:33 PM   #11
LinuxVB
Member
 
Registered: May 2005
Distribution: SuSE
Posts: 58

Rep: Reputation: 15
In order to correctly build the kernel driver for nVIDIA, installed kernel sources must match your running kernel.
That means the correct source must be installed and it must be configured to match your running kernel

Mandrake 10.1 community is a 2.6.8 kernel.
According to this:

http://www.speculation.org/garrick/kernelprep.html

kernel sources and kernel prep are a little different in 10.1 than in previous Mandrake releases.

Quote:
Note: Mandrake 10.1 uses kernel-source-2.6 instead of kernel-source.

For 2.6 kernels:
# make oldconfig
# make include/linux/version.h
# make include/asm
# make scripts

Everyone eventually asks why the kernel source doesn't come already prepared for the binary kernel and why this must be done manually. The answer is that MDK builds several kernels from the same kernel.src.rpm.
 
  


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
NVidia Driver not working.. Tuxman8898 VectorLinux 2 07-11-2005 07:25 AM
Nvidia Driver Install - rivafb driver conflicts rjcmi Debian 5 10-10-2004 11:58 PM
Nvidia driver not working in Mandrake 9.1 QCompson Linux - General 1 09-01-2003 07:38 PM
Got my nVidia driver working properly! orange400 LinuxQuestions.org Member Success Stories 0 03-20-2003 01:46 AM
Nvidia driver not working? Help! smj Linux - General 8 03-13-2003 02:29 PM


All times are GMT -5. The time now is 10:25 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration