kompilacja sterowników nvidia gf4 mx 440

Tematy związane z oprogramowaniem, instalacją, konfiguracją
xbonio
Posty: 23
Rejestracja: 10 lipca 2008, 11:28
Lokalizacja: Wroc³aw

kompilacja sterowników nvidia gf4 mx 440

Post autor: xbonio »

Witam wszystkich
Wiem, że na forum były już takie tematy, jednak żaden z nich nie pomógł mi w rozwiązaniu mojego problemu.
Mam kartę graficzną nvidia gf4 mx 440, chciałem zainstalować do niej sterowniki, jednak podczas instalacji wyskakuje mi błąd:

Kod: Zaznacz cały

Unable to build the NVIDIA kernel module
Mam najnowsze jądro systemu 2.6.25.10-custom, powinno działać.

Oto mój log z instalacji sterowników:

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jul 12 12:45:01 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            : 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".
-> Kernel source path: '/lib/modules/2.6.25.10-custom/source'
-> Kernel output path: '/lib/modules/2.6.25.10-custom/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.10-custo
   m/source SYSOUT=/lib/modules/2.6.25.10-custom/build'...
   NVIDIA: calling KBUILD...
   make CC=cc KBUILD_OUTPUT=/lib/modules/2.6.25.10-custom/build KBUILD_VERBOSE=
   1 -C /lib/modules/2.6.25.10-custom/source SUBDIRS=/tmp/selfgz5679/NVIDIA-Lin
   ux-x86-96.43.05-pkg1/usr/src/nv modules
   make -C /lib/modules/2.6.25.10-custom/build \
   	KBUILD_SRC=/usr/src/linux-2.6.25.10 \
   	KBUILD_EXTMOD="/tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv" -
   f /usr/src/linux-2.6.25.10/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/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.tmp_vers

   ions ; rm -f /tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.tmp_
   versions/*
   make -f /usr/src/linux-2.6.25.10/scripts/Makefile.build obj=/tmp/selfgz5679/
   NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv
     cc -Wp,-MD,/tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.nv.o
   .d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.1/include -D__KERNEL_
   _ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.25.10/include -include include/l
   inux/autoconf.h  -I/tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv
   -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-c
   ommon -Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -m
   soft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -mar
   ch=i486 -mtune=generic -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGN
   AL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse 
   -mno-mmx -mno-sse2 -mno-3dnow -I/usr/src/linux-2.6.25.10/include/asm-x86/mac
   h-default -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-
   after-statement -Wno-pointer-sign  -I/tmp/selfgz5679/NVIDIA-Linux-x86-96.43.
   05-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-s
   ubscripts -W
   parentheses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-c
   ast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_
   VERSION_STRING=\"96.43.05\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR
   (s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)"  -D"KBUILD_MODNAME=KBUILD_STR(nvi
   dia)" -c -o /tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.tmp_n
   v.o /tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-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/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz5679/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_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/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:85,
                    from /tmp/selfgz5679/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/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:108,
                    from /tmp/selfgz5679/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
     cc -Wp,-MD,/tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/.nv-v
   m.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.3.1/include -D__KERN
   EL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.25.10/include -include includ
   e/linux/autoconf.h  -I/tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv -Wall -Wundef -Wstri
   ct-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implic
   it-function-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm
   =3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i486 -mtune=gener
   ic -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.10/include/asm-x86/mach-default -Iinclude/
   asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -Wno
   -pointer-sign  -I/tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv -
   Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparenthe
   ses -Wpointer-arith -Wno-multichar -Werror -MD -Wsign-compare -Wno-cast-qual
   -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_S
   TRING=\"96.43.05\" -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/selfgz5679/NVIDIA-Linux-
   x86-96.43.05-pkg1/usr/src/nv/.tmp_nv-vm.o /tmp/selfgz5679/NVIDIA-Linux-x86-9
   6.43.05-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/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:19,
                    from /tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/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/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:85,
                    from /tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/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/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/nv-linux.h:108,
                    from /tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv/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/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-vm.c: In functi
   on ‘nv_set_page_attrib_uncached’:
   /tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-vm.c:64: warnin
   g: ‘change_page_attr’ is deprecated (declared at include/asm/cacheflush.
   h:27)
   /tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-vm.c: In functi
   on ‘nv_set_page_attrib_cached’:
   /tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-vm.c:79: warnin
   g: ‘change_page_attr’ is deprecated (declared at include/asm/cacheflush.
   h:27)
   /tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-vm.c: In functi
   on ‘nv_flush_caches’:
   /tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-vm.c:363: error
   : implicit declaration of function ‘global_flush_tlb’
   make[4]: *** [/tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src/nv/nv-v
   m.o] Błąd 1
   make[3]: *** [_module_/tmp/selfgz5679/NVIDIA-Linux-x86-96.43.05-pkg1/usr/src
   /nv] Błąd 2
   make[2]: *** [sub-make] 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].
Czy powodem tego może być to, że sterowniki nie lubią się z moim kernelem? A może nie doinstalowałem jakiegoś pakietu?
Proszę o pomoc.
ODPOWIEDZ