Nvidia instalacja sterowników - Lenny

Zagadnienia dotyczące menadżerów okien, środowisk graficznych - X, KDE, GNOME, Fluxbox, XFCE., Compiz itp.
piwoszeq
Posty: 10
Rejestracja: 09 lipca 2007, 01:11
Lokalizacja: Warszawa

Nvidia instalacja sterowników - Lenny

Post autor: piwoszeq »

Na wersji stabilnej (Etch) wszystko działało tutaj nie bardzo.
Nie wiem skąd wziąć źródło jądra bo chyba o to się burzy:

Kod: Zaznacz cały

nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sun Oct 26 19:54:24 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)
  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 177.80.
-> 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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
   this means that the installer will need to compile a kernel interface for
   your kernel.
-> 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
       on fixing installation problems in the README available on the Linux
       driver download page at [url]www.nvidia.com[/url].
genobis
Beginner
Posty: 353
Rejestracja: 21 lipca 2008, 21:59
Lokalizacja: Trzebinia

Post autor: genobis »

Wykonaj poniższe polecenie jako root:

Kod: Zaznacz cały

apt-get install linux-headers-`uname -r`
piwoszeq
Posty: 10
Rejestracja: 09 lipca 2007, 01:11
Lokalizacja: Warszawa

Post autor: piwoszeq »

Robiłem wszystko jak w poradniku.
Niestety nie pomaga.

[Dodano: 2008-10-26, 22:16]
On chce jakieś repozytorium jądra? W Etch było to na płytce, a tutaj nie wiem gdzie takie coś znaleźć.
Steffy
Posty: 1
Rejestracja: 03 kwietnia 2008, 08:45

Post autor: Steffy »

gcc 4.1 nie pasuje do gcc4.3.
W moim przypadku pomogło:

Kod: Zaznacz cały

aptitude install nvidia-kernel-legacy-96xx-2.6-amd64
i następnie instalujesz swoje sterowniki. W momencie wyrzucenia problemu, wybierasz, no i kompiluje ci do jądra. I wszystko jest dobrze.
piwoszeq
Posty: 10
Rejestracja: 09 lipca 2007, 01:11
Lokalizacja: Warszawa

Post autor: piwoszeq »

Mam nowe jądro i ruszyło.
ShadowAdi
Posty: 10
Rejestracja: 04 listopada 2008, 01:16
Lokalizacja: Trójmiasto

Post autor: ShadowAdi »

Mam dosc podobny problem otoz - oto moj log instalacji sterownikow po updacie do lenego http://www.speedyshare.com/612324799.html . X'y nie wstaja (czarny ekran). Brak zgodnosci gcc podczas instalacji. Zainstalowalem nvidia-kernel-legacy-96xx-2.6-amd64 jednak nie pomoglo. Chcialbym dowiedziec sie gdzie lezy blad oraz jak moglbym go rozwiazac. Z gory dziekuje za udzielone odpowiedzi.
Blind
Posty: 90
Rejestracja: 08 lutego 2008, 20:02

Post autor: Blind »

Aby zmienić domyślne gcc z 4.3 na 4.1, należy usunąć plik gcc:

Kod: Zaznacz cały

rm /usr/bin/gcc
a następnie stworzyć dowiązanie:

Kod: Zaznacz cały

ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
sp3cu
Posty: 4
Rejestracja: 17 kwietnia 2008, 23:32

Post autor: sp3cu »

Blind pisze:Aby zmienić domyślne gcc z 4.3 na 4.1, należy usunąć plik gcc:

Kod: Zaznacz cały

rm /usr/bin/gcc
a następnie stworzyć dowiązanie:

Kod: Zaznacz cały

ln -s /usr/bin/gcc-4.1 /usr/bin/gcc
Albo jeszcze łatwiej, wyeksportować na chwilę zmienną środowiskową:

Kod: Zaznacz cały

export CC=/usr/bin/gcc-4.1
ShadowAdi
Posty: 10
Rejestracja: 04 listopada 2008, 01:16
Lokalizacja: Trójmiasto

Post autor: ShadowAdi »

Niestety eksport zmiennej środowiskowej nie działa.
giaur
Member
Posty: 1915
Rejestracja: 25 maja 2007, 22:16

Post autor: giaur »

Olej to, i tak sie skompiluje tylko musisz potwierdzic ze chcesz. A jak sie nie kompiluje, to znaczy ze problem jest inny.
Zablokowany