View Single Post
Old 04-24-06, 04:25 PM   #3
Registered User
Join Date: Apr 2006
Posts: 6
Default Re: Trouble building the module in kernel

OK, this is the full /var/log/nvidia-installer.log:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Apr 25 00:14:52 2006

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 : /tmp
ftp mirror :
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 ( (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.
-> Performing CC test with CC="cc".
-> Kernel source path: '/lib/modules/2.6.13/source'
-> Kernel output path: '/lib/modules/2.6.13/build'
-> Performing rivafb check.
-> Performing nvidiafb 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-i2c.o nv.o nv
-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.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 -f stprof stprof.o symtab.h
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.13/source S

NVIDIA: calling KBUILD...
make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.13/build KBUILD_VERBOSE=1 -C /lib/
modules/2.6.13/source SUBDIRS=/tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1
/usr/src/nv modules
make -C /lib/modules/2.6.13/build \
KBUILD_SRC=/usr/src/linux-2.6.13 KBUILD_VERBOSE=1 \
KBUILD_CHECK= KBUILD_EXTMOD="/tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/
usr/src/nv" \
-f /usr/src/linux-2.6.13/Makefile modules
mkdir -p /tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.tmp_vers

WARNING: Symbol version dump /usr/src/linux-2.6.13/Module.symvers
is missing; modules will have no dependencies and modversions.

make -f /usr/src/linux-2.6.13/scripts/ obj=/tmp/selfgz7011/NVI
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz7011/NVI
cc -Wp,-MD,/tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/.nv.o
.d -nostdinc -isystem /usr/lib/gcc-lib/i486-slackware-linux/3.3.4/include -
D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.13/include -I/tmp/sel
fgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv -Wall -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2 -fomit-fr
ame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i586 -I/u
sr/src/linux-2.6.13/include/asm-i386/mach-default -Iinclude/asm-i386/mach-de
fault -I/tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv -Wall -Wi
mplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpo
inter-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-compare -Wno-ca
D_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp/selfgz7011/NVIDIA-Linux-x86
-1.0-8756-pkg1/usr/src/nv/nv.o /tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg
In file included from include/linux/bitops.h:77,
from include/linux/kernel.h:15,
from /tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
from /tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
include/asm/bitops.h: In function `find_first_bit':
include/asm/bitops.h:339: warning: comparison between signed and unsigned
In file included from include/linux/list.h:7,
from include/linux/wait.h:23,
from include/asm/semaphore.h:41,
from include/linux/sched.h:20,
from include/linux/module.h:10,
from /tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
from /tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
include/linux/prefetch.h: In function `prefetch_range':
include/linux/prefetch.h:62: warning: pointer of type `void *' used in arith
In file included from include/asm/fixmap.h:27,
from include/asm/pgtable.h:17,
from include/linux/mm.h:36,
from include/linux/poll.h:11,
from /tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
from /tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
include/asm/acpi.h:31:28: acpi/pdc_intel.h: No such file or directory
In file included from include/linux/dmapool.h:14,
from include/linux/pci.h:870,
from /tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
from /tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
include/asm/io.h: In function `check_signature':
include/asm/io.h:253: warning: wrong type argument to increment
/tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.c: In function
/tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.c:2069: warning
: implicit declaration of function `vm_insert_page'
make[4]: *** [/tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src/nv/nv.o
] Error 1
make[3]: *** [_module_/tmp/selfgz7011/NVIDIA-Linux-x86-1.0-8756-pkg1/usr/src
/nv] Error 2
make[2]: *** [modules] Error 2
nvidia.ko failed to build!
make[1]: *** [mdl] 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

Before a two or three months I installed nvidia drivers on the same computer without problems, but then the linux distro and the kernel were different.
kamen12 is offline   Reply With Quote