Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268127 - virtualbox-modules-2.2.2 fails to modprobe
Summary: virtualbox-modules-2.2.2 fails to modprobe
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 268121 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-01 15:46 UTC by Chris Holcombe
Modified: 2009-05-01 19:46 UTC (History)
1 user (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 Chris Holcombe 2009-05-01 15:46:03 UTC
After merging the newest virtualbox-modules and virtualbox-bin I'm getting a failure to modprobe with the following messages:
vboxdrv: Unknown symbol add_preempt_count
vboxdrv: Unknown symbol debug_smp_processor_id
vboxdrv: Unknown symbol sub_preempt_count

Thinking it was a problem with the newest modules, I went back to the old 2.2.0 modules and got the same errors.  I'm using a 2.6.27 vanilla kernel kernel

Reproducible: Always

Steps to Reproduce:
1. emerge virtualbox-modules
2. emerge virtualbox-bin
3. modprobe vboxdrv and check dmesg for error.

Actual Results:  
modprobe fails and says to check dmesg for the full error message.  

Expected Results:  
The module would insert without errors.  

Here's my emerge --info 

drex-box cjh66 # emerge --info
Portage 2.1.6.11 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r1, 2.6.27 i686)
=================================================================
System uname: Linux-2.6.27-i686-Intel-R-_Core-TM-2_Duo_CPU_T7700_@_2.40GHz-with-glibc2.0
Timestamp of tree: Fri, 01 May 2009 14:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.3-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa avi berkdb bzip2 cli cracklib crypt cups divx4linux dri dv dvdread encode fame fortran gdbm gpm gtk gtk2 iconv ipv6 isdnlog jpeg midi mjpeg mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openmp pam pcre perl pppd python quicktime readline reflection session spl sse sse2 ssl sysfs tcpd unicode vorbis x86 xorg xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Patrick Lauer gentoo-dev 2009-05-01 17:47:58 UTC
You need to have the same kernel config in the configuration ( /usr/src/linux ) and in the active kernel. Otherwise Bad Things May Happen :)

I don't think this is a virtualbox issue, if you recompile your kernel with the current config, recompile the virtualbox modules and then reboot with that new kernel the issue should go away. If not please reopen this bug.
Comment 2 Patrick Lauer gentoo-dev 2009-05-01 19:46:03 UTC
*** Bug 268121 has been marked as a duplicate of this bug. ***