Summary: | Stabilise nvidia-drivers-96.43.13 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dmitry Kustov <dimok77> |
Component: | New packages | Assignee: | Doug Goldstein (RETIRED) <cardoe> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cardoe, jer, pogosyan, spock, tstrong, vyg84 |
Priority: | High | Keywords: | STABLEREQ |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dmitry Kustov
2009-08-13 09:38:01 UTC
*** This bug has been marked as a duplicate of bug 280244 *** (In reply to comment #1) > > *** This bug has been marked as a duplicate of bug 280244 *** Sorry, that wasn't a duplicate at all. *** Bug 281879 has been marked as a duplicate of this bug. *** I thought we had a stabilisation request going already... Versions to stabilise would be: =x11-drivers/nvidia-drivers-71.86.11 =x11-drivers/nvidia-drivers-96.43.13 =x11-drivers/nvidia-drivers-173.14.20 Don't know about the >180 series. All agreed? (In reply to comment #3 in Bug 281879) > Please try =x11-drivers/nvidia-drivers-96.43.13 instead. > * I could compile with this driver and kernel 2.6.30-r4 * I could boot OK * X starts (still using x11-base/xorg-server-1.3.0.0-r6, but now I feel confident to update that, too; having nvidia and the kernel out of the way) * Have X running for a few hours now. Tried 2.6.30-gentoo-r4 with nvidia-drivers-96.43.11 and was getting the XEN error and my /usr/src/linux/.config contains: # CONFIG_PARAVIRT_GUEST is not set I have Found a bugs.gentoo.org thread where it was suggested to try nvidia-drivers-96.43.13. However, this still gives me the same emerge error? >>> Emerging (1 of 2) x11-drivers/nvidia-drivers-96.43.13 * NVIDIA-Linux-x86-96.43.13-pkg0.run RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.30-gentoo-r6/build * Found sources for kernel version: * 2.6.30-gentoo-r6 * Checking for MTRR support ... [ ok ] >>> Unpacking source... >>> Unpacking NVIDIA-Linux-x86-96.43.13-pkg0.run to /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0 * Applying NVIDIA_glx-defines.patch ... [ ok ] * Applying NVIDIA_glx-glheader.patch ... [ ok ] * Converting NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ] >>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work ^Z [1]+ Stopped emerge nvidia-drivers tux ~ # fg emerge nvidia-drivers >>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/nvidia-drivers-96.43.13 ... * Preparing nvidia module make -j14 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.30-gentoo-r6/build HOST_CC=i686-pc-linux-gnu-gcc clean module The kernel you are installing for is a Xen kernel! The NVIDIA driver does not currently work on Xen kernels. If you are using a stock distribution kernel, please install a variant of this kernel without Xen support; if this is a custom kernel, please install a standard Linux kernel. Then try installing the NVIDIA kernel module again. *** Failed Xen sanity check. Bailing out! *** make[1]: *** [build-sanity-checks] Error 1 make: *** [module] Error 2 * * ERROR: x11-drivers/nvidia-drivers-96.43.13 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3807: Called linux-mod_src_compile * environment, line 2836: 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}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.30-gentoo-r6/build HOST_CC=i686-pc-linux-gnu-gcc clean module * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/temp/environment'. * >>> Failed to emerge x11-drivers/nvidia-drivers-96.43.13 As a side note, I set the environment variable IGNORE_XEN_PRESENCE and then attempted to emerge again, this time, it did skip the xen check, but failed with this error: >>> Emerging (1 of 2) x11-drivers/nvidia-drivers-96.43.13 * NVIDIA-Linux-x86-96.43.13-pkg0.run RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.30-gentoo-r6 * Checking for MTRR support ... [ ok ] >>> Unpacking source... >>> Unpacking NVIDIA-Linux-x86-96.43.13-pkg0.run to /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0 * Applying NVIDIA_glx-defines.patch ... [ ok ] * Applying NVIDIA_glx-glheader.patch ... [ ok ] * Converting NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ... [ ok ] >>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work >>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work ... /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/temp/environment: line 2818: cd: /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/nvidia-drivers-96.43.13: No such file or directory ln: creating symbolic link `Module.symvers': File exists * Preparing nvidia module make -j14 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux HOST_CC=i686-pc-linux-gnu-gcc clean module NVIDIA: calling KBUILD... make CC=cc KBUILD_VERBOSE=1 -C /usr/src/linux M=/var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv modules make[2]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false) mkdir -p /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/.tmp_versions ; rm -f /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/.tmp_versions/* make -f scripts/Makefile.build obj=/var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv cc -Wp,-MD,/var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/.nv.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.3.2/include -Iinclude -I/usr/src/linux-2.6.30-gentoo-r6/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium3 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -I/var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wno-multichar -Werror -MD -Wno-cast-qual -Wno-error -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"96.43.13\" -UDEBUG -U_DEBUG -DNDEBUG -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(nv)" -D"KBUILD_MODNAME=KBUILD_STR(nvidia)" -c -o /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/nv.o /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/nv.c In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/nv-linux.h:34, from /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/nv.c:14: /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/conftest.h:1:2: error: #error remap_page_range() conftest failed! /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/conftest.h:3:2: error: #error vmap() conftest failed! /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/conftest.h:5:2: error: #error agp_backend_acquire() conftest failed! /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/conftest.h:18:2: error: #error irq_handler_t() conftest failed! /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/conftest.h:22:2: error: #error kmem_cache_create() conftest failed! /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/conftest.h:23:2: error: #error on_each_cpu() conftest failed! /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/conftest.h:24:2: error: #error smp_call_function() conftest failed! In file included from /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/nv.c:14: /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/nv-linux.h:534:2: error: #error "NV_KMEM_CACHE_CREATE() undefined (kmem_cache_create() unavailable)!" /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/nv.c:3691:6: warning: "NV_AGP_BACKEND_ACQUIRE_ARGUMENT_COUNT" is not defined distcc[6567] ERROR: compile /var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/nv.c on 192.168.0.1/2 failed make[3]: *** [/var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv/nv.o] Error 1 make[2]: *** [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/work/NVIDIA-Linux-x86-96.43.13-pkg0/usr/src/nv] Error 2 NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [module] Error 1 make: *** [module] Error 2 * * ERROR: x11-drivers/nvidia-drivers-96.43.13 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3808: Called linux-mod_src_compile * environment, line 2837: 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}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/usr/src/linux HOST_CC=i686-pc-linux-gnu-gcc clean module * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-96.43.13/temp/environment'. * >>> Failed to emerge x11-drivers/nvidia-drivers-96.43.13 Any help is appreciated Sorry, please disregard the previous post , it seems that setting the IGNORE_XEN_PRESENCE env variable DOES allow me to compile the module, the problem was a faulty distcc client on my network. Please test and mark stable. If you can't find the hardware to test with, then a compile test should suffice. I'm using this driver on amd64 since 2009-08-03 without any issue. Please, stabilize amd64 Should be done for amd64 at last (compile-test). *** Bug 287449 has been marked as a duplicate of this bug. *** *** Bug 280706 has been marked as a duplicate of this bug. *** |