Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2010-07-03 11:55:18

  johny - Użytkownik

johny
Użytkownik
Zarejestrowany: 2010-05-21

Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

Witam!

Mam problem z zainstalowaniem sterowników NVIDIA-Linux-x86_64-256.35.
Zainstalowane mam 2 kernele: linux-image-2.6.32-5-amd64 i linux-image-2.6.32-trunk-amd64. Korzystam z tego pierwszego, bo to drugie jest chyba starsze i nawet nie ma do niego nagłówków w repo.

Z istotniejszych dla sprawy rzeczy zainstalowane mam:

Kod:

$ dpkg -l | grep " build-essential\| gcc\| linux-image\| linux-headers"

ii  build-essential                      11.5                           Informational list of build-essential packages
ii  gcc                                  4:4.4.4-2                      The GNU C compiler
ii  gcc-4.3                              4.3.5-1                        The GNU C compiler
ii  gcc-4.3-base                         4.3.5-1                        The GNU Compiler Collection (base package)
ii  gcc-4.4                              4.4.4-5                        The GNU C compiler
ii  gcc-4.4-base                         4.4.4-5                        The GNU Compiler Collection (base package)
ii  linux-headers-2.6-amd64              2.6.32+27                      Header files for Linux 2.6-amd64 (meta-package)
ii  linux-headers-2.6.32-5-amd64         2.6.32-15                      Header files for Linux 2.6.32-5-amd64
ii  linux-headers-2.6.32-5-common        2.6.32-15                      Common header files for Linux 2.6.32-5
ii  linux-image-2.6-amd64                2.6.32+27                      Linux 2.6 for 64-bit PCs (meta-package)
ii  linux-image-2.6.32-5-amd64           2.6.32-15                      Linux 2.6.32 for 64-bit PCs
ii  linux-image-2.6.32-trunk-amd64       2.6.32-5                       Linux 2.6.32 for 64-bit PCs

Log z instalacji:

Kod:

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jul  3 11:19:29 2010
installer version: 256.35

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
  no cc version check     : false
  force tls               : (not specified)
  force compat32 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)
  compat32 install chroot : (not specified)
  compat32 install prefix : (not specified)
  compat32 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.
-> Installing NVIDIA driver version 256.35.
-> 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.3) does not exactly match the
   current compiler (gcc 4.4).  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.32-5-amd64/source'
-> Kernel output path: '/lib/modules/2.6.32-5-amd64/build'
-> Performing rivafb check.
-> Performing nvidiafb check.
-> Performing Xen check.
-> Cleaning kernel module build directory.
   executing: 'cd ./kernel; make clean'...
-> Building kernel module:
   executing: 'cd ./kernel; make module SYSSRC=/lib/modules/2.6.32-5-amd64/sour
   ce SYSOUT=/lib/modules/2.6.32-5-amd64/build'...
   NVIDIA: calling KBUILD...
   make -C /lib/modules/2.6.32-5-amd64/build \
       KBUILD_SRC=/usr/src/linux-headers-2.6.32-5-common \
       KBUILD_EXTMOD="/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel" -f /usr/s
   rc/linux-headers-2.6.32-5-common/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/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.tmp_versions ; r
   m -f /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.tmp_versions/*
   make -f /usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.build obj=/t
   mp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel
     cc -Wp,-MD,/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.nv.o.d  -nos
   tdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.4/include -Iinclude -Iinclu
   de2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-header
   s-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -I/tm
   p/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -D__KERNEL__ -Wall -Wundef -W
   strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-im
   plicit-function-declaration -Wno-format-security -fno-delete-null-pointer-ch
   ecks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time 
   -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_C
   FI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -m
   no-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-frame-p
   ointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overfl
   ow -fno-dwarf2-cfi-asm -fconserve-stack   -I/tmp/selfgz2210/NVIDIA-Linux-x86
   _64-256.35/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KER
   NEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.35\" -mcmodel=kernel -mno-re
   d-zone -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/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.t
   mp_nv.o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nv.c
     cc -Wp,-MD,/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.nv_gvi.o.d  
   -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.4/include -Iinclude -Ii
   nclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-he
   aders-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -
   I/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -D__KERNEL__ -Wall -Wunde
   f -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werro
   r-implicit-function-declaration -Wno-format-security -fno-delete-null-pointe
   r-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-t
   ime -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_
   AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-table
   s -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-
   larger-than=2048 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wno-
   pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/
   tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -Wall -MD -Wsign-compare -W
   no-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"2
   56.35\" -mcmodel=kernel -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D
   "KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_gvi)"  -D"KBUILD_MODNAME
   =KBUILD_STR(nvidia)"  -c -o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kerne
   l/.tmp_nv_gvi.o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nv_gvi.c
     cc -Wp,-MD,/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.nv-vm.o.d  -
   nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.4/include -Iinclude -Iin
   clude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-hea
   ders-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -I
   /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -D__KERNEL__ -Wall -Wundef
   -Wstrict-prototypes -Wno-trigraphs -
   fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-f
   ormat-security -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-
   red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack
   -protector -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-3dn
   ow -Wframe-larger-than=2048 -fomit-frame-pointer -g -Wdeclaration-after-stat
   ement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-
   stack   -I/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -Wall -MD -Wsign
   -compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION
   _STRING=\"256.35\" -mcmodel=kernel -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  
   -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_vm)"  -D"KBUI
   LD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz2210/NVIDIA-Linux-x86_64-25
   6.35/kernel/.tmp_nv-vm.o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/n
   v-vm.c
   /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nv-vm.c: In function ‘nv
   _sg_map_buffer’:
   /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nv-vm.c:148: warning: assi
   gnment makes integer from pointer without a cast
   /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nv-vm.c:233: warning: labe
   l ‘done’ defined but not used
   /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nv-vm.c:143: warning: unus
   ed variable ‘count’
     cc -Wp,-MD,/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.os-agp.o.d  
   -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.4/include -Iinclude -Ii
   nclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-he
   aders-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -
   I/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -D__KERNEL__ -Wall -Wunde
   f -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werro
   r-implicit-function-declaration -Wno-format-security -fno-delete-null-pointe
   r-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-t
   ime -maccumulat
   e-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_F
   RAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno
   -mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-frame-pointer -g -
   Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwa
   rf2-cfi-asm -fconserve-stack   -I/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/
   kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMOD
   ULE -DNVRM -DNV_VERSION_STRING=\"256.35\" -mcmodel=kernel -mno-red-zone -UDE
   BUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUI
   LD_STR(os_agp)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz221
   0/NVIDIA-Linux-x86_64-256.35/kernel/.tmp_os-agp.o /tmp/selfgz2210/NVIDIA-Lin
   ux-x86_64-256.35/kernel/os-agp.c
     cc -Wp,-MD,/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.os-interface
   .o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.4/include -Iinclu
   de -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/li
   nux-headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf
   .h   -I/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -D__KERNEL__ -Wall 
   -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common 
   -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-
   pointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-
   at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DC
   ONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind
   -tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fom
   it-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-str
   ict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/tmp/selfgz2210/NVIDIA
   -Linux-x86_64-256.35/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-err
   or -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.35\" -mcmodel=kern
   el -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D
   "KBUILD_BASENAME=KBUILD_STR(os_interfac
   e)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz2210/NVIDIA-Lin
   ux-x86_64-256.35/kernel/.tmp_os-interface.o /tmp/selfgz2210/NVIDIA-Linux-x86
   _64-256.35/kernel/os-interface.c
     cc -Wp,-MD,/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.os-registry.
   o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.4/include -Iinclud
   e -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/lin
   ux-headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.
   h   -I/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -D__KERNEL__ -Wall -
   Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -
   Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-p
   ointer-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-a
   t-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCO
   NFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-
   tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomi
   t-f
   rame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-
   overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/tmp/selfgz2210/NVIDIA-Lin
   ux-x86_64-256.35/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -
   D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.35\" -mcmodel=kernel -
   mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBU
   ILD_BASENAME=KBUILD_STR(os_registry)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"
    -c -o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.tmp_os-registry.o 
   /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/os-registry.c
     cc -Wp,-MD,/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.nv-i2c.o.d  
   -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.4/include -Iinclude -Ii
   nclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-he
   aders-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -
   I/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -D__KERNEL__ -Wall -Wunde
   f -Wstrict-prototypes -Wno-trigraphs -fno-stric
   t-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-sec
   urity -fno-delete-null-pointer-checks -Os -m64 -mtune=generic -mno-red-zone 
   -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protecto
   r -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-3dnow -Wfram
   e-larger-than=2048 -fomit-frame-pointer -g -Wdeclaration-after-statement -Wn
   o-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -
   I/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -Wall -MD -Wsign-compare 
   -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\
   "256.35\" -mcmodel=kernel -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE 
   -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv_i2c)"  -D"KBUILD_MODNA
   ME=KBUILD_STR(nvidia)"  -c -o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/ker
   nel/.tmp_nv-i2c.o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nv-i2c.c
     cc -Wp,-MD,/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.nvacpi.o.d  
   -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.4/include -Iinclude -Ii
   nclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux-he
   aders-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h   -
   I/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -D__KERNEL__ -Wall -Wunde
   f -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werro
   r-implicit-function-declaration -Wno-format-security -fno-delete-null-pointe
   r-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-t
   ime -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_
   AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-table
   s -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fomit-fra
   me-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-ov
   erflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/tmp/selfgz2210/NVIDIA-Linux
   -x86_64-256.35/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-erro
   r -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.35\" -mcmodel=kerne
   l -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  -DMODULE -D"KBUILD_STR(s)=#s" -D"
   KBUILD_BASENAME=KBUILD_STR(nvacpi)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  
   -c -o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.tmp_nvacpi.o /tmp/s
   elfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nvacpi.c
     ld -m elf_x86_64   -r -o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel
   /nvidia.o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nv-kernel.o /tmp
   /selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nv.o /tmp/selfgz2210/NVIDIA-Li
   nux-x86_64-256.35/kernel/nv_gvi.o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35
   /kernel/nv-vm.o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/os-agp.o /
   tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/os-interface.o /tmp/selfgz2
   210/NVIDIA-Linux-x86_64-256.35/kernel/os-registry.o /tmp/selfgz2210/NVIDIA-L
   inux-x86_64-256.35/kernel/nv-i2c.o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.3
   5/kernel/nvacpi.o 
   (cat /dev/null;   echo kernel//tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/ker
   nel/nvidia.ko;) > /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/modules.
   order
   make -f /usr/src/linux-headers-2.6.32-5-common/scripts/Makefile.modpost
     scripts/mod/modpost -m  -i /usr/src/linux-headers-2.6.32-5-amd64/Module.sy
   mvers -I /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/Module.symvers  -
   o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/Module.symvers -S -w  -s
     cc -Wp,-MD,/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/.nvidia.mod.o
   .d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.4/include -Iinclude
   -Iinclude2 -I/usr/src/linux-headers-2.6.32-5-common/include -I/usr/src/linux
   -headers-2.6.32-5-common/arch/x86/include -include include/linux/autoconf.h 
    -I/tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel -D__KERNEL__ -Wall -Wun
   def -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Wer
   ror-implicit-function-declaration -Wno-format-security -fno-delete-null-poin
   ter-checks -Os -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit
   -at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -D
   CONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwin
   d-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fo
   mit-frame-pointer -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-st
   rict-overflow -fno-dwarf2-cfi-asm -fconserve-stack   -I/tmp/selfgz2210/NVIDI
   A-Linux-x86_64-256.35/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-er
   ror -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"256.35\" -mcmodel=ker
   nel -mno-red-zone -UDEBUG -U_DEBUG -DNDEBUG  -D"KBUILD_STR(s)=#s" -D"KBUILD_
   BASENAME=KBUILD_STR(nvidia.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(nvidia)"  -DM
   ODULE -c -o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nvidia.mod.o /
   tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nvidia.mod.c
     ld -r -m elf_x86_64 -T /usr/src/linux-headers-2.6.32-5-common/scripts/modu
   le-common.lds --build-id -o /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kerne
   l/nvidia.ko /tmp/selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nvidia.o /tmp/
   selfgz2210/NVIDIA-Linux-x86_64-256.35/kernel/nvidia.mod.o
   NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'.  This happens most
       frequently when this kernel module was built against the wrong or
       improperly configured kernel sources, with a version of gcc that differs
       from the one used to build the target kernel, or if a driver such as
       rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
       obtaining ownership of the NVIDIA graphics device(s), or NVIDIA GPU
       installed in this system is not supported by this NVIDIA Linux graphics
       driver release.
       
       Please see the log entries 'Kernel module load error' and 'Kernel
       messages' at the end of the file '/var/log/nvidia-installer.log' for
       more information.
-> Kernel module load error: insmod: error inserting './kernel/nvidia.ko': -1
   No such device
-> Kernel messages:
   [   16.194486] Bluetooth: RFCOMM ver 1.11
   [   16.309669] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
   [   16.309672] Bluetooth: BNEP filters: protocol multicast
   [   16.364330] Bridge firewalling registered
   [   16.376600] Bluetooth: SCO (Voice Link) ver 0.6
   [   16.376603] Bluetooth: SCO socket layer initialized
   [   16.634503] lp0: using parport0 (interrupt-driven).
   [   16.670834] [drm] nouveau 0000:07:00.0: Allocating FIFO number 2
   [   16.673644] [drm] nouveau 0000:07:00.0: nouveau_channel_alloc:
   initialised FIFO 2
   [   16.676981] ppdev: user-space parallel port driver
   [   16.925161] powernow-k8: Found 1 AMD Athlon(tm) 64 X2 Dual Core Processor
   4400+ processors (2 cpu cores) (version 2.20.00)
   [   16.925185] [Firmware Bug]: powernow-k8: No compatible ACPI _PSS objects
   found.
   [   16.925186] [Firmware Bug]: powernow-k8: Try again with latest BIOS.
   [   37.171543] [drm] nouveau 0000:07:00.0: nouveau_channel_free: freeing
   fifo 2
   [   66.056658] nvidia: module license 'NVIDIA' taints kernel.
   [   66.056662] Disabling lock debugging due to kernel taint
   [   66.747059] NVRM: The NVIDIA probe routine was not called for 1
   device(s).
   [   66.747062] NVRM: This can occur when a driver such as nouveau, rivafb,
   [   66.747064] NVRM: nvidiafb, or rivatv was loaded and obtained ownership
   of
   [   66.747065] NVRM: the NVIDIA device(s).
   [   66.747068] NVRM: Try unloading the conflicting kernel module (and/or
   [   66.747069] NVRM: reconfigure your kernel without the conflicting
   [   66.747070] NVRM: driver(s)), then try loading the NVIDIA kernel module
   [   66.747071] NVRM: again.
   [   66.747073] NVRM: No NVIDIA graphics adapter probed!
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.

Offline

 

#2  2010-07-03 12:06:05

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/random
Zarejestrowany: 2008-01-07

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

O ile się nie mylę - moduł nvidiafb tutaj miesza.

Kod:

66.747064] NVRM: nvidiafb, or rivatv was loaded and obtained ownership
   of
   [   66.747065] NVRM: the NVIDIA device(s).
   [   66.747068] NVRM: Try unloading the conflicting kernel module (and/or
   [   66.747069] NVRM: reconfigure your kernel without the conflicting
   [   66.747070] NVRM: driver(s)), then try loading the NVIDIA kernel module
   [   66.747071] NVRM: again.

wyładuj go (modprobe  -r nvidiafb), możesz go też zablokować w /etc/modprobe.d/blacklist.

Pozdrawiam
;-)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#3  2010-07-03 12:11:48

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

Kod:

blacklist nouveau

Offline

 

#4  2010-07-03 12:12:36

  johny - Użytkownik

johny
Użytkownik
Zarejestrowany: 2010-05-21

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

Jacekalex napisał(-a):

wyładuj go (modprobe  -r nvidiafb), możesz go też zablokować w /etc/modprobe.d/blacklist.

Wiesz co, czytałem właśnie tę radę tu http://forum.dug.net.pl/viewtopic.php?pid=117009#p117009, zablokowałem, reboot, i dalej to samo :(

Ostatnio edytowany przez johny (2010-07-03 12:31:20)

Offline

 

#5  2010-07-03 12:30:57

  johny - Użytkownik

johny
Użytkownik
Zarejestrowany: 2010-05-21

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

hmm no dodałem na koniec pliku /etc/modprobe.d/blacklist.conf:

Kod:

blacklist rivafb
blacklist nvidiafb
blacklist nouveau

restart systemu, ale niestety nic to nie dało..

dziwi mnie tylko to, że jak chcę wyładować teraz ten moduł to mi wypluwa, że jest on u użyciu, może on się jednak załadował?

Kod:

root@debian:~# modprobe -r nouveau
FATAL: Module nouveau is in use.

Ostatnio edytowany przez johny (2010-07-03 12:33:29)

Offline

 

#6  2010-07-03 12:52:45

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

To sprawdź czy siedzi, bo to pewnie tego modułu wina:

Kod:

lsmod

Ja tam się na modułach nie znam, ale może coś go mimo wszystko wciąga? Jakiś drm czy coś takiego?

============

EDIT: Spróbuj jeszcze dorzucić coś takiego jako argument dla kernela:

Kod:

nouveau.modeset=0

============

EDIT2: A jak to nic nie da, to wywal te stery i spróbuj paczkowanych (możliwe, że one poradzą sobie z tym automagicznie).

Obecnie wystarczy:

Kod:

aptitude install nvidia-glx

============

PS Stery z repozytorium to te same stery co ze strony nvidii, tylko instalowane w przyjemniejszy sposób :)

Ostatnio edytowany przez ArnVaker (2010-07-03 13:07:27)

Offline

 

#7  2010-07-03 13:20:17

  johny - Użytkownik

johny
Użytkownik
Zarejestrowany: 2010-05-21

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

Argument dla kernela załatwił sprawę :) Teraz się zainstalowało bez problemu. Zastanawiam się tylko czy zostawić ten argument tam, czy to było potrzebne tylko na czas instalacji ? może lepiej zostawie

Co do sterowników w repo od nvidii to nie wiedziałem. Następnym razem na pewno skorzystam z nich.

Ostatnio edytowany przez johny (2010-07-03 13:20:51)

Offline

 

#8  2010-07-03 13:30:16

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

johny napisał(-a):

Zastanawiam się tylko czy zostawić ten argument tam, czy to było potrzebne tylko na czas instalacji ?

Nie wiem, sprawdź... ja mam własny kernel i w ogóle nie wkompilowałem nouveau, także nie mam z tym problemu :)

Z tego co się zorientowałem, to KMS coś kombinuje z rozdziałką/framebufferem via nouveau już zaraz po załadowaniu jajca i dlatego miałeś ten moduł. Teoretycznie KMS jest cool, tyle że nie w przypadku nvidii. Tutaj mamy zamknięte stery od producenta, które wydajnościowo jednak są dużo lepsze od innych... ale nie ma szans żeby puścić na nich KMS. Z drugiej strony mamy nouveau, na którym działa KMS, ale używanie tego sterownika w X-ach jest do bani. Jedno z drugim się gryzie, czyli mamy wybór: albo zamknięte stery + jakiś standardowy framebuffer, czyli (u)vesafb lub w ogóle jego brak... albo nouveau i w X-ach i w konsoli, które może kiedyś będzie cool ;] Ja póki co wybieram pierwszy zestaw.

Ostatnio edytowany przez ArnVaker (2010-07-03 13:30:32)

Offline

 

#9  2010-07-03 16:02:03

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/random
Zarejestrowany: 2008-01-07

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

A czy da się wpakować do kompilowanego kernela skompilowane moduły - takie jak nvidia?
Bo modconf u mnie nie daje takiej możliwości, a najchętniej bym przerobił jajo na statyczne,
i wyłączył ładowanie modułów na dobre.

Nawiasem mówiąc - na dystrybucyjnych ubuntowych jajach 2.6.32 w ogóle nie mogłem steru nvidii użyć.

Pomogło skompilowanie 2.6.33.5 z kernel.org, a obecnie mam 2.6.34-zen1, stery 256.35
- i wszystko działa podręcznikowo, (z wyjątkiem jednej sieciówki realteka - ale to inna bajka).

Ostatnio edytowany przez Jacekalex (2010-07-03 16:10:11)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#10  2010-07-03 16:27:13

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

Jacekalex napisał(-a):

A czy da się wpakować do kompilowanego kernela skompilowane moduły - takie jak nvidia?

Nie wiem, ale imho to jest totalnie bez sensu... wiesz o tym, że driver (moduł) nvidii waży 13MB, a jajco przeważnie poniżej 2MB?

Offline

 

#11  2010-07-03 17:58:59

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/random
Zarejestrowany: 2008-01-07

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

Czy ma 13 czy 2 czy 8 - to i tak ląduje docelowo w ramie.

Ja mam jajo dość ciężkie - wszystkie stery, moduły firewalla, szyfrowanie, itp - w tej chwili ma to 6 MB - ale to dla mnie żaden problem.
Za to wstaje wyraźnie szybciej, i przede wszystkim jest stabilne jak skała.
A ładowania sterownika i tak się uniknąć nie da, jeśli chcemy go używać.

Natomiast RAMu mam zaledwie 4GB - więc jajo,  - nawet 20 MB - się zmieści.
Dysk ma odczyt około 70MB/s - też sobie raczej poradzi.


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#12  2010-07-03 18:12:16

  marg1 - Gentoowy Głupek

marg1
Gentoowy Głupek
Skąd: Bytom
Zarejestrowany: 2009-05-15

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

Wracając do tematu, ja też miałem problem z zainstalowaniem na tym jajku binarki, ale tu chodziło tylko o niezgodność kompilatora, ale nie chciało mi się już go zmieniać więc poszedłem za namową Arna i zainstalowałem z paczki i gra :)


marg1@jid.dug.net.pl
Linux User Registration Number: #488674
CISCO CCNA Alumni :)

Offline

 

#13  2010-07-03 18:32:30

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

marg1 napisał(-a):

ale tu chodziło tylko o niezgodność kompilatora

W tym wątku też jęczy o niezgodność gcc, ale to raczej można olać. Może miałeś dokładnie to samo...

marg1 napisał(-a):

poszedłem za namową Arna

/me nikogo do niczego nie namawia... jedynie w miarę możliwości przedstawia dostępne rozwiązania :)

Offline

 

#14  2010-07-04 11:36:05

  marg1 - Gentoowy Głupek

marg1
Gentoowy Głupek
Skąd: Bytom
Zarejestrowany: 2009-05-15

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

U mnie chodziło dokładnie o niezgodność kompilatora i o zdaje się "niemożność załadowania biblioteki nvidia.ko"
Ale to było jeszcze przed wyborami, więc dokładnie nie pamiętam :)

Ostatnio edytowany przez marg1 (2010-07-04 11:42:20)


marg1@jid.dug.net.pl
Linux User Registration Number: #488674
CISCO CCNA Alumni :)

Offline

 

#15  2010-07-04 11:43:38

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

marg1 napisał(-a):

"niemożność załadowania biblioteki nvidia.do"

Może chodzi Ci o:

Unable to load the kernel module 'nvidia.ko'.

?


PS Ty chcesz rozwiązać ten swój problem czy tak sobie tylko piszesz, że miałeś problem? ;)

Offline

 

#16  2010-07-04 11:45:54

  marg1 - Gentoowy Głupek

marg1
Gentoowy Głupek
Skąd: Bytom
Zarejestrowany: 2009-05-15

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

Tak, dokładnie o to.

Piszę, że miałem, więc chodzi o to, że już go nie mam ,bo zainstalowałem z paczki, ale gdybym chciał zainstalować binarkę pewnie bym go miał znowu :)
Piszę po to, żeby inni wiedzieli, że to jajko jest niedorobione :)
Problem został rozwiązany przez ominięcie problemu :P

Ostatnio edytowany przez marg1 (2010-07-04 11:46:27)


marg1@jid.dug.net.pl
Linux User Registration Number: #488674
CISCO CCNA Alumni :)

Offline

 

#17  2010-07-04 11:48:42

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

marg1 napisał(-a):

bo zainstalowałem z paczki, ale gdybym chciał zainstalować binarkę

W paczce też masz binarkę :)

marg1 napisał(-a):

Piszę po to, żeby inni wiedzieli, że to jajko jest niedorobione :)

Może to po prostu pierwsze debianowe jajco w którym pojawiło się nouveau?

Offline

 

#18  2010-07-04 18:18:47

  k4misiek - Green Reaper

k4misiek
Green Reaper
Skąd: Poznań
Zarejestrowany: 2006-11-11

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

Na 2.6.32 z backportów w przeciwieństwie do tego z głównego repo, moduł ładuje się poprawnie...
A tak odnośnie wersji gcc:

Kod:

export CC=/usr/bin/gcc-4.(wersja z którą zostało skompilowane jajko)
sh NV*.run

Ostatnio edytowany przez sp3cu (2010-07-04 18:20:42)


You are registered as user #464141 with the Linux Counter

Offline

 

#19  2010-07-06 12:37:54

  mati75 - Psuj

mati75
Psuj
Skąd: masz ten towar?
Zarejestrowany: 2010-03-14

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

Jeszcze jeden sposób jest, po przez instalacje sterownika z repo non-free:

Kod:

apt-get install nvidia-glx

Działa na 2.6.32-5 i na 2.6.34-1


https://l0calh0st.pl/obrazki/userbar.png

Offline

 

#20  2010-07-06 12:42:12

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDIA na linux-image-2.6.32-5-amd64

mati75 napisał(-a):

Kod:

apt-get install nvidia-glx

ArnVaker napisał(-a):

Kod:

aptitude install nvidia-glx

;)


=============

k4misiek napisał(-a):

A tak odnośnie wersji gcc:

A to nie jest takie jęczenie dla samego jęczenia?
Ja zawsze to olewałem i było ok :)

EDIT: Czyli czy ktoś faktycznie zauważył jakiś problem wynikający ze skompilowania modułu nvidii inną wersją gcc niż jajco?

Ostatnio edytowany przez ArnVaker (2010-07-06 12:50:56)

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)