NVIDIA : Unable to determine the version of the kernel sourc

Gdy jakieś urządzenie nie chce w Slackware działać...

Moderatorzy: Moderatorzy, Administratorzy

marekdor
Użytkownik
Posty: 45
Rejestracja: 2010-10-03, 09:09
Lokalizacja: Szczecin
Kontakt:

NVIDIA : Unable to determine the version of the kernel sourc

Post autor: marekdor »

Witam, po raz kolejny tym razem na innym komputerze chce zainstalowac sterowniki Nvidii i konczy sie to takim komunikatem. :

Kod: Zaznacz cały

ERROR: Unable to determine the version of the kernel sources located in '/lib/modules/2.6.33.4-smp/source'.  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.


Dodam jeszcze kilka wycinkow slapt geta :

Kod: Zaznacz cały

root@dezintegrator:/home/marekd# slapt-get --search kernel-headers
kernel-headers-2.6.33.4_smp-x86-1 [inst=yes]: kernel-headers (Linux kernel include files)
root@dezintegrator:/home/marekd# 

[code]
root@dezintegrator:/home/marekd# slapt-get --search kernel-source
kernel-source-2.6.33.4_smp-noarch-1 [inst=yes]: kernel-source (Linux kernel source)
root@dezintegrator:/home/marekd#
[/code]


Instaluje bezposrednio z instalatorow ze strony NVIDII. Wersja sterownika do mojej karty to max 173.
Czy ktos ma na to pomysl ?
Linux dezintegrator 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686 Intel(R) 4 x Xeon(TM) CPU 3.06GHz GenuineIntel GNU/Linux
Awatar użytkownika
dienet
Moderator
Posty: 2105
Rejestracja: 2007-07-24, 18:58
Lokalizacja: Racibórz/Rybnik

Re: NVIDIA : Unable to determine the version of the kernel s

Post autor: dienet »

Ja chyba takie coś naprawiałem tak:

Kod: Zaznacz cały

make defconfig (czy cokolwiek)
make (przez chwilę aż się taki plik z version w nazwie zacznie "mielić")
ctrl+C
i powinno być OK.
Pozdr0
dienet
[img]http://i164.photobucket.com/albums/u19/slawek15/kotekeo0lq3.jpg[/img]
marekdor
Użytkownik
Posty: 45
Rejestracja: 2010-10-03, 09:09
Lokalizacja: Szczecin
Kontakt:

Re: NVIDIA : Unable to determine the version of the kernel s

Post autor: marekdor »

zbudowalem kontrolnie cale jadro
i nic to nie pomoglo
Linux dezintegrator 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686 Intel(R) 4 x Xeon(TM) CPU 3.06GHz GenuineIntel GNU/Linux
Awatar użytkownika
dienet
Moderator
Posty: 2105
Rejestracja: 2007-07-24, 18:58
Lokalizacja: Racibórz/Rybnik

Re: NVIDIA : Unable to determine the version of the kernel s

Post autor: dienet »

Pokaż wynik polecenia:

Kod: Zaznacz cały

cat /lib/modules/2.6.33.4-smp/source/include/linux/version.h
Pozdr0
dienet
[img]http://i164.photobucket.com/albums/u19/slawek15/kotekeo0lq3.jpg[/img]
Awatar użytkownika
roverek
Użytkownik
Posty: 605
Rejestracja: 2007-02-22, 18:29
Lokalizacja: Szczecin

Re: NVIDIA : Unable to determine the version of the kernel s

Post autor: roverek »

Kod: Zaznacz cały

./nazwasterownika.sh --kernel-source-path /usr/src/linux-2.6-33.4/ 
Czy takie coś pomaga dla jądra dystrybucyjnego ? Zakładam że kernel-source i kernel-headers zainstalowane ! Dla pewności potraktuj tym patchem źródła kernela ;).
[img]http://img148.imageshack.us/img148/9879/slackware1userbarzl9.gif[/img]
[img]http://img162.imageshack.us/img162/2268/barritagoogless6.jpg[/img]
[img]http://img.userbars.pl/42/8201.gif[/img]
marekdor
Użytkownik
Posty: 45
Rejestracja: 2010-10-03, 09:09
Lokalizacja: Szczecin
Kontakt:

Re: NVIDIA : Unable to determine the version of the kernel s

Post autor: marekdor »

Kod: Zaznacz cały

marekd@dezintegrator:~$ cat /lib/modules/2.6.33.4-smp/source/include/linux/version.h
#define LINUX_VERSION_CODE 132641
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
marekd@dezintegrator:~$ 
Linux dezintegrator 2.6.33.4-smp #2 SMP Wed May 12 22:47:36 CDT 2010 i686 Intel(R) 4 x Xeon(TM) CPU 3.06GHz GenuineIntel GNU/Linux
ODPOWIEDZ