Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 74950 - nvidia-kernel Unknown symbol _smp_processor_id
Summary: nvidia-kernel Unknown symbol _smp_processor_id
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
: 74993 75124 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-12-19 10:10 UTC by Bas van Dijk
Modified: 2005-07-25 21:12 UTC (History)
11 users (show)

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


Attachments
ebuild has been edited to exclude the smp patch on preempt settings. (nvidia-kernel-1.0.6629-r1.ebuild,4.58 KB, text/plain)
2004-12-19 12:35 UTC, Jory A. Pratt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bas van Dijk 2004-12-19 10:10:31 UTC
When modprobing nvidia module 1.0.6629-r1,

the kernel gives the following error:

dmesg | grep nvidia
nvidia: Unknown symbol _smp_processor_id

I dont't have "Symmetric multi-processing support" in my kernel (CONFIG_SMP)

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Mark Felder 2004-12-19 10:37:10 UTC
I have this exact same problem. No SMP in my kernel.
Comment 2 Jory A. Pratt 2004-12-19 12:35:23 UTC
Created attachment 46364 [details]
ebuild has been edited to exclude the smp patch on preempt settings.

this is the correct ebuild to fix the problem there is a patch being used that
is  not needed anymore. I have successfully compiled it without any further
error.
Comment 3 Andrew Bevitt 2004-12-19 13:08:00 UTC
Please attach diffs against ebuilds for future reference.

Also, we cannot willy nilly remove a patch, the patch is still required for certain kernel versions, please change your ebuild to do so, and attach a diff.
Comment 4 Ivan Yosifov 2004-12-19 13:34:35 UTC
I have the same problem. I *do* have CONFIG_SMP in my kernel.

Ivan Yosifov.
Comment 5 Timo Gurr (RETIRED) gentoo-dev 2004-12-19 15:48:55 UTC
Same problem here when using 1.0.6629-r1, downgrading to 1.0.6629 fixed it for me.
Comment 6 Andrew Bevitt 2004-12-19 16:28:58 UTC
Which kernel versions are you using?
Comment 7 Timo Gurr (RETIRED) gentoo-dev 2004-12-19 16:54:56 UTC
sys-kernel/gentoo-dev-sources-2.6.9-r10 without SMP.

Linux workstation 2.6.9-gentoo-r10 #3 Mon Dec 20 00:34:39 CET 2004 i686 AMD Athlon(tm) XP 3000+ AuthenticAMD GNU/Linux
Comment 8 Sven Wegener gentoo-dev 2004-12-19 17:23:17 UTC
*** Bug 74993 has been marked as a duplicate of this bug. ***
Comment 9 Sven 2004-12-19 20:02:49 UTC
same problem here, with vanilla 2.6.9 and CONFIG_PREEMPT=y
Comment 10 Jory A. Pratt 2004-12-19 21:09:27 UTC
this patch is useless unless your running a 2.6.5 kernel maybe 2.6.6 other then that 2.6.7 does not need it and nothing further does.
Comment 11 Ivan Yosifov 2004-12-20 00:52:34 UTC
I am using sys-kernel/development-sources2.6.10_rc3
Comment 12 Nick Demchenko 2004-12-20 05:17:56 UTC
Got the same problem, obvious solution would be the ebuild provided. But I have some odd prblem with all nvidia-kernel modules: none of them will load. The error message refers to a wrong format of the driver binary, which shouldn't be the case. Although, I've had a formerly compiled 1.0.6111-r3 driver binary, replaced the new one with that, and it works again. I've tried different gcc versions I have, i.e. 3.3.2, 3.3.3 and 3.4.3, none of the three has worked, despite the fact I had compiled the driver previously with the 3.3.3 GCC release. I'm clueless. As for the kernel version, it hasn't changed since then, it's still 2.6.8-ck7. Another fact is that this odd issue has occured since I installed the new nvidia-kernel revision, that's nvidia-kernel 1.0.6629-r1. Previously it had worked flawlessly. Now I can't get even prior nvidia kernel modules properly built.
If I'm missing something, please let me know, as well as if it's already answered somewhere else, please point me to the answer.
Comment 13 Mr. Borje Holmberg 2004-12-20 05:45:03 UTC
Same propblem here with the smp processor id.

I just solved it by reemerging the previous kernel. If it won't be fixed, I guess I will have to boot nvivia-kernel into /etc/portage/package.mask, otherwise it will fuck up the emerge -uDav world completely.

BTW, I have gentoo-dev-sources 2.6.9-r9

Merry Christmas
Comment 14 David Pyke 2004-12-20 06:05:35 UTC
I have the same problem.  No SMP, no Pre-empt

Linux www 2.6.9-gentoo-r9 #1 Thu Dec 9 09:15:10 EST 2004 x86_64 AMD Opteron(tm) Processor 142 AuthenticAMD GNU/Linux

Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r9 x86_64 AMD Opteron(tm) Processor 142
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.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=opteron -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=opteron -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 apm audiofile avi bash-completion berk-db berkdb bitmap-fonts bmp bonobo bzlib cdr crypt cups dvd dvdr encode esd evo f77 fam fbcon flac foomaticdb fortran gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib ipv6 jack java jp2 jpeg kde libwww lzw lzw-tiff mad maildir mbox mime mimemmap mpeg msn multilib mysql ncurses nls odbc offensive oggvorbis openal opengl oscar oss pam pda pdflib perl php png ppds python qt quicktime readline samba sdl sndfile snmp soap sockets sox speex spell ssl tcltk tcpd theora tidy tiff truetype usb userlocales videos wxwindows xine xinerama xml xml2 xmms xpm xprint xrandr xv xvid zlib"
Comment 15 Volker Hemmann 2004-12-20 06:57:35 UTC
Hi,

here too, with 2.6.9-r8.

This is the second time in 7 days I got bit by a patch, that is not needed anymore....
Comment 16 Andrew Bevitt 2004-12-20 16:59:55 UTC
./include/linux/smp.h:# define _smp_processor_id() smp_processor_id()

Bit of old grep is good... patch has been removed in cvs.

Fixed in cvs.
Comment 17 Tony Vroon (RETIRED) gentoo-dev 2004-12-20 23:26:31 UTC
*** Bug 75124 has been marked as a duplicate of this bug. ***