Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Xorg: nVidia did not emerge [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
VikingB
Apprentice
Apprentice


Joined: 19 May 2006
Posts: 263
Location: ~Brussels (B)

PostPosted: Mon Apr 13, 2009 1:23 pm    Post subject: Installing Xorg: nVidia did not emerge [solved] Reply with quote

I am installing a new gentoo amd64 in dual boot with an Ubuntu 64 . The Gentoo newly installed is booting . I wanted to continue the installation by emerging Xorg . But this stops at nVidia with the following message .

Quote:
>>> Failed to emerge x11-drivers/nvidia-drivers-177.82, Log file:

>>> '/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/build.log'

* Messages for package x11-drivers/nvidia-drivers-177.82:

*
* ERROR: x11-drivers/nvidia-drivers-177.82 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3721: Called linux-mod_src_compile
* environment, line 2738: 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=/usr/src/linux 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-177.82/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/environment'.


I eventually rechecked the kernel and modified according to the nVidia doc : http://www.gentoo.org/doc/en/nvidia-guide.xml . But I don't understand what is in the "arch specific " paragraph . Is the error coming from there or has anyone a hint for me ,
The card is a GeForce 6200 LE . Thanks !


Last edited by VikingB on Wed Apr 15, 2009 8:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Apr 13, 2009 1:28 pm    Post subject: Reply with quote

VikingB,

Your message is portage cleaning up after itself. It does not show the real problem.
Thats in your var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/build.log file. Please post it
_________________
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
VikingB
Apprentice
Apprentice


Joined: 19 May 2006
Posts: 263
Location: ~Brussels (B)

PostPosted: Mon Apr 13, 2009 1:34 pm    Post subject: Reply with quote

Sorry . Here it is:
Quote:

^[[32;01m*^[[0m Determining the location of the kernel source code
^[[32;01m*^[[0m Found kernel source directory:
^[[32;01m*^[[0m /usr/src/linux
^[[32;01m*^[[0m Found kernel object directory:
^[[32;01m*^[[0m /lib/modules/2.6.27-gentoo-r8/build
^[[32;01m*^[[0m Found sources for kernel version:
^[[32;01m*^[[0m 2.6.27-gentoo-r8
^[[32;01m*^[[0m Checking for MTRR support ...
^[[A^[[72C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Checking for Paravirtualized guest support ...
>>> Unpacking source...
>>> Unpacking NVIDIA-Linux-x86_64-177.82-pkg2.run to /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86_64-177.82-pkg2
^[[32;01m*^[[0m Applying NVIDIA_glx-defines.patch ...
^[[A^[[72C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Applying NVIDIA_glx-glheader.patch ...
^[[A^[[72C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Applying nvidia-2.6.28.patch ...
^[[A^[[72C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Applying NVIDIA_i2c-hwmon.patch ...
^[[A^[[72C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
^[[32;01m*^[[0m Converting NVIDIA-Linux-x86_64-177.82-pkg2/usr/src/nv/Makefile.kbuild to use M= instead of SUBDIRS= ...
^[[A^[[72C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-drivers/nvidia-drivers-177.82/work/NVIDIA-Linux-x86_64-177.82-pkg2 ...
^[[32;01m*^[[0m Preparing nvidia module
make -j3 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$
Your kernel was configured to include nvidiafb support!

The nvidiafb driver conflicts with the NVIDIA driver, please
reconfigure your kernel and *disable* nvidiafb support, then
try installing the NVIDIA kernel module again.

*** Failed nvidiafb sanity check. Bailing out! ***

make[1]: *** [nvidiafb-sanity-check] Error 1
make: *** [module] Error 2
^[[31;01m*^[[0m
^[[31;01m*^[[0m ERROR: x11-drivers/nvidia-drivers-177.82 failed.
^[[31;01m*^[[0m Call stack:
^[[31;01m*^[[0m ebuild.sh, line 49: Called src_compile
^[[31;01m*^[[0m environment, line 3717: Called linux-mod_src_compile
^[[31;01m*^[[0m environment, line 2734: Called die
^[[31;01m*^[[0m The specific snippet of code:
^[[31;01m*^[[0m eval "emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- $
^[[31;01m*^[[0m The die message:
^[[31;01m*^[[0m 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/li$
^[[31;01m*^[[0m
^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant.
^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/build.log'.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Apr 13, 2009 2:14 pm    Post subject: Reply with quote

VikingB,

The log file tells all in this case. Normally they are not so helpful.
Quote:
Your kernel was configured to include nvidiafb support!

The nvidiafb driver conflicts with the NVIDIA driver, please
reconfigure your kernel and *disable* nvidiafb support, then
try installing the NVIDIA kernel module again.

*** Failed nvidiafb sanity check. Bailing out! ***


You will need to use VESA os uvesa framebuffer support if you really need a frambuffer console.
_________________
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
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Mon Apr 13, 2009 2:55 pm    Post subject: Reply with quote

Or the best is to remove the framebuffer support for at least being able to compile :P
Back to top
View user's profile Send private message
VikingB
Apprentice
Apprentice


Joined: 19 May 2006
Posts: 263
Location: ~Brussels (B)

PostPosted: Wed Apr 15, 2009 8:24 pm    Post subject: Reply with quote

OK, problem solved by removing the nVidia framebuffer

Thanks!
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Thu Apr 16, 2009 1:51 am    Post subject: Reply with quote

Nice :P
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
Page 1 of 1

 
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