Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 293019 - app-emulation/virtualbox-modules-3.0.10 can't be loaded
Summary: app-emulation/virtualbox-modules-3.0.10 can't be loaded
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2009-11-13 12:33 UTC by Paulo J. Matos
Modified: 2009-11-29 01:55 UTC (History)
0 users

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

Log file of interaction to module loading (log,23.25 KB, text/plain)
2009-11-18 15:51 UTC, Paulo J. Matos

Note You need to log in before you can comment on or make changes to this bug.
Description Paulo J. Matos 2009-11-13 12:33:16 UTC
Portage (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.11-r0, 2.6.31-gentoo-r2 x86_64)
System uname: Linux-2.6.31-gentoo-r2-x86_64-Intel-R-_Pentium-R-_D_CPU_3.40GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 12 Nov 2009 16:45:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=native -O2 -pipe"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/X11/xkb /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -O2 -pipe"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
LINGUAS="en pt de"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="64bit X a52 aac acl acpi addressbook alsa amd64 applet auctex autotrace avahi bash-completion berkdb bluetooth branding bzip2 cairo capi caps cdda cddb cdr cdrom chipcard cleartype cli consolekit context cracklib crypt css csv cups cupsddk curl daap dbus deskbar detex disk-partition djvu dri dts dvb dvd dvdr dvi2tty dvipdfm ebook ecsteve ecsteve2 eds elf elisp emacs emacs22icons emboss encode evo exif expat extra extra-algorithms extras extratools faac faad fam fat fax ffmpeg fftw firefox firefox3 flac flash flickr fltk fontconfig fontforge foomatic foomaticdb fortran fuse games gconf gdbm ggi gif gimp gmp gnome gnutls gpm graphics graphviz gs gsf gstreamer gtk guile h323 hal hbci humanities iconv int64 ipv6 jadetex java java6 javascript jpeg jpeg2k karma kdrive kpathsea lame latex latex3 ldap libextractor libffi libnotify libssh2 lua mad md5sum mikmod mmx modules mono mp3 mp4 mpeg mpi mtp mudflap multilib music mysql nautilus ncurses networking nls nptl nptlonly nsplugin ntfs odk ofx ogg omega opengl openmp pam pango pcre pdf perl plotutils png ppds pppd preview-latex pstricks publishers python qt3 qt3support qt4 quicktime quotes readline reflection reiser4 reiserfs scanner science sdl server session sip smp sourceview speex spell spl sqlite sqlite3 srtp sse sse2 ssl startup-notification stats subversion svg swig sysfs taglib tcl tcpd templates tex tex4ht theora thunar tiff tk toolkit-scroll-bars tracker truetype type3 unicode usb vorbis wav webkit wifi wmf wxwidgets x264 xcomposite xft xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt de" USERLAND="GNU" VIDEO_CARDS="vesa nvidia fbdev" 

Reproducible: Always

Steps to Reproduce:
1. Emerge virtualbox and the modules
2. Emerge discusses problem with and tells that you need to run depmod manually.
3. I run `sudo depmod`
4. I get:
$ sudo modprobe vboxdrv
FATAL: Error inserting vboxdrv (/lib/modules/2.6.31-gentoo-r2/misc/vboxdrv.ko): Invalid module format

Actual Results:  
$ sudo modprobe vboxdrv
FATAL: Error inserting vboxdrv (/lib/modules/2.6.31-gentoo-r2/misc/vboxdrv.ko): Invalid module format

Expected Results:  
Module loaded properly.
Comment 1 Patrick Lauer gentoo-dev 2009-11-13 17:36:58 UTC
This looks like your kernel symlink ( /usr/src/linux ) is wrong or something else is missing. "dmesg" should give a bit more information why this doesn't work.
Comment 2 Paulo J. Matos 2009-11-14 01:43:09 UTC
From dmesg I get:
vboxdrv: no symbol version for module_layout
Comment 3 Patrick Lauer gentoo-dev 2009-11-16 16:18:03 UTC
This looks like your running kernel and /usr/src/linux are not the same, so the module can't work. Please make sure that this is all correct.
Comment 4 Paulo J. Matos 2009-11-16 17:13:50 UTC
I know that and as far as I know the kernel I emerged the modules with is the same as the kernel I am trying to load the modules.
Comment 5 Paulo J. Matos 2009-11-18 15:51:23 UTC
Created attachment 210580 [details]
Log file of interaction to module loading
Comment 6 Paulo J. Matos 2009-11-18 15:51:45 UTC
Check attachment 210580 [details]. What else do you need?
Comment 7 David Abbott gentoo-dev 2009-11-29 01:09:39 UTC
Try with a fresh kernel 2.6.31-r6 and symlink. Recompile and install the kernel, boot into it and Emerge virtualbox and the modules, any luck?
Comment 8 Paulo J. Matos 2009-11-29 01:55:38 UTC
It works after compiling r6. Wonder why...