From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S9guy-0005L9-Ad for garchives@archives.gentoo.org; Mon, 19 Mar 2012 18:02:53 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E632AE0DE1 for ; Mon, 19 Mar 2012 18:02:51 +0000 (UTC) Received: from qmta01.westchester.pa.mail.comcast.net (qmta02.westchester.pa.mail.comcast.net [76.96.62.24]) by pigeon.gentoo.org (Postfix) with ESMTP id 1C1B9E0DCC for ; Mon, 19 Mar 2012 16:12:43 +0000 (UTC) Received: from omta20.westchester.pa.mail.comcast.net ([76.96.62.71]) by qmta01.westchester.pa.mail.comcast.net with comcast id nTTe1i0041YDfWL51UCkGv; Mon, 19 Mar 2012 16:12:44 +0000 Received: from ajax ([24.11.47.14]) by omta20.westchester.pa.mail.comcast.net with comcast id nUCk1i00v0JMh7c3gUCkWM; Mon, 19 Mar 2012 16:12:44 +0000 Date: Mon, 19 Mar 2012 12:12:29 -0400 From: Frank Peters To: gentoo-amd64@lists.gentoo.org Subject: [gentoo-amd64] Kernel-3.3.0 and Nvidia-drivers Message-Id: <20120319121229.0a9ecd3b.frank.peters@comcast.net> X-Mailer: Sylpheed 3.1.3 (GTK+ 2.24.10; x86_64-unknown-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@lists.gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart=_Mon__19_Mar_2012_12_12_29_-0400_y3MFKHsaJs/AlEEU" X-Archives-Salt: 67dc686c-8f49-42fe-8709-fc3decca12d4 X-Archives-Hash: cbbe4968076ccfaff5198c7a9646bbfe This is a multi-part message in MIME format. --Multipart=_Mon__19_Mar_2012_12_12_29_-0400_y3MFKHsaJs/AlEEU Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Linux-3.3.0 is released and, as is my usual habit, I downloaded and compiled the plain vanilla source. After rebooting to the command console, and before starting X, I needed to re-install the nvidia-driver module for the new kernel. Doing "emerge nvidia-drivers" gave me the following error (the entire build log is attached): >>> Source prepared. >>> Configuring source in /tmp/portage-acc/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work ... >>> Source configured. >>> Compiling source in /tmp/portage-acc/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work ... Preparing nvidia module make -j9 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=/lib/modules/3.3.0/build CC=x86_64-pc-linux-gnu-gcc clean module *** 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=/lib/modules/3.3.0/build CC=x86_64-pc-linux-gnu-gcc clean module Call stack: ebuild.sh, line 85: Called src_compile environment, line 3711: Called linux-mod_src_compile environment, line 2668: Called die The specific snippet of code: eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" The first part of the build log (see attached file) indicates that the kernel source was correctly found (at /usr/src/linux), but for some reason the make process fails. Could this be due to some changes in the kernel-3.3.0 tree? Frank Peters --Multipart=_Mon__19_Mar_2012_12_12_29_-0400_y3MFKHsaJs/AlEEU Content-Type: text/plain; name="nvidia-build.log" Content-Disposition: attachment; filename="nvidia-build.log" Content-Transfer-Encoding: 7bit  * Package: x11-drivers/nvidia-drivers-295.20-r1  * Repository: gentoo  * Maintainer: cardoe@gentoo.org jer@gentoo.org,spock@gentoo.org,xarthisius@gentoo.org  * USE: amd64 elibc_glibc kernel_linux userland_GNU  * FEATURES: sandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/3.3.0/build * Found sources for kernel version: * 3.3.0 * Checking for MTRR support ...  [ ok ] >>> Unpacking source... >>> Unpacking NVIDIA-Linux-x86_64-295.20.run to /tmp/portage-acc/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work >>> Source unpacked in /tmp/portage-acc/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work >>> Preparing source in /tmp/portage-acc/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 /tmp/portage-acc/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work ... >>> Source configured. >>> Compiling source in /tmp/portage-acc/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work ... * Preparing nvidia module make -j9 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=/lib/modules/3.3.0/build 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=/lib/modules/3.3.0/build CC=x86_64-pc-linux-gnu-gcc clean module * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 3711: Called linux-mod_src_compile * environment, line 2668: 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 '/tmp/portage-acc/log/x11-drivers:nvidia-drivers-295.20-r1:20120319-144118.log'. * The ebuild environment file is located at '/tmp/portage-acc/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/temp/environment'. * S: '/tmp/portage-acc/tmp/portage/x11-drivers/nvidia-drivers-295.20-r1/work/' --Multipart=_Mon__19_Mar_2012_12_12_29_-0400_y3MFKHsaJs/AlEEU--