Linux - SoftwareThis 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.
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.
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?
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.
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:
kernel sources and kernel prep are a little different in 10.1 than in previous Mandrake releases.
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.