Nvidia-Treiber - Installation schlägt fehl

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
Benutzeravatar
hammurabi
Beiträge: 189
Registriert: 31.12.2003 16:39:47

Nvidia-Treiber - Installation schlägt fehl

Beitrag von hammurabi » 26.04.2005 01:06:40

Hallo Leute, dass ich nicht der einzige bin, der damit Probleme hat, ist mir durch googlen schon aufgefallen, leider kann ich mein Problem nicht lösen.

Die Fehlermeldung:

Code: Alles auswählen

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.
Er fängt immerhin schon mal an. Leider ist die /var/log/nvidia-installer.log
nicht nur riesig groß, sondern auch voller fehler:

Code: Alles auswählen

 /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:2638: Warnun
   g: Ganzzahlkonstante ist zu groß für »unsigned long«-Typ
   /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:2638: Warnun
   g: comparison is always false due to limited range of data type
   /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:2638: Warnun
   g: Ganzzahlkonstante ist zu groß für »unsigned long«-Typ
   /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:2638: Warnun
   g: Ganzzahlkonstante ist zu groß für »unsigned longeldungen:
und noch diverses anderes ...
Hat jemand irgend einen Hinweis für mich?

Dank im Voraus!

Benutzeravatar
pdreker
Beiträge: 8298
Registriert: 29.07.2002 21:53:30
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Nürnberg

Beitrag von pdreker » 26.04.2005 02:07:57

Such 'mal den *Fehler* raus, das was Du da gepastet hast, sind alles nur (harmlose) Warnungen...

Patrick
Definitely not a bot...
Jabber: pdreker@debianforum.de

Benutzeravatar
hammurabi
Beiträge: 189
Registriert: 31.12.2003 16:39:47

Beitrag von hammurabi » 26.04.2005 12:07:59

Ich habe mal das log-file gekürzt und alle gleich anmutenden Abschnitte zusammengekürzt.

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Tue Apr 26 00:55:12 2005

Code: Alles auswählen

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  no precompiled interface: false
  no ncurses color        : false
  query latest driver ver : false
  OpenGL header files     : false
  no questions            : false
  silent                  : 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
  force tls               : (not specified)
  force compat32 tls      : (not specified)
  X install prefix        : /usr/X11R6
  OpenGL install prefix   : /usr
  compat32 install prefix : (not specified)
  installer install prefix: /usr
  utility install prefix  : /usr
  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: No)
-> No precompiled kernel interface was found to match your kernel; this means
   that the installer will need to compile a new kernel interface.
-> Kernel source path: '/usr/src/linux'
-> Performing CC test with CC="cc".
-> Performing rivafb 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=/usr/src/linux SYSOUT=/usr/s
   rc/linux'...
   
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/selfgz10668/NVID
   IA-Linux-x86-1.0-7174-pkg1/usr/src/nv modules
   mkdir -p /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.tmp_ver
   sions
   make -f scripts/Makefile.build obj=/tmp/selfgz10668/NVIDIA-Linux-x86-1.0-717
   4-pkg1/usr/src/nv
   echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > /tmp/selfgz10668/NV
   IDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv_compiler.h
     cc -Wp,-MD,/tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/.nv.
   o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude  -Wall -Wstrict-pr
   ototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float 
   -mpreferred-stack-boundary=2   -Iinclude/asm-i386/mach-default -O2 -fomit-fr
   ame-pointer  -I/tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv -W
   all -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthes
   es -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -MD   -Wsign-comp
   are -Wno-cast-qual -Wno-error -D_LOO
   SE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_
   NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_
   PATCHLEVEL=7174  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -
   UDEBUG -U_DEBUG -DNDEBUG -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVI
   CE_PRESENT  -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /tmp
   /selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.o /tmp/selfgz10668
   /NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c
   In file included from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv-linux.h:45,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/kernel.h:82: Warnung: conflicting types for built-in function 
   `snprintf'
   include/linux/kernel.h:83: Warnung: conflicting types for built-in function 
   `vsnprintf'
   In file included from include/linux/thread_info.h:20,
                    from include/linux/spinlock.h:12,
                    from include/linux/capability.h:45,
                    from include/linux/sched.h:7,
                    from include/linux/module.h:10,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv-linux.h:46,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/bitops.h: In Funktion »generic_hweight64«:
   include/linux/bitops.h:118: Warnung: Ganzzahlkonstante ist zu groß für »unsi
   gned long«-Typ
  
   In file included from include/linux/timex.h:155,
                    from include/linux/sched.h:11,
                    from include/linux/module.h:10,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv-linux.h:46,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv.c:14:
   include/asm/timex.h: In Funktion »get_cycles«:
   include/asm/timex.h:29: Warnung: left shift count >= width of type
   In file included from include/linux/string.h:24,
                    from include/linux/bitmap.h:8,
                    from include/linux/cpumask.h:77,
                    from include/linux/sched.h:15,
                    from include/linux/module.h:10,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv-linux.h:46,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv.c:14:
   include/asm/string.h: Auf höchster Ebene:
   include/asm/string.h:50: Warnung: conflicting types for built-in function `_
   _builtin_memcmp'
   In file included from include/linux/bitmap.h:8,
                    from include/linux/cpumask.h:77,
                    from include/linux/sched.h:15,
                    from include/linux/module.h:10,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv-linux.h:46,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv.c:14:
   
   include/linux/string.h:48: Warnung: conflicting types for built-in function 
   `strncmp'
   
In file included from include/linux/list.h:7,
                    from include/linux/wait.h:14,
                    from include/asm/semaphore.h:42,
                    from include/linux/sched.h:18,
                    from include/linux/module.h:10,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv-linux.h:46,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/prefetch.h: In Funktion »prefetch_range«:
   include/linux/prefetch.h:62: Warnung: Zeiger auf Typen »void *« in Arithmeti
   k verwendet
   In file included from include/linux/mm.h:30,
                    from include/linux/poll.h:11,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv-linux.h:58,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv.c:14:
   include/asm/pgtable.h: In Funktion »pgd_bad«:
   include/asm/pgtable.h:220: Warnung: left shift count >= width of type
     include/asm/pgtable.h:340: Warnung: Ganzzahlkonstante ist zu groß für »unsig
   ned long«-Typ
   include/asm/pgtable.h: In Funktion »pte_modify«:
   include/asm/pgtable.h:380: Warnung: left shift count >= width of type
   In file included from include/linux/poll.h:11,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv-linux.h:58,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv.c:14:
   include/linux/mm.h: In Funktion »lowmem_page_address«:
   include/linux/mm.h:406: Warnung: Ganzzahlkonstante ist zu groß für »unsigned
   long«-Typ
   include/linux/mm.h: In Funktion »pmd_alloc«:
   include/linux/mm.h:587: Warnung: left shift count >= width of type
   include/linux/mm.h:587: Warnung: Ganzzahlkonstante ist zu groß für »unsigned
   long«-Typ
   In file included from include/linux/pci.h:861,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv-linux.h:69,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv.c:14:
   include/asm/pci.h: In Funktion »pci_dma_sync_single_for_cpu«:
   include/asm/pci.h:147: Warnung: implicit declaration of function `flush_writ
   e_buffers'
   include/asm/pci.h: In Funktion »pci_dac_page_to_dma«:
   include/asm/pci.h:322: Warnung: implicit declaration of function `page_to_ph
   ys'
   include/asm/pci.h: In Funktion »pci_dac_dma_to_page«:
   include/asm/pci.h:329: Warnung: Ganzzahlkonstante ist zu groß für »unsigned 
   long«-Typ
  include/asm/pci.h:329: Warnung: Ganzzahlkonstante ist zu groß für »unsigned 
   long«-Typ
   In file included from include/asm/dma-mapping.h:4,
                    from include/linux/dma-mapping.h:16,
                    from include/asm/pci.h:362,
                    from include/linux/pci.h:861,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv-linux.h:69,
                    from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv.c:14:
   include/asm-generic/dma-mapping.h: In Funktion »dma_map_page«:
   include/asm-generic/dma-mapping.h:79: Warnung: Zeiger auf Typen »void *« in 
   Arithmetik verwendet
   In Datei, eingefügt von /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/
   src/nv/nv.c:14:
   /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:691:2:
   Warnung: #warning "conftest.sh failed, assuming remap_page_range(4)!"
   In file included from /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv/nv.c:14:
   /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h: In Fu
   nktion »NV_SET_PAGE_ATTRIB_UNCACHED«:
   /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv-linux.h:1024: 
  nzzahl ohne Typkonvertierung
   /tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.c:1541: error:
   incompatible type for argument 4 of `remap_page_range'
  g: Ganzzahlkonstante ist zu groß für »unsigned long«-Typ
   {standard input}: Assembler messages:
   {standard input}:975: Error: suffix or operands invalid for `pop'
  {standard input}:1084: Error: suffix or operands invalid for `push'
   make[3]: *** [/tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/src/nv/nv.
   o] Fehler 1
   make[2]: *** [_module_/tmp/selfgz10668/NVIDIA-Linux-x86-1.0-7174-pkg1/usr/sr
   c/nv] 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.

Antworten