[root@hiro root]# modprobe nvidia FATAL: Error inserting nvidia (/lib/modules/2.6.1/video/nvidia.ko): Unknown symbol in module, or unknown parameter (see dmesg) [root@hiro root]# dmesg |tail FDC 0 is a post-1991 82077 hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) Uniform CD-ROM driver Revision: 3.12 hdd: ATAPI 48X DVD-ROM drive, 128kB Cache, UDMA(33) nvidia: no version magic, tainting kernel. nvidia: module license 'NVIDIA' taints kernel. nvidia: Unknown symbol class_simple_device_add nvidia: Unknown symbol class_simple_destroy nvidia: Unknown symbol class_simple_device_remove nvidia: Unknown symbol class_simple_create [root@hiro root]# emerge info: Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1) ================================================================= System uname: 2.6.1 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.4.3.12 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox userpriv usersandbox" GENTOO_MIRRORS="http://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm avi berkdb bonobo cdr crypt cups dga dvd encode esd exif foomaticdb gdbm ggi gif gphoto2 gpm gtk gtk2 guile imlib jack java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline scanner sdl slang snmp spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"
Same problem here with 5336-r1 (5336 seems to be OK)
In fact, downgrading to 53.36 does solve the problem.
Azarah could you look at this? It's related to your sysfs patch.
class_simple support was added in kernel 2.6.2-rc1, but gentoo-dev-sources is only 2.6.1.
I'm assuming Martin isn't on xfree@gentoo.org ... I've had reports of several people getting this, all running on 2.6 kernels, all using 2.4 kernel headers. I use 2.6 kernel headers and it works fine. Could that be an issue here?
I tried merging sys-kernel/linux-headers-2.6.0 but it was masked, so I added it to /etc/portage/package.unmask. It *still* was masked, so I emerged it by using ebuild compile, install, qmerge. Then I updated nvidia-kernel to the -r1 version. Still the exact same error.
Same problem here, but seems to be worse: kernel 2.6.1, was using the 5328 release with no problems. After i emerged the new nvidia drivers, my portage started complaining that my profile was old and no longer supported, please upgrade to hardened.x86_2004 or somehting similar. ( First off, i dont know what this means, i googled for it found nothing. but emerge sync again stopped that message from being displayed ). Anyways from then on, i have been unable to use these drivers due to the errors above. So i downgraded back to the old version i was running just fine, but no go - still the same errors. I even downloaded them from the nvidia site and used their installer (as a side note, it told me i had version 4495 or something installed, which i did not), but i still have the same errors. What is going on?
Found this version of nvidia driver unstable with the a 2.6.1-win4lin patched kernel nvidia-{kernel/glx}-1.0-5328-r1 is stable .. 5336 drivers will not make it past starting my 3 X sessions .. crashes repeatedly .. had to use a gentoo install CD to recover as I could not stop gdm in time .. I am running 2.6.0 headers as well. emerge info Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.6.1) ================================================================= System uname: 2.6.1 i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.4.3.12 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-mcpu=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /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/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-mcpu=athlon-xp -O3 -pipe" DISTDIR="/home/extrabig/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/home/extrabig/portage/packages" PORTAGE_TMPDIR="/home/extrabig/tmp" PORTDIR="/home/extrabig/portage" PORTDIR_OVERLAY="/home/derk/portage" SYNC="rsync://192.168.4.11/gentoo-portage" USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib jack java jpeg kde libg++ libwww mad mikmod motif mozilla mpeg ncurses nls ofx oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang spell ssl svga tcltk tcpd tetex truetype usb x86 xml xml2 xmms xv zlib"
Derk, that issue is completely unrelated to this bug, please file a new one.
Something is buggy with the conftest.sh script for class_simple. With the default $(INCLUDES) it passes in, it produces "yes". Otherwise, "no".
As Markus Liebls comment (#4) suggests, the problem goes away when updating the kernel to 2.6.2 (vanilla in my case). Still, there should be some sort of workaround for 2.6.1/2.6.0. For me, nothing is broken with 2.6.2, but there might people who have to/want to stick with older 2.6 kernels.
I personally don't like the fact that, even with all these problems, this package is still there, plaguing me when I go to update my world. I'm having to use a 2.6.1 kernel until gentoo-dev-sources gets updated.
my previous problems in comment #7 are now resolved after i upgraded to kernel 2.6.2
butters: mkdir /etc/portage echo "=media-video/nvidia-kernel-1.0.5336-r1" >> /etc/portage/package.mask for whichever versions you don't want, repeat.
Sorry, I get near a thousand mails per day these days. I will have a look why conftest.sh fails tonigh, as need to go to work now.
Should be fixed now.