mdk le 2005 nvidia driver installation error
:newbie: Hi linukers!
During my distro installation i chose vesa generic driver (the only one working fine). I'm trying to install nvidia driver now - watching my CRT screen at 60 Hz is really tiring. Here's what i do: 1. CTRL + ALT + F1 2. su (i don't have password set up not to make everything more difficult) 3. i go to the folder containing my downloaded 'NVIDIA-Linux-x86-1.0-7676-pkg1.run' file - destination is /bin/bart. 4. sh NVIDIA-Linux-x86-1.0-7676-pkg1.run 5. I accept the license 6.No precompiled kernel interface was found to match your kernel; would you like the installer to attempt to download a kernel interface for your kernel from NVIDIA ftp site ( f t p : / / d o w n l o a d . n v i d i a . c o m)? - I confirm. 7.Building kernel module - it gets all the way to 100 % (no problems here) 8. Code:
ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source files for your kernel; on Red Hat Linux systems, for example, be sure you have the 'kernel-source' rpm installed. If you know the the correct kernel source files are installed, you may specify the kernel source path with the 'kernel-source-path' commandline option. 9. Code:
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 w w w . n v i d i a . c o m. 10. Nvidia installer ends work here. Thanks for your time solving this :) |
Well, in your step "8," the install program told you the problem and how to fix it. Just install the correct kernel-devel RPM package.
[retract]A simpler way to install the drivers to to load the driver RPM from the livna repository.[/retract] Opps -- Just noticed that you are in the Mandivia forum -- I was replying to a Fedora question. Sorry, I was confused. |
Honestly, I don't know how to do that... :Pengy:
I'm working in KDE 3.3. In Menu->System->Configuration->Packages->Software Installation I typed 'kernel' in the search bar and what I found is: kernel-2.6.11.12mdk-1-1mdk kernel-i586-up-1GB-2.6.11.12mdk-1-1mdk kernel-i586-up-1GB-2.6.11.6mdk-1-1mdk kernel-i686-up-4GB-2.6.11.12mdk-1-1mdk kernel-i686-up-4GB-2.6.11.6mdk-1-1mdk kernel-smp-2.6.11.12mdk-1-1mdk kernel-smp-2.6.11.6mdk-1-1mdk kernel-source-2.6-2.6.11-12mdk kernel-source-stripped-2.6-2.6.11-12mdk kernel-xbox-2.6.11.12mdk-1-1mdk kernel-xbox-2.6.11.6mdk-1-1mdk is it one of theese I should install ? P.S. If I use cat /proc/version command in terminal, the outcome is: Code:
Linux version 2.6.11-6.mdk (gb@n2.mandrakesoft.com) (gcc version 3.4.3 (Mandrakelinux 10.2 3.4.3-3mdk)) #1 True Mar 22 16.04.32 CET 2005 |
Sorry. I don't use Mandriva.
I suspect that you need to install the "stripped" one. If that list you displayed is what's available, it looks like you're running a 2.6.11.6 kernel, but that the most recent kernel is 2.6.11.12. Perhaps you should first upgrade to the newer kernel. But, as I said, I'm just guessing. Try looking in the Mandriva web site for help with upgrading and compiling kernel modules. (Note: To compile a module, you don't need the full kernel sources, only the "headers" that describe the entry points. That's why I guessed that the "stripped" source was what you needed. But that's just a guess.) |
I installed the' stripped' one and nothing changed - i get the same errors.
But maybe my nvidia-installer log will be of some help (it's quite long :/ ) nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Sep 19 01:30:53 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 : (not specified) 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. -> Kernel source path: '/lib/modules/2.6.11-6mdk/source' -> 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=/lib/modules/2.6.11-6mdk/sou rce SYSOUT=/lib/modules/2.6.11-6mdk/build'... NVIDIA: calling KBUILD... make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.11-6mdk/build KBUILD_VERBOSE=1 -C /lib/modules/2.6.11-6mdk/source SUBDIRS=/root/tmp/selfgz28048/NVIDIA-Linux-x 86-1.0-7676-pkg1/usr/src/nv modules make -C /lib/modules/2.6.11-6mdk/build \ KBUILD_SRC=/usr/src/linux-2.6.11-6mdk KBUILD_VERBOSE=1 \ KBUILD_CHECK= KBUILD_EXTMOD="/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676 -pkg1/usr/src/nv" \ -f /usr/src/linux-2.6.11-6mdk/Makefile modules mkdir -p /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/.tm p_versions make -f /usr/src/linux-2.6.11-6mdk/scripts/Makefile.build obj=/root/tmp/self gz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /root/tmp/selfgz280 48/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv_compiler.h cc -Wp,-MD,/root/tmp/selfgz28048/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 -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/include - I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Wstr ict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestandin g -O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2 -fno-unit-a t-a-time -march=i686 -I/usr/src/linux-2.6.11-6mdk/include/asm-i386/mach-defa ult -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/root/t mp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Wimplicit -W return-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arit h -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -W no-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D _LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VE RSION=0 -DNV_PATCHLEVEL=7676 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RL IM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISAB LE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D KBUILD_BASENA ME=nv -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1 .0-7676-pkg1/usr/src/nv/nv.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676 -pkg1/usr/src/nv/nv.c In file included from include/linux/dmapool.h:14, from include/linux/pci.h:863, from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u sr/src/nv/nv-linux.h:69, from /root/tmp/selfgz28048/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/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: In fun ction `nvidia_init_module': /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1073: w arning: `pm_register' is deprecated (declared at include/linux/pm.h:106) /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1170: w arning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111) /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c: In fun ction `nvidia_exit_module': /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv.c:1227: w arning: `pm_unregister' is deprecated (declared at include/linux/pm.h:111) cc -Wp,-MD,/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv /.nv-vm.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/in clude -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/include -I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Ws trict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestand ing -O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2 -fno-unit -at-a-time -march=i686 -I/usr/src/linux-2.6.11-6mdk/include/asm-i386/mach-de fault -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/root /tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-ar ith -Wno-multichar -Werror -O -fno-common -MD -W sign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D MODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV _MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PA GE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT - DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv-vm. o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nv-vm.c In file included from include/linux/dmapool.h:14, from include/linux/pci.h:863, from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u sr/src/nv/nv-linux.h:69, from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u sr/src/nv/nv-vm.c:14: include/asm/io.h: In function `check_signature': include/asm/io.h:242: warning: wrong type argument to increment cc -Wp,-MD,/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv /.os-agp.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4.3/i nclude -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/includ e -I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall - Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreesta nding -O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2 -fno-un it-at-a-time -march=i686 -I/usr/src/linux-2.6.11-6mdk/include/asm-i386/mach- default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/ro ot/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Wimplici t -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer- arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qua l -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURC E -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINO R_VERSION=0 -DNV_PATCHLEVEL=7676 -UDEBUG -U_D EBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHAN GE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRES ENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=os_agp -DKBUILD_MODNAME=n vidia -c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/ os-agp.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/os- agp.c In file included from include/linux/dmapool.h:14, from include/linux/pci.h:863, from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u sr/src/nv/nv-linux.h:69, from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u sr/src/nv/os-agp.c:24: include/asm/io.h: In function `check_signature': include/asm/io.h:242: warning: wrong type argument to increment cc -Wp,-MD,/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv /.os-interface.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3 .4.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/ include -I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv - Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ff reestanding -O2 -fno-omit-frame-pointer -pipe -mpreferred-stack-boundary=2 - fno-unit-at-a-time -march=i686 -I/usr/src/linux-2.6.11-6mdk/include/asm-i386 /mach-default -Iinclude/asm-i386/mach-default -Wdeclaration-after-statement -I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -Wall -Wim plicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpoi nter-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cas t-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_ SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV _MINOR_VERSION=0 -DNV_PATCHLEVEL=7676 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_ STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_VMAP_4_PRESENT -D MODULE -DKBUILD_BASENAME=os_interfa ce -DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0- 7676-pkg1/usr/src/nv/os-interface.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1 .0-7676-pkg1/usr/src/nv/os-interface.c In file included from include/linux/dmapool.h:14, from include/linux/pci.h:863, from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u sr/src/nv/nv-linux.h:69, from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u sr/src/nv/os-interface.c:26: include/asm/io.h: In function `check_signature': include/asm/io.h:242: warning: wrong type argument to increment cc -Wp,-MD,/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv /.os-registry.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3. 4.3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/i nclude -I/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv -W all -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffr eestanding -O2 -fno-omit-frame-pointe r -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -I/usr/ src/linux-2.6.11-6mdk/include/asm-i386/mach-default -Iinclude/asm-i386/mach- default -Wdeclaration-after-statement -I/root/tmp/selfgz28048/NVIDIA-Linux- x86-1.0-7676-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wforma t -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAM ES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERN EL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7676 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV_REMAP_PFN_RANGE_PRESE NT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_PCI_GE T_CLASS_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -DKBUILD_BASENAME=os_registry - DKBUILD_MODNAME=nvidia -c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676 -pkg1/usr/src/nv/os-registry.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-76 76-pkg1/usr/src/nv/os-registry.c In file included from include/linux/dmapool.h:14, from include/linux/pci.h:863, from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u sr/src/nv/nv-linux.h:69, from /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/u sr/src/nv/os-registry.c:14: include/asm/io.h: In function `check_signature': include/asm/io.h:242: warning: wrong type argument to increment ld -m elf_i386 -r -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1 /usr/src/nv/nvidia.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/us r/src/nv/nv-kernel.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/us r/src/nv/nv.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/n v/nv-vm.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/os -agp.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/os-in terface.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/os -registry.o Building modules, stage 2. make -rR -f /usr/src/linux-2.6.11-6mdk/scripts/Makefile.modpost scripts/mod/modpost -i /usr/src/linux-2.6.11-6mdk/Module.symvers /root/t mp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv/nvidia.o cc -Wp,-MD,/root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/src/nv /.nvidia.mod.o.d -nostdinc -isystem /usr/lib/gcc/i586-mandrake-linux-gnu/3.4 .3/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.11-6mdk/in clude -I/usr/src/linux-2.6.11-6mdk/ -I -Wall -Wstrict-prototypes -Wno-trigra phs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fno-omit-frame-poin ter -pipe -mpreferred-stack-boundary=2 -fno-unit-at-a-time -march=i686 -I/us r/src/linux-2.6.11-6mdk/include/asm-i386/mach-default -Iinclude/asm-i386/mac h-default -Wdeclaration-after-statement -DKBUILD_BASENAME=nvidia -DKBUILD_M ODNAME=nvidia -DMODULE -c -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676 -pkg1/usr/src/nv/nvidia.mod.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-767 6-pkg1/usr/src/nv/nvidia.mod.c ld -m elf_i386 -r -o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/ usr/src/nv/nvidia.ko /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/us r/src/nv/nvidia.o /root/tmp/selfgz28048/NVIDIA-Linux-x86-1.0-7676-pkg1/usr/s rc/nv/nvidia.mod.o NVIDIA: left KBUILD. -> done. -> Kernel module compilation complete. ERROR: Unable to load the kernel module 'nvidia.ko'. This is most likely because the kernel module was built using the wrong kernel source files. Please make sure you have installed the kernel source 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 source files are installed, you may specify the kernel source path with the '--kernel-source-path' commandline option. -> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko': -1 No such device -> Kernel messages: bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 10640 bytes, v3). bootsplash: status on console 4 changed to on bootsplash 3.1.6-2004/03/31: looking for picture...<6>...found (800x600, 10640 bytes, v3). bootsplash: status on console 5 changed to on Shorewall:FORWARD:REJECT:IN=eth0 OUT=eth0 SRC=218.93.201.37 DST=82.160.35.67 LEN=458 TOS=0x00 PREC=0x00 TTL=41 ID=0 DF PROTO=UDP SPT=36541 DPT=1027 LEN=438 nvidia: module license 'NVIDIA' taints kernel. PCI: IRQ 0 for device 0000:01:00.0 doesn't match PIRQ mask - try pci=usepirqmask PCI: No IRQ known for interrupt pin A of device 0000:01:00.0. Please try using pci=biosirq. NVRM: Can't find an IRQ for your NVIDIA card! NVRM: Please check your BIOS settings. NVRM: [Plug & Play OS] should be set to NO NVRM: [Assign IRQ to VGA] should be set to YES nvidia: probe of 0000:01:00.0 failed with error -1 NVRM: The NVIDIA probe routine failed for 1 device(s). NVRM: None of the NVIDIA graphics adapters were initialized! 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. |
All you need to do is install the kernel-source package. Goto easyurpmi (see my sig) and setup access to the repositories and then use the Install Software program you opened before to install the package named 'kernel-source-2.6'. Now try it again.
|
Ok, I admit: linux is eally hard for me:
I have NO IDEA how to operate http://easyurpmi.zarb.org - which options should I select? I tried to find any description - nothing :( Could You please guide me and tell me step by step how to perform what You suggested:Pengy: |
Select the version of Mandriva/mandrake that you are using, then select mirror sites for main, contrib, updates and plf. Enter the commands that will be printed as root. Once thats done, do
Code:
#urpmi --auto-select --auto |
reddazz, thank You very much for taking a look into my problem :)
I did all what You said but still nothing changed... At least I know something new about urpmi. I've been thinking: maybe instead of resolving new problems that come out when I try to install this cursed driver, it would be better to make pre-install check of all (like in a space-shuttle before lunching it). Then when we'll be sure if everything is ready, we'll try to install the driver. I mean: "before you install this, check if you have this set up like... and that like..." and then to start installing. |
Wha are the results of running
Code:
$rpm -qa | grep -i kernel |
They are:
Code:
kernel-2.6.11.6mdk-1-1mdk |
Remove the stripped kernel source package,
Code:
#rpm -e kernel-source-stripped-2.6-2.6.11-12mdk |
I removed this package and still nothing changed (the same error messages).
I really appreciate Your help - if You'll have time and will to still try to resolve this, I'd be glad. Now I'm going to sleep (01:17 a.m. here - my eyes are closing...) bye-bye |
Try this How-To. http://www.linuxloader.com/modules.p...howpage&pid=17 It will get you through. The Nvidia module isn't too hard to get going once you see haow to install it.
PDR60 |
At the end of your long log output was
Code:
NVRM: Can't find an IRQ for your NVIDIA card! Have you done as suggested and checked (and, if necessary, changed) your BIOS settings? Note particularly the comment that Assign IRQ to VGA should be turned on in your BIOS. Typically you access the BIOS by pressing one of Del, F1, or Esc during your initial boot (before Linux loads). Also typically the BIOS displays a brief message telling you how to access the BIOS settings when you first turn on your computer (or when you reboot). That message is often never seen unless you reboot because it's displayed before your monitor is "warmed up" enough to display anything. |
Hi again,
In BIOS I found only: Plug & Play OS option and switched it to NO - this didn't help. I can't find the Assign IRQ to VGA option... You can download my motherboard's manual from here (pdf 2,7 MBytes) P.S. first I should check if PDR60's post will help me - I'll do it now :) edit: or not - server's down I guess |
Go to your "Chip Configuration" BIOS screen and verify that all the AGP settings are correct for your card. The defaults listed in the manual do not appear to be the ones you'd want.
Note: As before, I'm guessing. In fact, I don't even know what the "drive N" and "drive P" settings mean. In the "PCI Configuration" BIOS screen, check that you have set the "Primary VGA BIOS" correctly. (It should, I guess, be AGP.) I, too, don't see any IRQ to VGA setting, although there is an IRQ assignment screen. |
I had this problem untill I ran
rpmdrake-remove searched for nvidia in the software to remove removed all reference to nvidia and then did what you did in your first post. for some reason this nvidia kernel won't let the latest drivers compile & load on some machines |
Try the How-to from the preivious post. It works. Most users follow a method just like the one in the How-to.
PDR60 |
Quote:
cortrrb - I have nothing in rpmdrake if I search for: nvidia |
I can only lead you there I can't force you to use this.
http://www.linuxloader.com/modules.p...howpage&pid=17 If you use it, it will work PDR60 |
But, guys, from his nVidia install log, the driver compiled fine and built the .so module.
His only problem is that the driver can't find his G-Force card. I don't think that that's an installation problem, it's more like a configuration problem. |
PDR60,
I have problem with Software Media Manager described on http://www.linuxloader.com/modules.p...howpage&pid=17 I run rpmdrake, in the serch field I type: kernel-source. The results of searching are: Code:
kernel-source-2.6-2.6.11-12mdk Code:
The following packages have bad signatures: ------------------------ On another forum they say to use: #export CC=gcc-3.4 (I don't even know what it does :p) before: #sh NVIDIA-Linux-x86_64-1.0-7676-pkg2.run Do You guys think it will work ? oh and this thread seems to be common with mine (only is about 64-bit CPU and mine is 32-bit) - maybe You can tell what You think about it too. Something tells me, the vesa driver I chose during Mandriva installation, spoils everything... but it's only a feeling... |
Go ahead and install it. That error is very common among the mirrors.
You could go to the console and update your sources then try it again. Like this. Code:
urpmi.update -a Code:
uname -r Code:
urpmi kernel-source-2.6-2.6.11-12mdk PDR60 |
I tried to insall but:
Code:
There was a problem during the installation: unable to install package /var/cache/urpmi/rpms/kernel-source-2.6-2.6.11-12mdk.i586.rpm urpmi.update -a ah I ran it anyways - we'll se what happens :P --------------- $uname -r gives: 2.6.11-6mdk |
The older NVIDIA driver 7667 gives the same 'nvidia.ko' errors
Reply form ASUS: Quote:
|
You should have just installed the kernel source, the error you got just means that urpmi did not have the gpg key of the developer who built the package.
|
What should I do ? (step-by-step commands please)
|
Simply follow the instructions posted by PDR60.
|
belive me i did and after all this i am at the stating point, so thanks all for your help bye-bye
|
Quote:
PDR60 |
hi again,
I calmed down and I'm doing all again. Right now I'm at post #8. I used command: Code:
#urpmi --auto-select --auto Tak a look: http://img367.imageshack.us/my.php?i...apshot17wv.jpg Can I stop it, turn off my computer and continue again after some time? |
Yes. Start it off overnight before you go to bed or something. That's an incredibly slooooooooow connection you've got there! :)
|
weeeeeeeeeeeeeeeeeeee! it's done!
now I don't know what to choose: Code:
#urpmi kernel kernel-source (from the 1st page of this topic) |
kernel-source-2.6-2.6.11-12mdk.i586
|
WARNING! THIS POST IS WRONG!! PLS GO TO POST #42 \/
ok now it all seems to be fine so far, command: Code:
$rpm -qa | grep -i kernel Code:
kernel-2.6.11.6mdk-1-1mdk |
Follow the instructions in that HOWTO PDR60 pointed you to earlier: http://www.linuxloader.com/modules.p...howpage&pid=17
Start from after the bit where you install the kernel source - that's where you're up to. Good luck |
Quote:
|
how to make sure I'm running the new kernel-source? which kernel is it? Only those from my previous post are listed...
Here is how my Software Media Maneger window looks now: http://img74.imageshack.us/img74/825/snapshot28jd.jpg |
First of all uncheck the CD's ( provided you have broadband) you won't need them because you have a "main" source loaded.
Then go to the console and type Code:
uname -r with Code:
urpmi package name |
Quote:
Code:
vusi@musasa ~ $ rpm -qa | grep -i kernel |
dang!
my post #36 is wrong! Code:
$rpm -qa | grep -i kernel Code:
kernel-2.6.11.6mdk-1-1mdk and Code:
uname -r Code:
2.6.11-6mdk |
FIrst update your kernel to the latest version following these instructions: http://www.mandriva.com/security/kernelupdate
Then reboot and you'll be right to go. |
I did:
Code:
urpmi.update -a I don't know what to put here: Code:
urmpi kernel-HERE |
You already have the latest kernel-source installed you need to install the latest kernel package - the kernel isn't automatically updated with Mandrake Update AFAIk whereas the kernel-source is which is why you have mis-match in the versions.
just do Code:
urpmi kernel Code:
uname -a |
Code:
uname -a |
Try installing the nvidia drivers now.
|
still the same errors :/
|
i'm having the same trouble see if this helps...
open a terminal and type rpm -qa | grep -i kernel.. that should list all of the kernel software installed uninstall all but kernel-2.6.11.6mdk-1-1mdk (goto menu/system/configuation/packaging/remove software. type in kernel hit seach button then remove.. then go here to download kernel-source-2.6-2.6.11-6mdk http://rpmfind.net/linux/RPM/mandrak...6mdk.i586.html install this after in downloads. then run the nvidia-linux file as per nvidia I used kernel-source-2.6-2.6.11-6mdk I had kernel-source-2.6-2.6.11-12mdk |
The difference in versions if because kernel updates are not automatically installed in Mandriva, whereas the kernel-source package is automatically updated when you run MandrakeUpdate.
To update to the latest kernel do: Code:
urpmi.update -a |
All times are GMT -5. The time now is 10:33 AM. |