From: Mark Knecht <markknecht@gmail.com>
To: gentoo-amd64@lists.gentoo.org
Subject: Re: [gentoo-amd64] Kernel-3.3.0 and Nvidia-drivers
Date: Thu, 22 Mar 2012 09:03:59 -0700 [thread overview]
Message-ID: <CAK2H+edPXevXQpR09mg4Zv2-3iQd6Hpw1o4VLxJxnxTkFPzCpw@mail.gmail.com> (raw)
In-Reply-To: <20120319121229.0a9ecd3b.frank.peters@comcast.net>
On Mon, Mar 19, 2012 at 9:12 AM, Frank Peters <frank.peters@comcast.net> wrote:
> 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
>
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
next prev parent reply other threads:[~2012-03-22 18:03 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-19 16:12 [gentoo-amd64] Kernel-3.3.0 and Nvidia-drivers Frank Peters
2012-03-19 16:35 ` Mark Knecht
2012-03-19 19:05 ` Frank Peters
2012-03-19 19:16 ` Mark Knecht
2012-03-19 19:30 ` Frank Peters
2012-03-19 20:08 ` Mark Knecht
2012-03-19 20:25 ` Paul Hartman
2012-03-19 19:14 ` Cheng Renquan
2012-03-19 19:17 ` Mark Knecht
2012-03-19 21:28 ` Barry Schwartz
2012-03-19 21:40 ` Mark Knecht
2012-03-20 0:34 ` Barry Schwartz
2012-03-20 4:03 ` Frank Peters
2012-03-20 6:20 ` Barry Schwartz
2012-03-20 18:31 ` [gentoo-amd64] " Duncan
2012-03-20 18:27 ` Duncan
2012-03-22 16:03 ` Mark Knecht [this message]
2012-03-22 18:41 ` [gentoo-amd64] " Frank Peters
2012-03-22 18:58 ` Mark Knecht
2012-03-22 21:18 ` Barry Schwartz
2012-03-22 21:21 ` Barry Schwartz
2012-03-22 21:32 ` Outside of portage (was Re: [gentoo-amd64] Kernel-3.3.0 and Nvidia-drivers) Barry Schwartz
2012-03-22 23:04 ` Paul Hartman
2012-03-22 23:28 ` Barry Schwartz
2012-03-22 23:33 ` Harry Holt
2012-03-23 8:42 ` Benny Pedersen
2012-03-23 13:50 ` Harry Holt
2012-03-23 0:14 ` Gary E. Miller
2012-03-23 1:30 ` Mark Knecht
2012-03-23 1:56 ` Barry Schwartz
2012-03-23 4:05 ` [gentoo-amd64] Re: Outside of portage (was " Duncan
2012-03-23 12:41 ` Outside of portage (was Re: [gentoo-amd64] " Frank Peters
2012-03-23 15:49 ` Barry Schwartz
2012-03-23 18:09 ` Dale
2012-03-23 18:28 ` [gentoo-amd64] Kernel-3.3.0 and Nvidia-drivers Mark Knecht
2012-03-23 19:11 ` Mark Knecht
2012-03-24 0:20 ` Frank Peters
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAK2H+edPXevXQpR09mg4Zv2-3iQd6Hpw1o4VLxJxnxTkFPzCpw@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-amd64@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox