Hello,
yesterday I run emerge and run into problem with Nvidia 295.59 driver on
kernel 3.3.8.
It won't compile (also broadcom-sta driver won't rebuild)
I've read the thread 'Nvidia-drivers + kernel 3.4' but no help for me
(files from first post don't exist).
Google didn't helped me so I ask here. (all outpust here are taken with
--ignore-default-opts)
>>> Emerging (1 of 1) x11-drivers/nvidia-drivers-295.59
* NVIDIA-Linux-x86_64-295.59.run RMD160 SHA1 SHA256 size ;-)
...
[ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found kernel object directory:
* /lib/modules/3.3.8-gentoo/build
* Found sources for kernel version:
* 3.3.8-gentoo
* Checking for MTRR support
...
[ ok ]
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-295.59.run to
/tmp/portage/x11-drivers/nvidia-drivers-295.59/work
>>> Source unpacked in /tmp/portage/x11-drivers/nvidia-drivers-295.59/work
>>> Preparing source in
/tmp/portage/x11-drivers/nvidia-drivers-295.59/work ...
* Converting /kernel/Makefile.kbuild to use M= instead of SUBDIRS=
...
[ ok ]
>>> Source prepared.
>>> Configuring source in
/tmp/portage/x11-drivers/nvidia-drivers-295.59/work ...
>>> Source configured.
>>> Compiling source in
/tmp/portage/x11-drivers/nvidia-drivers-295.59/work ...
* Preparing nvidia module
make -j7 HOSTCC=x86_64-pc-linux-gnu-gcc
CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' ARCH=x86_64
IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux
SYSOUT=/lib/modules/3.3.8-gentoo/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.59 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 ARCH=x86_64
IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux
SYSOUT=/lib/modules/3.3.8-gentoo/build CC=x86_64-pc-linux-gnu-gcc clean
module
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 3925: Called linux-mod_src_compile
* environment, line 2828: 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.59'`,
* the complete build log and the output of `emerge -pqv
'=x11-drivers/nvidia-drivers-295.59'`.
* The complete build log is located at
'/tmp/portage/x11-drivers/nvidia-drivers-295.59/temp/build.log.gz'.
* The ebuild environment file is located at
'/tmp/portage/x11-drivers/nvidia-drivers-295.59/temp/environment'.
* Working directory:
'/tmp/portage/x11-drivers/nvidia-drivers-295.59/work/kernel'
* S: '/tmp/portage/x11-drivers/nvidia-drivers-295.59/work/'
>>> Failed to emerge x11-drivers/nvidia-drivers-295.59
* Messages for package x11-drivers/nvidia-drivers-295.59:
* ERROR: x11-drivers/nvidia-drivers-295.59 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 ARCH=x86_64
IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux
SYSOUT=/lib/modules/3.3.8-gentoo/build CC=x86_64-pc-linux-gnu-gcc clean
module
*
* Call stack:
* ebuild.sh, line 85: Called src_compile
* environment, line 3925: Called linux-mod_src_compile
* environment, line 2828: 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.59'`,
* the complete build log and the output of `emerge -pqv
'=x11-drivers/nvidia-drivers-295.59'`.
* The complete build log is located at
'/tmp/portage/x11-drivers/nvidia-drivers-295.59/temp/build.log.gz'.
* The ebuild environment file is located at
'/tmp/portage/x11-drivers/nvidia-drivers-295.59/temp/environment'.
* Working directory:
'/tmp/portage/x11-drivers/nvidia-drivers-295.59/work/kernel'
* S: '/tmp/portage/x11-drivers/nvidia-drivers-295.59/work/'
################################################## ####
####################emerge --info##########################
--
Samuraiii
e-mail: samurai.no.dojo@gmail.com <mailto:samurai.no.dojo@gmail.com>
GnuPG key ID: 0x80C752EA
<http://pgp.mit.edu:11371/pks/lookup?search=0x80C752EA&op=vindex&fingerprint=on& exact=on>
(obtainable on http://pgp.mit.edu)
Full copy of public timestamp block <http://publictimestamp.org>
signatures id-15120 (from 2012-06-24 09:00:08) is included in header of
html.
06-24-2012, 02:23 PM
Nikos Chantziaras
Nvidia 295.59 driver on kernel 3.3.8
On 24/06/12 13:49, Samuraiii wrote:
Hello,
yesterday I run emerge and run into problem with Nvidia 295.59 driver on
kernel 3.3.8. >
It won't compile (also broadcom-sta driver won't rebuild)
[...]
Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.1
You're running 3.2.12. Your active kernel source is 3.3.8.
This cannot work. Either use 3.2.12 as your active source, or build a
3.3.8 kernel.
06-24-2012, 02:58 PM
Alex Schuster
Nvidia 295.59 driver on kernel 3.3.8
Nikos Chantziaras writes:
> On 24/06/12 13:49, Samuraiii wrote:
> > Hello,
> > yesterday I run emerge and run into problem with Nvidia 295.59 driver
> > on kernel 3.3.8. >
> > It won't compile (also broadcom-sta driver won't rebuild)
> > [...]
> > Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.1
>
> You're running 3.2.12. Your active kernel source is 3.3.8.
>
> This cannot work.
Why not?
> Either use 3.2.12 as your active source, or build a
> 3.3.8 kernel.
He has built 3.3.8 already, he is just not using it yet.
Wonko
06-24-2012, 03:13 PM
Nikos Chantziaras
Nvidia 295.59 driver on kernel 3.3.8
On 24/06/12 17:58, Alex Schuster wrote:
Nikos Chantziaras writes:
On 24/06/12 13:49, Samuraiii wrote:
Hello,
yesterday I run emerge and run into problem with Nvidia 295.59 driver
on kernel 3.3.8. >
It won't compile (also broadcom-sta driver won't rebuild)
[...]
Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.1
You're running 3.2.12. Your active kernel source is 3.3.8.
This cannot work.
Why not?
Either use 3.2.12 as your active source, or build a
3.3.8 kernel.
He has built 3.3.8 already, he is just not using it yet.
If it's built, then it should work. The OP didn't mention it, so I
assumed 3.3.8 was not built :-/
In that case, trying the latest driver (302.17) is the best option.
06-24-2012, 05:41 PM
Samuraiii
Nvidia 295.59 driver on kernel 3.3.8
On 2012-06-24 17:13, Nikos Chantziaras wrote:
> On 24/06/12 17:58, Alex Schuster wrote:
>> Nikos Chantziaras writes:
>>
>>> On 24/06/12 13:49, Samuraiii wrote:
>>>> Hello,
>>>> yesterday I run emerge and run into problem with Nvidia 295.59 driver
>>>> on kernel 3.3.8. >
>>>> It won't compile (also broadcom-sta driver won't rebuild)
>>>> [...]
>>>> Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.1
>>>>
>>>
>>> You're running 3.2.12. Your active kernel source is 3.3.8.
>>>
>>> This cannot work.
>>
>> Why not?
>>
>>> Either use 3.2.12 as your active source, or build a
>>> 3.3.8 kernel.
>>
>> He has built 3.3.8 already, he is just not using it yet.
>
> If it's built, then it should work. The OP didn't mention it, so I
> assumed 3.3.8 was not built :-/
>
> In that case, trying the latest driver (302.17) is the best option.
>
>
Exactly I've built 3.3.8 (and waiting to get all modules ready before I
boot it) and with 302.17 is the same problem - no built because of
'Unable to determine...' problem (already tested this option).
--
Samuraiii
e-mail: samurai.no.dojo@gmail.com <mailto:samurai.no.dojo@gmail.com>
GnuPG key ID: 0x80C752EA
<http://pgp.mit.edu:11371/pks/lookup?search=0x80C752EA&op=vindex&fingerprint=on& exact=on>
(obtainable on http://pgp.mit.edu)
Full copy of public timestamp block <http://publictimestamp.org>
signatures id-15122 (from 2012-06-24 15:00:08) is included in header of
html.
06-24-2012, 05:47 PM
Alex Schuster
Nvidia 295.59 driver on kernel 3.3.8
Samuraiii writes:
> yesterday I run emerge and run into problem with Nvidia 295.59 driver on
> kernel 3.3.8.
[...]
> >>> Unpacking source...
> >>> Unpacking NVIDIA-Linux-x86_64-295.59.run to
> /tmp/portage/x11-drivers/nvidia-drivers-295.59/work
> >>> Source unpacked
> >>> in /tmp/portage/x11-drivers/nvidia-drivers-295.59/work Preparing
> >>> source in
> /tmp/portage/x11-drivers/nvidia-drivers-295.59/work ...
> * Converting /kernel/Makefile.kbuild to use M= instead of SUBDIRS=
> ...
> [ ok ]
> >>> Source prepared.
> >>> Configuring source in
> /tmp/portage/x11-drivers/nvidia-drivers-295.59/work ...
> >>> Source configured.
> >>> Compiling source in
> /tmp/portage/x11-drivers/nvidia-drivers-295.59/work ...
> * Preparing nvidia module
> make -j7 HOSTCC=x86_64-pc-linux-gnu-gcc
> CROSS_COMPILE=x86_64-pc-linux-gnu- 'LDFLAGS=-m elf_x86_64' ARCH=x86_64
> IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux
> SYSOUT=/lib/modules/3.3.8-gentoo/build CC=x86_64-pc-linux-gnu-gcc clean
> module
Everything is very similar up to here, but I do not get any of your later
output. I built against gentoo-sources-3.4.4 on ~amd64. No idea what's
the problem with your setup.
Wonko
06-24-2012, 05:54 PM
Mark Knecht
Nvidia 295.59 driver on kernel 3.3.8
On Sun, Jun 24, 2012 at 3:49 AM, Samuraiii <samurai.no.dojo@gmail.com> wrote:
> Hello,
> yesterday I run emerge and run into problem with Nvidia 295.59 driver on
> kernel 3.3.8.
> It won't compile (also broadcom-sta driver won't rebuild)
> I've read the thread 'Nvidia-drivers + kernel 3.4' but no help for me
> (files from first post don't exist).
> Google didn't helped me so I ask here. (all outpust here are taken with
> --ignore-default-opts)
>
> my:
> ##############################################EMER GE
> output###################
> *emerge -1 --ignore-default-opts x11-drivers/nvidia-drivers
I don't know about the --ignore-default-opts thing. I don't use that
here and I'm running 3.3.8 + nvidia-drivers-302.17 with no problems.
c2stable ~ # uname -a
Linux c2stable 3.3.8-gentoo #1 SMP PREEMPT Thu Jun 21 13:06:44 PDT
2012 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel
GNU/Linux
c2stable ~ #
c2stable ~ # eix -Ic nvidia
[i] media-video/nvidia-settings (302.11{tbz2}@06/18/2012): NVIDIA
Linux X11 Settings Utility
[i] x11-drivers/nvidia-drivers (302.17{tbz2}@06/21/2012): NVIDIA X11
driver and GLX libraries
Found 2 matches.
c2stable ~ #
1) Along the lines of Nikos' suggestion did you properly set the linux
link in /usr/src to point at 3.3.8?
c2stable ~ # ls -la /usr/src/
total 16
drwxr-xr-x 4 root root 4096 Jun 24 09:17 .
drwxr-xr-x 14 root root 4096 Dec 23 2011 ..
-rw-r--r-- 1 root root 0 Mar 24 2010 .keep
lrwxrwxrwx 1 root root 18 Jun 21 12:57 linux -> linux-3.3.8-gentoo
drwxr-xr-x 24 root root 4096 Jun 15 09:01 linux-3.2.12-gentoo
drwxr-xr-x 24 root root 4096 Jun 21 13:07 linux-3.3.8-gentoo
c2stable ~ #
2) Here are make.conf and portage.X package data. Maybe they will
help. I'm updated to xorg-1.12 & mesa-8 as of this morning.
On 2012-06-24 19:54, Mark Knecht wrote:
> On Sun, Jun 24, 2012 at 3:49 AM, Samuraiii <samurai.no.dojo@gmail.com> wrote:
>> Hello,
>> yesterday I run emerge and run into problem with Nvidia 295.59 driver on
>> kernel 3.3.8.
>> It won't compile (also broadcom-sta driver won't rebuild)
>> I've read the thread 'Nvidia-drivers + kernel 3.4' but no help for me
>> (files from first post don't exist).
>> Google didn't helped me so I ask here. (all outpust here are taken with
>> --ignore-default-opts)
>>
>> my:
>> ##############################################EMER GE
>> output###################
>> emerge -1 --ignore-default-opts x11-drivers/nvidia-drivers
> I don't know about the --ignore-default-opts thing. I don't use that
> here and I'm running 3.3.8 + nvidia-drivers-302.17 with no problems.
That
--ignore-default-opts thing
is there to get compile output and ignore some other settings I have in
/etc/make.conf. I use this option when something (as here) goes wrong to
see where it happend.
>
> c2stable ~ # uname -a
> Linux c2stable 3.3.8-gentoo #1 SMP PREEMPT Thu Jun 21 13:06:44 PDT
> 2012 x86_64 Intel(R) Core(TM) i7 CPU X 980 @ 3.33GHz GenuineIntel
> GNU/Linux
> c2stable ~ #
>
> c2stable ~ # eix -Ic nvidia
> [i] media-video/nvidia-settings (302.11{tbz2}@06/18/2012): NVIDIA
> Linux X11 Settings Utility
> [i] x11-drivers/nvidia-drivers (302.17{tbz2}@06/21/2012): NVIDIA X11
> driver and GLX libraries
> Found 2 matches.
> c2stable ~ #
>
> 1) Along the lines of Nikos' suggestion did you properly set the linux
> link in /usr/src to point at 3.3.8?
>
> c2stable ~ # ls -la /usr/src/
> total 16
> drwxr-xr-x 4 root root 4096 Jun 24 09:17 .
> drwxr-xr-x 14 root root 4096 Dec 23 2011 ..
> -rw-r--r-- 1 root root 0 Mar 24 2010 .keep
> lrwxrwxrwx 1 root root 18 Jun 21 12:57 linux -> linux-3.3.8-gentoo
> drwxr-xr-x 24 root root 4096 Jun 15 09:01 linux-3.2.12-gentoo
> drwxr-xr-x 24 root root 4096 Jun 21 13:07 linux-3.3.8-gentoo
> c2stable ~ #
I have set symlink use flag on gentoo-sources to get symlink
automatically updated (and link is OK).
> 2) Here are make.conf and portage.X package data. Maybe they will
> help. I'm updated to xorg-1.12 & mesa-8 as of this morning.
>
> c2stable ~ # cat /etc/make.conf | grep USE
> USE="gstreamer java jpeg2k ssse3 xinerama truetype type1 cleartype
> corefonts vdpau xvmc -bluetooth -cups -ipv6"
> c2stable ~ #
>
> c2stable ~ # cat /etc/portage/package.use
> app-emulation/vmware-tools vmware_guest_linux vmware_guest_windows
> dev-lang/python sqlite
>
> sys-fs/udev extras
> sys-block/parted device-mapper
>
> dev-vcs/subversion java
>
> mail-mta/ssmtp mailwrapper
>
> dev-libs/libgcrypt static-libs
> dev-libs/libgpg-error static-libs
>
> dev-util/kdevplatform subversion
> x11-libs/qt-declarative private-headers
> x11-libs/qt-script private-headers
> x11-libs/qt-core private-headers
> x11-libs/qt-gui private-headers
>
>> =x11-libs/libdrm-2.4.26 video_cards_vmware
> sys-apps/pciutils -zlib
>
> app-text/ghostscript-gpl cups
>
> =sys-libs/zlib-1.2.5.1-r2 minizip
>
> x11-libs/cairo -qt4
> media-libs/mesa llvm g3dvl
> c2stable ~ #
>
>
> c2stable ~ # cat /etc/portage/package.keywords
> sys-apps/portage ~*
> app-portage/eix ~amd64
> app-emulation/virtualbox ~amd64
> app-emulation/virtualbox-modules ~amd64
> app-emulation/virtualbox-additions ~amd64
> app-emulation/virtualbox-extpack-oracle ~amd64
> x11-drivers/xf86-video-virtualbox ~amd64
> x11-drivers/xf86-input-virtualbox ~amd64
> app-emulation/vmware-modules ~amd64
> app-emulation/vmware-tools ~amd64
> app-emulation/vmware-player ~amd64
> x11-drivers/nvidia-drivers ~amd64
> media-video/nvidia-settings ~amd64
> net-im/skype ~amd64
> dev-lang/R ~amd64
> media-video/handbrake ~amd64
> sys-apps/dstat ~amd64
>
> app-admin/checkrestart ~amd64
>
> www-client/google-chrome ~amd64
> app-shells/push ~amd64
> c2stable ~ #
To this (Thank you for such extensive help):
I'm running Gnome 3 so xorg-server is "at home" by me for longer time
(as unstable before) mesa got upgraded when that driver should get
upgraded to.
My system IS NOT ~amd64 wholly - just gnome3 related stuff and some
other packages (racket, skype, oracle-jdk,...)
>
> HTH,
> Mark
>
The driver 295.59 builds just fine against kernel 3.2.12
So problem _MUST_ be somewhere around kernel.
S
--
Samuraiii
e-mail: samurai.no.dojo@gmail.com <mailto:samurai.no.dojo@gmail.com>
GnuPG key ID: 0x80C752EA
<http://pgp.mit.edu:11371/pks/lookup?search=0x80C752EA&op=vindex&fingerprint=on& exact=on>
(obtainable on http://pgp.mit.edu)
Full copy of public timestamp block <http://publictimestamp.org>
signatures id-15122 (from 2012-06-24 15:00:08) is included in header of
html.
06-24-2012, 07:26 PM
Mark Knecht
Nvidia 295.59 driver on kernel 3.3.8
On Sun, Jun 24, 2012 at 12:13 PM, Samuraiii <samurai.no.dojo@gmail.com> wrote:
<SNIP>
> To this (Thank you for such extensive help):
No problem. Happy to help. I'm not posting here much any more.
> *I'm running Gnome 3 so xorg-server is "at home" by me for longer time
> (as unstable before) *mesa got upgraded when that driver should get
> upgraded to.
> My system IS NOT ~amd64 wholly *- just gnome3 related stuff and some
> other packages (racket, skype, oracle-jdk,...)
My systems are all stable with only a few ~amd64 packages (virtualbox,
vmware, nvidia-drivers & a few more, and then once in awhile a system
package, but only when I'm forced. Other than that I try to stay
stable.
Good luck working this out. I run 6 machines here that are all using
~amd64 nvidia-drivers with the 3.3.8 kernel. They all work fine.
- Mark
06-24-2012, 09:57 PM
walt
Nvidia 295.59 driver on kernel 3.3.8
On 06/24/2012 12:13 PM, Samuraiii wrote:
> The driver 295.59 builds just fine against kernel 3.2.12
> So problem _MUST_ be somewhere around kernel.
A perfectly reasonable conclusion. (My own perfectly reasonable conclusions
are often wrong
Maybe you could install vanilla-sources and see if you have the same
problem. Or, just remove the gentoo-sources and reinstall from scratch?