PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Kein Neuer Nvidia treiber für Suse 8.1


Tombul
16.12.02, 15:09
Hallo Leute,

Warum gibts denn kein neuen Treiber für Suse 8.1 auf der Hompage von Nvidia es gibts nur Treiber für Redhat oder Mandrake

linuxerhh
16.12.02, 15:30
hallo tombul,

zieh dir einfach die kernel und glx source.rpm und mach ein rebuild der rpms

rpm --rebuild <file>.src.rpm

danach erhältst du eine normale rpm meist im ordner /pfad/zu/RPMS/i386 die du dann ganz normal mit rpm -i installieren kannst :-) (als root )für die installation muss der xserver allerdings ausgeschaltet sein, also vorher als root noch init 2 eingeben und dann erst installieren, wenn du dann das system neu startest kannst du kurz bei erfolgreicher installation beim start des xservers das nvidia logo sehen :-)

greetings aus hamburg

p.s. weiter information dazu findest du auch auf der nvidia seite selbst :-)

Gavyn McGearóid
16.12.02, 15:50
http://www.linuxforen.de/forums/showthread.php?s=&threadid=57560

Hab ich alles gepostet.

Tombul
16.12.02, 16:42
Hallo linuxerhh,

ich habs auch mit rpm --rebuild NVIDIA_Kernel*.src.rpm probiert aber er bricht mit fehlern ab ich weis nicht wieso bei der GLX Datei gibts keine Problemme haste vieleicht ein Tipp für mich ????

P.S ich bin auch ein Hamburger...

Bye Bye


NVIDIA_kernel-1.0-4191.src.rpm wird installiert
Ausführung(%prep): /bin/sh -e /var/tmp/rpm-tmp.78745
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf NVIDIA_kernel-1.0-4191
+ /bin/gzip -dc /usr/src/packages/SOURCES/NVIDIA_kernel-1.0-4191.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd NVIDIA_kernel-1.0-4191
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Ausführung(%build): /bin/sh -e /var/tmp/rpm-tmp.78745
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ set +e
++ rpm -q --queryformat '%{VERSION}' rpm
+ RPMVERSION=3.0.6
++ echo 3.0.6
++ awk -F . '{print $1;}'
+ RPMMAJOR=3
++ echo 3.0.6
++ awk -F . '{print $2;}'
+ RPMMINOR=0
++ echo 3.0.6
++ awk -F . '{print $3;}'
+ RPMPATCH=6
+ '[' 3 -le 3 -a 0 -le 0 -a 6 -lt 4 ']'
+ make nvidia.o
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparen
theses -Wpointer-arith -Wcast-qual -Wno-multichar -O -MD -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -D
MODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=4191 -DNV_UNI
X -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -I. -I/usr/src/linux/include
-Wno-cast-qual nv.c
In file included from /usr/include/linux/module.h:297,
from nv-linux.h:28,
from nv.c:14:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from nv-linux.h:28,
from nv.c:14:
/usr/include/linux/module.h:299: parse error before "UTS_RELEASE"
In file included from nv-linux.h:29,
from nv.c:14:
/usr/include/linux/version.h:2:2: #error "======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include /usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation of
kernel modules."
/usr/include/linux/version.h:5:2: #error ""
/usr/include/linux/version.h:6:2: #error "glibc now uses kernel header files fro
m a well-defined"
/usr/include/linux/version.h:7:2: #error "working kernel version (as recommended
by Linus Torvalds)"
/usr/include/linux/version.h:8:2: #error "These files are glibc internal and may
not match the"
/usr/include/linux/version.h:9:2: #error "currently running kernel. They should
only be"
/usr/include/linux/version.h:10:2: #error "included via other system header file
s - user space"
/usr/include/linux/version.h:11:2: #error "programs should not directly include
<linux/*.h> or"
/usr/include/linux/version.h:12:2: #error "<asm/*.h> as well."
/usr/include/linux/version.h:13:2: #error ""
/usr/include/linux/version.h:14:2: #error "To build kernel modules please do the
following:"
/usr/include/linux/version.h:15:2: #error ""
/usr/include/linux/version.h:16:2: #error " o Have the kernel sources installed"
/usr/include/linux/version.h:17:2: #error ""
/usr/include/linux/version.h:18:2: #error " o Make sure that the symbolic link"
/usr/include/linux/version.h:19:2: #error " /lib/modules/`uname -r`/build exis
ts and points to"
/usr/include/linux/version.h:20:2: #error " the matching kernel source directo
ry"
/usr/include/linux/version.h:21:2: #error ""
/usr/include/linux/version.h:22:2: #error " o Now copy /boot/vmlinuz.version.h t
o"
/usr/include/linux/version.h:23:2: #error " /lib/modules/`uname -r`/build/incl
ude/linux/version.h"
/usr/include/linux/version.h:24:2: #error ""
/usr/include/linux/version.h:25:2: #error " o When compiling, make sure to use t
he following"
/usr/include/linux/version.h:26:2: #error " compiler option to use the correct
include files:"
/usr/include/linux/version.h:27:2: #error ""
/usr/include/linux/version.h:28:2: #error " -I/lib/modules/`uname -r`/build/in
clude"
/usr/include/linux/version.h:29:2: #error ""
/usr/include/linux/version.h:30:2: #error " instead of"
/usr/include/linux/version.h:31:2: #error ""
/usr/include/linux/version.h:32:2: #error " -I/usr/include/linux"
/usr/include/linux/version.h:33:2: #error ""
/usr/include/linux/version.h:34:2: #error " Please adjust the Makefile accordi
ngly."
/usr/include/linux/version.h:35:2: #error "=====================================
=================="
In file included from nv.c:14:
nv-linux.h:31:40: missing binary operator before '('
nv-linux.h:33:42: missing binary operator before '('
nv-linux.h:35:42: missing binary operator before '('
nv-linux.h:37:42: missing binary operator before '('
nv-linux.h:39:42: missing binary operator before '('
nv-linux.h:43:4: #error This driver does not support 2.6.x or newer kernels!
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:45,
from nv-linux.h:71,
from nv.c:14:
/usr/include/linux/irq.h:65: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in
a function)
/usr/include/linux/irq.h:65: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:45,
from nv-linux.h:71,
from nv.c:14:
/usr/include/asm/hardirq.h:16: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not
in a function)
/usr/include/asm/hardirq.h:16: requested alignment is not a constant
In file included from nv-linux.h:71,
from nv.c:14:
/usr/include/linux/interrupt.h:128: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here
(not in a function)
/usr/include/linux/interrupt.h:128: requested alignment is not a constant
nv-linux.h:184:64: missing binary operator before '('
nv.c:1335:65: missing binary operator before '('
nv.c: In function `nv_kern_mmap':
nv.c:1338: warning: implicit declaration of function `pgprot_writecombine'
nv.c:1338: incompatible types in assignment
make: *** [nv.o] Fehler 1
+ exit 0
Ausführung(%install): /bin/sh -e /var/tmp/rpm-tmp.40296
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd NVIDIA_kernel-1.0-4191
+ rm -f /tmp/files.lst
+ '[' -z '' ']'
++ uname -r
+ export TARGET_KERNEL=2.4.19-4GB
+ TARGET_KERNEL=2.4.19-4GB
+ '[' -d /lib/modules/2.4.19-4GB/kernel ']'
+ INSTALLPATH=/lib/modules/2.4.19-4GB/kernel/drivers/video
+ mkdir -p /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.19-4GB/kernel/drivers/vid eo
+ install -m 0444 nvidia.o /var/tmp/NVIDIA_kernel-1.0//lib/modules/2.4.19-4GB/ke rnel/drivers/video
install: Aufruf von stat für »nvidia.o« nicht möglich: Datei oder Verzeichnis ni cht gefunden
Fehlerhafter Status nach Ausführen von /var/tmp/rpm-tmp.40296 (%install)

linuxerhh
16.12.02, 18:39
hallo tombul ,

kannnst du mal beschreiben wie du genau vorgegangen bist und welche files du genau benutzt hast?

Tombul
16.12.02, 19:21
Hallo linuxerhh

ich habe ganz normal als root den befehl rpm --rebuild NVIDIA_kernel-1.0-4191.src.rpm ausgeführt sonst nichts
wie ich schon sagte die fehler kommen nur beim kernel vor nich bei der GLX Datei.


Bye und Danke für dein mühe

Tombul
16.12.02, 19:43
Hi

Ich hab jetzt das Problem gelöst ich mußte nur die kernel sourcen von der Suse DVD Installieren und habe es nochmal im runlevel 3 probiert und es hatt gelüpt

Danke an alle