After an kernel update to gentoo-dev-sources-2.6.9-r1, the nvidia kernel module builds, but it fails at load time. When it tries to load, fails with the following message: Oct 21 22:55:47 panza nvidia: Unknown symbol __VMALLOC_RESERVE It worked well until gentoo-dev-sources-2.6.8-r10. Reproducible: Always Steps to Reproduce: 1. emerge '=gentoo-dev-sources-2.6.9-r1' 2. rm -f /usr/src/linux 3. cd /usr/src 4. ln -s linux-2.6.9-gentoo-r1 linux 5. cd linux 6. zcat /proc/config.gz > .config 7. make oldconfig && make && make install && make modules_install && emerge nvidia-kernel 8. adjust GRUB/LILO config and reboot Actual Results: The nvidia module doesn't load and X Windows can't start Expected Results: The nvidia module loads and X Windows start Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r10 i686) ================================================================= System uname: 2.6.8-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fforce-addr -fprefetch-loop-arrays -funroll-loops -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs candy ccache collision-protect distlocks sandbox" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://mirror.datapipe.net/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo http://www.ibiblio.org/gentoo http://gentoo.osuosl.org" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X Xaw3d aalib acl acpi alsa avi berkdb bitmap-fonts caps cdr crypt cscope cups curl dga directfb divx4linux dvd encode esd evo f77 fbcon flac flash foomaticdb gcj gd gdbm gif gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib innodb ipv6 jack java joystick jpeg kerberos krb4 lcms ldap libg++ libgda libwww mad mbox mcal mdb mikmod milter mmap mmx mng motif mozilla mpeg mssql mysql ncurses nls nptl oggvorbis opengl oss pam pda pdflib perl pic plotutils png postgres ppds prelude python qt quicktime readline samba sasl scanner sdl slang slp snmp speex spell sse ssl svg tcltk tcpd tetex theora tiff truetype unicode usb wmf x86 xinerama xml xml2 xmms xprint xv xvid zlib video_cards_nvidia"
Created attachment 42392 [details] The config file used to compile the affected kernel
Created attachment 42393 [details] The CORRECT config file used to compile the kernel Please, delete the one above. This is the right stuff.
And IDE probing runs into timeouts though "hdx=none hdy=none" is given at kernel prompt.
Using version 1.0.6111-r2 of the module seems to fix the problem. However, this one is not yet in the stable tree.
xfree people : A lot of kernel stuff has been changed in the latest kernels, I think we might nearly be best of marking 6111-r2 stable. I need opinions on that, because if you dont agree we're going to have to back port all the 6111 patches to basically all the nvidia-kernel versions.
Fine by me, it's been in nearly 3 weeks.
except that these new drivers have problems with the refresh rate in Neverwinter nights: the screen flickers at 1024x764, but some higher and lower resolutions work fine..
Same problem. When you put stable the new nvidia driver ?
If the time is not yet ripe to switch to this NVIDIA driver version, there seems to be a small patch to the kernel that solves the issue: http://forums.gentoo.org/viewtopic.php?t=241113&highlight=vmalloc
I'd be in favor of the kernel patch option, as I've just confirmed that the refresh rates problems I have with 1.0-6111 don't occur with 1.0-5336.
Need to resolve that bug first guys.
Created attachment 42628 [details, diff] patch for 1.0.5336 Thsi patch fixes build problems by placing missing macro inside nvidia module, not kernel. It works stable for some time on my machine with 1.0.5336-r4 driver.
Well, hoping the patch would released as soon as possible. I got full data loss when using nvidia-kernel-1.0.6111-r2 in combination with fbsplash. When I opened Firefox my systems freezed. When I rebooted the system my data has gone. ReiserFS structure was currupted. Therefore I hoping of using 1.0.5336 with 2.6.9 kernel.
Created attachment 43246 [details, diff] Other NVidia patch 2.6.9-r1 Hi, I found this patch on the net and it WorksForMe. Since it's different from the other proposed one I post it here (who knows better will decide what to apply). The patched file is also removed. My version of nvidia-kernel is 1.0.5336-r4, the sources are of course gentoo-dev-sources-2.6.9-r1. Notice that the patched file is different as well.
5336 has been keyword masked, if things go horibly wrong we can always unmask some of the older versions, but for the time being 6111-r3 (stable) and 6629 are available for your gl delights. I see no reason for the dep, and its closed now so removing also. Please confirm if this is all good with the newer versions.
OK closing here as the newer versions are going fine with the general populous.