nvidia driver b

Zagadnienia dotyczące menadżerów okien, środowisk graficznych - X, KDE, GNOME, Fluxbox, XFCE., Compiz itp.
meliorus
Beginner
Posty: 143
Rejestracja: 20 maja 2008, 07:41

nvidia driver błąd na kernelu 2.6.25-2-486

Post autor: meliorus »

Witam!
próbuję zainstalować najnowsze sterowniki ze strony producenta na

Kod: Zaznacz cały

  Linux debian 2.6.25-2-486 #1 Wed May 14 15:56:16 UTC 2008 i686 GNU/Linux
I niestety kompilator nvidi dochodzi mi do Build Nvidia kernel module. dochodzi do 100% i wywala mi błąd:
#
nvidia-installer log file '/var/log/nvidia-installer.log'
#
creation time: Sun May 25 22:39:16 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 : 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.
#
-> 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.2). 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.25-2-486/build'
#
-> Kernel output path: '/lib/modules/2.6.25-2-486/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-2-486/bu
#
ild SYSOUT=/lib/modules/2.6.25-2-486/build'...
#
NVIDIA: calling KBUILD...
#
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.25-2-486/build SUBDIRS=/tmp
#
/selfgz4457/NVIDIA-Linux-x86-169.12-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/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.tmp_versio
#
ns ; rm -f /tmp/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.tmp_vers
#
ions/*
#
make -f scripts/Makefile.build obj=/tmp/selfgz4457/NVIDIA-Linux-x86-169.12-p
#
kg1/usr/src/nv
#
cc -Wp,-MD,/tmp/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.nv.o.d
#
-nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.4/include -D__KERNEL__ -
#
Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototype
#
s -Wno-trigraphs -fno-strict-aliasing -fno-
#
common -Werror-implicit-function-declaration -Os -fno-stack-protector -m32
#
-msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -
#
march=i486 -mtune=generic -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_S
#
IGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-s
#
se -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fomit-frame
#
-pointer -Wdeclaration-after-statement -Wno-pointer-sign -I/tmp/selfgz4457
#
/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wsw
#
itch -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)" -D"KBUILD_MODNAME=KBU
#
ILD_STR(nvidia)" -c -o /tmp/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/
#
nv/.tmp_nv.o /tmp/selfgz4457/NVIDIA-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/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
#
v/nv-linux.h:19,
#
from /tmp/selfgz4457/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/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
#
v/nv-linux.h:86,
#
from /tmp/selfgz4457/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/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
#
v/nv-linux.h:109,
#
from /tmp/selfgz4457/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
#
cc -Wp,-MD,/tmp/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.nv-vm.
#
o.d -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.2.4/include -D__KERNEL
#
__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-proto
#
types -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-funct
#
ion-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -fre
#
g-struct-return -mpreferred-stack-boundary=2 -march=i486 -mtune=generic -ff
#
reestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign
#
-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3d
#
now -Iinclude/asm-x86/mach-default -fomit-frame-pointer -Wdeclaration-after-
#
statement -Wno-pointer-sign -I/tmp/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1
#
/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -W
#
char-subscripts -Wparentheses -Wpointer-arith -Wno-multichar -Werror -MD -
#
Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VE
#
RSION_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(nvi
#
dia)" -c -o /tmp/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/.tmp_nv-
#
vm.o /tmp/selfgz4457/NVIDIA-Linux-x86-169.12-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/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
#
v/nv-linux.h:19,
#
from /tmp/selfgz4457/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/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
#
v/nv-linux.h:86,
#
from /tmp/selfgz4457/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/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
#
v/nv-linux.h:109,
#
from /tmp/selfgz4457/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/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c: In function
#
‘nv_set_page_attrib_uncached’:
#
/tmp/selfgz4457/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/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c: In function
#
‘nv_set_page_attrib_cached’:
#
/tmp/selfgz4457/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/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c: In function
#
‘nv_flush_caches’:
#
/tmp/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.c:364: error:
#
implicit declaration of function ‘global_flush_tlb’
#
make[3]: *** [/tmp/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/nv/nv-vm.
#
o] Błąd 1
#
make[2]: *** [_module_/tmp/selfgz4457/NVIDIA-Linux-x86-169.12-pkg1/usr/src/n
#
v] 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 http://www.nvidia.com.

Kod: Zaznacz cały

meliorus@debian:~$ dpkg -l | grep linux-image-`uname -r` 
ii  linux-image-2.6.25-2-486             2.6.25-3                         Linux 2.6.25 image on x86

Kod: Zaznacz cały

meliorus@debian:~$ dpkg -l | grep linux-headers
ii  linux-headers-2.6.25-2-486           2.6.25-3                         Header files for Linux 2.6.25 on x86
ii  linux-headers-2.6.25-2-common        2.6.25-3                         Common header files for Linux 2.6.25
meliorus@debian:~$ 
Pomocy :( ( Nie wiem jak ruszyć z miejsca =(
_dexter

Post autor: _dexter »

Po pierwsze masz niezgodność kompilatora jądra i nvidii
Po drugie zobacz ten temat:
http://debian.linux.pl/viewtopic.php?t=8720
PhockouS

Post autor: PhockouS »

Na jądrze 2.6.25-2 Nvidia jak narazie nie działa.
meliorus
Beginner
Posty: 143
Rejestracja: 20 maja 2008, 07:41

Post autor: meliorus »

jaka nazwe to jajko nosi w repo bo ja szukam po wersji 2.6.25-4 i nie znajduje mi :(
_dexter

Post autor: _dexter »

W repo najnowszym jajkiem jest 2.6.25-2, natomiast jajko 2.6.25-4 możesz pobrać np. z kernel.org i sam skompilować :)
Latorion
Beginner
Posty: 135
Rejestracja: 13 kwietnia 2008, 13:08
Lokalizacja: Chojnice i okolice

Post autor: Latorion »

_dexter pisze:W repo najnowszym jajkiem jest 2.6.25-2, natomiast jajko 2.6.25-4 możesz pobrać np. z kernel.org i sam skompilować :)
A z tym najnowszym jajkiem zadziała sterownik od nvidii? :-P
Pozdrawiam
Artur
_dexter

Post autor: _dexter »

Powiem tak pobrałem jajko z kernel.org, skompilowałem wg. opisu z tego forum
sterowniki zainstalowały się bez problemu (oczywiście sterowniki w wersji 173.08).
meliorus
Beginner
Posty: 143
Rejestracja: 20 maja 2008, 07:41

Post autor: meliorus »

ehh mi nawet na tym kernelu te drivery nie chca sie zaintsalowac :(
2.6.24-1-486
Bo wywala bład: coś tam z kernel sourc trees czy coś takeigo :(
i nie wiem kompletnie o co w tym biega :/

A komunikat z logu brzmi:

Kod: Zaznacz cały

    nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon May 26 17:11:07 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: 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.2).  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: Yes)
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].         
Awatar użytkownika
ilin
Senior Member
Posty: 2292
Rejestracja: 26 sierpnia 2007, 11:54
Lokalizacja: PRLu

Post autor: ilin »

Kod: Zaznacz cały

 The compiler used to compile the kernel (gcc 4.1) does not exactly match the
   current compiler (gcc 4.2).  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.
Jak byk stoi przeciez ze masz ustawioną zla wersję gcc.
(Nie tyle zla co inną niz kernel byl kompilowany)
AdeBe
Junior Member
Posty: 825
Rejestracja: 01 grudnia 2007, 14:41

Post autor: AdeBe »

meliorus pisze: 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: Yes)
Czy ja dobrze czytam i przerywasz instalację na własne życzenie :shock: czy tylko mi się wydaje :?:
ODPOWIEDZ