treiber-installation klappt weil kernel interface fehlt

S

supersucker

Foren Gott
hi,

ich hab ein problem mit dem ich absolut nicht mehr weiterkomme:

ich versuche meine nvidia-treiber für die geforce fx 5200 unter fedora core 3 zu installieren, in der readme
steht nun:

Prior to beginning the installation, you should exit the X server and kill all
OpenGL applications

ok, gemacht

After you have downloaded the file 'NVIDIA-Linux-x86-1.0-7676-pkg#.run',
change to the directory containing the downloaded file, and as 'root' user run
the executable:

# cd yourdirectory
# sh NVIDIA-Linux-x86-1.0-7676-pkg#.run

bis hierhin kam ich, weiter nicht, beim ausführen des shell-scripts kam dann die fehlermeldung das mir das precompiled kernel interface efhlen würde, dazu steht in der readme:


INSTALLING THE KERNEL INTERFACE

The NVIDIA kernel module has a kernel interface layer that must be compiled
specifically for each kernel. NVIDIA distributes the source code to this
kernel interface layer, as well as precompiled versions for many of the
kernels provided by popular Linux distributions.

When the installer is run, it will determine if it has a precompiled kernel
interface for the kernel you are running. If it does not have one, it will
check if there is one on the NVIDIA ftp site (assuming you have an internet
connection), and download it.

The installer will determine if it has a precompiled kernel interface for your
specific system. If not, it will attempt to download one from the NVIDIA ftp
site and link it against the binary kernel module. If one cannot be
downloaded, either because of network connectivity or because one is not
provided, the installer will check your system for the required kernel sources
and compile the interface for you. If the installer must compile the kernel
interface, you must install the kernel-sources package for your kernel.

If 'nvidia-installer' must compile a kernel interface for your kernel, you
will need the required support files installed on your system. On most
systems, this means that you will need to locate and install the correct
kernel-source or kernel-headers package; on some newer distributions, no
additional packages are required (e.g. Fedora Core 3, Red Hat Enterprise Linux
4).

Note that linking of the kernel interface (in the case that the interface was
downloaded or compiled at installation) requires you to have a linker
installed on your system. The linker, usually '/usr/bin/ld', is part of the
binutils package. If a precompiled kernel interface is not found, you must
install a linker prior to installing the NVIDIA driver.

als ich den treiber installieren wollte kam eben das oben beschriebene, ich hab ne fehlermeldung bekommen das kein precompiled kernel interface gefunden wurde und das setup wurde abgebrochen.
so, und wenn ich das oben aus der readme lese versteh ich nur bahnhof:

The installer will determine if it has a precompiled kernel interface for your
specific system. If not, it will attempt to download one from the NVIDIA ftp
site and link it against the binary kernel module. If one cannot be
downloaded, either because of network connectivity or because one is not
provided, the installer will check your system for the required kernel sources
and compile the interface for you.

aha, das hat der installer nicht getan, also hab ich diese kernel sources wohl nicht..

If the installer must compile the kernel
interface, you must install the kernel-sources package for your kernel.

mehr steht dazu nicht, ich versteh überhaupt nicht was für kernel sources und vor allem nicht woher ich die kriegen soll, auf der nvidia - seite hab ich nichts dazu gefunden..

bin wirklich für jede hilfe dankbar, irgendwie übersteigt das meine linux-kenntnisse um ein paar level...............
 
Also:
Der Nvidia Driver wird online kein vorcompiliertes Kernel Interface finden.
Also solltest du bei der Frage:
"Download precompieled Kernel-Interface from ..." (oder ähnlich) NO anwählen.
Danach wird der Installer das NVIDIA Modul selbst versuchen zu compilieren. Dies geht aber nur, wenn die Linux KErnel Sources, also sprich der Linux (Kernel) Quellcode ebenso installiert ist. dieser sollte normalerweise auf deinen Fedora Core installationsmedien zu finden sein. Er sollte ganz einfach nachzuinstallieren sein.
 
erst mal danke für die antwort,

ich hab versucht die kernel sourcen nachzuinstallieren:

[root@supersucker system]# uname -a
Linux supersucker 2.6.12-1.1376_FC3 #1 Fri Aug 26 23:27:26 EDT 2005 i686 athlon i386 GNU/Linux

ok, hab mir also von http://rpm.pbone.net folgendes rpm gezogen:

kernel-2.6.12-1.1376_FC3.src.rpm

so weit so gut dachte ich..........wenn ich jetzt aber

rpm -i kernel-2.6.12-1.1376_FC3.src.rpm

mache, krieg ich auch keine fehlermeldung, mache ich jetzt aber ein

rpm -q kernel-2.6.12-1.1376_FC3.src.rpm

krieg ich die meldung:

package kernel-2.6.12-1.1376 is not installed

wie kann denn das sein? und warum spuckt mir rpm keine fehlermeldung aus
wenn es ein packet nicht installieren kann?
kann mir jemand erklären was da schiefläuft?
gibt es noch eine andere möglichkeit die sourcen zu installieren?

danke soweit.........
 
Wenn garnix hilft kannst du sie auch von Hand installieren.
Die Sourcen gibs bei kernel.org.
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.1.tar.bz2
Einfach die richtigen runterladen, die .bz2 die du von dort runterlädst in /usr/src und dort entpacken.
Am besten noch einen Link drauf machen wenn er noch nich existiert.
also ln -s linux-2.x.x (je nachdem) linux. (oder wars andersrum? verwechsel das immer)
Falls schon ein Linux Link existiert den löschen und halt den neuen erstellen.
Dürfte nich so schwer sein. Was andres macht die rpm ja auch nicht.
 
Zuletzt bearbeitet:
Also wenn überhaupt dann "ln -s linux-2.x.y.z linux" nicht Linux sondern linux.

wie kann denn das sein? und warum spuckt mir rpm keine fehlermeldung aus wenn es ein packet nicht installieren kann? kann mir jemand erklären was da schiefläuft? gibt es noch eine andere möglichkeit die sourcen zu installieren? danke soweit.........

Da gibts doch bestimmt ein offizielles Paket oder ist das von dir verwendete ein offizielles ?

MFG

Dennis
 
Zuletzt bearbeitet:
danke für die antworten,

hab jetzt folgendes gemacht:
Einfach die richtigen runterladen, die .bz2 die du von dort runterlädst in /usr/src und dort entpacken.
Am besten noch einen Link drauf machen wenn er noch nich existiert.

und

Also wenn überhaupt dann "ln -s linux-2.x.y.z linux" nicht Linux sondern linux.

wenn ich jetzt alle X-anwendungen beende und wieder das install-script start krieg ich folgende ausgabe:
ERROR: An NVIDIA kernel module 'nvidia' appears to already be loaded
in your

kernel. This may be because it is in use (for example, by the X

server), but may also happen if your kernel was configured without

support for module unloading. Please be sure you have exited X

before attempting to upgrade your driver. If you have exited X, know

that your kernel supports module unloading, and still receive this

message, then an error may have occured that has corrupted the NVIDIA

kernel module's usage count; the simplest remedy is to reboot your computer

mache ich jetzt ein:

lsmod | grep nvidia

erhalte ich:

nvidia 3717000 12

dazu hätte ich nun mehrere fragen

1. obige aussage heisst doch zumindest irgendein nvidia treiber installiert ist oder?

2. grafikkarten treiber unter linux zu installieren macht man doch eigentlich nur um die 3-d funktionialität der grafikkarte zu verfügung zu haben, oder?

3. kann man die korrekte installation testen? bzw. punkt 2 testen, also ein programm was einem sagt "ja die 3d unterstützung deiner grafikkarte ist aktiviert"? (ok, reichlich plump formuliert, aber ihr wisst schon was ich meine.....:-)

4. nochmal wegen

Zitat:
rpm -i kernel-2.6.12-1.1376_FC3.src.rpm


mache, krieg ich auch keine fehlermeldung, mache ich jetzt aber ein

Zitat:
rpm -q kernel-2.6.12-1.1376_FC3.src.rpm


krieg ich die meldung:

Zitat:
package kernel-2.6.12-1.1376 is not installed

gibt es dafür eine erklärung warum rpm mir nicht sagt das er das package nicht installieren konnte und ich sowas selber nachkucken muss?

danke für die hilfe bisher
 
Die Treiber müssen ohne gestartetes X installiert werden. Das müsste mit strg+alt+f1 und anschließender eingabe von init 3 gehen. Dann müsste auf strg+alt+f7 kein X mehr laufen.
[edit]Deiner Aussage nach haste das ja anscheinend so gemacht oder versteh ich "X-Anwendungen beendet" falsch? Oder du?
 
Zuletzt bearbeitet:
ah,

ok, ich depp, ich hab erst ein:


gemacht, dann ist wieder der anmeldebildschirm gekommen und dann hab ich erst
CTRL + ALT + F1 gedrückt, hätt ich mir eigentlich denken können das wenn der anmeldebildschirm da ist auch der X-server wieder gestartet worden ist.......:-)

hab jetzt ein


gemacht und dann wieder versucht den treiber zu installieren, hat wieder nicht geklappt, das logfile des nvidia - installers spricht dazu folgendes:
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Sep 14 12:41:38 2005

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
no backup : false
kernel module only : false
sanity : false
add this kernel : false
no runlevel check : false
no network : false
no ABI note : false
no RPMs : false
force tls : (not specified)
force compat32 tls : (not specified)
X install prefix : /usr/X11R6
OpenGL install prefix : /usr
compat32 install prefix : (not specified)
installer install prefix: /usr
utility install prefix : /usr
kernel name : (not specified)
kernel include path : (not specified)
kernel source path : (not specified)
kernel output path : (not specified)
kernel install path : (not specified)
proc mount point : /proc
ui : (not specified)
tmpdir : /tmp
ftp mirror : ftp://download.nvidia.com
RPM file list : (not specified)

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: Yes)
-> No matching precompiled kernel interface was found on the NVIDIA ftp site;
this means that the installer will need to compile a kernel interface for
your kernel.
-> Kernel source path: '/lib/modules/2.6.12-1.1376_FC3/build'
-> Performing CC test with CC="cc".
-> Performing rivafb check.
-> Performing rivafb module check.
WARNING: Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!
-> Cleaning kernel module build directory.
executing: 'cd ./usr/src/nv; make clean'...
rm -f -f nv.o nv-vm.o os-agp.o os-interface.o os-registry.o nv.o nv-vm.o os-
agp.o os-interface.o os-registry.o nvidia.mod.o
rm -f -f build-in.o nv-linux.o *.d .*.{cmd,flags}
rm -f -f nvidia.{o,ko,mod.{o,c}} nv_compiler.h *~
rm -f -rf .tmp_versions
-> Building kernel module:
executing: 'cd ./usr/src/nv; make module SYSSRC=/lib/modules/2.6.12-1.1376_F
C3/build SYSOUT=/lib/modules/2.6.12-1.1376_FC3/build'...
Your kernel was configured to include rivafb support as
a loadable kernel module.

The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!

*** Failed rivafb module sanity check, but continuing! ***


NVIDIA: calling KBUILD...
make CC=cc KBUILD_VERBOSE=1 -C /lib/modules/2.6.12-1.1376_FC3/build SUBDIRS
=/tmp/selfgz4958/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
mkdir -p /tmp/selfgz4958/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_vers

.
.
.
.

make[2]: *** [_module_/tmp/selfgz4958/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src
/nv] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
-> 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.

interessant finde ich :
The rivafb driver conflicts with the NVIDIA driver; the
NVIDIA kernel module will still be built and installed,
but be aware that the NVIDIA driver will not be able to
function properly if the rivafb module is loaded!

*** Failed rivafb module sanity check, but continuing! ***

es ist also schon irgendein treiber-modul installiert, das mit dem nvidia - treiber in konflikt, das versteh ich richtig?
was sollte ich jetzt tun, sollte ich dieses rivafb modul deinstallieren, wenn ja wie? und kann mir das nicht das ganze system zerschießen?
 
hab noch was vergessen:

wenn ich reboote erscheint vor dem anmeldebildschirm ganz kurz das nvidia - logo.......
nvidia treiber- installation fehlgeschlagen, aber nvidia - logo erscheint trotzdem???
 
Naja die beste Lösung wäre ja ein Kernel ohne das Modul.
Hatte das auch aber mit nem eigenen Kernel hatte sich das sowieso gelöst.
Wie man das anders macht müssten die experten hier ja wissen ^^

nvidia treiber- installation fehlgeschlagen, aber nvidia - logo erscheint trotzdem???

Benutz die Edit Funktion.
Sind ja Treiber geladen. Nur halt die für eine TNT...
 
Falsch.. wenn das NVIDIA Logo beim X-Start erscheint, heisst das, dass das Nvidia Modul geladen ist und auch funktioniert. Die Meldung, dass das rivafb Modul geladen ist, kann in den emisten Fällen ruhigen Gewissens ignoriert werden.
 
Falsch.. wenn das NVIDIA Logo beim X-Start erscheint, heisst das, dass das Nvidia Modul geladen ist und auch funktioniert. Die Meldung, dass das rivafb Modul geladen ist, kann in den emisten Fällen ruhigen Gewissens ignoriert werden.

juchu, dann kann ich das wohl endlich als erledigt ansehen !?!?
wenn dem so sein sollte vielen dank für die hilfe........
 

Ähnliche Themen

Nginx als Reverse Proxy für Nextcloud und Emby

Zugriff Ubuntu 16.04. auf Freigabe 18.04. LTS nicht möglich

Email via script via Exchange Server (SASL)

Senior System & Network Admin in Berlin

X startet nichtmehr

Zurück
Oben