# modprobe nvidia FATAL: Error inserting nvidia (/lib/modules/2.6.12-gentoo-r4/video/nvidia.ko): Unknown symbol in module, or unknown parameter (see dmesg) # dmesg nvidia: Unknown symbol pm_register nvidia: Unknown symbol inter_module_get nvidia: Unknown symbol add_preempt_count nvidia: Unknown symbol pm_unregister nvidia: Unknown symbol sub_preempt_count nvidia: Unknown symbol page_address (Tried all versions of nvidia-kernel, in stable and testing) Reproducible: Always Steps to Reproduce: 1. emerge =nvidia-kernel-1.0.***** 2. modprobe nvidia Actual Results: See above Expected Results: Load nvidia module # emerge --info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.12-gentoo-r4 i686) ================================================================= System uname: 2.6.12-gentoo-r4 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -march=athlon-xp" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/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 -mcpu=i686 -fomit-frame-pointer -march=athlon-xp" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk ftp://mirrors.blueyonder.co.uk/mirrors/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 X aac alsa apache2 apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode esd fam foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl pam pdflib perl png python quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY # uname -r 2.6.12-gentoo-r4 (Custom Built kernel - .config available on request) gfx - nVidia GeForge 4 Ti 4800
The link inside /lib/modules/2.6.12-gentoo-r4/ and /usr/src/linux both point the correct kernel-source? Have you changed .config since you compiled and booted your kernel? Try to make bzImage and boot that kernel. Preempt symbols are atleast optional and comes from macros that depens on kernel-config.
No, compiled kernel, booted, installed nvidia-kernel, modprobed. I will try once again next weekend to recompile kernel, and then install nvidia-kernel again, but I am sure that I didn't change .config inbetween. Also, I only have one kernel source installed, and /usr/src/linux is pointing to that source. I have an inkling it may be due to kernel config options, but know so little about them I can't really speculate.
> I have an inkling it may be due to kernel config options, but know so little > about them I can't really speculate. Could you test one more thing after making, and booting the kernel and it fails. Try to change the kernel pre-emptation. Can be that the nvidia source depends on it beeing enabled for instance.
I upgraded to kernel 2.6.12-r6, and the problem did not occur. Had pre-empting on before, and again this time. I can upload both .config files if you like, to see if the problem is within those options. Now, however, nvidia loads fine. Rhys