I tried using nvidia-drivers-1.0.9742.ebuild and nvidia-drivers-1.0.9629.ebuild. But, after every installation, 'startx' crashed with the following error message: 0: X(xf86SigHandler+0x85) [0x80cbe18] After some digging with the nVidia people, we found that using the official installation from www.nvidia.com fixes the problem. I attach the output of 'nvidia-bug-report.sh' and the installation log from the official installation wizard.
Created attachment 101865 [details] nVidia bug report
Created attachment 101866 [details] nVidia official installer log
# emerge --info Portage 2.1.1-r1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz Gentoo Base System version 1.12.6 Last Sync: Sat, 11 Nov 2006 22:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa amr apache2 apm arts artswrappersuid asf audiofile bash-completion berkdb bitmap-fonts bluetooth bzip2 cddb cli cracklib crypt css cups curl dbus dlloader dvd dvdr dvdread eds elibc_glibc emboss encode esd expat fame fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimpprint gpm graphviz gs gstreamer gtk2 iconv ieee1394 imagemagick imap imlib input_devices_keyboard input_devices_mouse input_devices_synaptics irda isdnlog ithreads javascript jikes jpeg jpeg2k jython kde kdeenablefinal kernel_linux libcaca libg++ libwww mad mikmod mmx motif mp3 mpeg musepack musicbrainz ncurses nls nptl nptlonly nsplugin nvidia ogg opengl oss pcre perl perlsuid png pppd python qt3 qt4 quicktime readline real reflection rss ruby samba sdl session slp smartcard sndfile spell spl sse sse2 sse3 ssl svga threads tiff truetype truetype-fonts type1-fonts udev unicode urandom usb userland_GNU vcd vhosts video_cards_nvidia vidix vorbis win32codecs wmf xcomposite xforms xml xorg xprint xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
wolf31o2@inertia ~ $ emerge --info emerge -vp nvidia-drivers Portage 2.1.2_rc1-r6 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686) ================================================================= System uname: 2.6.17-gentoo-r8 i686 Genuine Intel(R) CPU T2500 @ 2.00GHz Gentoo Base System version 1.12.5 Last Sync: Mon, 13 Nov 2006 14:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -msse3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -msse3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache cvs distcc distlocks metadata-transfer notitles sandbox sfperms sign" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://194.117.143.69 http://212.219.56.135/sites/www.ibiblio.org/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LC_ALL="en_US.UTF-8" LINGUAS="en de" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/vmware" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa branding cairo cdr crypt cups dbus dlloader dvd dvdr eds elibc_glibc encode esd ethereal evo fam firefox gif gnome gphoto2 gstreamer gtk gtk2 hal input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics java jpeg kernel_linux ldap linguas_de linguas_en mmx mp3 mpeg ncurses nls nocd nptl nptlonly ogg openal opengl oss pam pcmcia pdf perl pic png pnp ppds quicktime readline samba snmp spell sse sse2 ssl svg tcpd tiff truetype trusted udev unicode usb userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa videos vorbis win32codecs xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS wolf31o2@inertia ~ $ emerge -vp nvidia-drivers These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] x11-drivers/nvidia-drivers-1.0.9742 USE="dlloader" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB As you can probably guess, it works perfectly for me. What *exactly* is different between the official install and an ebuild install that you think is causing this issue? Is there a missed library or something?
I could try to guess: some new nVidia installer steps that the ebuild doesn't perform? Or perhaps this, from the installation log: """ -> Validating previous installation: -> Unable to access previously installed file '/lib/modules/2.6.16-gentoo-r9/kernel/drivers/video/nvidia.ko' (No such file or directory). """
Portage 2.1.1-r2 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.4-r4, 2.6.15-gentoo-r5 x86_64) ================================================================= System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System version 1.12.6 Last Sync: Mon, 04 Dec 2006 11:50:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=k8" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.etf.bg.ac.yu/gentoo ftp://mirror.etf.bg.ac.yu/gentoo/ " LINGUAS="en sr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acl acpi aim alsa apache apache2 apm auidofile bash-completion bcmath berkdb bidi bitmap-fonts blas bluetooth bonobo bzip2 calendar canna cdb cdparanoia cdr chasen cjk clamav cli cracklib crypt cups curl curlwrappers dbus dga directfb dlloader doc dri dv dvd dvdr dvdread eds elibc_glibc emboss emul-linux-x86 encode esd evo expat fam fbcon ffmpeg fftw firefox flac flash foomaticdb fortran freewnn ftp gb gcj gif ginac glut gphoto2 gpm gps graphviz gstreamer gtk gtk2 gtkhtml guile hal iconv icq imagemagick imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber java javascript joystick jpeg jpeg2k kde kdeenablefinal kernel_linux ldap libcaca libg++ libgda libmng libwww linguas_en linguas_sr lirc lua lzw lzw-tiff mad matroska mikmod mime mono mp3 mpeg msn mysql ncurses nls nptl ogg opengl oscar pam pcre pda pdf perl php plotutils png posix pppd python qt3 qt4 quicktime readline reflection ruby samba sasl scanner sdl session simplexml sockets speex spell spl sqlite3 ssl startup-notification svg szip tcl tcltk tcpd tetex theora threads tidy tiff tk tokenizer truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l vcd vhosts video_cards_fbdev video_cards_nvidia video_cards_vesa vorbis wifi wmf wxwindows xine xinetd xml xorg xosd xpm xv yahoo zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Your /usr/src/linux symlink is not pointing to your currently running kernel. Please correct the issue and retest with a newer nvidia-drivers version.