Nvidia Treiber installation bricht ab

N

nibel

Doppel-As
Hi hab gerade SW12 installiert, hab aber leider ein Problem, der Nvidia Treiber installer bricht immer ab mit " Cannot build kernelmodule"

hier die log dazu:
Code:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Aug  1 13:17:44 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)
  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.
-> 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.21.5-smp/source'
-> Kernel output path: '/lib/modules/2.6.21.5-smp/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.o nv-vm.o os-
   agp.o os-interface.o os-registry.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 -rf .tmp_versions
-> Building kernel module:
   executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.21.5-smp/so
   urce SYSOUT=/lib/modules/2.6.21.5-smp/build'...
   
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.21.5-smp/build KBUILD_VERBOSE=1 -C
   /lib/modules/2.6.21.5-smp/source SUBDIRS=/tmp/selfgz2905/NVIDIA-Linux-x86-1.
   0-7184-pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.21.5-smp/build \
   	KBUILD_SRC=/usr/src/linux-2.6.21.5 \
   	KBUILD_EXTMOD="/tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv" -
   f /usr/src/linux-2.6.21.5/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/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/.tmp_vers
   ions
   rm -f /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/.tmp_version
   s/*
   make -f /usr/src/linux-2.6.21.5/scripts/Makefile.build obj=/tmp/selfgz2905/N
   VIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz2905/NVI
   DIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.1.2/include -D__K
   ERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.21.5/include -include incl
   ude/linux/autoconf.h  -I/tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/s
   rc/nv -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
   -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferr
   ed-stack-boundary=2 -march=i686 -ffreestanding -maccumulate-outgoing-args -D
   CONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -I/usr/src/linux-2.6.21.5/inc
   lude/asm-i386/mach-default -Iinclude/asm-i386/mach-default -fomit-frame-poin
   ter -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign  -I
   /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv -Wall -Wimplicit -
   Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wpare
   ntheses -Wpointer-arith -Wno-multichar -Werror -O -fno-common -MD -Wsign-com
   pare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -
   DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_V
   ERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=7184 -DNV_UNIX -DNV_LINUX -DNV
   _INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_SIGNAL_STRUCT_RLIM -DNV
   _MULTIPLE_BRIDGE_AGPGART_PRESENT -DNV_PCI_GET_CLASS_PRESENT -DNV_PM_MESSAGE_
   T_PRESENT -DNV_PCI_CHOOSE_STATE_PRESENT -DNV_VM_INSERT_PAGE_PRESENT -DNV_REM
   AP_PFN_RANGE_PRESENT -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_VMAP_4_PRESENT -DMOD
   ULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNA
   ME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/
   usr/src/nv/nv.o /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv
   .c
   In file included from /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src
   /nv/nv.c:14:
   /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv-linux.h:17:26: 
   error: linux/config.h: No such file or directory
   In file included from include/linux/list.h:8,
                    from include/linux/wait.h:22,
                    from include/asm/semaphore.h:41,
                    from include/linux/sched.h:59,
                    from include/linux/utsname.h:35,
                    from /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/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 arith
   metic
   /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.c: At top level
   :
   /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.c:93: warning: 
   'kmem_cache_t' is deprecated
   /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.c: In function 
   'nv_kern_open':
   /tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.c:1764: warning
   : passing argument 2 of 'request_irq' from incompatible pointer type
   make[4]: *** [/tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv/nv.o
   ] Error 1
   make[3]: *** [_module_/tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src
   /nv] Error 2
   make[2]: *** [modules] Error 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] 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 www.nvidia.com.
 
Nach dem Log benutzt du den Treiber in Version 7184.
Ich würde dir raten, zu versuchen den neusten Treiber zu laden. Version: 100.14.11. Oder - falls du eine ältere Karte hast, die nicht mehr unterstützt wird eben den neusten Legacy Treiber (9639 o. 7185).
 
7184 ist der neuste legacy Treiber für meine Karte
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

hmm hab gerade festgestellt, das auf nvidia,de 7184 als neuster legacy vorgestellt wird, aber auf nvidia.com 7185, werde es mal probieren, wirklich tricky
 
Zuletzt bearbeitet:
make -C /lib/modules/2.6.21.5-smp/build \
KBUILD_SRC=/usr/src/linux-2.6.21.5 \
KBUILD_EXTMOD="/tmp/selfgz2905/NVIDIA-Linux-x86-1.0-7184-pkg1/usr/src/nv" -
f /usr/src/linux-2.6.21.5/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; /QUOTE]
Hier wenn ich das richtig sehe beginnen die, probleme.
Ich glaub ich habs gleich
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

Glaube ich habe es jetzt!

Kontrollier mal ob du
autoconf installiert hast

Insgesammt müssen:
Kernel Sources
(evtl. noch Kernel Headers)
gcc
make
autoconf
installiert sein, kann aber sein ich habe noch etwas vergessen.
 
Zuletzt bearbeitet:
Insgesammt müssen:
Kernel Sources
(evtl. noch Kernel Headers)
gcc
make
autoconf
installiert sein, kann aber sein ich habe noch etwas vergessen.

wuerde mich schwer wundern wenn seine slack12 install das nicht mit installiert hat... Unter Slackware sind diese progs ein absolutes muss, da man sehr viel selber kompiliert wenn man nicht grade ein tgz als alternative nimmt :D

tippe eher darauf dann der Nvidia installer irgendwas an der kernel config vermurkst...

gReetZ
 
Kann gut sein, ich habe nur gefunden,
echo " include/linux/autoconf.h or include/config/auto.conf are missing.";

warum die Meldung konnt, weiß ich dann auch leider nicht genauer.
 

Ähnliche Themen

X startet nichtmehr

xserver startet nicht: no screens

Rollei Mini Wifi Camcorder

X not starting anymore since filesystem was full

Samba 4 Gast Zugang unter Ubuntu funktioniert nicht

Zurück
Oben