Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Mam najnowsze źródła gentoo-sources o numerze: 3.3.1 i równie nowe linux-headers 3.2-r1.
Chcąc sobie sobie zainstalować sterowniki do nvidii: dostaje takie cuś:
>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-295.20-r1 * NVIDIA-Linux-x86_64-295.20.run RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 3.3.1-gentoo * Checking for MTRR support ... [ ok ] >>> Unpacking source... >>> Unpacking NVIDIA-Linux-x86_64-295.20.run to /var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work >>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work >>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work ... * Applying 256.35-unified-arch.patch ... [ ok ] * Converting /kernel/Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work ... * Preparing nvidia module make -j5 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux CC=x86_64-pc-linux-gnu-gcc clean module If you are using a Linux 2.4 kernel, please make sure you either have configured kernel sources matching your kernel or the correct set of kernel headers installed on your system. If you are using a Linux 2.6 kernel, please make sure you have configured kernel sources matching your kernel installed on your system. If you specified a separate output directory using either the "KBUILD_OUTPUT" or the "O" KBUILD parameter, make sure to specify this directory with the SYSOUT environment variable or with the equivalent nvidia-installer command line option. Depending on where and how the kernel sources (or the kernel headers) were installed, you may need to specify their location with the SYSSRC environment variable or the equivalent nvidia-installer command line option. *** Unable to determine the target kernel version. *** make: *** [select_makefile] Error 1 emake failed * ERROR: x11-drivers/nvidia-drivers-295.20-r1 failed (compile phase): * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=-m elf_x86_64 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux CC=x86_64-pc-linux-gnu-gcc clean module * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 3700: Called linux-mod_src_compile * environment, line 2657: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * * If you need support, post the output of 'emerge --info =x11-drivers/nvidia-drivers-295.20-r1', * the complete build log and the output of 'emerge -pqv =x11-drivers/nvidia-drivers-295.20-r1'. * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/temp/environment'. * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work/' >>> Failed to emerge x11-drivers/nvidia-drivers-295.20-r1, Log file: >>> '/var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/temp/build.log' * Messages for package x11-drivers/nvidia-drivers-295.20-r1: * ERROR: x11-drivers/nvidia-drivers-295.20-r1 failed (compile phase): * Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=-m elf_x86_64 IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux CC=x86_64-pc-linux-gnu-gcc clean module * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 3700: Called linux-mod_src_compile * environment, line 2657: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * * If you need support, post the output of 'emerge --info =x11-drivers/nvidia-drivers-295.20-r1', * the complete build log and the output of 'emerge -pqv =x11-drivers/nvidia-drivers-295.20-r1'. * The complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/temp/environment'. * S: '/var/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work/'
Z tego co kojarzę niedawno w portage były headers nowsze ale zrobił się downgrade do niższej wersji. Czy poczekać aż się te wersje wyrównają? Czy można jakoś pokombinować i to obejść?
Jadę na sterowniku nouveau więc w zasadzie nic pilnego. No ale porządek musi byc:P
Offline
linux-headers w Gentoo to to samo co linux-libc-dev w Debianie. Wątpię żeby miało tutaj związek.
To mi raczej wygląda na znaną sprawę ze zmianą położenia plików unistd*.h, spróbuj:
cd /usr/src/linux
(zakładając naturalnie, że wskazuje on na źródła tego kernela co kompilowałeś)
cp arch/x86/include/generated/asm/unistd*.h arch/x86/include/asm/
Offline
qlist -IvUqC nvidia-drivers linux-headers sys-kernel/linux-headers-3.1 x11-drivers/nvidia-drivers-295.33 acpi custom-cflags gtk kernel_linux multilib
eselect kernel list Available kernel symlink targets: [1] linux-3.2.11-gentoo [2] linux-3.2.11-gr1 [3] linux-3.2.11-hardened [4] linux-3.2.12 [5] linux-3.3.0-gentoo [6] linux-3.3.0-hardened [7] linux-3.3.1-hardened *
Nvidię mam zainstalowaną z overlaya stuff, nałożone łatki:
ls -l /etc/portage/localpatches/x11-drivers/nvidia-drivers/ nvidia-drivers-285.05.09-pax-const.patch nvidia-drivers-285.05.09-pax-usercopy.patch nvidiart.patch
I wszystko działa.
A tu ktoś miał identyczny problem:
http://www.linuxquestions.org/questions/linux-softw … rsion-764258/
Pozdrawiam
;-)
Ostatnio edytowany przez Jacekalex (2012-04-09 12:19:29)
Offline
Wystąpił drobny zonk z nazwą jądra i dlatego. Moduły skopiowały się nie tam gdzie trzeba. Już opanowane. Dzięki za sugestie.
Ostatnio edytowany przez jarski185 (2012-04-09 12:09:12)
Offline
Strony: 1