Anzeige:
Ergebnis 1 bis 2 von 2

Thema: Probleme mit 3D, nvidia und xorg (Kompilieren) | Umstieg auf Gentoo geschafft (?)

  1. #1
    raphaastro
    Gast

    Probleme mit 3D, nvidia und xorg (Kompilieren) | Umstieg auf Gentoo geschafft (?)

    Hi Leute,

    ich habe mich vor einigen Tagen überwunden, mich von SuSE 9.1 zu trennen und habe stattdessen Gentoo installiert.
    Ich war auch wirklich stolz auf mich, dass ich den Kernel, ISDN, den X-Server, ALSA, KDE usw richtig konfiguriert bekommen habe.
    Danke nochmals an die Gentoo'er aus #gentoo-anfaenger (Freenode) für die Unterstützung und danke für die vielen vielen Howtos, die sich über Google finden lassen.

    Heute hatte ich nun vor, mich an die 3D-Beschleunigung von Nvidia-Karten zu wagen.

    Ich habe 15min googlen müssen, bis ich ein Howto gefunden hatte, dass nicht auf den 2.4'er Kernel ausgelegt war, und zu meinem großen Glück war dieses Howto auchnoch in deutsch, so dass ich davon ausging, mein gehirn wärend der Installation gänzlich ausschalten zu können.

    Ich habe also, wie in dem Howto beschrieben, ganz ganz brav

    emerge nvidia-glx
    eingegeben. Ich wollte mich ein stündchen aufs Ohr legen, der Download dauert bei ISDN ja weigkeiten und das Compilieren ist ja auch kein Prozess von zwei Sekunden.

    Aber -- solch eine Gemeinheit-- und ich frage mich, wie man soetwas einem gestressten Schüler antuen kann, der eigentlich schlafen wollte -- als ich mich aus meinem Bett richtung PC Monitor drehte und meine Augen aufschlug....
    gefrohr das blut in meinen Adrern.... Zugleich stieg mein Puls auf das Doppelte an.

    Emerge hatte mit dem Compilieren aufgehört, dies war seine Ausrede:

    bash-2.05b$ su
    Password:
    bash-2.05b# emerge nvidia-glx
    Calculating dependencies ...done!
    >>> emerge (1 of 2) media-video/nvidia-kernel-1.0.6629-r4 to /
    >>> md5 files ;-) ChangeLog
    >>> md5 files ;-) metadata.xml
    >>> md5 files ;-) nvidia-kernel-1.0.6111-r3.ebuild
    >>> md5 files ;-) nvidia-kernel-1.0.6629-r1.ebuild
    >>> md5 files ;-) nvidia-kernel-1.0.6629-r4.ebuild
    >>> md5 files ;-) nvidia-kernel-1.0.7167-r1.ebuild
    >>> md5 files ;-) nvidia-kernel-1.0.7174.ebuild
    >>> md5 files ;-) files/nvidia
    >>> md5 files ;-) files/digest-nvidia-kernel-1.0.6111-r3
    >>> md5 files ;-) files/digest-nvidia-kernel-1.0.6629-r1
    >>> md5 files ;-) files/digest-nvidia-kernel-1.0.6629-r4
    >>> md5 files ;-) files/digest-nvidia-kernel-1.0.7167-r1
    >>> md5 files ;-) files/digest-nvidia-kernel-1.0.7174
    >>> md5 files ;-) files/1.0.6111/nv-pci_find_class.patch
    >>> md5 files ;-) files/1.0.6111/nv-remap-range.patch
    >>> md5 files ;-) files/1.0.6111/nv_enable_pci.patch
    >>> md5 files ;-) files/1.0.6111/vmalloc-reserve.patch
    >>> md5 files ;-) files/1.0.6111/power-suspend-2.6.9-changes.patch
    >>> md5 files ;-) files/1.0.6111/conftest_koutput_includes.patch
    >>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-agp_bridge_data.patch
    >>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1155389.patch
    >>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1161283.patch
    >>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1162524.patch
    >>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1165235.patch
    >>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1171869.patch
    >>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1175225.patch
    >>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1182399.patch
    >>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1189413.patch
    >>> md5 files ;-) files/1.0.6629/NVIDIA_kernel-1.0-6629-1201042.diff
    >>> md5 files ;-) files/1.0.6629/conftest_koutput_includes.patch
    >>> md5 files ;-) files/1.0.6629/nv-amd64-shutup-warnings.patch
    >>> md5 files ;-) files/1.0.6629/nv-fix-memory-limit.patch
    >>> md5 files ;-) files/1.0.6629/nv-disable-preempt-on-smp_processor_id.patch
    >>> md5 files ;-) files/1.0.6629/nv-pgd_offset.patch
    >>> md5 files ;-) files/1.0.6629/nv-pgprot-speedup.patch
    >>> md5 files ;-) files/1.0.6629/nv-shutup-warnings.patch
    >>> md5 files ;-) files/1.0.6629/nv-vm_flags-no-VM_LOCKED.patch
    >>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1233959.patch
    >>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-1237815.patch
    >>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-conftest-koutput-includes.patch
    >>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-amd64-shutup-warnings.patch
    >>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-disable-preempt-on-smp_processor_id.patch
    >>> md5 files ;-) files/1.0.7167/NVIDIA_kernel-1.0-7167-x86-shutup-warnings.patch
    >>> md5 src_uri ;-) NVIDIA-Linux-x86-1.0-6629-pkg1.run
    * Determining the location of the kernel source code
    * Found kernel source directory:
    * /usr/src/linux
    * Found sources for kernel version:
    * 2.6.9
    * Checking for MTRR support... [ ok ]
    >>> Unpacking source...
    Creating directory NVIDIA-Linux-x86-1.0-6629-pkg1
    Verifying archive integrity... OK
    Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-6629.............................................. .................................................. .................................................. .................................................. .....
    * Applying nv-shutup-warnings.patch ... [ ok ]
    * Applying NVIDIA_kernel-1.0-6629-1155389.patch ... [ ok ]
    * Applying NVIDIA_kernel-1.0-6629-1165235.patch ... [ ok ]
    * Applying NVIDIA_kernel-1.0-6629-1171869.patch ... [ ok ]
    * Applying NVIDIA_kernel-1.0-6629-1175225.patch ... [ ok ]
    * Applying NVIDIA_kernel-1.0-6629-1182399.patch ... [ ok ]
    * Applying NVIDIA_kernel-1.0-6629-1189413.patch ... [ ok ]
    * Applying NVIDIA_kernel-1.0-6629-1201042.diff ... [ ok ]
    * Applying 2.6 kernel patches
    * Applying conftest_koutput_includes.patch ... [ ok ]
    * Applying nv-disable-preempt-on-smp_processor_id.patch ... [ ok ]
    * Applying NVIDIA_kernel-1.0-6629-1161283.patch ... [ ok ]
    * Converting NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS=... [ ok ]
    >>> Source unpacked.
    * Preparing nvidia module

    NVIDIA: calling KBUILD...
    make CC=gcc KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv modules
    make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
    mkdir -p /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.tmp_versions
    make -f scripts/Makefile.build obj=/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv
    echo \#define NV_COMPILER \"`gcc -v 2>&1 | tail -n 1`\" > /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv_compiler.h
    gcc -Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -Wdeclaration-after-statement -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i486 -Iinclude/asm-i386/mach-default -I/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODULE -DKBUILD_BASENAME=nv -DKBUILD_MODNAME=nvidia -c -o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.c
    gcc -Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.nv-vm.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -Wdeclaration-after-statement -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i486 -Iinclude/asm-i386/mach-default -I/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODULE -DKBUILD_BASENAME=nv_vm -DKBUILD_MODNAME=nvidia -c -o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.c
    gcc -Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-agp.o.d -nostdinc -iwithprefix include -D__KERNEL__-Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -Wdeclaration-after-statement -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i486 -Iinclude/asm-i386/mach-default -I/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODULE -DKBUILD_BASENAME=os_agp -DKBUILD_MODNAME=nvidia -c -o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.c
    gcc -Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-interface.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -Wdeclaration-after-statement -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i486 -Iinclude/asm-i386/mach-default -I/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODULE -DKBUILD_BASENAME=os_interface -DKBUILD_MODNAME=nvidia -c -o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-interface.o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-interface.c
    gcc -Wp,-MD,/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/.os-registry.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -Wdeclaration-after-statement -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i486 -Iinclude/asm-i386/mach-default -I/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -O -fno-common -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6629 -DNV_UNIX -DNV_LINUX -DNV_INT64_OK -DNVCPU_X86 -UDEBUG -U_DEBUG -DNDEBUG -DNV_REMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT -DNV_PCI_DISABLE_DEVICE_PRESENT -DNV_CLASS_SIMPLE_CREATE_PRESENT -DMODULE -DKBUILD_BASENAME=os_registry -DKBUILD_MODNAME=nvidia -c -o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-registry.o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-registry.c
    ld -m elf_i386 -r -o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-kernel.o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv.o/var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nv-vm.o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-agp.o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-interface.o /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/os-registry.o
    Building modules, stage 2.
    make -rR -f /usr/src/linux-2.6.9/scripts/Makefile.modpost
    scripts/mod/modpost -i /usr/src/linux-2.6.9/Module.symvers /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.o
    /bin/sh: line 1: scripts/mod/modpost: No such file or directory
    make[3]: *** [__modpost] Error 127
    make[2]: *** [modules] Error 2
    NVIDIA: left KBUILD.
    nvidia.ko failed to build!
    make[1]: *** [module] Error 1
    make: *** [module] Error 2

    !!! ERROR: media-video/nvidia-kernel-1.0.6629-r4 failed.
    !!! Function linux-mod_src_compile, Line 473, Exitcode 2
    !!! Unable to make IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux clean module.
    !!! If you need support, post the topmost build error, NOT this status message.

    bash-2.05b#

    Und ich stehe derzeit auf dem Schlauch und ahne nicht, was ich falsch gemacht habe.

    Ich würde mich riesig über Hilfe freuen, würde doch nun endlich vegastrike spielen wollen, ein Spiel, welches mir wärmstens empfohlen wurde *g*.

    Viele liebe Grüße,

    euer Raphael

  2. #2
    - - - - - - - - - - Avatar von zander
    Registriert seit
    Mar 2001
    Beiträge
    6.144
    scripts/mod/modpost -i /usr/src/linux-2.6.9/Module.symvers /var/tmp/portage/nvidia-kernel-1.0.6629-r4/work/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/src/nv/nvidia.o
    /bin/sh: line 1: scripts/mod/modpost: No such file or directory


    Sieht so aus als wenn die Kernelquellen nicht vollständig sind (möglicherweise sind sie nach Übersetzen des Kernels gesäubert worden?).

Ähnliche Themen

  1. Linux auf dem SW Raid
    Von frankpr im Forum Hier Suchen und Finden, Links, Tutorials
    Antworten: 5
    Letzter Beitrag: 27.01.05, 16:23
  2. Wer Linux sagt, muss auch SuSE sagen
    Von Freekazonid im Forum Meldungen und Mitglieder
    Antworten: 282
    Letzter Beitrag: 03.09.04, 22:12
  3. Probleme beim Umstieg auf suse 9.1
    Von Snoopy_5_1 im Forum System installieren und konfigurieren
    Antworten: 9
    Letzter Beitrag: 16.08.04, 18:47
  4. nvidia + 2.4.19 gentoo
    Von Ulukay im Forum stationäre Hardware
    Antworten: 10
    Letzter Beitrag: 06.03.03, 19:07
  5. rootkit im eprom
    Von howbye im Forum stationäre Hardware
    Antworten: 6
    Letzter Beitrag: 03.11.02, 11:56

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •