Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40107 - nvidia-kernel-1.0.5336-r1 - unresolved symbols from sysfs patch
Summary: nvidia-kernel-1.0.5336-r1 - unresolved symbols from sysfs patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High blocker (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-01 11:55 UTC by Tobias Klausmann (RETIRED)
Modified: 2004-02-06 11:27 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2004-02-01 11:55:16 UTC
[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"
Comment 1 André Terpstra 2004-02-01 13:08:52 UTC
Same problem here with 5336-r1 (5336 seems to be OK)
Comment 2 André Terpstra 2004-02-01 13:33:56 UTC
In fact, downgrading to 53.36 does solve the problem.
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-01 14:08:55 UTC
Azarah could you look at this? It's related to your sysfs patch.
Comment 4 Markus Liebl 2004-02-01 19:52:41 UTC
class_simple support was added in kernel 2.6.2-rc1, but gentoo-dev-sources is only 2.6.1.
Comment 5 ferret 2004-02-02 07:52:59 UTC
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?
Comment 6 Tobias Klausmann (RETIRED) gentoo-dev 2004-02-02 09:43:20 UTC
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.

Comment 7 Stephen 2004-02-02 13:42:51 UTC
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?
Comment 8 Derk W te Bokkel 2004-02-03 16:51:56 UTC
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"

Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-03 16:56:47 UTC
Derk, that issue is completely unrelated to this bug, please file a new one.
Comment 10 Dan A. Dickey 2004-02-03 17:30:50 UTC
Something is buggy with the conftest.sh script for class_simple.
With the default $(INCLUDES) it passes in, it produces "yes".
Otherwise, "no".
Comment 11 Tobias Klausmann (RETIRED) gentoo-dev 2004-02-04 14:56:15 UTC
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.
Comment 12 butters 2004-02-05 11:11:56 UTC
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.
Comment 13 Stephen 2004-02-05 11:14:50 UTC
my previous problems in comment #7 are now resolved after i upgraded to kernel 2.6.2
Comment 14 Donnie Berkholz (RETIRED) gentoo-dev 2004-02-05 11:45:08 UTC
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. 
Comment 15 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-05 20:22:59 UTC
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.
Comment 16 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-06 11:27:54 UTC
Should be fixed now.