Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68492 - nvidia module (nvidia-kernel-1.0.5336-r4) doesn't load with gentoo-dev-sources-2.6.9-r1
Summary: nvidia module (nvidia-kernel-1.0.5336-r4) doesn't load with gentoo-dev-source...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-21 21:39 UTC by CFuga
Modified: 2004-11-09 17:29 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The config file used to compile the affected kernel (config-2.6.9-gentoo-r1,32.78 KB, text/plain)
2004-10-21 21:40 UTC, CFuga
Details
The CORRECT config file used to compile the kernel (config-2.6.9-gentoo-r1,32.78 KB, text/plain)
2004-10-21 21:43 UTC, CFuga
Details
patch for 1.0.5336 (NVIDIA_kernel-1.0-5336-vmalloc_reserve.patch,420 bytes, patch)
2004-10-26 07:12 UTC, Lazar Obradovic
Details | Diff
Other NVidia patch 2.6.9-r1 (nvidia_compat.diff,501 bytes, patch)
2004-11-03 16:28 UTC, Federico Zenith
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description CFuga 2004-10-21 21:39:00 UTC
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"
Comment 1 CFuga 2004-10-21 21:40:09 UTC
Created attachment 42392 [details]
The config file used to compile the affected kernel
Comment 2 CFuga 2004-10-21 21:43:29 UTC
Created attachment 42393 [details]
The CORRECT config file used to compile the kernel

Please, delete the one above. This is the right stuff.
Comment 3 Andreas Waschbuesch 2004-10-22 03:53:21 UTC
And IDE probing runs into timeouts though "hdx=none hdy=none" is given at kernel prompt.
Comment 4 Peter Bienstman (RETIRED) gentoo-dev 2004-10-22 10:20:19 UTC
Using version 1.0.6111-r2 of the module seems to fix the problem. However, this one is not yet in the stable tree.
Comment 5 Andrew Bevitt 2004-10-22 17:55:14 UTC
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.
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-22 22:32:51 UTC
Fine by me, it's been in nearly 3 weeks.
Comment 7 Peter Bienstman (RETIRED) gentoo-dev 2004-10-23 01:52:36 UTC
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..
Comment 8 Antonio 2004-10-24 02:58:26 UTC
Same problem.
When you put stable the new nvidia driver ?
Comment 9 Peter Bienstman (RETIRED) gentoo-dev 2004-10-25 06:29:37 UTC
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
Comment 10 Peter Bienstman (RETIRED) gentoo-dev 2004-10-25 12:54:33 UTC
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.
Comment 11 Andrew Bevitt 2004-10-25 15:21:19 UTC
Need to resolve that bug first guys.
Comment 12 Lazar Obradovic 2004-10-26 07:12:49 UTC
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.
Comment 13 tuXXer 2004-10-31 14:19:18 UTC
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. 
Comment 14 Federico Zenith 2004-11-03 16:28:22 UTC
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.
Comment 15 Andrew Bevitt 2004-11-06 18:12:53 UTC
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.
Comment 16 Andrew Bevitt 2004-11-09 17:29:53 UTC
OK closing here as the newer versions are going fine with the general populous.