Pagina 1 di 1

Kernel 2.4...niente source :(

Inviato: sab 11 giu 2005, 12:15
da hendrixiano
Ho il kernel 2.4, non mi va di mettere il 2.6, per il mio hardware il 2.4 va bene, pero' ora ho un problema, non riesco ad installare i driver della scheda video nvidia, mi dice che non trova i source del kernel, effettivamente non c'e' tra i pacchetti installati, pero' mi sembra molto strano che nella installazione di base non ci siano i sorgenti del kernel (anche perche' i driver nvidia sul kernel 2.4 li avevo gia' installati e andavano bene, non mi ha dato alcun problema di sorgenti...).
Comunque sia ho anche provato a scaricarmi i sorgenti da kernel.org, gli ho scompattati nella directory /usr/src/linux-2.4.29 ma niente...non va lo stesso. Qualche consiglio?

Inviato: sab 11 giu 2005, 12:18
da gallows
i sorgenti del kernel li trovi nel cd 1 nella sezione /k
comunque, in /usr/src/ c'e` il symlink "linux" che punta al sorgente?

Inviato: sab 11 giu 2005, 12:19
da hendrixiano
No, non me lo fa fare, mi dice che non posso farlo alle directory, uso il comando ln.

Inviato: sab 11 giu 2005, 12:21
da gallows
ln -s /usr/src/linux-`uname -r` /usr/src/linux

Inviato: sab 11 giu 2005, 12:51
da hendrixiano
Niente, non va neanche col collegamento!!! Ecco il log dello script di installazione:

Using: nvidia-installer ncurses user interface
-> License accepted.
-> No precompiled kernel interface was found to match your kernel; would you li
che 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.
-> Kernel source path: '/lib/modules/2.4.29/build'
-> Performing CC test with CC="cc".
ERROR: If you are using a Linux 2.4 kernel, please make sure
you either have configured kernel sources matching your
kernel or the correct set of kernel headers installed
on your system.

If you are using a Linux 2.6 kernel, please make sure
you have configured kernel sources matching your kernel
installed on your system. If you specified a separate
output directory using either the "KBUILD_OUTPUT" or
the "O" KBUILD parameter, make sure to specify this
directory with the SYSOUT environment variable or with
the equivalent nvidia-installer command line option.

Depending on where and how the kernel sources (or the
kernel headers) were installed, you may need to specify
their location with the SYSSRC environment variable or
the equivalent nvidia-installer 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 http://www.nvidia.com.

Inviato: sab 11 giu 2005, 12:58
da gallows
prova con:
cat [configure del tuo kernel] > /usr/src/linux/.config

ps. gli headers li hai installati, vero?

Inviato: sab 11 giu 2005, 12:58
da DaNiMoTh
hai installato il pacchetto kernel-source e kernel-header? Se no, prenditeli da http://www.slacware.at/data/slackware-10.1/slackware/k

ciao

Inviato: sab 11 giu 2005, 13:18
da hendrixiano
Gli headers gli avevo instalalti, ho instalalto il pacchetto di e ora va, grazie mille ;)