Strona 1 z 2

NVIDIA GeForce4 mx 440 i bład podczas instalacji

: 13 marca 2009, 14:45
autor: M@rtin
Chciałem zainstalować ten sterownik w Debianie Lennym tak jak przedstawił to Kaka' w swoim poradniku. Niestety podczas instalacji wyskoczyły 2 błędy. Log z instalacji.

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Mar 13 14:32:02 2009

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              : [url]ftp://download.nvidia.com[/url]
  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 ([url]ftp://download.nvidia.com[/url])? (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".
-> The CC version check failed:
   
   The compiler used to compile the kernel (gcc 4.1) does not exactly match the
   current compiler (gcc 4.3).  The Linux 2.6 kernel module loader rejects kern
   el modules built with a version of gcc that does not exactly match that of t
   he compiler used to build the running kernel.
   
   If you know what you are doing and want to ignore the gcc version check, sel
   ect "No" to continue installation.  Otherwise, select "Yes" to abort install
   ation, set the CC environment variable to the name of the compiler used to c
   ompile your kernel, and restart installation.  Abort now? (Answer: No)
ERROR: Unable to find the kernel source tree for the currently running kernel. 
       Please make sure you have installed the kernel source files for your
       kernel and that they are properly configured; on Red Hat Linux systems,
       for example, be sure you have the 'kernel-source' or 'kernel-devel' RPM
       installed.  If you know the correct kernel source files are installed,
       you may specify the kernel source path with the '--kernel-source-path'
       command line option.
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 [url]www.nvidia.com[/url].

: 13 marca 2009, 14:51
autor: ilin
Nie masz linux-headers stosowny do wersji kernela.


Dla tej karty instaluj sterownik w wersji 96.43.10

: 13 marca 2009, 14:58
autor: M@rtin
Zainstalowałem nagłówki ale teraz wyświetla się coś o nie właściwej wersji gcc. Pisze, że nie można znaleść jakiejś tam struktury do mojego kernela i trzeba skompilować samemu i wyskakuje bład.

: 13 marca 2009, 15:00
autor: ilin
Pokaż ten błąd.

: 13 marca 2009, 15:15
autor: M@rtin
ERROR: Unable to find the development tool `cc` in your path; please make sure
that you have the package 'gcc' installed. If gcc is installed on your
system, then please check that `cc` is in your PATH.
Chcialem przeinstalowac gcc i po tym zaczelo to sie pojawiac. Przedtem byla informacja cos o zlej wersji gcc.

: 13 marca 2009, 15:18
autor: ilin
Nie masz kompilatora.

Zainstaluj pakiet build-essential W zależnościach wszystko dociągnie.

Tą wersję gcc zignoruj powinno się zainstalować mimo to.Zresztą to łatwo zmienić.

: 13 marca 2009, 15:36
autor: M@rtin
Zainstalowałem i robi się tak jak przedtem. Pisze, compile kernel module. Szybko dochodzi do 100% i wyskakuje komunikat, że nie udało się skompilować. Da się jakoś zamienić kompilator z 4.3 na 4.1?

: 13 marca 2009, 15:38
autor: ilin
Tak da sie zmienić ale nie sadze aby w tym był problem.

Wrzuc tu jeszcze raz caly log z kompilacji.

: 13 marca 2009, 16:29
autor: M@rtin

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Fri Mar 13 16:27:08 2009

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              : [url]ftp://download.nvidia.com[/url]
  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 ([url]ftp://download.nvidia.com[/url])? (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.
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> The CC version check failed:
   
   The compiler used to compile the kernel (gcc 4.1) does not exactly match the
   current compiler (gcc 4.3).  The Linux 2.6 kernel module loader rejects kern
   el modules built with a version of gcc that does not exactly match that of t
   he compiler used to build the running kernel.
   
   If you know what you are doing and want to ignore the gcc version check, sel
   ect "No" to continue installation.  Otherwise, select "Yes" to abort install
   ation, set the CC environment variable to the name of the compiler used to c
   ompile your kernel, and restart installation.  Abort now? (Answer: No)
-> Kernel source path: '/lib/modules/2.6.26-1-686/build'
-> Kernel output path: '/lib/modules/2.6.26-1-686/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.26-1-686/bu
   ild SYSOUT=/lib/modules/2.6.26-1-686/build'...
   NVIDIA: calling KBUILD...
   make CC=cc  KBUILD_VERBOSE=1 -C /lib/modules/2.6.26-1-686/build SUBDIRS=/tmp
   /selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv 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/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.tmp_vers
   ions ; rm -f /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.tmp_
   versions/*
   make -f scripts/Makefile.build obj=/tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05
   -pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.2/include -D__KERNEL_
   _ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-protot
   ypes -Wno-trigraphs -fno-strict-alia
   sing -fno-common -Werror-implicit-function-declaration -Os   -fno-stack-prot
   ector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-bo
   undary=2  -march=i686 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNA
   L_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -
   mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fomit-frame-poi
   nter -Wdeclaration-after-statement -Wno-pointer-sign   -I/tmp/selfgz3955/NVI
   DIA-Linux-x86-96.43.05-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswit
   ch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -
   Werror -MD   -Wsign-compare -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES 
   -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.05\" -UDEBUG -U_DEB
   UG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)
   "  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /tmp/selfgz3955/NVIDIA-Linux-
   x86-96.43.05-pkg1/usr/src/nv/.tmp_nv.o /tmp/selfgz3955/NVIDIA-Linux-x86-96.4
   3.05-pkg1/usr/src/nv/nv.c
   In file included from include/linux/list.h:6,
                    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/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/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.h:9,
                    from include/linux/dma-mapping.h:52,
                    from include/asm-generic/pci-dma-compat.h:7,
                    from include/asm/pci.h:92,
                    from include/linux/pci.h:948,
                    from /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:85,
                    from /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/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/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:108,
                    from /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/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/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: In function 
   ‘nvos_proc_create’:
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:505: error: â
   €˜proc_root_driver’ undeclared (first use in this function)
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:505: error: (
   Each undeclared identifier is reported only once
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:505: error: f
   or each function it appears in.)
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: In function 
   ‘__nv_setup_pat_entries’:
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:833: warning:
   comparison between signed and unsigned
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: In function 
   ‘__nv_restore_pat_entries’:
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:859: warning:
   comparison between signed and unsigned
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: In function 
   ‘nv_kern_cpu_callback’:
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:1170: warning
   : comparison between signed and unsigned
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:1177: warning
   : comparison between signed and unsigned
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: In function 
   ‘nv_kern_vma_nopage’:
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:1699: error: 
   ‘NOPAGE_SIGBUS’ undeclared (first use in this function)
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c: At top level
   :
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:1706: error: 
   unknown field ‘nopage’ specified in initializer
   /tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.c:1706: warning
   : initialization from incompatible pointer type
   make[3]: *** [/tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv.o
   ] BÅ‚Ä…d 1
   make[2]: *** [_module_/tmp/selfgz3955/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv] BÅ‚Ä…d 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] BÅ‚Ä…d 1
   make: *** [module] BÅ‚Ä…d 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 [url]www.nvidia.com[/url].

: 13 marca 2009, 16:52
autor: ilin
Instalujesz nieodpowiedni sterownik.

Na samym początku napisałem Ci jaką wersję sterownika masz instalować. :/