Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-14-07, 07:24 AM   #1
leandrorepolho
Registered User
 
Join Date: Mar 2007
Posts: 3
Exclamation (Debian 3.1r4) ERROR: Unable to load the kernel module 'nvidia.o'.

Hello to everyone, i hope that you guys can help me to solve my problem.

I´m trying to install the NVIDIA Drivers in my Debian 3.1r4 and im having a lot of troubles. I had downloaded the lastest driver from nvidia´s website, the NVIDIA-Linux-x86-1.0-9755-pkg1.run, and downloaded through the apt-get command the kernel-headers for my kernel version, everything runned 100% okay. But after the nvidia installer finishes the module compiling processes, it shows the error:

Quote:
ERROR: Unable to load the kernel module 'nvidia.o'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.

I runned some commands in the machine that can be very usefull to solve the problem, well, at least i hope.

debian:~# dmesg | grep agp
Quote:
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected NVIDIA nForce2 chipset
agpgart: AGP aperture is 64M @ 0xd8000000

debian:~# ls /usr/src/ -lh
Quote:
total 30M
drwxr-xr-x 5 root root 4.0K 2007-03-13 22:32 kernel-headers-2.4.27-2
drwxr-xr-x 4 root root 4.0K 2007-03-13 22:32 kernel-headers-2.4.27-2-386
-rw-r--r-- 1 root root 30M 2006-12-05 06:45 kernel-source-2.4.27.tar.bz2

debian:~# uname -a
Quote:
Linux debian 2.4.27-2-386 #1 Wed Aug 17 09:33:35 UTC 2005 i686 GNU/Linux

NVIDIA LOG (/var/log/nvidia-installer.log)

Quote:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Mar 13 23:05:29 2007

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
precompiled interfaces : true
no ncurses color : false
query latest version : false
OpenGL header files : true
no questions : false
silent : false
no recursion : 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
no kernel module : false
force SELinux : default
no X server check : false
force tls : (not specified)
X install prefix : (not specified)
X library install path : (not specified)
X module install path : (not specified)
OpenGL install prefix : (not specified)
OpenGL install libdir : (not specified)
utility install prefix : (not specified)
utility install libdir : (not specified)
doc install prefix : (not specified)
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 : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

Using: nvidia-installer ncurses user interface
WARNING: The NVIDIA GeForce4 MX 4000 GPU installed in this system is supported
through the NVIDIA 1.0-96xx legacy Linux graphics drivers. Please
visit http://www.nvidia.com/object/unix.html for more information.
The 1.0-9755 NVIDIA Linux graphics driver will ignore this GPU.
WARNING: You do not appear to have an NVIDIA GPU supported by the 1.0-9755
NVIDIA Linux graphics driver installed in this system. For further
details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in
the README available on the Linux driver download page at
www.nvidia.com.
-> 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: No)
-> No precompiled kernel interface was found to match your kernel; this means
that the installer will need to compile a new kernel interface.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.4.27-2-386/build'
-> Kernel output path: '/lib/modules/2.4.27-2-386/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nv-linux.
o nv_compiler.h *.d NVdriver nvidia.o
rm -f stprof stprof.o symtab.h
rm -f Makefile
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.4.27-2-386/bu
ild SYSOUT=/lib/modules/2.4.27-2-386/build'...
sh ./conftest.sh "cc" "cc" /lib/modules/2.4.27-2-386/build /lib/modules/2.4.
27-2-386/build cc_sanity_check full_output
sh ./conftest.sh "cc" "cc" /lib/modules/2.4.27-2-386/build /lib/modules/2.4.
27-2-386/build select_makefile full_output
make --no-print-directory -f Makefile module
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 -Wno-multichar -Werror -O -fno-common -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
55 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/lib/modules/2.4.27-2-386/
build/include -Wsign-compare -Wno-cast-qual -Wno-error nv.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
55 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/lib/modules/2.4.27-2-386/
build/include -Wsign-compare -Wno-cast-qual -Wno-error nv-vm.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
55 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/lib/modules/2.4.27-2-386/
build/include -Wsign-compare -Wno-cast-qual -Wno-error os-agp.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
55 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/lib/modules/2.4.27-2-386/
build/include -Wsign-compare -Wno-cast-qual -Wno-error os-interface.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
55 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/lib/modules/2.4.27-2-386/
build/include -Wsign-compare -Wno-cast-qual -Wno-error os-registry.c
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wp
arentheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -msoft-f
loat -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERN
EL_NAMES -DNVRM -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=97
55 -DNV_REMAP_PAGE_RANGE_4_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_
4_PRESENT -DNV_I2C_ADAPTER_INC_USE_PRESENT -I. -I/lib/modules/2.4.27-2-386/
build/include -Wsign-compare -Wno-cast-qual -Wno-error nv-i2c.c
ld -r -o nv-linux.o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2
c.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 happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: Warning: loading ./usr/src/nv/nvidia.o will taint
the kernel: non-GPL license - NVIDIA
See http://www.tux.org/lkml/#export-tainted for information about tainted
modules
./usr/src/nv/nvidia.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including
invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
-> Kernel messages:
i2c-core.o: driver i2c TV tuner driver registered.
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: registered device video0
bttv0: registered device vbi0
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x1001
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
NET4: AppleTalk 0.18a for Linux NET4.0
spurious 8259A interrupt: IRQ7.
NVRM: The NVIDIA GeForce4 MX 4000 GPU installed in this system is
NVRM: supported through the NVIDIA 1.0-96xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 1.0-9755 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
NVRM: No NVIDIA graphics adapter found!
NVRM: The NVIDIA GeForce4 MX 4000 GPU installed in this system is
NVRM: supported through the NVIDIA 1.0-96xx Legacy drivers. Please
NVRM: visit http://www.nvidia.com/object/unix.html for more
NVRM: information. The 1.0-9755 NVIDIA driver will ignore
NVRM: this GPU. Continuing probe...
NVRM: No NVIDIA graphics adapter found!
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.

Thanks,
Leandro
leandrorepolho is offline   Reply With Quote
Old 03-14-07, 11:31 AM   #2
AaronP
NVIDIA Corporation
 
AaronP's Avatar
 
Join Date: Mar 2005
Posts: 2,487
Default Re: (Debian 3.1r4) ERROR: Unable to load the kernel module 'nvidia.o'.

From your installer log:
Quote:
WARNING: The NVIDIA GeForce4 MX 4000 GPU installed in this system is supported
through the NVIDIA 1.0-96xx legacy Linux graphics drivers. Please
visit http://www.nvidia.com/object/unix.html for more information.
The 1.0-9755 NVIDIA Linux graphics driver will ignore this GPU.
WARNING: You do not appear to have an NVIDIA GPU supported by the 1.0-9755
NVIDIA Linux graphics driver installed in this system. For further
details, please see the appendix SUPPORTED NVIDIA GRAPHICS CHIPS in
the README available on the Linux driver download page at
www.nvidia.com.
AaronP is offline   Reply With Quote
Old 03-14-07, 12:03 PM   #3
leandrorepolho
Registered User
 
Join Date: Mar 2007
Posts: 3
Default Re: (Debian 3.1r4) ERROR: Unable to load the kernel module 'nvidia.o'.

Quote:
Originally Posted by AaronP
From your installer log:
But how can the Nvidia Geforce 4 mx 400 64mb cannot be supported by the newest driver of nvidia ?
leandrorepolho is offline   Reply With Quote
Old 03-14-07, 12:19 PM   #4
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: (Debian 3.1r4) ERROR: Unable to load the kernel module 'nvidia.o'.

Because all GPUs older than NV3x are now considered legacy. See the driver README for the list of GPUs and the driver branch/version where they are supported.
netllama is offline   Reply With Quote
Old 03-15-07, 07:23 AM   #5
leandrorepolho
Registered User
 
Join Date: Mar 2007
Posts: 3
Exclamation Re: (Debian 3.1r4) ERROR: Unable to load the kernel module 'nvidia.o'.

I was taking a look at the nvidia website and the lastest legacy driver is the 1.0-7184 that only support according to the website theses gpus:

Quote:
CHIP PCI devID
RIVA TNT 0x0020
RIVA TNT2/TNT2 Pro 0x0028
RIVA TNT2 Ultra 0x0029
Aladdin TNT2 0x00A0
RIVA TNT2 Model 64/Model 64 Pro 0x002D
GeForce 256 0x0100
GeForce DDR 0x0101
GeForce2 MX/MX 400 0x0110
GeForce2 MX 100/200 0x0111
GeForce2 Go 0x0112
GeForce2 Ti 0x0151
GeForce2 Ultra 0x0152
Vanta/Vanta LT 0x002C
Quadro 0x0103
Quadro2 MXR/EX/Go 0x0113
GeForce2 GTS/GeForce2 Pro 0x0150
Quadro2 Pro 0x0153
Quote:
Originally Posted by netllama
Because all GPUs older than NV3x are now considered legacy. See the driver README for the list of GPUs and the driver branch/version where they are supported.
leandrorepolho is offline   Reply With Quote
Old 03-15-07, 08:40 AM   #6
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default Re: (Debian 3.1r4) ERROR: Unable to load the kernel module 'nvidia.o'.

Unfortunately, the website is very, very wrong. And has been for a while now. Please fix this ASAP. I'm tired of trying to explain to GF3 and GF4 users that there are drivers newer than 1.0-7184 for their cards.

Adam
adamk75 is offline   Reply With Quote
Old 03-15-07, 10:25 AM   #7
netllama
NVIDIA Corporation
 
Join Date: Dec 2004
Posts: 8,763
Default Re: (Debian 3.1r4) ERROR: Unable to load the kernel module 'nvidia.o'.

We're aware that the website is misleading (and are working to correct it), however the driver README does accurately document which GPUs are supported in which driver release.
netllama is offline   Reply With Quote
Old 03-15-07, 11:13 AM   #8
adamk75
Registered User
 
Join Date: Nov 2006
Posts: 228
Default Re: (Debian 3.1r4) ERROR: Unable to load the kernel module 'nvidia.o'.

Quote:
Originally Posted by netllama
We're aware that the website is misleading (and are working to correct it), however the driver README does accurately document which GPUs are supported in which driver release.
No offense, but someone who is told that they have a legacy card, goes to nvidia.com, and downloads the latest legacy driver listed there (after reading that drivers README), is not going to know that there's a 1.0-9631. Instead, they will continue to believe (justifiably) that 1.0-7184 is the latest driver for their card.

So please help me understand how this README is helping users download the correct driver?

Once they determine that there is a newer driver (if they determine that) they actually have to use a search engine to locate the page for their driver.

Adam
adamk75 is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Lucid rt kernel can't load latest nvidia driver module, but generic does. marcod NVIDIA Linux 0 05-02-12 06:23 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM

All times are GMT -5. The time now is 05:15 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright ©1998 - 2014, nV News.