Strona 1 z 1

[+] GeForce 8500GT Sid AMD64 błąd przy instalacji sterownika

: 10 kwietnia 2009, 14:28
autor: theArturEK
Witam :)
Przy próbach instalacji sterownika do karty GeForce 8500GT zawsze wyskakują mi błędy. Próbowałem iść według poradnika Kaki', jednak się nie udało, instalacja nawet nie dobiegła końca.

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Apr  9 20:25:42 2009
installer version: 1.0.7

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              : [url]ftp://download.nvidia.com[/url]
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 180.44.
-> 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)
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].
linux-headers i build-essnetial instalowałem (poleceniem aptitude), próbowałem też instalacji sterownika innymi sposobami - żaden się nie udał, zawsze jakiś błąd wyskakiwał np. gdy próbowałem zainstalować z repo nvidia-glx to wyskakiwało mi coś takiego:

Kod: Zaznacz cały

Następujące pakiety mają NIESPE£NIONE zależności:
  nvidia-glx 
0 pakietów aktualizowanych, 1 instalowanych, 0 do usunięcia i 47 nie aktualizowanych.
Do pobrania 9801kB archiwów. Zajęte po rozpakowaniu: 30,8MB.
Następujące pakiety mają niespełnione zależności:
  nvidia-glx: Wymaga: nvidia-kernel-180.29 który jest pakietem wirtualnym.
Nie można rozwiązać problemów z zależnościami!  Rezygnacja...
Następujące pakiety mają NIESPE£NIONE zależności:
  nvidia-glx 
0 pakietów aktualizowanych, 1 instalowanych, 0 do usunięcia i 47 nie aktualizowanych.
Do pobrania 9801kB archiwów. Zajęte po rozpakowaniu: 30,8MB.
Nie udało się znaleźć rozwiązania dla tych zależności. Można spróbować uzupełnić zależności ręcznie lub wpisać "n" aby wyjść.
Następujące pakiety mają niespełnione zależności:
  nvidia-glx: Wymaga: nvidia-kernel-180.29 który jest pakietem wirtualnym.
Uzupełnić te zależności ręcznie? [N/+/-/_/:/?] 
I nie ważne, co bym wcisnął, to i tak pojawia się dalej ten komunikat (no, chyba, że wpiszę n, to wtedy wyłącza ten komunikat).
Sporo googlowałem, ale nie znalazłem rozwiązania mojego problemu (może po prostu jeszcze nie umiem szukać pomocy na temat Debiana, bo do tej pory korzystałem z Windowsa Visty i jednak inaczej się szuka pomocy), a próbuję to rozwiązać już od kilku dni.

: 10 kwietnia 2009, 14:59
autor: maly
Napewno posiadasz zainstalowane nagłówki do aktualnie uruchomionego jądra? Wrzuć:

Kod: Zaznacz cały

dpkg -l | grep linux-image-`uname -r`

Jeśli są prawidłowe to spróbuj je przeinstalować.

: 10 kwietnia 2009, 15:15
autor: theArturEK
Po tym poleceniu mam taki komunikat:

Kod: Zaznacz cały

 debian:/home/artur# dpkg -l | grep linux-image-`uname -r`
ii  linux-image-2.6.26-1-amd64           2.6.26-13lenny2             Linux 2.6.26 image on AMD64
debian:/home/artur#  
Nie wiem, czy to dobrze (jestem jeszcze dość początkujący), ale spróbowałem przeinstalować te nagłówki komendami

Kod: Zaznacz cały

aptitude remove linux-headers-`uname -r` 
aptitude install linux-headers-`uname -r` 
Nie wiem, czy poprawnie, ale przy obu komendach dostawałem komunikat

Kod: Zaznacz cały

Nie zostaną zainstalowane, zaktualizowane ani usunięte żadne pakiety.
0 pakietów aktualizowanych, 0 instalowanych, 0 do usunięcia i 47 nie aktualizowanych.

: 10 kwietnia 2009, 15:23
autor: maly

Kod: Zaznacz cały

aptitude remove linux-headers-2.6.26-1-amd64 
aptitude install linux-headers-2.6.26-1-amd64 
W ten sposób.

: 10 kwietnia 2009, 15:28
autor: ArnVaker
ERROR: Unable to find the kernel source tree for the currently running kernel.
Czyli nie masz nagłówków jądra.

Sprawdzisz to poleceniem

Kod: Zaznacz cały

dpkg -l |grep linux-headers-`uname -r`


Poleceniem

Kod: Zaznacz cały

dpkg -l |grep linux-image-`uname -r` 
sprawdzasz zainstalowane kernele, nie nagłówki.

Pokaż swój sources.list

Kod: Zaznacz cały

cat /etc/apt/sources.list

: 10 kwietnia 2009, 15:33
autor: theArturEK
maly pisze:

Kod: Zaznacz cały

aptitude remove linux-headers-2.6.26-1-amd64 
aptitude install linux-headers-2.6.26-1-amd64 
W ten sposób.
Te polecenia dają taki sam efekt, jak te które wpisywałem (chodzi mi o to, że też pisze, o zaktualizowanych itp.)

A co do sources.list:

Kod: Zaznacz cały

#~~~~~~~~~~~~~~~~~~~~~~Sid~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
deb [url]ftp://ftp.pl.debian.org/debian/[/url] sid main non-free contrib
deb-src [url]ftp://ftp.pl.debian.org/debian/[/url] sid main non-free contrib
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#

deb [url]http://volatile.debian.org/debian-volatile[/url] lenny/volatile main
deb-src [url]http://volatile.debian.org/debian-volatile[/url] lenny/volatile main


deb [url]http://people.debian.org/~rdonald/nvidia[/url] unstable nvidia-graphics-drivers
deb [url]http://people.debian.org/~rdonald/nvidia[/url] unstable nvidia-kernel-common
deb [url]http://people.debian.org/~rdonald/nvidia[/url] unstable nvidia-settings
deb [url]http://people.debian.org/~rdonald/nvidia[/url] unstable nvidia-xconfig
deb [url]http://people.debian.org/~rdonald/nvidia[/url] unstable modules

: 10 kwietnia 2009, 15:40
autor: ArnVaker
Zmień wpisy w sources.list wg tego tematu.

Twój problem wynika z tego, że repozytoria masz z wersji niestabilnej, a używasz kernela ze stabilnej.

W repozytoriach Sida nie ma nagłówków do tego jądra. Dodaj jeszcze wpis
deb http://ftp.pl.debian.org/debian/ lenny main non-free contrib
Następnie

Kod: Zaznacz cały

aptitude update
a potem

Kod: Zaznacz cały

aptitude install linux-headers-`uname -r`

: 10 kwietnia 2009, 16:04
autor: theArturEK
Dziękuję. Wszystko działa.
Po dodaniu tego wpisu i aktualizacji dalej poszedłem według poradnika Kaki' i wszystko pięknie się zainstalowało.
Ps. Mimo, że mam z Debianem więcej problemów niż z Windowsem, to miło mi się jego używa - głównie dzięki takim ludziom jak Wy. Z problemem odnośnie Windowsa jeszcze nigdy nie otrzymałem tak szybko i tak fachowych odpowiedzi :)