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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, I am having problems installing nVidia driver on my computer. I am using Mandriva LE2005.
After shutting down X, I typed in
Code:
sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
and press enter, then accepted the license thing. Then it says "No precompiled kernel interface was found to math your kernel;" and the install could not be completed.
However, I am pretty sure I have the kernel sources installed:
I downloaded the latest nVidia driver (1.0-7676) and I was able to get past the "No precompiled kernel interface was found to math your kernel;" error by typing:
Code:
sh NVIDIA-Linux-x86-1.0-7676-pkg1.run --kernel-source-path="/usr/src/linux-2.6.11-6mdk"
But now I get a new error:
Code:
ERROR: Unable to build the NVIDIA kernel module interface.
Heres the contents of "/var/log/nvidia-installer.log"
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Nov 13 10:33:10 2005
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 : true
no questions : false
silent : false
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : /usr/src/linux-2.6.11-6mdk
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /root/tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)
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.
-> Using the kernel source path '/usr/src/linux-2.6.11-6mdk' as specified by
the '--kernel-source-path' commandline option.
-> Kernel source path: '/usr/src/linux-2.6.11-6mdk'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/usr/src/linux-2.6.11-6mdk S
YSOUT=/usr/src/linux-2.6.11-6mdk'...
NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux-2.6.11-6mdk SUBDIRS=/root/tmp
/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv modules
mkdir -p /root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/.tm
p_versions
make -f scripts/Makefile.build obj=/root/tmp/selfgz10128/NVIDIA-Linux-x86-1.
0-7676-pkg1/usr/src/nv
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz101
28/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv_compiler.h
cc -Wp,-MD,/root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv
/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/inclu
de -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-str
ict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-pointer -pip
e -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -Iinclude/as
m-i386/mach-default -Wdeclaration-after-statement -I/root/tmp/selfgz10128/N
VIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wsw
itch
-Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -
Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOS
E_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_N
AMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_P
ATCHLEVEL=7676 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP
_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRE
SENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvi
dia -c -o /root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv
.o /root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c
In file included from include/linux/pci.h:480,
from /root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv.c:14:
include/linux/device.h:64: error: syntax error before "pm_message_t"
include/linux/device.h:64: warning: function declaration isn't a prototype
In file included from /root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv.c:14:
include/linux/pci.h:670: error: syntax error before "pm_message_t"
include/linux/pci.h:670: warning: function declaration isn't a prototype
include/linux/pci.h:826: error: syntax error before "pm_message_t"
include/linux/pci.h:826: warning: function declaration isn't a prototype
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:863,
from /root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv-linux.h:69,
from /root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv/nv.c:14:
include/asm/io.h: In function `check_signature':
include/asm/io.h:242: warning: wrong type argument to increment
/root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: In fun
ction `nvos_get_agp_device_by_class':
/root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:467: wa
rning: implicit declaration of function `pci_find_class'
/root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:467: wa
rning: assignment makes pointer from integer without a cast
/root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:481: wa
rning: assignment makes pointer from integer without a cast
/root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: In fun
ction `nvos_count_devices':
/root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3449: w
arning: assignment makes pointer from integer without a cast
/root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:3455: w
arning: assignment makes pointer from integer without a cast
make[3]: *** [/root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/n
v/nv.o] Error 1
make[2]: *** [_module_/root/tmp/selfgz10128/NVIDIA-Linux-x86-1.0-7676-pkg1/u
sr/src/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.
I remember having the same problem with version 7167. I had to get a patch from nvidia's website. The instructions are there, too and isn't too difficult.
I had the exact same problem with Kernel 2.6.11 and 7676. I ended up going back to an old version of the NV driver for a temp fix. If you upgrade to a newer kernel (anything in the 13s) it should work for you, well it did when I did anyhow. If you do not want to upgrade the kernel you can go back in NVs archive and get an older version of the driver, I think I had to go back to 67 somthing, or 64, cant remember, but it was like 4 or 5 version back.
When I searched for "kernel-source" in Rpmdrake, it displayed a package called "kernel-source-2.6-2.6.11-12mdk" Do you think it will help if I upgrade to 12mdk?
Also, when I tried an older version (1.0-6629) it gave me the same error, plus a new error about rivafb.
When I searched for "kernel-source" in Rpmdrake, it displayed a package called "kernel-source-2.6-2.6.11-12mdk" Do you think it will help if I upgrade to 12mdk?
Not unless you also update the kernel package to 2.6.11-12mdk. This doesn't happen automatically through rpmdrake - you probably have to do something like
Code:
urpmi.update -a
urpmi kernel
Also try removing the kernel-source-stripped. I don't know why you'd need to have that installed too.
I don't see a patch for 7676. But I've been using 7167 with kernels 2.6.11, 13, 13.2, 14 and now 14.1. I've been satisfied with the performance of my geforce2 MX400 so I hadn't bothered to look for a newer driver.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.