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 1SAmMM-0004Nw-PI for garchives@archives.gentoo.org; Thu, 22 Mar 2012 18:03:41 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 888EAE07D0 for ; Thu, 22 Mar 2012 18:03:37 +0000 (UTC) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 12377E0795 for ; Thu, 22 Mar 2012 16:04:00 +0000 (UTC) Received: by werm13 with SMTP id m13so2235109wer.40 for ; Thu, 22 Mar 2012 09:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=7/64+6FcpHoNNm8DscfjiDEYoaTKu++NAa7LBGtN7EY=; b=EcEzLhPA+s17lwBJaaK6K9G8m3/H6JkRbh76L+HNrg6f6t+TmszyzztAydmzYHpUj5 q3ArdYjyUCjQS3iRQmVTheV9QOX/N7Y420dtOrpUh5NYP0T2g0WC7K8g9LCdgVTwh6BB hj3/f9Zxf+L+OSNuKKXnYPm/MoQD4mNuPxUfHNeay+LZYyLFeY3CRRBSvblKbi//KTzX OpA5Cbpj0+0iJ2xeHTab0XlWnzedDhYXigr+AlIko9fMh3D2FNeueI0OuAhETNpF4j8V GwUE6WHKmgIj7QCfjW5DLsV6tbQl0wubuF+DuZCoVdRu6owfIlOyAUWMOC2kp1ZVWnlw C86A== 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 Received: by 10.180.102.101 with SMTP id fn5mr831628wib.6.1332432240259; Thu, 22 Mar 2012 09:04:00 -0700 (PDT) Received: by 10.223.8.68 with HTTP; Thu, 22 Mar 2012 09:03:59 -0700 (PDT) In-Reply-To: <20120319121229.0a9ecd3b.frank.peters@comcast.net> References: <20120319121229.0a9ecd3b.frank.peters@comcast.net> Date: Thu, 22 Mar 2012 09:03:59 -0700 Message-ID: Subject: Re: [gentoo-amd64] Kernel-3.3.0 and Nvidia-drivers From: Mark Knecht To: gentoo-amd64@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: bc593adf-1df6-4058-bab1-6ae72631bc9e X-Archives-Hash: 37fa2233263aedb7930203397dd08268 On Mon, Mar 19, 2012 at 9:12 AM, Frank Peters wr= ote: > Linux-3.3.0 is released and, as is my usual habit, I downloaded and compi= led > 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. =C2=A0Doing > "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-dr= ivers-295.20-r1/work ... > Preparing nvidia module > make -j9 HOSTCC=3Dx86_64-pc-linux-gnu-gcc CROSS_COMPILE=3Dx86_64-pc-linux= -gnu- 'LDFLAGS=3D-m elf_x86_64' IGNORE_CC_MISMATCH=3Dyes V=3D1 SYSSRC=3D/us= r/src/linux SYSOUT=3D/lib/modules/3.3.0/build CC=3Dx86_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): > =C2=A0Unable to emake HOSTCC=3Dx86_64-pc-linux-gnu-gcc CROSS_COMPILE=3Dx8= 6_64-pc-linux-gnu- LDFLAGS=3D-m elf_x86_64 =C2=A0IGNORE_CC_MISMATCH=3Dyes V= =3D1 SYSSRC=3D/usr/src/linux =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 SYSO= UT=3D/lib/modules/3.3.0/build CC=3Dx86_64-pc-linux-gnu-gcc clean module > > Call stack: > =C2=A0 =C2=A0ebuild.sh, line =C2=A0 85: =C2=A0Called src_compile > =C2=A0environment, line 3711: =C2=A0Called linux-mod_src_compile > =C2=A0environment, line 2668: =C2=A0Called die > The specific snippet of code: > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0eval "emake HOSTCC=3D\"$(= 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 > Hey Frank, I hadn't played with this since you first posted but I've been waiting for a new nvidia-driver to solve the problem and not seen it. As my laptop uses vanilla-sources I was stuck but also not really wanting to do the patch you did. Anyway, for kicks this morning I tried gentoo-sources-3.3.0 and found that nvidia-drivers builds & runs fine with that kernel. Don't know if this is helpful but thought I'd let you know that the gentoo devs seem to know how to fix this for their kernel. Cheers, Mark