Strona 1 z 1

Blad podczas instalacji sterownikow nvidii

: 23 lipca 2007, 20:49
autor: wiaderko
Witam ! :)
Zainstalowalem jadro 2.6.21-2-486 i oczywiscie sterowniki nvidii sie wysypaly. Przy probie instalacji sterow ze strony nvidii wyskakiwal jakis blad i na tym sie skonczylo. Doszedlem do tego, ze musze zedytowac plik Makefile.kbuild w sterownikach. Ok, zrobilem to i podczas instalacji pojawia sie jakis blad, ze nie ma pliku kernel.h (albo version.h, jakos na zmiane te bledy wyskakuja :d). Wczesniej grzebalem cos z headersami i to chyba wina tego.
Zalaczam plik zawartosc pliku /var/log/nvidia-installer.log:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Jul 23 20:44:04 2007

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 : ftp://download.nvidia.com
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 (ftp://download.nvidia.com)? (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: The kernel header file
'/lib/modules/2.6.21-2-486/build/include/linux/kernel.h' does not exist.
The most likely reason for this is that the kernel source path
'/lib/modules/2.6.21-2-486/build' is incorrect. 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 http://www.nvidia.com.
Z gory dzieki ! ;)

: 23 lipca 2007, 21:48
autor: ruun
Przeinstaluj nagłówki:

Kod: Zaznacz cały

aptitude reinstall linux-headers-`uname -r`
uruchom instalator bez grzebania w Makefile.kbuild i jak znowu sie wysypie pokaż /var/log/nvidia-installer.log

: 23 lipca 2007, 21:59
autor: wiaderko
Po tych czynnosciach log wyglada tak:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Jul 23 22:03:03 2007

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 : ftp://download.nvidia.com
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 (ftp://download.nvidia.com)? (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: The kernel header file
'/lib/modules/2.6.21-2-486/build/include/linux/kernel.h' does not exist.
The most likely reason for this is that the kernel source path
'/lib/modules/2.6.21-2-486/build' is incorrect. 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 http://www.nvidia.com.
Po prostu - jest tak samo ;)

: 23 lipca 2007, 22:27
autor: ruun
ERROR: The kernel header file
'/lib/modules/2.6.21-2-486/build/include/linux/kernel.h' does not exist.
Nadal nie masz nagłówków.

W konsoli jako root zrób tak:

Kod: Zaznacz cały

$ cd /usr/src
$ mv linux-headers-2.6.21-2 linux-headers-2.6.21-2-kopia
$ wget [url]http://dmnz.vel.pl/linux-headers-2.6.21-2.tar[/url]
$ tar xvvf linux-headers-2.6.21-2.tar
i jeszcze raz spróbuj zaistalować sterowniki.

: 26 lipca 2007, 11:03
autor: wiaderko
Teraz pojawia sie blad o braku jakiegos version.h ;/
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Jul 26 11:06:45 2007

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 : ftp://download.nvidia.com
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 (ftp://download.nvidia.com)? (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: The kernel header file
'/lib/modules/2.6.21-2-486/build/include/linux/version.h' does not
exist. The most likely reason for this is that the kernel source files
in '/lib/modules/2.6.21-2-486/build' have not been configured.
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 http://www.nvidia.com.
Co teraz ?

: 26 lipca 2007, 11:15
autor: darkwater
najprościej bedzie przygotować system do kompilacji modułów przy pomocy module-assistant.

Kod: Zaznacz cały

aptitude update
aptitude install module-assistant
m-a update
m-a prepare
powinien pobrać i zainstalować wszystkie pakiety potrzebne do budowania modułów. teraz uruchom instaler nvidii ponownie.

: 26 lipca 2007, 20:14
autor: wiaderko
Teraz ponownie mam problem z kernel.h ;/
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Thu Jul 26 12:31:49 2007

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 : ftp://download.nvidia.com
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 (ftp://download.nvidia.com)? (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: The kernel header file
'/lib/modules/2.6.21-2-486/build/include/linux/kernel.h' does not exist.
The most likely reason for this is that the kernel source path
'/lib/modules/2.6.21-2-486/build' is incorrect. 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 http://www.nvidia.com.


[ Dodano: 2007-07-26, 20:17 ]
Okej ! Wszem i wobec informuje, ze udalo mi sie zainstalowac sterowniki : ]. Caly czas usuwalem i instalowalem pakiet linux-headers-2.6.21-2-486 myslac, ze to on nawalil, a jak sie okazalo... Bledny mialem pakiet linux-headers-2.6.21-2. Mala roznica, a jednak duzo zdzialala reinstalacja tego pakietu. Nareszcie zagram w cs'a, hehe...

: 29 lipca 2007, 19:35
autor: n4buchodonozor
Ja tez mam problem z instalacją sterowników.

Kod: Zaznacz cały

FATAL: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol 'para
   virt_ops'
   make[3]: *** [__modpost] Błąd 1
   make[2]: *** [modules] Błąd 2
   NVIDIA: left KBUILD.
   nvidia.ko failed to build!
   make[1]: *** [module] Błąd 1
   make: *** [module] Błąd 2
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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].

: 29 lipca 2007, 20:55
autor: Spass
n4buchodonozor, rozwiązanie tego problemu było już kilkakrotnie omawiane na forum. Wpisz paravirt_ops w wyszukiwarce. Potrzebujesz spatchowanego lub zmodyfikowanego własnoręcznie sterownika.

: 29 lipca 2007, 22:22
autor: n4buchodonozor
Spass, dzieki za pomoc. Już wszystko działa.

PS. Szukałem ale nie byłem do końca pewny czego :P