plati Posted January 18, 2004 Report Share Posted January 18, 2004 im following the FAQ posted about installing the NVIDIA Display drivers but I keep hitting the same error. I exit X, login to root and urpmi binutils and kernel-source. I already had binutils but not kernel-source, so the package downloaded and installed. I kept following the steps and it was all fine until after the license agreement. The logs in /usr/var/nvidia-installer.log show the following: ------------------------------------------------------------------------------------ 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 include path: '/usr/src/linux/include' -> Cleaning kernel module build directory. executing: 'cd ./usr/src/nv; make clean'... rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h * .d NVdriver nvidia.o -> Building kernel module: executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/usr/src/linux/include '... echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ - DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_ _KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE L=4496 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PA GE_RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual nv.c cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ - DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_ _KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE L=4496 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PA GE_RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual os-agp.c cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ - DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_ _KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE L=4496 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PA GE_RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual os-interface.c cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp arentheses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ - DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D_ _KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVE L=4496 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -DREMAP_PA GE_RANGE_4 -I. -I/usr/src/linux/include -Wno-cast-qual os-registry.c ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o ld -r -o nvidia.o nv-linux.o nv-kernel.o -> done. -> Kernel module compilation complete. ERROR: Unable to load the kernel module 'nvidia.o'. This is most likely because the kernel module was built using the wrong kernel header files. Please make sure you have installed the kernel header files for your kernel; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm installed. If you know the correct kernel header files are installed, you may specify the kernel include path with the '--kernel-include-path' commandline option. -> Kernel module load error: ./usr/src/nv/nvidia.o: unresolved symbol init_mm_Rb238dcab ./usr/src/nv/nvidia.o: unresolved symbol __pollwait_R5cddb06a ./usr/src/nv/nvidia.o: unresolved symbol irq_stat_R346aa8e2 ./usr/src/nv/nvidia.o: unresolved symbol change_page_attr_R1078ca32 ./usr/src/nv/nvidia.o: unresolved symbol devfs_register_chrdev_Ra82ebff9 ./usr/src/nv/nvidia.o: unresolved symbol devfs_unregister_Rfe126b72 ./usr/src/nv/nvidia.o: unresolved symbol remove_proc_entry_Rf05ffaa5 ./usr/src/nv/nvidia.o: unresolved symbol create_proc_entry_R74d25774 ./usr/src/nv/nvidia.o: unresolved symbol proc_root_driver_R25661860 ./usr/src/nv/nvidia.o: unresolved symbol devfs_register_R3cc4735c ./usr/src/nv/nvidia.o: unresolved symbol mem_map_R25c9af1e ./usr/src/nv/nvidia.o: Hint: You are trying to load a module without a GPL compatible license and it has unresolved symbols. Contact the module supplier for assistance, only they can help you. 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 problem here is that I have got the kernel-source installed etc. yet it is reporting that it isnt installed. Any help greatly appreciated, dont know how long I can go without counter-strike plati Quote Link to comment Share on other sites More sharing options...
bvc Posted January 18, 2004 Report Share Posted January 18, 2004 what's your running kernel? do uname -r to find out. which kernel-source? which nvidia driver? Quote Link to comment Share on other sites More sharing options...
plati Posted January 18, 2004 Author Report Share Posted January 18, 2004 (edited) The kernel is 2.4.22-10mdk I am not sure which kernel source, I just followed the FAQ which said to urpmi kernel-source Tried checking rpmdrake and searched kernel-source, but nothing came up. Sounds like maybe the kernel-source didnt install, even though uh.... it said it did. The driver file name is NVIDIA-Linux-x86-1.0-4496-pkg2.run Which sounds like version 4496 to me. hope this helps EDIT: ran a rpm -q on kernel-source and binutils. Results are: kernel-source-2.4.22-26mdk and binutils-2.14.90.0.5-2mdk Edited January 18, 2004 by plati Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted January 20, 2004 Report Share Posted January 20, 2004 (edited) This is one of my pet peeves. Why does mandrake do this BS? Here's what happened. Your using the download edition of 9.2 with the standard kernel. That version did NOT include the kernel source. You can download it here: ftp://ftp.nl.uu.net/pub/linux/mandrake/9....6/Mandrake/RPMS The package you want is: kernel-source-2.4.22-10mdk.i586.rpm Uninstall the kernel source you have presently installed; it's the wrong one and does not correspond to your kernel. Install the above package. That's the easiest way for now. If you do that the nvidia driver will install. How did that happen you ask. Mandrake made that real easy. Shortly after 9.2 came out mandrake updated the kernel, largely because of the lg cdrom problem. They included the kernel source for the new kernel in mandrake update. If you ran all the updates(or did urpmi for kernel source), the wrong source was automatically installed!!! Unfortunately, update cannot install the new kernel that corresponds to the new kernel-source. Result is you have a mismatched kernel source. The alternative is to download the updated kernel that corresponds to your source and install that package then run the nvidia driver program. That's a little more complicated. The point is the kernel source and the kernel have to match. Edited January 20, 2004 by pmpatrick Quote Link to comment Share on other sites More sharing options...
iphitus Posted January 20, 2004 Report Share Posted January 20, 2004 EDIT: As follow up, me and plati on IRC sorted this out the other day, it was the wrong kernel source version he got -22 when he needed -10. Its now working. Sorry for not posting this earlier, i expected that he would Quote Link to comment Share on other sites More sharing options...
growler Posted January 24, 2004 Report Share Posted January 24, 2004 Thank you all. I found this excellent advice for the exact problem. I went with the NVIDIA 4496 drivers as well, after some reading of the NVIDIA Linux forum NVnews My only problem was mistakenly deleting the last EndSection line in XF86Config-4... and having to restore it before startx would run. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.