PDA

View Full Version : problema driver nvidia


cicoandcico
21-06-2004, 12:39
ho un problema nell' installazione dei driver nvidia. ho una knoppix 3.4 su hd, ho ricompilato il kernel 2.4.26 con l'acpi (devo usarlo per via del modem che non funziona col 2.6, o meglio funziona ma a pagamento) e ho eseguito l'sh nvidia.
il log è il seguente:

<------------------------------------------------------>
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Jun 21 13:23:00 2003

option status:
license pre-accepted : false
update : false
force update : false
expert : false
uninstall : false
driver info : false
no precompiled interface: false
no ncurses color : false
query latest driver ver : false
OpenGL header files : false
no questions : false
silent : false
XFree86 install prefix : /usr/X11R6
OpenGL install prefix : /usr
Installer install prefix: /usr
kernel include path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp site : ftp://download.nvidia.com

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.
-> Kernel include path: '/lib/modules/2.4.26-cc/build/include'
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
make: Warnung: Datei »Makefile« hat Änderungszeit 2,2e+06 s in der Zukunft
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
make: Warnung: Mit der Uhr stimmt etwas nicht.
Die Bearbeitung könnte unvollständig sein.
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.4.26-cc
/build/include'...
make: Warnung: Datei »Makefile« hat Änderungszeit 2,2e+06 s in der Zukunft

You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.

*** Failed cc sanity check. Bailing out! ***
make: *** [gcc-check] Fehler 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.
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.
<-------------------------------------------------------------->

quindi sembrerebbe che il kernel sia stato compilato con un gcc diverso da quello di sistema, ma è impossibile! infatti:

cicoandcico@knopbox:~$ cat /proc/version
Linux version 2.4.26-cc (root@knopbox) (gcc version 3.3.3 (Debian 20040429)) #1
SMP sab giu 21 11:53:44 CEST 2003
cicoandcico@knopbox:~$ gcc -v
Lese Spezifikationen von /usr/lib/gcc-lib/i486-linux/3.3.3/specs
Konfiguriert mit: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,
objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/in
fo --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zl
ib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-cloca
le=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-ob
jc-gc i486-linux
Thread-Modell: posix
gcc-Version 3.3.3 (Debian 20040429)

qualche suggerimento?

NA01
21-06-2004, 15:45
se ne sei sicuro prova
IGNORE_CC_MISMATCH.
al massimo salta tutto :D

clemmy
21-06-2004, 16:46
edit: non avevo letto la seconda parte del post..

AnonimoVeneziano
21-06-2004, 17:35
Non è che hai installato KNOPPIX poi hai aggiornato il kernel e poi hai fatto "apt-get update" e "apt-get -u dist-upgrade" ?

Hai una versione di GCC diversa da quella con la quale hai compilato il kernel , ricompila di nuovo il kernel con la nuova versione di GCC installata e poi riprova

Ciao