Strony: [1]
Drukuj
Autor Wątek: Nvidia - unable to find kernel source [Solved]  (Przeczytany 640 razy)
0 użytkowników i 1 Gość przegląda ten wątek.
czary
Dorodna miętowa sadzonka
***

Reputacja -3
Offline Offline

Distro: Mint 12 Kde
Wiadomości: 108


Zobacz profil
« : Wrzesień 12, 2011, 10:30:51 »

Laptop hp pavilion dv6820ea
grafika Nvidia GF 8400gs
Linux mint 10 KDE

Wiem ze problem z nvidią już był wałkowany wszędzie, spędziłem ostatnie 3 godziny na poszukiwaniu odpowiedzi w google, znalazłem masę tematów, ale nic co by działało na tym systemie.

Co robiłem:
-zainstalowałem binutils,gcc, i make
-przechodze na tt1:  sudo system kdm stop
-sh NV....
i dochodze do momentu kiedy wyświetla się komunikat "unable to find kernel source..." tu jest foto

Udało mi się pozbyć nouveau bo w tej chwili jestem na jakiejś małej rozdzielczości, próbowałem instalować i odinstalowywać różne elementy  w synaptiku(np nvidia-kernel-common, czy inne pakiety zwiazane z nvidia) nic to nie daje.

Co mam zrobić aby zainstalować grafikę poprawnie, o co chodzi z tym błędem??

Kiedyś mi się to udało ale to chyba był przypadek i zajeło mi to z dwa tygodnie. Mam nadzieję że jesteście mi w stanie pomóc Uśmiech doddam tylko że nadal jestem początkujący.


Dodany: [time]Wrzesień 12, 2011, 11:04:11 [/time]
a to mój nvidia-instaler.log

Cytuj
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Mon Sep 12 22:00:19 2011
installer version: 280.13

PATH:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin

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
  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
  run distro scripts                 : true
  no nouveau check                   : false
  run nvidia-xconfig                 : false
  sigwinch work around               : true
  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)
  installer prefix                   : (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)
  precompiled kernel interfaces path : (not specified)
  precompiled kernel interfaces url  : (not specified)
  proc mount point                   : /proc
  ui                                 : (not specified)
  tmpdir                             : /tmp
  ftp mirror                         : http://ftp://download.nvidia.com
  RPM file list                      : (not specified)
  selinux chcon type                 : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 280.13.
-> 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 www.nvidia.com.
« Ostatnia zmiana: Wrzesień 18, 2011, 01:46:46 wysłana przez czary » Zapisane
marcin'82
Globator Moderalny
Pole mięty
*****

Reputacja 2
Offline Offline

Płeć: Mężczyzna
Distro: PCLinuxOS 2012 Xfce | Debian Wheezy (testing) Xfce
Wiadomości: 843


echo "Nic nie działa!" && rm -rf /


Zobacz profil
« Odpowiedz #1 : Wrzesień 12, 2011, 11:28:55 »

Pokaż wyniki:
Kod:
sudo apt-cache search kernel
oraz:
Kod:
sudo apt-cache search headers
Podaj też wynik
Kod:
uname -r
W skrócie: potrzebujesz pakietów dev, source, kernel headers - nazwa zależna od dystrybucji ... odnajdź je np. w Synapticu po tych słowach kluczowych i zainstaluj.
Zapisane

Ko ko ko ko Debian spoko! | marcin'82 ;]
czary
Dorodna miętowa sadzonka
***

Reputacja -3
Offline Offline

Distro: Mint 12 Kde
Wiadomości: 108


Zobacz profil
« Odpowiedz #2 : Wrzesień 13, 2011, 03:17:48 »

Wyniki dla :
Kod:
sudo apt-cache search kernel
sudo apt-cache search headers
Są tutaj http://chomikuj.pl/czaryone/LINUX
było za dużo znaków żeby zmieścić na forum.
Kod:
$ uname -r
2.6.35-22-generic

Uzywałem też komendy
Kod:
sudo aptitude install linux-headers 2.6.35-22-generic
Zwróciło:
Kod:
[sudo] password for czary:
Nie znaleziono pakietu "2.6.35-22-generic".       
Następujące pakiety mają "2.6.35-22-generic" w nazwie:
  linux-image-2.6.35-22-generic linux-headers-2.6.35-22-generic
  linux-headers-lbm-2.6.35-22-generic
  linux-backports-modules-net-2.6.35-22-generic
  linux-backports-modules-wireless-2.6.35-22-generic
  linux-backports-modules-alsa-2.6.35-22-generic
Nie znaleziono pakietu "2.6.35-22-generic".
Następujące pakiety mają "2.6.35-22-generic" w nazwie:
  linux-image-2.6.35-22-generic linux-headers-2.6.35-22-generic
  linux-headers-lbm-2.6.35-22-generic
  linux-backports-modules-net-2.6.35-22-generic
  linux-backports-modules-wireless-2.6.35-22-generic
  linux-backports-modules-alsa-2.6.35-22-generic
Nie zostaną zainstalowane, zaktualizowane ani usunięte żadne pakiety.
0 pakietów aktualizowanych, 0 instalowanych, 0 do usunięcia i 11 nie aktualizowanych.
Do pobrania 0B archiwów. Zajęte po rozpakowaniu: 0B.

Dodany: Wrzesień 13, 2011, 03:30:22
Zainstalowałem również w synaptiku kernel headers o tym samy numerze co  zwróciła komenda 'uname -r', nic to nie dało, gdy wpisałem w synaptika, dev lub source, lista wyników była bardzo długa, nie wiem co mam tam wybrac. Co?
« Ostatnia zmiana: Wrzesień 13, 2011, 03:30:22 wysłana przez czary » Zapisane
Forum Linux Mint
« Odpowiedz #2 : Wrzesień 13, 2011, 03:17:48 »

 Zapisane
marcin'82
Globator Moderalny
Pole mięty
*****

Reputacja 2
Offline Offline

Płeć: Mężczyzna
Distro: PCLinuxOS 2012 Xfce | Debian Wheezy (testing) Xfce
Wiadomości: 843


echo "Nic nie działa!" && rm -rf /


Zobacz profil
« Odpowiedz #3 : Wrzesień 13, 2011, 03:37:51 »

Wpisałeś bez myślnika - skopiuj stąd:
Kod:
sudo apt-get install linux-headers-2.6.35-22-generic
Zapisane

Ko ko ko ko Debian spoko! | marcin'82 ;]
czary
Dorodna miętowa sadzonka
***

Reputacja -3
Offline Offline

Distro: Mint 12 Kde
Wiadomości: 108


Zobacz profil
« Odpowiedz #4 : Wrzesień 13, 2011, 03:59:15 »

Moje Ukłony Uśmiech Wszystko działa jak należy. Bardzo wielkie dzięki
 Duży uśmiech  Spoko
Zapisane
Strony: [1]
Drukuj
Skocz do: