nVidia-Treiber-Installation auf Kernel 2.6.25

GambaJo

GambaJo

Maxi King alraaaight!!!
Ich habe mir eben für Debian testing den aktuellen Kernel (2.6.25) kompiliert.
Dann habe ich mit diesem Kernel gebootet und wollte meinen nVidia-Treiber (NVIDIA-Linux-x86-169.12-pkg1.run) installieren. Zunächst kommen die üblichen Abfragen, aber wenn er das Modul erstellt, bricht er mit "Unable to build the NVIDIA kernel module" ab.

Hier nvidia-installer.log:

Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Apr 17 23:32:06 2008

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            : true
  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
-> License accepted.
-> There appears to already be a driver installed on your system (version: 169.
   12).  As part of installing this driver (version: 169.12), the existing driv
   er will be uninstalled.  Are you sure you want to continue? ('no' will abort
   installation) (Answer: Yes)
-> 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)
ERROR: Unable to connect to download.nvidia.com (unknown host)
-> 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.25/source'
-> Kernel output path: '/lib/modules/2.6.25/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./usr/src/nv; make clean'...
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.25/source S
   YSOUT=/lib/modules/2.6.25/build'...
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.25/build KBUILD_VERBOSE=1 -C /lib/
   modules/2.6.25/source SUBDIRS=/tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/u
   sr/src/nv modules
   make -C /lib/modules/2.6.25/build \
   	KBUILD_SRC=/usr/src/linux-2.6.25 \
   	KBUILD_EXTMOD="/tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv" -f 
   /usr/src/linux-2.6.25/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/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.tmp_versio
   ns ; rm -f /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.tmp_vers
   ions/*
   make -f /usr/src/linux-2.6.25/scripts/Makefile.build obj=/tmp/selfgz3576/NVI
   DIA-Linux-x86-169.12-pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.nv.o.d
    -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include -D__KERNEL__ -
   Iinclude -Iinclude2 -I/usr/src/linux-2.6.25/include -include include/linux/a
   utoconf.h  -I/tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv -Wall -
   Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -
   Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -msoft-fl
   oat -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=athl
   on -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wn
   o-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -
   mno-3dnow -I/usr/src/linux-2.6.25/include/asm-x86/mach-default -Iinclude/asm
   -x86/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno-po
   inter-sign  -I/tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv -Wall 
   -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -
   Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno
   -cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169
   .12\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASE
   NAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfg
   z3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz3576/NVID
   IA-Linux-x86-169.12-pkg1/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:54,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv-linux.h:19,
                    from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/asm/dma-mapping_32.h:5,
                    from include/asm/dma-mapping.h:2,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:90,
                    from include/linux/pci.h:945,
                    from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv-linux.h:86,
                    from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv.c:14:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used 
   in arithmetic
   In file included from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv-linux.h:109,
                    from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv.c:14:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv.c: In function â€
   ˜__nv_setup_pat_entries’:
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv.c:944: warning: c
   omparison between signed and unsigned
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv.c: In function â€
   ˜__nv_restore_pat_entries’:
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv.c:970: warning: c
   omparison between signed and unsigned
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv.c: In function â€
   ˜nv_kern_cpu_callback’:
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv.c:1283: warning: 
   comparison between signed and unsigned
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv.c:1290: warning: 
   comparison between signed and unsigned
     cc -Wp,-MD,/tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.nv-vm.
   o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.3/include -D__KERNEL
   __ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.25/include -include include/lin
   ux/autoconf.h  -I/tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv -Wa
   ll -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-comm
   on -Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -msof
   t-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=
   athlon -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe
   -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse
   2 -mno-3dno
   w -I/usr/src/linux-2.6.25/include/asm-x86/mach-default -Iinclude/asm-x86/mac
   h-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-si
   gn  -I/tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv -Wall -Wimplic
   it -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer
   -arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual -Wno-error -
   D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"169.12\" -UDEBUG -U_DEBUG 
   -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"
    -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3576/NVIDIA-Linux-x8
   6-169.12-pkg1/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz3576/NVIDIA-Linux-x86-169.1
   2-pkg1/usr/src/nv/nv-vm.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:54,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv-linux.h:19,
                    from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv-vm.c:14:
   include/linux/prefetch.h: In function ‘prefetch_range’:
   include/linux/prefetch.h:57: warning: pointer of type ‘void *’ used in a
   rithmetic
   In file included from include/asm/dma-mapping_32.h:5,
                    from include/asm/dma-mapping.h:2,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:90,
                    from include/linux/pci.h:945,
                    from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv-linux.h:86,
                    from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv-vm.c:14:
   include/linux/scatterlist.h: In function ‘sg_virt’:
   include/linux/scatterlist.h:199: warning: pointer of type ‘void *’ used 
   in arithmetic
   In file included from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv-linux.h:109,
                    from /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v/nv-vm.c:14:
   include/linux/highmem.h: In function ‘zero_user_segments’:
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:134: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   include/linux/highmem.h:137: warning: pointer of type ‘void *’ used in a
   rithmetic
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c: In function
   ‘nv_set_page_attrib_uncached’:
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c:64: warning:
   ‘change_page_attr’ is deprecated (declared at include/asm/cacheflush.h:2
   8)
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c: In function
   ‘nv_set_page_attrib_cached’:
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c:79: warning:
   ‘change_page_attr’ is deprecated (declared at include/asm/cacheflush.h:2
   8)
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c: In function
   ‘nv_flush_caches’:
   /tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c:364: error: 
   implicit declaration of function ‘global_flush_tlb’
   make[4]: *** [/tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.
   o] Fehler 1
   make[3]: *** [_module_/tmp/selfgz3576/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
   v] Fehler 2
   make[2]: *** [sub-make] Fehler 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.
 
Ah, ok, danke.
Ich vermute, da der Kernel jetzt stable ist, wird nVidia bald mit dem Treiber nachziehen.
 

Ähnliche Themen

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

openSUSE 12.2 - Kann Kernel nicht vorbereiten / kompilieren

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

Akonadi startet nicht mehr

NagiosGrapher 1.7.1 funktioniert nicht

Zurück
Oben