View Single Post
Old 06-02-11, 05:36 AM   #1
odin89
Registered User
 
Join Date: Jun 2011
Posts: 6
Default Driver 256.53 on Ubuntu Natty

Hello,

I tried to install the driver 256.53 on my new Linux Mint 11 (based on natty) because with the 270 Driver I have tearing problems with my Movies.
But when i run the installer i got the following error:
ERROR: Unable to build the NVIDIA kernel module.

Here´s the log file:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Jun  2 12:24:27 2011
installer version: 256.53

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
  no cc version 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.
-> Installing NVIDIA driver version 256.53.
-> Running distribution scripts
   executing: '/usr/lib/nvidia/pre-install'...
-> done.
-> The distribution-provided pre-install script failed!  Continue installation 
   anyway? (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.38-8-generic/build'
-> Kernel output path: '/lib/modules/2.6.38-8-generic/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; make clean'...
-> Building kernel module:
   executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.38-8-generic/bu
   ild SYSOUT=/lib/modules/2.6.38-8-generic/build'...
   NVIDIA: calling KBUILD...
   test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
   	echo;								\
   	echo "  ERROR: Kernel configuration is invalid.";		\
   	echo "         include/generated/autoconf.h or include/config/auto.conf are
   missing.";\
   	echo "         Run 'make oldconfig && make prepare' on kernel src to fix it
   .";	\
   	echo;								\
   	/bin/false)
   mkdir -p /tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/.tmp_versions ; r
   m -f /tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/.tmp_versions/*
   make -f scripts/Makefile.build obj=/tmp/selfgz3290/NVIDIA-Linux-x86_64-256.5
   3/kernel
     cc -Wp,-MD,/tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/.nv.o.d  -nos
   tdinc -isystem /usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/include 
   -I/usr/src/linux-headers-2.6.38-8-generic/arch/x86/include -Iinclude  -inclu
   de include/generated/autoconf.h -Iubuntu/include  -D__KERNEL__ -Wall -Wundef
   -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-
   implicit-function-declaration -Wno-fo
   rmat-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-r
   ed-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-
   protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_S
   ECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -pipe -Wno-sign-compare -fno-asynchronous-un
   wind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 
   -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-
   statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_
   ASM_GOTO -I/tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel -Wall -MD -Wsig
   n-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSIO
   N_STRING=\"256.53\" -mcmodel=kernel -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG 
   -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD
   _MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3290/NVIDIA-Linux-x86_64-256.5
   3/kernel/.tmp_nv.o /tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/nv.c
   In file included from include/linux/kernel.h:17:0,
                    from include/linux/sched.h:55,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/nv-l
   inux.h:27,
                    from /tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/nv.c
   :13:
   include/linux/bitops.h: In function ‘hweight_long’:
   include/linux/bitops.h:49:41: warning: signed and unsigned type in condition
   al expression
   In file included from /usr/src/linux-headers-2.6.38-8-generic/arch/x86/inclu
   de/asm/uaccess.h:573:0,
                    from include/linux/poll.h:14,
                    from /tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/nv-l
   inux.h:84,
                    from /tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/nv.c
   :13:
   /usr/src/linux-headers-2.6.38-8-generic/arch/x86/include/asm/uaccess_64.h: I
   n function ‘copy_from_user’:
   /usr/src/linux-headers-2.6.38-8-generic/arch/x86/include/asm/uaccess_64.h:54
   :6: warning: comparison between signed and unsigned integer expressions
   /tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/nv.c: At top level:
   /tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/nv.c:426:5: error: unknown
   field ‘ioctl’ specified in initializer
   /tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/nv.c:426:5: warning: initi
   alization from incompatible pointer type
   make[3]: *** [/tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel/nv.o] Fehler
   1
   make[2]: *** [_module_/tmp/selfgz3290/NVIDIA-Linux-x86_64-256.53/kernel] Feh
   ler 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Fehler 1
   make: *** [module] Fehler 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.
Can someone please help me?

odin89
odin89 is offline   Reply With Quote