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

Newegg Daily Deals

Thread Tools
Old 11-08-07, 02:24 AM   #1
Registered User
Join Date: Nov 2007
Posts: 1
Unhappy BUG with Atlhon 3800+ and 6600 gt - Unable to build the NVIDIA kernel module


I have installed my own kernel with kpkg. Then I have installed the packages with dpkg.

#dpkg -i linux-headers-2.6.23_2.6.23-10.00.Custom_amd64.deb
#dpkg -i linux-image-2.6.23_2.6.23-10.00.Custom_amd64.deb
#dpkg -i linux-source-2.6.23_2.6.23-10.00.Custom_all.deb

Now , # uname -a
Linux tux 2.6.23 #2 SMP Wed Nov 7 20:03:34 CET 2007 x86_64 GNU/Li

Then I have executed the script on the web site for my geforce 6600 GT.
# sh NVIDIA-Linux-x86_64-100.14.11-pkg2.run
And i have this error : "Unable to build the nvidia kernel modules " ?
Can you help me ?

my log :

tux:/home/nans/Desktop# cat nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Nov  8 09:09:36 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)
  force compat32 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)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 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
-> 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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.23/source'
-> Kernel output path: '/lib/modules/2.6.23/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen 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 nvacpi.
   o nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv-i2c.o nvacpi.o nvidi
   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 Modules.symvers
   rm -f -rf .tmp_versions
   rm -f Makefile
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.23/source S
   sh ./conftest.sh "cc" "cc" /lib/modules/2.6.23/source /lib/modules/2.6.23/bu
   ild cc_sanity_check full_output
   sh ./conftest.sh "cc" "cc" /lib/modules/2.6.23/source /lib/modules/2.6.23/bu
   ild select_makefile full_output
   make --no-print-directory -f Makefile module

   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.23/build KBUILD_VERBOSE=1 -C /lib/
   modules/2.6.23/source SUBDIRS=/tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-
   pkg2/usr/src/nv modules
   make -C /lib/modules/2.6.23/build \
        KBUILD_SRC=/usr/src/linux-2.6.23 \
   v" -f /usr/src/linux-2.6.23/Makefile modules
   test -e include/linux/autoconf.h -a -e include/config/auto.conf || (        \        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or include/config/auto.conf are mis
   sing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";  \
        echo;                                                           \
   mkdir -p /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/.tmp_
   rm -f /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/.tmp_ver
   make -f /usr/src/linux-2.6.23/scripts/Makefile.build obj=/tmp/selfgz5045/NVI
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz5045/NVI
     cc -Wp,-MD,/tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/.
   nv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.1.2/include -D__K
   ERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.23/include -include includ
   e/linux/autoconf.h  -I/tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
   /src/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasin
   g -fno-common -Werror-implicit-function-declaration -Os -m64 -mno-red-zone -
   mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funi
   t-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-arg
   CONFIG_AS_CFI_SIGNAL_FRAME=1 -fomit-frame-pointer -fno-stack-protector -Wdec
   laration-after-statement -Wno-pointer-sign  -I/tmp/selfgz5045/NVIDIA-Linux-x
   86_64-100.14.11-pkg2/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wfo
   rmat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror
   -O -fno-common -msoft-float -mcmodel=kernel -mno-red-zone -MD -Wsign-compare
   -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM
   SENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/sel
   .11-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-
   In file included from include/linux/list.h:8,
                    from include/linux/preempt.h:11,
                    from include/linux/spinlock.h:49,
                    from include/linux/seqlock.h:29,
                    from include/linux/time.h:8,
                    from include/linux/timex.h:57,
                    from include/linux/sched.h:53,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
   In file included from include/linux/sched.h:59,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
   include/linux/nodemask.h: In function ‘__first_node’:
   include/linux/nodemask.h:229: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__next_node’:
   include/linux/nodemask.h:235: warning: signed and unsigned type in condition
   al expression
   include/linux/nodemask.h: In function ‘__first_unset_node’:
   include/linux/nodemask.h:253: warning: signed and unsigned type in condition
   al expression
   In file included from include/asm/pci.h:103,
                    from include/linux/pci.h:781,
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
   include/asm-generic/pci-dma-compat.h: In function ‘pci_map_page’:
   include/asm-generic/pci-dma-compat.h:49: warning: pointer of type ‘void *
   �� used in arithmetic
   In file included from include/linux/compat.h:14,
                    from include/asm/mtrr.h:106,
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
   include/asm/compat.h: In function ‘compat_alloc_user_space’:
   include/asm/compat.h:204: warning: pointer of type ‘void *’ used in arit
   /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c: In funct
   ion ‘nvidia_init_module’:
   /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c:1326: err
   or: too many arguments to function ‘kmem_cache_create’
   /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c:1435: err
   or: too many arguments to function ‘kmem_cache_create’
   /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c:1569: err
   or: void value not ignored as it ought to be
   /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c: In funct
   ion ‘nvidia_exit_module’:
   /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv.c:1601: err
   or: void value not ignored as it ought to be
   make[4]: *** [/tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/
   nv.o] Erreur 1
   make[3]: *** [_module_/tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
   /src/nv] Erreur 2
   make[2]: *** [modules] Erreur 2
   nvidia.ko failed to build!
   make[1]: *** [module] Erreur 1
   make: *** [module] Erreur 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.

ndelrieu is offline   Reply With Quote
Old 11-08-07, 10:06 AM   #2
NVIDIA Corporation
Join Date: Dec 2004
Posts: 8,763
Default Re: BUG with Atlhon 3800+ and 6600 gt - Unable to build the NVIDIA kernel module

100.14.11 is no longer supported. Please use 100.14.19 or 100.14.23.
netllama is offline   Reply With Quote

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

All times are GMT -5. The time now is 08:01 PM.

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