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!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2010-05-12 17:59:50

  ShutDown - Nowy użytkownik

ShutDown
Nowy użytkownik
Zarejestrowany: 2010-05-12

Instalacja sterów NVIDI i problem z nagłówkami

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.

Kod:

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

Kod:

 2.6.32-trunk-686

dpkg -l |  grep header

Kod:

 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

 

#2  2010-05-12 18:04:21

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Instalacja sterów NVIDI i problem z nagłówkami

Witamy na forum.

Pokaż

Kod:

dpkg -l | grep linux-image

Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#3  2010-05-12 18:15:11

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDI i problem z nagłówkami

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

 

#4  2010-05-12 18:16:52

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Instalacja sterów NVIDI i problem z nagłówkami

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


Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#5  2010-05-12 18:19:47

  marg1 - Gentoowy Głupek

marg1
Gentoowy Głupek
Skąd: Bytom
Zarejestrowany: 2009-05-15

Re: Instalacja sterów NVIDI i problem z nagłówkami

Definitywnie można by to stwierdzić wywołując:

Kod:

aptitude search linux-headers

i zobaczyć, co się tam kryje :)


marg1@jid.dug.net.pl
Linux User Registration Number: #488674
CISCO CCNA Alumni :)

Offline

 

#6  2010-05-12 18:21:08

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Instalacja sterów NVIDI i problem z nagłówkami

Ale tu idzie o linux-image...

Bo headers to ma już wszystkkie możliwe nawet 64bit :)


Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#7  2010-05-12 18:23:32

  marg1 - Gentoowy Głupek

marg1
Gentoowy Głupek
Skąd: Bytom
Zarejestrowany: 2009-05-15

Re: Instalacja sterów NVIDI i problem z nagłówkami

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


marg1@jid.dug.net.pl
Linux User Registration Number: #488674
CISCO CCNA Alumni :)

Offline

 

#8  2010-05-12 18:27:14

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Instalacja sterów NVIDI i problem z nagłówkami

Powoli.

Ma standardowe jądro które instaluje się przy instalacji z płyty.
To wiemy po

Kod:

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ć

Kod:

dpkg -l | grep linux-image

Jeśli się okaże ze ma to wówczas wystarczy odpalić system z tamtego jądra.


Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#9  2010-05-12 21:08:26

  ShutDown - Nowy użytkownik

ShutDown
Nowy użytkownik
Zarejestrowany: 2010-05-12

Re: Instalacja sterów NVIDI i problem z nagłówkami

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

 

#10  2010-05-12 21:29:29

  ilin - Palacz

ilin
Palacz
Skąd: PRLu
Zarejestrowany: 2006-05-03

Re: Instalacja sterów NVIDI i problem z nagłówkami

Te zbędne jądra i nagłówki odinstaluj jeśli jeszcze tego nie zrobiłeś.


Problemy rozwiązujemy na forum nie na PW -> Niech inni na tym skorzystają.
Polski portal Debiana

Offline

 

#11  2010-10-20 21:06:18

  cwaniakarol - Użytkownik

cwaniakarol
Użytkownik
Zarejestrowany: 2010-10-20

Re: Instalacja sterów NVIDI i problem z nagłówkami

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

Kod:

dpkg -l | grep linux-image

i to mi się ukazało:

Kod:

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:

Kod:

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

 

#12  2010-10-20 21:27:01

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDI i problem z nagłówkami

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:

Kod:

aptitude install nvidia-glx nvidia-settings

Offline

 

#13  2010-10-20 21:33:11

  cwaniakarol - Użytkownik

cwaniakarol
Użytkownik
Zarejestrowany: 2010-10-20

Re: Instalacja sterów NVIDI i problem z nagłówkami

próbowałem yes i no i to nic nie daje. Ja mam testing...

Offline

 

#14  2010-10-20 21:34:49

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDI i problem z nagłówkami

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

 

#15  2010-10-20 21:41:11

  cwaniakarol - Użytkownik

cwaniakarol
Użytkownik
Zarejestrowany: 2010-10-20

Re: Instalacja sterów NVIDI i problem z nagłówkami

no to dałem teraz popis, coś mi się pomyliło :P

po:

Kod:

aptitude install nvidia-glx nvidia-settings

mam:

Kod:

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

 

#16  2010-10-20 21:42:37

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDI i problem z nagłówkami

Pokaż:

Kod:

cat /etc/apt/sources.list

Offline

 

#17  2010-10-20 21:44:32

  cwaniakarol - Użytkownik

cwaniakarol
Użytkownik
Zarejestrowany: 2010-10-20

Re: Instalacja sterów NVIDI i problem z nagłówkami

Kod:

#
# 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

 

#18  2010-10-20 21:48:04

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDI i problem z nagłówkami

Płytę możesz sobie darować, ale dorzuć sekcje contrib i non-free, w sumie tyle starczy:

Kod:

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

 

#19  2010-10-20 22:00:28

  cwaniakarol - Użytkownik

cwaniakarol
Użytkownik
Zarejestrowany: 2010-10-20

Re: Instalacja sterów NVIDI i problem z nagłówkami

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:

Kod:

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

 

#20  2010-10-20 22:27:24

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDI i problem z nagłówkami

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:

Kod:

aptitude install nvidia-xconfig && nvidia-xconfig

(i zrestartuj X-y)

Offline

 

#21  2010-10-20 22:28:42

  Jacekalex - Podobno człowiek...;)

Jacekalex
Podobno człowiek...;)
Skąd: /dev/random
Zarejestrowany: 2008-01-07

Re: Instalacja sterów NVIDI i problem z nagłówkami

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)


W demokracji każdy naród ma taką władzę, na jaką zasługuje ;)
Si vis pacem  para bellum  ;)       |       Pozdrawiam :)

Offline

 

#22  2010-10-20 22:29:33

  cwaniakarol - Użytkownik

cwaniakarol
Użytkownik
Zarejestrowany: 2010-10-20

Re: Instalacja sterów NVIDI i problem z nagłówkami

próbowałem ale nie daje nic - nie znajduje takiego polecenia (sory, że od razu nie powiedziałem)

Offline

 

#23  2010-10-20 22:30:42

  ArnVaker - Kapelusznik

ArnVaker
Kapelusznik
Skąd: Midgard
Zarejestrowany: 2009-05-06

Re: Instalacja sterów NVIDI i problem z nagłówkami

hmm, napisałem przecież "Jeżeli nie masz, to doinstaluj najpierw..."

Offline

 

#24  2010-10-21 07:42:46

  cwaniakarol - Użytkownik

cwaniakarol
Użytkownik
Zarejestrowany: 2010-10-20

Re: Instalacja sterów NVIDI i problem z nagłówkami

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

Ostatnio edytowany przez cwaniakarol (2010-10-21 07:43:27)

Offline

 

#25  2010-10-21 09:59:12

  SpeedVin - Fan Jogurtu

SpeedVin
Fan Jogurtu
Zarejestrowany: 2010-09-25
Serwis

Re: Instalacja sterów NVIDI i problem z nagłówkami

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:

Kod:

startkde

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)