When I try to insert the nvidia module using modprobe, I get an error message that the module is not found. That's true, because the module is not there even though I have emerged nvidia-glx. Even when I copy the modules nvidia.o from my 2.4 kernel modules directory to my 2.6 kernel modules directory, I get an error when inserting the module. Works fine with the 2.4 kernel, but all these problems began with the switch to the 2.6 kernel. Reproducible: Always Steps to Reproduce: 1.modprobe nvidia 2. 3. Actual Results: FATAL: Modules nvidia not found. Then I copied nvidia.o from /lib/modules/2.4.25-gentoo-r2 to /lib/modules/2.6.11-gentoo-r6 and did a depmod to update /lib/modules/2.6.11-gentoo-r6/modules.dep and again ran #modprobe nvidia this time getting this error message: FATAL: Error inserting nvidia /lib/modules/2.6.11-gentoo-r6/video/nvidia.o: Invalid module format Expected Results: inserted the module and said nothing Gentoo Base System version 1.4.16 Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.90GHz Python: dev-lang/python-2.3.5 [2.3.5 (#1, Apr 30 2005, 04:14:46)] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.chem.wisc.edu/gentoo ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/ http://212.219.247.21/sites/www.ibiblio.org/gentoo/" MAKEOPTS=" -j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl dvd eds emboss encode esd fam flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 howl imagemagick imlib ipv6 java jpeg kde kerberos libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba scanner sdl slang spell ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb vorbis x86 xine xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY Important: modprobe works when I boot into the 2.4 version, but not when I boot in to 2.6.
Huh? This is totally wrong way to do it. The modules need to be re-emerged, not copied over from 2.4 to 2.6 kernel modules directory. They are not compatible at all, 2.6 kernels use nvidia.ko, not nvidia.o Run 'emerge nvidia-kernel nvidia-glx' after any kernel upgrade.
*** Bug 95197 has been marked as a duplicate of this bug. ***