Strona 1 z 2

NVIDIA RIVA TNT2 PRO - sterownik

: 31 stycznia 2008, 14:07
autor: sds
Witam. Proszę o pomoc w zainstalowaniu steronika do karty RIVA TNT2 PRO, próbowałem z poradnika kaka http://kaka.ovh.org/howto/nvidia_drivers/ ale podczas instalacji wyskakuje mi okienko z informacją o tym, że mam złego kenela. Oto zawwartość pliku var/log/nvidia-installer.log

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Jan 31 13:40:17 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].
Wynik komendy dpkg -l | grep linux-image-`uname -r`

Kod: Zaznacz cały

ii  linux-image-2.6.22-3-686             2.6.22-6                   Linux 2.6.22 image on PPro/Celeron/PII/PIII/
Wynik komendy dpkg -l | grep linux-headers

Kod: Zaznacz cały

ii  linux-headers-2.6.22-3               2.6.22-6                   Common header files for Linux 2.6.22
ii  linux-headers-2.6.22-3-686           2.6.22-6                   Header files for Linux 2.6.22 on PPro/Celero
Z góry dziękuje za pomoc.

: 31 stycznia 2008, 19:32
autor: Bodzio
zmień gcc

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. 
kompilator użyty do kompilacji Twojego kernela to gcc 4.1 a w systemie masz gcc 4.2
W katalogu /usr/bin skasuj plik @gcc = dowiązanie do gcc 4.2 i zrób dowiązanie symboliczne do gcc 4.1

: 31 stycznia 2008, 19:37
autor: freak82

Kod: Zaznacz cały

export cc=/usr/bin/gcc-4.1

: 01 lutego 2008, 16:13
autor: sds
Po 1 nie wiem jak robić dowiązania.
Po 2 w folderze /usr/bin nie ma pliku gcc-4.1. Jest tylko gcc-4.2 i samo gcc.

: 02 lutego 2008, 14:48
autor: ruun
sds pisze:Po 1 nie wiem jak robić dowiązania.
sds, było o tym np. TUTAJ
sds pisze:Po 2 w folderze /usr/bin nie ma pliku gcc-4.1. Jest tylko gcc-4.2 i samo gcc.
to zainstaluj pakiet gcc-4.1

: 02 lutego 2008, 23:27
autor: sds
Mógłbyś mi podać gotową formułkę, ponieważ nie jestem PRO.
Czy mogło to być spowodowane tym, że pobrałem wersje Debiana z XFCE ??

Kod: Zaznacz cały

cat /etc/debian_version
lenny/sid

: 03 lutego 2008, 12:10
autor: ruun
Zainstaluj gcc-4.1

Kod: Zaznacz cały

aptitude install gcc-4.1
usuń stare dowiązanie

Kod: Zaznacz cały

rm /usr/bin/gcc
i utwórz nowe

Kod: Zaznacz cały

ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
wszystko na koncie roota

: 03 lutego 2008, 14:24
autor: sds
Dzięki koleś. Jesteś wielki. Gotowca chciałem dlatego, ponieważ miałem wielką rozdzielczość. Sterownik się zainstalował, jednakże nie skonfigurował mi się xorg.conf :-/

: 03 lutego 2008, 14:51
autor: Bodzio
No to teraz:
dpkg-reconfigure xserver-xorg
choć gdybyś się zgodził jak instalator starownika proponował updatowanie pliku xorg.conf to po restarcie miałbyś automatycznie. :)

: 03 lutego 2008, 16:46
autor: sds
Akceleracji nadala nie mam (Xorg-a zmieniłem sam), ale mniejsza z tym. Dzięki ludzie za pomoc. Teraz tylko pozostało mi czytać poradniki kaka :-P
@up
Po tej zabawie z gcc nie wyskakiwało mi okienko, aby automatycznie zmienić xorg-a