GeForce 7300GS - problem z instalacj

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
czakll
Posty: 90
Rejestracja: 22 listopada 2008, 18:57

GeForce 7300GS - problem z instalacją

Post autor: czakll »

Witam. Mam problem z instalacją sterowników NVidia. Instaluję według poradnika z tego forum, jednak instalator pokazuje błąd. Oto log z /var/log/nvidia-installer.log:
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 173.14.09.
-> 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".
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
Z logu wynika, że nie mam nagłówków, ale po wpisaniu dpkg -l | grep linux-header mam listę pakietów, które mam zainstalowane.
Proszę o pomoc, ponieważ siedzę już nad tym kilka dni, w Ubuntu zainstalowałem sterowniki bez problemu, a tutaj nie idzie mi.
Pozdrawiam.
Awatar użytkownika
lis6502
Member
Posty: 1798
Rejestracja: 05 listopada 2008, 20:14
Lokalizacja: Miasto Szybowców

Post autor: lis6502 »

¬le rozumiesz ten log (on na pewno pochodzi z /var/log?). 'kernel source tree' to nie nagłówki.
czakll
Posty: 90
Rejestracja: 22 listopada 2008, 18:57

Post autor: czakll »

Tak. Oto całość pliku:

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Nov 22 19:15:15 2008
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)
  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.
-> Installing NVIDIA driver version 173.14.09.
-> 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".
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
Jeśli nie chodzi o nagłówki to o co chodzi?
kiko80
Beginner
Posty: 227
Rejestracja: 18 października 2007, 18:33
Lokalizacja: /mnt/podlasie

Post autor: kiko80 »

Odpal konsolę i daj:

Kod: Zaznacz cały

aptitude install linux-headers-`uname -r`
po zainstalowaniu powtórz instalację nvidii.
czakll
Posty: 90
Rejestracja: 22 listopada 2008, 18:57

Post autor: czakll »

Otóż robiłem tak, i wywalało mi że nie można znaleźć pakietu z uname -r.
Jednak zainstalowałem Synaptica i w nim znalazłem, zainstalowałem wszystkie jakie były dostępne, i nadal to samo ;/
fnmirk
Senior Member
Posty: 8324
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

czakll pisze:nie można znaleźć pakietu z uname -r
Spróbuj tak:

Kod: Zaznacz cały

aptitude install linux-headers-$(uname -r)
czakll
Posty: 90
Rejestracja: 22 listopada 2008, 18:57

Post autor: czakll »

czak-debian:/home/czak# aptitude install linux-headers-$(uname -r)
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Odczyt dodatkowych informacji o stanie
Inicjalizacja stanów pakietów... Gotowe
Odczyt opisów zadań... Gotowe
Nie znaleziono pakietu, którego nazwa lub opis zawierałyby "linux-headers-2.6.26-1-686"
Nie znaleziono pakietu, którego nazwa lub opis zawierałyby "linux-headers-2.6.26-1-686"
Nie zostaną zainstalowane, zaktualizowane ani usunięte żadne pakiety.
0 pakietów aktualizowanych, 0 instalowanych, 0 do usunięcia i 6 nie aktualizowanych.
Do pobrania 0B archiwów. Zajęte po rozpakowaniu: 0B.
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
Odczyt dodatkowych informacji o stanie
Inicjalizacja stanów pakietów... Gotowe
Odczyt opisów zadań... Gotowe
Jakiś pomysł jeszcze? :(
Awatar użytkownika
lis6502
Member
Posty: 1798
Rejestracja: 05 listopada 2008, 20:14
Lokalizacja: Miasto Szybowców

Post autor: lis6502 »

Pomysłów fura :) Na "dzień dobry" wypadałoby zacząć od tego, że instalatorowi brakuje źródełek kernela, co stwierdzamy po tekście
Unable to find the kernel source tree for the currently running kernel.
Przytocz jeszcze zawartość /etc/apt/sources.list.
czakll
Posty: 90
Rejestracja: 22 listopada 2008, 18:57

Post autor: czakll »

Kod: Zaznacz cały

# deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 kde-CD Binary-1 20080803-21:28]/ etch contrib main

deb cdrom:[Debian GNU/Linux 4.0 r4a _Etch_ - Official i386 kde-CD Binary-1 20080803-21:28]/ etch contrib main

#deb [url]http://security.debian.org/[/url] etch/updates main contrib :arrow: 
#deb-src [url]http://security.debian.org/[/url] etch/updates main contrib
#deb-src [url]http://ftp.debian.org/debian[/url] unstable non-free
#deb [url]http://wine.budgetdedicated.com/apt[/url] etch main
#deb [url]http://ftp.debian-unofficial.org/debian[/url] stable main contrib non-free restricted
#deb-src [url]http://ftp.debian-unofficial.org/debian[/url] stable main contrib non-free restricted
#deb [url]http://debian.stdout.at/[/url] ./
#deb [url]http://deb.opera.com/opera/[/url] stable non-free  #dla stable

#deb [url]http://ftp.pl.debian.org/debian/[/url] lenny main non-free contrib
# deb-src [url]http://ftp.pl.debian.org/debian/[/url] lenny main non-free contrib
# deb [url]http://security.debian.org/[/url] lenny/updates main contrib non-free
# deb-src [url]http://security.debian.org/[/url] lenny/updates main contrib non-free
# deb [url]http://www.debian-multimedia.org[/url] lenny main
# deb-src [url]http://www.debian-multimedia.org[/url] lenny main
# deb [url]http://deb.opera.com/opera/[/url] testing non-free
# deb [url]http://kernel-archive.buildserver.net/debian-kernel/[/url] trunk main
 #~~~~~~~Compiz-fusion~~~~~#
deb [url]http://download.tuxfamily.org/shames/debian-sid/desktopfx/unstable/[/url] ./
 #~~~~~~~~~~~~~~~~~~~~~~~#
  #~~~~~~Etch~~~~~~#
 deb [url]http://ftp.pl.debian.org/debian/[/url] etch main non-free contrib
 deb-src [url]http://ftp.pl.debian.org/debian/[/url] etch main non-free contrib
 deb [url]http://security.debian.org/[/url] etch/updates main contrib non-free
 deb-src [url]http://security.debian.org/[/url] etch/updates main contrib non-free
 #~~~~~~~~~~~~~~~~~~~~~#
 #~~~~~~Opera~~~~~~#
 deb [url]http://deb.opera.com/opera/[/url] stable non-free
 #~~~~~~~~~~~~~~~~~~~~~#
 #~~~~~~Debian-multimedia~~~~~~#
 deb [url]http://www.debian-multimedia.org[/url] etch main
 deb-src [url]http://www.debian-multimedia.org[/url] etch main
 #~~~~~~~~~~~~~~~~~~~~~#
 #~~Skype~~#
deb [url]http://download.skype.com/linux/repos/debian/[/url] stable non-free
 #~~~~~~#
 #~~~~~Wine~~~#
deb [url]http://wine.budgetdedicated.com/apt[/url] etch main
 #~~~~~~~~#
 #~~~~Opera~~~~#
deb [url]http://deb.opera.com/opera/[/url] stable non-free  #dla stable
Troszkę śmietnik :-/
Awatar użytkownika
lis6502
Member
Posty: 1798
Rejestracja: 05 listopada 2008, 20:14
Lokalizacja: Miasto Szybowców

Post autor: lis6502 »

Nawet troszkę bardzo ;) . Ale nie przejmuj się, damy radę, to co najważniejsze masz :) . Jako root

Kod: Zaznacz cały

 aptitude install linux-source
następnie (wciąż jako root)

Kod: Zaznacz cały

cd /usr/src
tar xvvf linux-source-2.6.26[wciśnij TAB żeby bash automatycznie dokończył nazwę archiwum]
Et voila! Masz zainstalowane źródła kernela. Teraz próbuj z instalacją nvidii.
ODPOWIEDZ