nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   BUG with Atlhon 3800+ and 6600 gt - Unable to build the NVIDIA kernel module (http://www.nvnews.net/vbulletin/showthread.php?t=101916)

ndelrieu 11-08-07 02:24 AM

BUG with Atlhon 3800+ and 6600 gt - Unable to build the NVIDIA kernel module
 
Hello.

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 :

Code:


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
  a.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 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
  YSOUT=/lib/modules/2.6.23/build'...
  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 \
        KBUILD_EXTMOD="/tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/n
  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;                                                          \
        /bin/false)
  mkdir -p /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/.tmp_
  versions
  rm -f /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/.tmp_ver
  sions/*
  make -f /usr/src/linux-2.6.23/scripts/Makefile.build obj=/tmp/selfgz5045/NVI
  DIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv
  echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz5045/NVI
  DIA-Linux-x86_64-100.14.11-pkg2/usr/src/nv/nv_compiler.h
    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
  s -DCONFIG_AS_CFI=1 -D
  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
  -DNV_VERSION_STRING=\"100.14.11\" -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRU
  CT_RLIM -DNV_MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV
  _SYSCTL_MAX_MAP_COUNT_PRESENT -DNV_PM_MESSAGE_T_PRESENT -DNV_PCI_CHOOSE_STAT
  E_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_OLD_MM_KGDB_BREAKPOINT_PRESENT -D
  NV_REMAP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_ACQUIRE_CONSOL
  E_SEM_PRESENT -DNV_VMAP_4_PRESENT -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BA
  SENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/sel
  fgz5045/NVIDIA-Linux-x86_64-100.14
  .11-pkg2/usr/src/nv/.tmp_nv.o /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-
  pkg2/usr/src/nv/nv.c
  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
  /src/nv/nv-linux.h:19,
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
  /src/nv/nv.c:14:
  include/linux/prefetch.h: In function ‘prefetch_range’:
  include/linux/prefetch.h:62: warning: pointer of type ‘void *’ used in a
  rithmetic
  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
  /src/nv/nv-linux.h:19,
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
  /src/nv/nv.c:14:
  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
  /src/nv/nv-linux.h:78,
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
  /src/nv/nv.c:14:
  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
  /src/nv/nv-linux.h:112,
                    from /tmp/selfgz5045/NVIDIA-Linux-x86_64-100.14.11-pkg2/usr
  /src/nv/nv.c:14:
  include/asm/compat.h: In function ‘compat_alloc_user_space’:
  include/asm/compat.h:204: warning: pointer of type ‘void *’ used in arit
  hmetic
  /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: left KBUILD.
  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.




Thanks

netllama 11-08-07 10:06 AM

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.


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

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