PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Probleme mit NVidia Driver


Mr.Floppy
12.12.01, 17:30
Hi,

Ich hatte Probleme mit den Nvidia .tar.gz Treiber. Mir wurde geraten die .rpm sources downzuloaden. Das hab ich auch gemacht und die FAQ befolgt. Leider gibt es beim kompilieren einige Fehler.
Ich weiss nicht welcher ausschlaggeben ist, deshalb mal ein paar Auszüge:

+ cd /usr/src/rpm/BUILD
+ cd NVIDIA_kernel-1.0-2314
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=package rpm is not installed
++ echo package rpm is not installed
++ awk -F . '{print $1;}'
+ RPMMAJOR=package rpm is not installed
++ echo package rpm is not installed
++ awk -F . '{print $2;}'
+ RPMMINOR=
++ echo package rpm is not installed
++ awk -F . '{print $3;}'
+ RPMPATCH=
+ '[' package rpm is not installed -le 3 -a -le 0 -a -lt 4 ']



nv.c:12: linux/config.h: No such file or directory
nv.c:25: linux/module.h: No such file or directory
In file included from nv.c:27:
nv-linux.h:19: linux/config.h: No such file or directory
nv-linux.h:24: linux/version.h: No such file or directory

nv-linux.h:31: parse error
nv-linux.h:34: parse error

make: *** [nv.o] Error 1
+ exit 0


install: cannot stat `NVdriver': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.77357 (%install)


RPM build errors:
Could not canonicalize hostname: Linux
Bad exit status from /var/tmp/rpm-tmp.77357 (%install)


Bitte helft mir. Es sind die GLX Treiber 2313 und Kernel 2314. Ich hab Linux Slackware 8.0 und Kernel 2.4.16 .

Ulli Ivens
12.12.01, 17:36
Hast du den Kernel selbergebaut ?? Es sieht so aus als ob deine Kernelquellen nicht konfiguriert sind (oder der link ist falsch gesetzt ! ) Die Kernelquellen müssen unter /usr/src/linux liegen ;) Aber ich glaube das hatten wir schon :D

Überprüfe auch ob rpm installiert ist !

Mr.Floppy
12.12.01, 17:44
uuuuuuuuuuups !
Hab die Kernel Quellen gelöscht dachte die brauch ich nicht mehr.
Hmmm kann ich jetzt einfach die .tar entpacken und da sind die Quellen drinn ?

Wozu werden die Quellen überhaupt noch benötigt ?

Mr.Floppy
12.12.01, 17:55
Argh, hab den Kernel wieder nach /usr/src/linux entpackt aber es geht immernoch nicht.
Die selben Fehler nur einige neue:


/lib/modules/2.4.16/build/include/linux/nfs_fs_i.h:4: asm/types.h: No such file or directory
In file included from /lib/modules/2.4.16/build/include/linux/affs_fs_i.h:4,
from /lib/modules/2.4.16/build/include/linux/fs.h:300,
from nv-linux.h:26,
from nv.c:27:

Mr.Floppy
13.12.01, 14:58
Könnt ihr bitte helfen ?

Ulli Ivens
13.12.01, 15:08
Jo... Du mußt die Quellen wieder genauso Konfigurieren wie vorher

make menuconfig

Und danach

make dep

aufrufen..... Dann gehts wieder ;)

Nur die Quellen reicht nicht. Sie müssen auch Konfiguriert sein. !!

Mr.Floppy
13.12.01, 15:37
Danke gut das ich meine .config noch gesichert hab.

Aber neu kompilieren muss ich auch nicht mehr ?

Mr.Floppy
13.12.01, 16:22
OK ich habs gemacht und er hats auch kompiliert.
Danach hab ich ins Verzeichnis /usr/src/rpm/RPMS/i386 gewechselt worin auch die Kernel und GLX .rpm lagen und hab :




rpm -e NVIDIA_GLX (falls Sie schon mal NVidia Treiber
installiert hatten)


rpm -e NVIDIA_kernel (oft nicht nötig, aber besser
immer mit eingeben)


rpm -ihv NVIDIA*.rpm (installiert GLX und Kernel)

eingegeben. Dann erhalt ich aber immer folgenden Fehler:

error: failed dependencies:
XFree86 >= 4.0.1 is needed by NVIDIA_GLX-1.0-2313
kernel > 2.2.0 is needed by NVIDIA_GLX-1.0-2313
/bin/sh is needed by NVIDIA_GLX-1.0-2313
/bin/sh is needed by NVIDIA_GLX-1.0-2313
/bin/sh is needed by NVIDIA_GLX-1.0-2313
ld-linux.so.2 is needed by NVIDIA_GLX-1.0-2313
libX11.so.6 is needed by NVIDIA_GLX-1.0-2313
libXext.so.6 is needed by NVIDIA_GLX-1.0-2313
libc.so.6 is needed by NVIDIA_GLX-1.0-2313
libdl.so.2 is needed by NVIDIA_GLX-1.0-2313
libm.so.6 is needed by NVIDIA_GLX-1.0-2313
libdl.so.2(GLIBC_2.0) is needed by NVIDIA_GLX-1.0-2313
libdl.so.2(GLIBC_2.1) is needed by NVIDIA_GLX-1.0-2313
kernel >= 2.2.0 is needed by NVIDIA_kernel-1.0-2314
rpm >= 3.0.4 is needed by NVIDIA_kernel-1.0-2314
/bin/sh is needed by NVIDIA_kernel-1.0-2314
/bin/sh is needed by NVIDIA_kernel-1.0-2314
/bin/sh is needed by NVIDIA_kernel-1.0-2314

Was ist jetzt wieder los ?

Ulli Ivens
13.12.01, 16:40
Also eigentlich kannst du die mit rpm -Uhv drüberbügeln !!!

nimm mal das:

rpm -Uhv NVIDIA*.rpm --force --nodeps

Und teste ob es läuft !!

Mr.Floppy
13.12.01, 17:06
Jo mit nodpes hab ich schon probiert aber leider hab ich den selben Fehler wie mit den anderen Treibern. Beim start verzerrt das logo und Linux bleibt stehen.
Muss dann rebooten.