FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 06-24-2012, 10:49 AM
Samuraiii
 
Default Nvidia 295.59 driver on kernel 3.3.8

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
Calculating dependencies ... done!

>>> Verifying ebuild manifests

>>> 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##########################

emerge --ignore-default-opts --info '=x11-drivers/nvidia-drivers-295.59'
Portage 2.1.10.65 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.3,
glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
================================================== ===============
System Settings
================================================== ===============
System uname:
Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Sun, 24 Jun 2012 08:45:01 +0000
app-shells/bash: 4.2_p20
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.7-r5
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.9.8.4
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r2
sys-devel/gcc-config: 1.6
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc: 2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt
/usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/
/etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d
/etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build --jobs=4 --load-average=3.0
--with-bdeps=y --ask -v --ask-enter-invalid"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy compress-build-logs
config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles
metadata-transfer news parallel-fetch parallel-install
parse-eapi-ebuild-head protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv
usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirror.dkm.cz/pub/gentoo/
http://gentoo.supp.name/ http://gentoo.mneisen.org/
http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs en_GB en"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --human-readable
--timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns alsa amd64 apache2 berkdb bluetooth
branding bzip2 cairo cdda cddb cdinstall cdparanoia cdr clamav cli
colord consolekit cracklib crypt css cups curl curlwrappers cvs cxx dbus
dga directfb djvu dri dts dvd dvdr eds encode examples exif fam ffmpeg
firefox flac flatfile foomaticdb fortran ftp gd gdbm geoip gif gimp
gnome gnome-keyring gnome-online-accounts gnuplot gnutls gphoto2 gpm
gstreamer gtk gzip hscolour iconv ieee1394 imagemagick ipv6 jabber java
javascript jingle joystick jpeg lame latex lcms ldap libcaca libnotify
lzma lzo mad matroska mbox mhash mime mmx mng modules mp3 mp4 mpeg
mplayer mudflap multilib musicbrainz mysql mysqli nautilus ncurses
networkmanager nls nocd nptl nsplugin nvidia offensive ogg opengl openmp
pam pango pcmcia pcre pdf php png policykit ppds pppd pulseaudio
qt3support quicktime radius raw rdesktop readline rss sasl scanner sdl
session smp socialweb socks5 sound source spell sse sse2 sse3 sse4 ssl
startup-notification subversion svg symlink syslog system-sqlite sysvipc
szip taglib tcpd theora tidy tiff truetype udev udisks unicode upower
usb v4l vcd vdpau videos vnc vorbis wavpack wifi wxwidgets x264 xattr
xcb xface xml xmpp xorg xosd xscreensaver xulrunner xv xvid xvmc zlib
zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel
intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem
ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty
extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul
mulaw multi null plug rate route share shm softvol"
APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav
dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache
filter headers include info log_config logio mem_cache mime mime_magic
negotiation rewrite setenvif speling status unique_id userdir usertrack
vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables
krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface
irq load memory rrdtool swap syslog" ELIBC="glibc"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt
gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore
rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LINGUAS="cs en_GB en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2
python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU"
VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2
ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq
steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL,
PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
################################################## ######
################################################## ######

--
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.
 
Old 06-24-2012, 02:23 PM
Nikos Chantziaras
 
Default 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.
 
Old 06-24-2012, 02:58 PM
Alex Schuster
 
Default 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
 
Old 06-24-2012, 03:13 PM
Nikos Chantziaras
 
Default 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.
 
Old 06-24-2012, 05:41 PM
Samuraiii
 
Default 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.
 
Old 06-24-2012, 05:47 PM
Alex Schuster
 
Default 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
 
Old 06-24-2012, 05:54 PM
Mark Knecht
 
Default 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.

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 ~ #


HTH,
Mark
 
Old 06-24-2012, 07:13 PM
Samuraiii
 
Default Nvidia 295.59 driver on kernel 3.3.8

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.
 
Old 06-24-2012, 07:26 PM
Mark Knecht
 
Default 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
 
Old 06-24-2012, 09:57 PM
walt
 
Default 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?
 

Thread Tools




All times are GMT. The time now is 01:16 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org