Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[WORKAROUND]emerge nvidia-drivers: target kernel version
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
modsRule
n00b
n00b


Joined: 19 Oct 2009
Posts: 38
Location: Bucks, UK

PostPosted: Wed Oct 21, 2009 8:10 pm    Post subject: [WORKAROUND]emerge nvidia-drivers: target kernel version Reply with quote

I am having the same problem as many others have had before, I am trying to install X, and have set it up to use the nvidia driver in make.conf.

emerge nvidia-drivers is failing to compile, claiming that it is unable to determine the target kernel version.
I have the same problem using the installer from the nvidia website.

This problem occurs with the latest stable version of portage, and the latest beta nvidia drivers (190.40)

As you can see in the log below, portage is finding the sources fine, and is passing this onto the nvidia system using the SYSSRC command line, but for some reason the nvidia system is failing.

The kernel is 2.6.30-gentoo-r5 and I have compiled it myself.
It is the kernel that is running at the compile time.

The /usr/src/linux link points to the correct (and only) linux source folder.

I am out of ideas as to why it is failing to compile.
Thanks in advance.

Here is the emerge log:
Code:

   Determining the location of the kernel source code
   Found kernel source directory:
       /usr/src/linux
   Found kernel object directory:
       /lib/modules/2.6.30-gentoo-r5/build
   Found sources for kernel version:
       2.6.30-gentoo-r5
   Checking for MTRR support ...
    ok
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-190.40-pkg2.run to /var/tmp/portage/x11-drivers/nvidia-drivers-190.40/work/NVIDIA-Linux-x86_64-190.40-pkg2
>>> Source unpacked in /var/tmp/portage/x11-drivers/nvidia-drivers-190.40/work
>>> Preparing source in /var/tmp/portage/x11-drivers/nvidia-drivers-190.40/work/NVIDIA-Linux-x86_64-190.40-pkg2 ...
   Applying NVIDIA_glx-defines.patch ...
    ok
   Applying NVIDIA_glx-glheader.patch ...
   ok
   Converting NVIDIA-Linux-x86_64-190.40-pkg2/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ...
   ok
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-drivers/nvidia-drivers-190.40/work/NVIDIA-Linux-x86_64-190.40-pkg2 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-190.40/work/NVIDIA-Linux-x86_64-190.40-pkg2 ...
   Preparing nvidia module
make -j1 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux SYSOUT=/lib/modules/2.6.30-gentoo-r5/build HOST_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
  * 
  *  ERROR: x11-drivers/nvidia-drivers-190.40 failed.
  *  Call stack:
  *                ebuild.sh, line   49:  Called src_compile
  *              environment, line 3953:  Called linux-mod_src_compile
  *              environment, line 2932:  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}";
  *   The die message:
  *    Unable to emake HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS=  IGNORE_CC_MISMATCH=yes V=1 SYSSRC=/usr/src/linux       SYSOUT=/lib/modules/2.6.30-gentoo-r5/build HOST_CC=x86_64-pc-linux-gnu-gcc clean module
  * 
  *  If you need support, post the topmost build error, and the call stack if relevant.
  *  A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-190.40/temp/build.log'.
  *  The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-190.40/temp/environment'.
  * 



Last edited by modsRule on Fri Oct 23, 2009 7:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Oct 21, 2009 8:36 pm    Post subject: Reply with quote

If you are using ccache, try disabling it.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Wed Oct 21, 2009 8:42 pm    Post subject: Reply with quote

modsRule,

Remove the driver from the nVidia site. That way lies madness and confusion and sometimes, missing patches.

You must configure and build the kernel pointed to by /usr/src/linux to be able to build nvidia-drivers.
You need not be running that kernel to do the build but you must to load the kernel driver.

After you reboot and before you startx, compare
Code:
uname -a
with
Code:
readlink /usr/src/linux
they must show the same kernel version
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
modsRule
n00b
n00b


Joined: 19 Oct 2009
Posts: 38
Location: Bucks, UK

PostPosted: Wed Oct 21, 2009 8:58 pm    Post subject: Reply with quote

@Mike:
I added the line 'FEATURES="-ccache"' to make.conf, although I am pretty sure ccache isn't even installed on the system. If it was it had not been added to the FEATURES line.

@NeddySeagoon:
The driver installer I downloaded from the nvidia site wouldn't get past the 2nd page (Couldn't find the kernel version) anyway.
This is a new fairly new install of gentoo, it only has the one kernel version. (The same source from which I compiled the running kernel). This is the one the /usr/src/linux sylink points to.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Oct 21, 2009 9:06 pm    Post subject: Reply with quote

... also since you don't have ccache enabled, there is no need to disable ccache.

... also please post your emerge --info
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Wed Oct 21, 2009 9:15 pm    Post subject: Reply with quote

modsRule,

Both the Gentoo version and the nVidia version of the driver follow the /usr/src/linux symlink to find your kernel sources.
I still suspect the sources on the end of the /usr/src/linux symlink.

Please do the compare I asked for.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
modsRule
n00b
n00b


Joined: 19 Oct 2009
Posts: 38
Location: Bucks, UK

PostPosted: Wed Oct 21, 2009 9:18 pm    Post subject: Reply with quote

Here is the ouput of emerge --info:

Code:

Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-1.12.11.1
Timestamp of tree: Wed, 21 Oct 2009 17:45:01 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.gg3.net/ "
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad mikmod mmx modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Ok. Will go and do that compare for you.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6102
Location: Dallas area

PostPosted: Wed Oct 21, 2009 9:21 pm    Post subject: Reply with quote

VIDEO_CARDS="nv"


???????
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Wed Oct 21, 2009 9:26 pm    Post subject: Reply with quote

also you could set VIDEO_CARDS="nv" to nvidia

and remove qt3 USE flag (unless you really need it enabled globally)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Wed Oct 21, 2009 9:28 pm    Post subject: Reply with quote

Anon-E-moose,

That has no effect on emerge nvidia-drivers. It just means that building Xorg will not pull in nvidia-drivers, which is no bad thing.
With gentoo, its best to make it work first and make it better/faster etc., later
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6102
Location: Dallas area

PostPosted: Wed Oct 21, 2009 9:30 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Anon-E-moose,

That has no effect on emerge nvidia-drivers. It just means that building Xorg will not pull in nvidia-drivers, which is no bad thing.
With gentoo, its best to make it work first and make it better/faster etc., later


I know, for a long time I left the default VIDEO alone
which built a lot of drivers and did not have nvidia listed at all,
but if you are going to narrow it down then at least put nvidia in there. :)


The rest of emerge info looks ok, very comparable to mine.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
modsRule
n00b
n00b


Joined: 19 Oct 2009
Posts: 38
Location: Bucks, UK

PostPosted: Wed Oct 21, 2009 9:31 pm    Post subject: Reply with quote

Sorry, I changed it to nv when I was playing around with just trying to get x running with some driver - didn't help. Was getting the same compilation errors for nvidia prior to changing it.

qt3 flag was suggested by the handbook (amd64) but will remove as you suggest.

Outputs from uname and readlink:
Linux alipc-gentoo.10 2.6.30-gentoo-r5 #1 SMP PREEMPT Wed Oct 21 18:46:46 BST 2009 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux

linux-2.6.30-gentoo-r5
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Wed Oct 21, 2009 9:34 pm    Post subject: Reply with quote

modsRule,

That looks good.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6102
Location: Dallas area

PostPosted: Wed Oct 21, 2009 9:35 pm    Post subject: Reply with quote

Would you post the make.conf file and your working environment "set", there may be a hint there.

It finds the sources at the beginning
Code:
Found kernel source directory:
       /usr/src/linux
   Found kernel object directory:
       /lib/modules/2.6.30-gentoo-r5/build
   Found sources for kernel version:
       2.6.30-gentoo-r5


but then complains about this
Code:
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.

_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Wed Oct 21, 2009 9:39 pm    Post subject: Reply with quote

modsRule,

nvidia-drivers-190.40 is still hard masked. Please try
Code:
emerge =nvidia-drivers-185.18.31
as thats is the latest testing driver.

Hard masked things are usually masked for a reason.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
modsRule
n00b
n00b


Joined: 19 Oct 2009
Posts: 38
Location: Bucks, UK

PostPosted: Wed Oct 21, 2009 9:53 pm    Post subject: Reply with quote

Here is the contents of make.conf:
Code:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=athlon64 -O2 -pipe"
CXXFLAGS="-march=athlon64 -O2 -pipe"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="mmx sse sse2 -gtk -gnome qt4 kde dvdr alsa cdr"

MAKEOPTS="-j1"

FEATURES="-ccache"

GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ http://gentoo.gg3.net/ "

SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

INPUT_DEVICES="keyboard mouse"

VIDEO_CARDS="nvidia"


I presume you are asking for the state of all the enviromental variables?
How do I do this?


@NeddySeagon:
All of the more stable releases suffered from the same problem which is why I was trying the more recent version.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6102
Location: Dallas area

PostPosted: Wed Oct 21, 2009 10:27 pm    Post subject: Reply with quote

Code:
USE="mmx sse sse2 -gtk -gnome qt4 kde dvdr alsa cdr"


Make the above
Code:
USE="-gtk -gnome qt4 kde dvdr alsa cdr"

the mmx, sse and sse2 go on the CFLAG line


Quote:
I presume you are asking for the state of all the enviromental variables?
How do I do this?


type
Code:
set

from a terminal prompt
it can be redirected into a file if very large
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Wed Oct 21, 2009 11:00 pm    Post subject: Reply with quote

Anon-E-moose wrote:
the mmx, sse and sse2 go on the CFLAG line


err.. no, thats a very bad idea. Allowing the compiler you make up its mind when to use those options is a bad idea but you can if you want.
They are also USE flags so that packages that can benefit from them, by way of having optimised code sections, can use them selectively.

It gives you the benefit of using the options where they do most good and preventing the compiler doing odd things that are hard to track down
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54308
Location: 56N 3W

PostPosted: Wed Oct 21, 2009 11:21 pm    Post subject: Reply with quote

modsRule,

Heres my last thought for the night.

Code:
cd /usr/src/linux
make clean
make
emerge nvidia-drivers
this will rebuild your kernel and the driver - you need not install yor kernel for this experiment but it will do no harm if you do.

You said that other versions of the driver failed with the same error, so it has to be something to do with the kernel.

Anon-E-moose put me onto this by pointing out that the symlink was found and followed but later in the build, it failed to determine the kernel version.
There are two kernel versioning mechanisms - one of them depends on make.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6102
Location: Dallas area

PostPosted: Wed Oct 21, 2009 11:32 pm    Post subject: Reply with quote

NeddySeagoon wrote:
Anon-E-moose wrote:
the mmx, sse and sse2 go on the CFLAG line


err.. no, thats a very bad idea. Allowing the compiler you make up its mind when to use those options is a bad idea but you can if you want.
They are also USE flags so that packages that can benefit from them, by way of having optimised code sections, can use them selectively.

It gives you the benefit of using the options where they do most good and preventing the compiler doing odd things that are hard to track down


I forgot that the desktop profile uses mmx, sse and sse2 flags.

As far as the CFLAGS line, almost all modern cpus have mmx, sse and sse2 turned on by the march= option,
so adding them to the CFLAGS line would be redundant.
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6102
Location: Dallas area

PostPosted: Wed Oct 21, 2009 11:35 pm    Post subject: Reply with quote

also modsRule would you post the output of
Code:
equery list -i linux-headers

_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Oct 22, 2009 1:43 am    Post subject: Reply with quote

Someone found a solution recently Bug#: 287807
Back to top
View user's profile Send private message
modsRule
n00b
n00b


Joined: 19 Oct 2009
Posts: 38
Location: Bucks, UK

PostPosted: Thu Oct 22, 2009 7:28 am    Post subject: Reply with quote

Here is the output out set:
Code:

BASH=/bin/bash
BASH_ALIASES=()
BASH_ARGC=()
BASH_ARGV=()
BASH_CMDS=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="4" [1]="0" [2]="28" [3]="2" [4]="release" [5]="x86_64-pc-linux-gnu")
BASH_VERSION='4.0.28(2)-release'
COLUMNS=80
CONFIG_PROTECT_MASK='/etc/sandbox.d /etc/udev/rules.d /etc/fonts/fonts.conf /etc/terminfo /etc/ca-certificates.conf'
CVS_RSH=ssh
DIRSTACK=()
EDITOR=/usr/bin/vim
EUID=0
GCC_SPECS=
GROUPS=()
HISTFILE=/root/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/root
HOSTNAME=alipc-gentoo.10
HOSTTYPE=x86_64
HUSHLOGIN=FALSE
IFS=$' \t\n'
INFOPATH=/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4/info
LESS='-R -M --shift 5'
LESSOPEN='|lesspipe.sh %s'
LINES=25
LOGNAME=root
LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'
MACHTYPE=x86_64-pc-linux-gnu
MAILCHECK=60
MANPATH=/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.18/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.3.4/man
OLDPWD=/mnt
OPENGL_PROFILE=xorg-x11
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PAGER=/usr/bin/less
PATH=/sbin:/bin:/usr/sbin:/usr/bin
PIPESTATUS=([0]="0")
PPID=3612
PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] '
PS2='> '
PS4='+ '
PWD=/mnt/fedboot
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=2
TERM=linux
UID=0
USER=root
_=fedboot


Tried to run the equery query:
I get a command not found error.
I then tried to emerge equery but it couldn't find it.
Back to top
View user's profile Send private message
modsRule
n00b
n00b


Joined: 19 Oct 2009
Posts: 38
Location: Bucks, UK

PostPosted: Thu Oct 22, 2009 7:50 am    Post subject: Reply with quote

@Mike Hunt:
The solution that person had is not particularly great (downgrading to an older kernel version), however that person was using older versions of the driver, because they had a particularly old card.
Back to top
View user's profile Send private message
tempix
n00b
n00b


Joined: 30 Aug 2007
Posts: 22

PostPosted: Thu Oct 22, 2009 8:06 am    Post subject: Reply with quote

I have had the same problem. The problem was:
my kernel was compiled with an older gcc version.
Because of a gcc update, nvidia-drivers won't compile.
I have tried all the workatounds, but the simpy solution was:
recompile the kernel and after that nvidia-drivers. Success!

Cheers!
_________________
--
Yes of course I'm sure it's the red cable. I guarante[^%!/+)F#0c|'NO CARRIER
--
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum