LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Nvidia driver install not working (https://www.linuxquestions.org/questions/linux-software-2/nvidia-driver-install-not-working-334613/)

bcf2 06-17-2005 12:09 PM

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?

jonaskoelker 06-17-2005 02:19 PM

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

bcf2 06-17-2005 02:36 PM

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.

jonaskoelker 06-17-2005 02:47 PM

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

bcf2 06-17-2005 02:58 PM

find dosen't find anything, and I can't run the shell script while X is running

jonaskoelker 06-17-2005 03:08 PM

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

Genesee 06-17-2005 03:10 PM

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

bcf2 06-17-2005 03:11 PM

thanks, I'le look those over carefully...

bcf2 06-17-2005 05:48 PM

neither the nvidia knowlege base, or the nvidia Howto have any information concerning my problem. is there anything else you could suggest?

Genesee 06-17-2005 07:34 PM

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.

LinuxVB 06-17-2005 08:33 PM

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.


All times are GMT -5. The time now is 02:24 AM.