Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281302 - Stabilise nvidia-drivers-96.43.13
Summary: Stabilise nvidia-drivers-96.43.13
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
: 280706 281879 287449 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-13 09:38 UTC by Dmitry Kustov
Modified: 2009-10-26 11:45 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Kustov 2009-08-13 09:38:01 UTC
Stable at this moment nvidia-drivers-96.43.11 couldn't be compiled with now stable gentoo-sources-2.6.30-r4.
Can be solved by stabilizing nvidia-drivers-96.43.13.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-13 16:46:51 UTC

*** This bug has been marked as a duplicate of bug 280244 ***
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-23 23:33:31 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 280244 ***

Sorry, that wasn't a duplicate at all.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-23 23:34:29 UTC
*** Bug 281879 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-23 23:35:53 UTC
I thought we had a stabilisation request going already...
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2009-08-23 23:38:13 UTC
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?
Comment 6 Stefan Kamphausen 2009-08-24 08:22:11 UTC
(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.  


Comment 7 Ted Strong 2009-09-06 06:36:22 UTC
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
Comment 8 Ted Strong 2009-09-06 06:44:58 UTC
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.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2009-09-29 17:52:07 UTC
Please test and mark stable. If you can't find the hardware to test with, then a compile test should suffice.
Comment 10 Bruno Redondi 2009-10-09 09:55:59 UTC
I'm using this driver on amd64 since 2009-08-03 without any issue.
Please, stabilize amd64
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2009-10-26 11:42:35 UTC
Should be done for amd64 at last (compile-test).
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2009-10-26 11:43:24 UTC
*** Bug 287449 has been marked as a duplicate of this bug. ***
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2009-10-26 11:45:20 UTC
*** Bug 280706 has been marked as a duplicate of this bug. ***