Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam serdecznie wszystkich na forum :)
Mam problem z instalacją sterowników nvidi, wiem gdzie leży przyczyna ale nie umiem sobie z nią poradzić. Nie jest to moja pierwsza instalacja sterowników tylko już gdzieś na oko 3 przez okres użytkowania OSów opartych o jądro Linux. Tak więc problem tkwi w nagłówkach jądra.
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed May 12 15:48:47 2010
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: 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.3) does not exactly match the
current compiler (gcc 4.4). 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' 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 www.nvidia.com.Jak widać na logu. Tylko jest taki drobny problem, że nie mogę ich poprawnie zainstalować lub nvidia ich nie widzi. Próbowałem instalować więkoszość pakietów, które mają coś wspólnego z nagłówkami jako desperacki krok jednak nic to nie dało. Przywróciłem potem do normy mniej więcej i wygląda to aktualnie tak:
uname -r
2.6.32-trunk-686
dpkg -l | grep header
ii linux-headers-2.6-686 2.6.32+25 Header files for Linux 2.6-686 ii linux-headers-2.6.32-3-486 2.6.32-9 Header files for Linux 2.6.32-3-486 ii linux-headers-2.6.32-3-686 2.6.32-9 Header files for Linux 2.6.32-3-686 ii linux-headers-2.6.32-3-686-bigmem 2.6.32-9 Header files for Linux 2.6.32-3-686-bigmem ii linux-headers-2.6.32-3-all 2.6.32-9 All header files for Linux 2.6.32 ii linux-headers-2.6.32-3-all-i386 2.6.32-9 All header files for Linux 2.6.32 ii linux-headers-2.6.32-3-amd64 2.6.32-9 Header files for Linux 2.6.32-3-amd64 ii linux-headers-2.6.32-3-common 2.6.32-9 Common header files for Linux 2.6.32-3 ii linux-headers-2.6.32-3-common-vserver 2.6.32-9 Common header files for Linux 2.6.32-3-vserver ii linux-headers-2.6.32-3-vserver-686 2.6.32-9 Header files for Linux 2.6.32-3-vserver-686 ii linux-headers-2.6.32-3-vserver-686-bigmem 2.6.32-9 Header files for Linux 2.6.32-3-vserver-686-bigmem ii linux-libc-dev 2.6.32-9 Linux support headers for userspace development
Offline







Palacz








Witamy na forum.
Pokaż
dpkg -l | grep linux-image
Offline







Kapelusznik








Twojego kernela (2.6.32-trunk-686) nie ma już w żadnym aktualnym repozytorium Debiana, to i nie ma do niego nagłówków... Zainstaluj sobie aktualne jajo z repozytorium, a z nagłówkami do niego nie będzie problemu :)
Offline







Palacz








Ja się domyślam że już ma :) ale chcę to definitywnie stwierdzić.
Offline



Gentoowy Głupek




Definitywnie można by to stwierdzić wywołując:
aptitude search linux-headers
i zobaczyć, co się tam kryje :)
Offline







Palacz








Ale tu idzie o linux-image...
Bo headers to ma już wszystkkie możliwe nawet 64bit :)
Offline



Gentoowy Głupek




No to czego nie ma? :) to niech robi upgrade jądra :) tzn. w ogóle upgrade :)
Offline







Palacz








Powoli.
Ma standardowe jądro które instaluje się przy instalacji z płyty.
To wiemy po
uname -r
Przypuszczam że robił jakieś upgrade i równolegle zainstalowało się jądro linux-image-2.6.32-3-686
Ale ono w grubie zostaje (jeśli dobrze paniętam) na drugiej pozycji.
Dlatego chcę stwierdzić czy to ma czy nie i ma pokazać
dpkg -l | grep linux-image
Jeśli się okaże ze ma to wówczas wystarczy odpalić system z tamtego jądra.
Offline
Taak! Właśnie tak ! W Grubie było nowe jajko, tylko po prostu przeoczyłem końcówkę (-3), a że było na dole to właśnie się nie odpalało... Teraz stery śmigają :) Dzięki wielkie wszystkim tutaj debatującym a w szczególności ilinowi.
Pozdrawiam
ShutDown
Offline







Palacz








Te zbędne jądra i nagłówki odinstaluj jeśli jeszcze tego nie zrobiłeś.
Offline
witam wszystkich, Mam podobny problem. Szukałem już sporo na ten temat ale nie mogłem znaleźć jednoznacznej odpowiedzi. Tak jak kolega wyżej powiedział, wpisałem
dpkg -l | grep linux-image
i to mi się ukazało:
ii linux-image-2.6-686 2.6.32+28 Linux 2.6 for modern PCs (meta-package) ii linux-image-2.6.32-5-686 2.6.32-23 Linux 2.6.32 for modern PCs
- nie wiem, czy to coś da, no ale niech będzie.
Jeśli chodzi o .log z instalacji sterów, to wygląda on następująco:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Oct 20 20:47:27 2010
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".
-> The CC version check failed:
The compiler used to compile the kernel (gcc 4.3) does not exactly match the
current compiler (gcc 4.4). 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 www.nvidia.com.Prosze o pomoc.
Ostatnio edytowany przez cwaniakarol (2010-10-20 21:08:53)
Offline







Kapelusznik








cwaniakarol napisał(-a):
Kod:
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)
Sam przerwałeś :P Poza tym pluje się o niezgodność wersji kompilatora, ale w sumie możesz to zignorować, jeszcze nie widziałem przypadku, żeby faktycznie komuś to zaszkodziło. Po prostu nie przerywaj — wybierz "No" :)
BTW, najłatwiejszy sposób instalacji sterów Nvidii w Squeeze sprowadza się do polecenia:
aptitude install nvidia-glx nvidia-settings
Offline
próbowałem yes i no i to nic nie daje. Ja mam testing...
Offline







Kapelusznik








To daj loga kiedy wybierasz "No", bo z tego nic więcej nie wynika...
cwaniakarol napisał(-a):
Ja mam testing...
Squeeze to właśnie testing ;)
Offline
no to dałem teraz popis, coś mi się pomyliło :P
po:
aptitude install nvidia-glx nvidia-settings
mam:
Brak kandydującej wersji nvidia-glx Brak kandydującej wersji nvidia-settings Brak kandydującej wersji nvidia-glx Brak kandydującej wersji nvidia-settings
Offline







Kapelusznik








Pokaż:
cat /etc/apt/sources.list
Offline
# # deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 kde-CD Binary-1 20101004-03:38]/ squeeze main deb cdrom:[Debian GNU/Linux testing _Squeeze_ - Official Snapshot i386 kde-CD Binary-1 20101004-03:38]/ squeeze main deb http://ftp.pl.debian.org/debian/ squeeze main deb-src http://ftp.pl.debian.org/debian/ squeeze main deb http://security.debian.org/ squeeze/updates main deb-src http://security.debian.org/ squeeze/updates main
Offline







Kapelusznik








Płytę możesz sobie darować, ale dorzuć sekcje contrib i non-free, w sumie tyle starczy:
deb http://ftp.de.debian.org/debian/ squeeze main contrib non-free deb http://security.debian.org/ squeeze/updates main contrib non-free deb http://www.debian-multimedia.org squeeze main non-free
Odśwież listę pakietów: aptitude update... i już powinno być.
Offline
kolego dzięki Ci wielkie, męczyłem się z tym od miesiąca, a Ty pomogłeś mi w kilka minut :) Wszystko gra pięknie. 3maj się, pozdrawiam
jeszcze tylko jeden problem, gdy uruchamiam nvidia-settings, wyskakuje mi taki oto błąd:
You do not appear to be using the NVIDIA X driver. Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
I nie moge zmienic żadnych ustawień itp.
Ostatnio edytowany przez cwaniakarol (2010-10-20 22:23:38)
Offline







Kapelusznik








Zrób co Ci napisał :)
Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
Jeżeli nie masz, to doinstaluj najpierw:
aptitude install nvidia-xconfig && nvidia-xconfig
(i zrestartuj X-y)
Offline







Podobno człowiek...;)








Please edit your X configuration file (just run `nvidia-xconfig` as root), and restart the X server.
Program tak ładnie poprosił, a Ty jeszcze nie wiesz, o co chodzi?
aaallllleee cwaniak :D
Ostatnio edytowany przez Jacekalex (2010-10-20 22:29:39)
Offline
próbowałem ale nie daje nic - nie znajduje takiego polecenia (sory, że od razu nie powiedziałem)
Offline







Kapelusznik








hmm, napisałem przecież "Jeżeli nie masz, to doinstaluj najpierw..."
Offline
prezczytałem dopiero po napisaniu. Zrobiłem tak jak zaleciłeś no i wszystko się zainstalowało, tylko serwer x nie chce mi się odpalić. Gdy wywołuje go ręcznie, to mam coś takiego
Fatal server error
no screens found
Please consult the X.Org Foundation sipport
at http://wiki.x.org
for help
Please also check the log file at "/var/log/Xorg.0.log" for additional information.
giving up
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (ernoo 3): Server errorOstatnio edytowany przez cwaniakarol (2010-10-21 07:43:27)
Offline

Fan Jogurtu
cwaniakarol napisał(-a):
prezczytałem dopiero po napisaniu. Zrobiłem tak jak zaleciłeś no i wszystko się zainstalowało, tylko serwer x nie chce mi się odpalić. Gdy wywołuje go ręcznie, to mam coś takiego
Kod:
Fatal server error no screens found Please consult the X.Org Foundation sipport at http://wiki.x.org for help Please also check the log file at "/var/log/Xorg.0.log" for additional information. giving up xinit: No such file or directory (errno 2): unable to connect to X server xinit: No such process (ernoo 3): Server error
Startujesz przez startx, tak?
Jeśli tak to stwórz plik o nazwie .xinitrc w swoim katalogu domowym ,i dodaj do niego odpowiedną komendę startującą środowisko graficzne lub menadżer okien ;)
Na przykład:
startkde
Offline