Strona 1 z 1
[+] GF 8600GT - instalator nie wykrywa kernel-sources
: 19 grudnia 2008, 15:22
autor: KnX
Witam
Mam problem jak w temacie. Przedstawię wycinek pliku nvidia-installer.log
Kod: Zaznacz cały
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.
I na tym instalacja się kończy, linux-headers i linux-sources są zainstalowane.
Pomoże ktoś?
Z góry dziękuję.
: 19 grudnia 2008, 16:43
autor: kiko80
Zainstaluj linux-headers w takiej samej wersji jakie masz jajko
: 19 grudnia 2008, 17:06
autor: KnX
Dokładnie tak zrobiłem, myślę jednak, że to może mieć związek z tym:
Kod: Zaznacz cały
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.
Nie mam pojęcia gdzie podać ścieżkę do źródeł i w jaki sposób, czy w trakcie uruchamiania instalatora, czy może gdzieś indziej?
: 19 grudnia 2008, 17:23
autor: lis6502
Poprawnie skonfigurowane pakiety linux-source i linux-headers sprawiają, że nie instalator nvidii sam znajdzie czego potrzebuje. Podaj wyniki poleceń
: 19 grudnia 2008, 21:10
autor: KnX
dpkg -l | grep linux-[ihs]
Kod: Zaznacz cały
ii linux-headers-2.6-486 2.6.18+6etch3 Heade r files for Linux 2.6 on x86
ii linux-headers-2.6.18-6 2.6.18.dfsg.1-23 Commo n header files for Linux 2.6.18
ii linux-headers-2.6.18-6-486 2.6.18.dfsg.1-23 Heade r files for Linux 2.6.18 on x86
ii linux-image-2.6-k7 2.6.18+6etch3 Linux kernel 2.6 image on AMD K7
ii linux-image-2.6.18-6-k7 2.6.18.dfsg.1-23 Linux 2.6.18 image on AMD K7
ii linux-sound-base 1.0.13-5etch1 base package for ALSA and OSS sound systems
ii linux-source-2.6.18 2.6.18.dfsg.1-23 Linux kernel source for version 2.6.18 with
uname -a
Kod: Zaznacz cały
Linux debian 2.6.18-6-k7 #1 SMP Mon Oct 13 16:52:47 UTC 2008 i686 GNU/Linux
: 19 grudnia 2008, 21:26
autor: lis6502
Ja kiedyś padnę na ślepotę?
tutaj mamy problem

Więc tak:
Kod: Zaznacz cały
su
super_tajne_hasło
cd /usr/src/linux
make prepare && make modules_prepare
Jeśli przejdzie gładko - cieszymy się, jeśli nie:
Kod: Zaznacz cały
su
super_tajne_hasło
cd /usr/src
rm linux
tar xf linux-source-`uname -r`
ln -s `pwd`/linux-source-`uname -r` linux
cd linux
cp /boot/grub/config-`uname -r` ./.config
make prepare && make modules_prepare
po tych zabiegach masz wstępnie skonfigurowane jądro.
Zwróć uwagę na
`.
: 20 grudnia 2008, 15:06
autor: KnX
Dzięki wielkie za pomoc, udało się zainstalować. Ale co do pliku /boot/grub/config to chyba chodziło Ci o /boot/config-`uname -r`

: 20 grudnia 2008, 15:08
autor: lis6502
Faktycznie

Ale jak już pisałem wcześniej mam wzrok do wymiany ^^. Cieszę się że mogłem pomóc. Dodaj regulaminowo [+] do tematu.