PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : SuSE8.2 und NVidia mal wieder...



Bettkäfer
01.09.03, 14:29
Hallo,

auch ich bin noch ziemlicher Linux-Neuling und ja, ich habe die Suchi benutzt ;).

Folgendes Problem beim Installieren des NVidia Treibers:
Habe per Yast2 YOU den NVidia Treiber heruntergeladen. Dieser lies sich wie erwartet in Sax2 nicht konfigurieren. Nachdem ich sämtliche Hilfen und auch hier im Forum gewälzt habe, wollte ich das Shellscript des getrennt heruntergeladenen Installers ausführen (Runlevel war 3). Dieser brach natürlich ab, da ich wohl den neuen Athlon Kernel benutze.
Habe dann die Anleitung aus dem Tip-Forum hier befolgt, und an die .kversion und version.h den "-athlon" Zusatz angehängt.
Wieder als root ins Runlevel 3 zurück, aber erneuter Abbruch vom Installer, welcher ne andere Compilerversion bescheinigt.
Ich weiß nach stundenlangem herumprobieren echt net mehr weiter und frage also mal hier nach.
Für Hilfe wäre ich unendlich dankbar!
Anbei nochmal ein Ausschnitt aus dem log (/var/log/nvidia-installer.log).

gr, bettkäfer


log:

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.20-4GB-athlon/build/include'
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f nv.o os-agp.o os-interface.o os-registry.o nv-linux.o nv_compiler.h *
.d NVdriver nvidia.o
-> Building kernel module:
executing: 'cd ./usr/src/nv; make nvidia.o SYSINCLUDE=/lib/modules/2.4.20-4G
B-athlon/build/include'...

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.

[1;31m*** Failed cc sanity check. Bailing out! ***
[0mmake: *** [gcc-check] Error 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.

drunkenPenguin
01.09.03, 15:50
Hast Du es mal mit dem nvidia-Howto versucht?
ftp://ftp.suse.com/pub/suse/i386/supplementary/X/XFree86/nvidia-installer-HOWTO.html

Gruß, Daniel

Bettkäfer
01.09.03, 16:18
Danke für den Wink mit den Link :).

Ich habe das Howto gelesen, aber nicht den Abschnitt über selbstcompilierte Kernel. Habs dann wie dort beschrieben ausgeführt und funktionierte auf Anhieb. Tux races ;)

Thx & gr, bettkäfer