Error in Running VirtualBox (VirtualBox kernel modules)

hi all i am using OpenSuSe 13.1 and installed VirtualBox 4.3
it wants me i enter

 /etc/init.d/vboxdrv setup

after enter that command it get me below error:

Stopping VirtualBox kernel modules                                   done
Removing old VirtualBox pci kernel module                            done
Removing old VirtualBox netadp kernel module                         done
Removing old VirtualBox netflt kernel module                         done
Removing old VirtualBox kernel module                                done
Recompiling VirtualBox kernel modules                                done
Starting VirtualBox kernel modules                                   failed
  (modprobe vboxdrv failed. Please use 'dmesg' to find out why)

and when i use command dmesg it get me below(last line), i dont understand what do? can anyone help me, tnx!


  174.110354] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC= SRC=fe80:0000:0000:0000:0224:1dff:feed:e480 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44 
  256.002214] vboxdrv: no symbol version for module_layout
  302.113775] SFW2-INext-DROP-DEFLT IN=enp2s0 OUT= MAC= SRC=fe80:0000:0000:0000:0224:1dff:feed:e480 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=84 TC=0 HOPLIMIT=255 FLOWLBL=0 PROTO=UDP SPT=5353 DPT=5353 LEN=44 
  317.850133] vboxdrv: no symbol version for module_layout

How?
Apparently via the RPM downloaded from http://virtualbox.org, but which one exactly? There’s a version for 12.3 and 11.4 IIRC.

it wants me i enter

 /etc/init.d/vboxdrv setup

after enter that command it get me below error:

Did vboxdrv setup give any error message? Did you run it as root?

and when i use command dmesg it get me below(last line), i dont understand what do? can anyone help me, tnx!

317.850133] vboxdrv: no symbol version for module_layout

This means that something went wrong when compiling that module.
Probably you didn’t have all necessary kernel development packages installed.

Which ones do you have?

rpm -qa kernel*

I’m not 100% sure which ones are needed exactly for VirtualBox, I always use virtualbox from the openSUSE repositories.
Those come with a precompiled kernel module that just works (as long as you use the kernel included in openSUSE at least, but there’s also a version for the kernel from Kernel:stable).

So if you cannot get it to work, the openSUSE packages might be an alternative for you as well. OpenSUSE 13.1 comes with 4.2.18, but the latest version is available in the “Virtualization” repo, which you can find in YaST->Software Repositories’ “Community Repositories” list. (i.e. click on “Add” and choose “Community Repositories”)

tnx very lot for yor answer…!

Apparently via the RPM downloaded from http://virtualbox.org, but which one exactly? There’s a version for 12.3 and 11.4 IIRC.

this is my download link:

http://download.virtualbox.org/virtualbox/4.3.14/VirtualBox-4.3-4.3.14_95030_openSUSE123-1.x86_64.rpm

Did vboxdrv setup give any error message?

when i enter command sudo /etc/init.d/vboxdrv setup, it get me only below error:

Stopping VirtualBox kernel modules                                   done
Removing old VirtualBox pci kernel module                            done
Removing old VirtualBox netadp kernel module                         done
Removing old VirtualBox netflt kernel module                         done
Removing old VirtualBox kernel module                                done
Recompiling VirtualBox kernel modules                                done
Starting VirtualBox kernel modules                                   failed
  (modprobe vboxdrv failed. Please use 'dmesg' to find out why)

Which ones do you have?

          rpm -qa kernel* 

out put for above command is:

kernel-devel-3.11.10-17.2.noarch
kernel-xen-devel-3.11.10-17.2.x86_64
kernel-desktop-3.11.6-4.1.x86_64
kernel-desktop-devel-3.11.10-17.2.x86_64
kernel-syms-3.11.10-17.1.x86_64
kernel-default-devel-3.11.10-17.2.x86_64
kernel-source-3.11.10-17.2.noarch
kernel-firmware-20130714git-2.1.1.noarch

I always use virtualbox from the openSUSE repositories

i have installed from out of OpenSuSe repository, how can i unistall current version and install from that?

Ok, this should work on 13.1.

when i enter command sudo /etc/init.d/vboxdrv setup, it get me only below error:

Stopping VirtualBox kernel modules                                   done
Removing old VirtualBox pci kernel module                            done
Removing old VirtualBox netadp kernel module                         done
Removing old VirtualBox netflt kernel module                         done
Removing old VirtualBox kernel module                                done
Recompiling VirtualBox kernel modules                                done
Starting VirtualBox kernel modules                                   failed
  (modprobe vboxdrv failed. Please use 'dmesg' to find out why)

So that output was from vboxdrv setup.
Sorry for not noticing (actually it occured to me to be the case after I replied), but it should give a lot more output when the build fails.

out put for above command is:

kernel-devel-3.11.10-17.2.noarch
kernel-xen-devel-3.11.10-17.2.x86_64
kernel-desktop-3.11.6-4.1.x86_64
kernel-desktop-devel-3.11.10-17.2.x86_64
kernel-syms-3.11.10-17.1.x86_64
kernel-default-devel-3.11.10-17.2.x86_64
kernel-source-3.11.10-17.2.noarch
kernel-firmware-20130714git-2.1.1.noarch

Update your system!
You only have kernel-desktop 3.11.6 installed, but the kernel-*-devel and kernel-source packages are version 3.11.10. This cannot work.

So run “sudo zypper up” (or enter YaST->Online Updates) and then “vboxdrv setup” again and it should work.

i have installed from out of OpenSuSe repository, how can i unistall current version and install from that?

You should never install both versions at the same time. They contain the same files and overwrite each others (at least partially), you might end up with an incompatible/not-working mix of files especially if there is an update.

If you want to use the openSUSE version, uninstall Oracle’s version in YaST, the package’s name is VirtualBox-4.3, or run:

sudo zypper rm VirtualBox-4.3

If you want to use Oracle’s version, uninstall the openSUSE packages again (virtualbox, virtualbox-host-kmp-desktop, virtualbox-qt).

Afterwards you have to re-install the version you want to use, as uninstalling the other one will remove some necessary files (as said, they have file conflicts). You can re-install packages in YaST by right-clicking and choosing “Update Unconditionally”, or using zypper’s “-f” switch.
Or just uninstall them all, and then install the wanted ones.

You only have kernel-desktop 3.11.6 installed, but the kernel-*-devel and kernel-source packages are version 3.11.10. This cannot work.

hummmm, tnx

Update your system!

yes i will update my system as your solution but i have a other question from you about update… i install OpenSuSE 2 days a ago… when i update(by command ‘sudo zypper up’) it want me download more than 699.7 MB to upgrade and NEW install package on my sytem…it is very big (for me and save my bandwith) … when i look at list of packages,actually i do not need some of package and some of is not necessary for me such as gnome-online-accounts or gtk2-metatheme-adwaita and etc(new install).
my 1st question is how do i remove that unnecessary packge (new package)?
and 2nd how can i reduce download size (by remove some packeg -i do no want-)?

this is my out of command sudo zypper up


Loading repository data...
Reading installed packages...

The following 4 package updates will NOT be installed:
  libcap-ng0 virtualbox-guest-kmp-desktop-4.3.14_k3.11.10_17-117.1 
  virtualbox-guest-tools virtualbox-guest-x11 

The following 169 NEW packages are going to be installed:
  apper-lang bundle-lang-gnome-ar cyrus-sasl-32bit device-mapper-32bit enscript 
  fuse gdk-pixbuf-lang gdk-pixbuf-query-loaders-32bit ghostscript 
  ghostscript-fonts-other ghostscript-x11 glib-networking-lang gnome-icon-theme 
  gnome-icon-theme-extras gnome-icon-theme-symbolic gnome-keyring-pam-32bit 
  gnome-online-accounts gstreamer gstreamer-0_10-fluendo-mp3 
  gstreamer-plugins-base gtk2-metatheme-adwaita gtk2-theming-engine-adwaita 
  gtk3-branding-openSUSE gtk3-metatheme-adwaita gtk3-theming-engine-adwaita 
  gvfs gvfs-backend-afc gvfs-backends gvfs-fuse icedtea-web ispell 
  ispell-american java-1_7_0-openjdk java-1_7_0-openjdk-headless 
  kdeartwork4-wallpapers kdeartwork4-wallpapers-weather 
  kernel-desktop-3.11.10-17.2 kipi-plugins-geolocation krb5-32bit lcms2 
  libaudit1-32bit libavahi-glib1 libblkid1-32bit libbluray1 libcap2-32bit 
  libcdio_cdda1 libcdio_paranoia1 libcom_err2-32bit libcrack2-32bit 
  libcryptmount0-32bit libcryptsetup4-32bit libdb-4_8-32bit libdbus-1-3-32bit 
  libebl1 libffi4-32bit libfprint0-32bit libfreebl3-32bit libgcrypt11-32bit 
  libgdk_pixbuf-2_0-0-32bit libgeoclue0 libgio-2_0-0-32bit libgle3 
  libglib-2_0-0-32bit libgmodule-2_0-0-32bit libgoa-1_0-0 libgoa-backend-1_0-1 
  libgobject-2_0-0-32bit libgpg-error0-32bit libgstapp-1_0-0 libgstaudio-1_0-0 
  libgstpbutils-1_0-0 libgstreamer-1_0-0 libgstriff-1_0-0 libgsttag-1_0-0 
  libgstvideo-1_0-0 libgvfscommon0 libHX28-32bit libixion-0_6-0 
  libjasper1-32bit libjbig2-32bit libjpeg8-32bit libjson-glib-1_0-0 
  libkeyutils1-32bit libldap-2_4-2-32bit liblzma5-32bit libmount1-32bit 
  libmysqlcppconn6 libopenssl1_0_0-32bit liborcus-0_6-0 libpcre1-32bit 
  libpng16-16-32bit libquazip1 libreoffice-base libreoffice-base-drivers-mysql 
  libreoffice-calc libreoffice-filters-optional libreoffice-help-en-US 
  libreoffice-icon-theme-crystal libreoffice-icon-theme-galaxy 
  libreoffice-icon-theme-hicontrast libreoffice-mailmerge libreoffice-math 
  libreoffice-pyuno libreoffice-templates-en 
  libreoffice-templates-presentation-layouts libreoffice-thesaurus-en-US 
  librest0 libsecret-1-0 libselinux1-32bit libsepol1-32bit libsoftokn3-32bit 
  libsqlite3-0-32bit libtelepathy-glib0 libtiff5-32bit libudev1-32bit 
  libusb-1_0-0-32bit libuuid1-32bit libwayland-cursor0 libwebkitgtk-3_0-0 
  libwebkitgtk3-lang libX11-6-32bit libXau6-32bit libxcb1-32bit libxkbcommon0 
  libxml2-2-32bit libz1-32bit marble marble-data marble-doc 
  metatheme-adwaita-common mozilla-nspr-32bit mozilla-nss-32bit 
  mozilla-nss-certs-32bit ndiswrapper-kmp-desktop-1.58_k3.11.10_17-10.1 
  NetworkManager-kde4-libs-lang nss_ldap-32bit nss-mdns-32bit 
  oxygen-icon-theme-large pam-32bit pam_fprint-32bit pam_krb5-32bit 
  pam_ldap-32bit pam-modules-32bit pam_mount-32bit plasma-addons-marble 
  poppler-data python-kde4 python-kde4-akonadi python-kde4-khtml 
  python-kde4-knewstuff python-kde4-nepomuk python-kde4-phonon 
  python-kde4-plasma python-kde4-soprano python-kdebase4 python-qt4 python-sip 
  sssd-32bit system-config-printer systemd-32bit systemtap systemtap-runtime 
  timezone-java typelib-1_0-Gtk-3_0 vim-data 
  virtualbox-guest-kmp-desktop-4.2.18_k3.11.10_17-2.15.2 words 
  xscreensaver-data-extra yast2-inetd-doc 

The following 412 packages are going to be upgraded:
  a2ps aaa_base aaa_base-extras akonadi akonadi-runtime alsa alsa-oss 
  android-tools apparmor-parser apparmor-profiles apparmor-utils apper ark 
  at-spi2-atk-common at-spi2-atk-gtk2 at-spi2-core autofs avahi avahi-autoipd 
  bind-libs bind-utils bluez btrfsprogs ca-certificates ca-certificates-mozilla 
  choqok coreutils cups cups-client cups-libs curl dbus-1 dbus-1-x11 dconf dhcp 
  dhcp-client dolphin dosfstools enblend-enfuse file file-magic fontconfig 
  freerdp gdk-pixbuf-query-loaders gio-branding-openSUSE glamor glib2-tools 
  glibc glibc-32bit glibc-extra glibc-locale glibc-locale-32bit glib-networking 
  gnome-keyring gnome-keyring-pam gpg2 grub2 grub2-i386-pc grub2-x86_64-efi 
  gsettings-backend-dconf gtk2-engine-oxygen gtk2-theme-oxygen gtk3-data 
  gtk3-immodule-amharic gtk3-immodule-inuktitut gtk3-immodule-thai 
  gtk3-immodule-vietnamese gtk3-tools gwenview icewm iputils kactivities4 
  kaddressbook kcalc kcharselect kcolorchooser kde4-kgreeter-plugins 
  kde4-print-manager kdeartwork4-screensaver kdebase4-libkonq kdebase4-nsplugin 
  kdebase4-openSUSE kdebase4-runtime kdebase4-runtime-branding-openSUSE 
  kdebase4-session kdebase4-workspace kdebase4-workspace-branding-openSUSE 
  kdebase4-workspace-ksysguardd kdebase4-workspace-liboxygenstyle 
  kdebase4-workspace-plasma-calendar kdegames4-carddecks-default kdelibs4 
  kdelibs4-core kdenetwork4-filesharing kdepasswd kdepim4 kdepim4-runtime 
  kdepimlibs4 kdialog kdm kdnssd keditbookmarks kernel-firmware kgamma kget 
  kgpg kio_audiocd kio_kamera kmag kmahjongg kmail kmines kmix kmousetool 
  knotes kompare konqueror konqueror-plugins konsole kontact kopete korganizer 
  kpartx kpat krb5 krb5-client krdc kreversi krfb kruler kscreen ksnapshot 
  ksudoku kwalletmanager kwin kwrite less libakonadi4 
  libakonadiprotocolinternals1 libapparmor1 libasound2 libatk-bridge-2_0-0 
  libatspi0 libavahi-client3 libavahi-common3 libavahi-core7 libblas3 libblkid1 
  libbluetooth3 libcairo2 libcairo-gobject2 libcap-ng0 libcolord2 libcurl4 
  libdbus-1-3 libdc1394-22 libdcerpc0 libdcerpc-binding0 libdconf1 libfreebl3 
  libfreerdp-1_0 libfreerdp-1_0-plugins libgadu3 libgbm1 
  libgck-modules-gnome-keyring libgdk_pixbuf-2_0-0 libgensec0 libgio-2_0-0 
  libgiomm-2_4-1 libglib-2_0-0 libglibmm-2_4-1 libgmodule-2_0-0 libgnutls28 
  libgobject-2_0-0 libgphoto2-6 libgthread-2_0-0 libgtk-3-0 libgudev-1_0-0 
  libibus-1_0-5 libjavascriptcoregtk-3_0-0 libjson0 libkactivities6 libkcddb4 
  libkcompactdisc4 libkdcraw22 libkde4 libkdecore4 libkdegames libkdegames6 
  libkdepim4 libkdepimlibs4 libkerfuffle4 libkexiv2-11 libkipi11 libkmahjongg 
  libkmahjongglib4 libkonq5 libkscreen libkscreen1 libksuseinstall1 
  libktexteditor liblapack3 liblzo2-2 libmagic1 libMagickCore-6_Q16-1 
  libmarblewidget16 libmm-glib0 libmount1 libmtp9 libndr0 libndr-krb5pac0 
  libndr-nbt0 libndr-standard0 libnepomukwidgets4 libnetapi0 libopenssl1_0_0 
  libpango-1_0-0 libparted0 libpcap1 libpdb0 libphonon4 libpixman-1-0 libply2 
  libply-boot-client2 libply-splash-core2 libply-splash-graphics2 libpng16-16 
  libpoppler43 libpoppler-qt4-4 libprocps1 libpulse0 libpulse-mainloop-glib0 
  libpyglib-gi-2_0-python2-0 libpython2_7-1_0 libqt4 libqt4-qt3support 
  libqt4-sql libqt4-sql-mysql libqt4-sql-sqlite libqt4-x11 libQtWebKit4 
  libreoffice libreoffice-draw libreoffice-icon-theme-oxygen 
  libreoffice-impress libreoffice-kde4 libreoffice-writer libsamba-credentials0 
  libsamba-hostconfig0 libsamba-util0 libsamdb0 libSDL-1_2-0 libsmbclient0 
  libsmbclient-raw0 libsmbconf0 libsmbldap0 libsoftokn3 libsoup-2_4-1 libssh4 
  libsss_idmap0 libstorage4 libstorage-ruby libtevent-util0 libtirpc1 libudev1 
  libudisks2-0 libupower-glib1 libuuid1 libvdpau_r600 libvdpau_radeonsi 
  libwayland-egl1 libwbclient0 libxatracker1 libXfont1 libxml2-2 libyaml-0-2 
  libzip2 logrotate lvm2 mc mc-lang mdadm Mesa Mesa-libEGL1 Mesa-libGL1 
  Mesa-libglapi0 Mesa-libGLESv2-2 mkinitrd ModemManager MozillaFirefox 
  mozilla-nspr mozilla-nss mozilla-nss-certs multipath-tools ndiswrapper 
  nepomuk-core NetworkManager-kde4-libs NetworkManager-openvpn-kde4 
  NetworkManager-pptp-kde4 NetworkManager-vpnc-kde4 nfs-client nscd ntp openssh 
  openssl openSUSE-build-key opensuse-startup_en oxygen-icon-theme pam 
  pango-tools parted perl-apparmor perl-LWP-Protocol-https 
  phonon-backend-gstreamer-0_10 plasma-addons plasma-addons-akonadi 
  plasma-addons-lancelot plasmoid-folderview plasmoid-networkmanagement 
  plymouth plymouth-plugin-label plymouth-plugin-script plymouth-scripts 
  pm-utils pm-utils-ndiswrapper poppler-tools procps pulseaudio 
  pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-jack 
  pulseaudio-module-lirc pulseaudio-module-x11 pulseaudio-module-zeroconf 
  pulseaudio-utils python python-base python-cupshelpers python-gobject 
  python-gobject-cairo python-numpy python-xml release-notes-openSUSE rpm 
  rpm-python rsync rsyslog ruby20 samba-libs sssd sudo SuSEfirewall2 sweeper 
  sysconfig sysconfig-netconfig sysconfig-network system-config-printer-applet 
  system-config-printer-common system-config-printer-common-lang 
  system-config-printer-dbus-service systemd systemd-presets-branding-openSUSE 
  systemd-sysvinit tar typelib-1_0-GdkPixbuf-2_0 typelib-1_0-Pango-1_0 udev 
  udev-configure-printer udevmountd udisks2 upower util-linux vim 
  virtualbox-guest-tools virtualbox-guest-x11 vorbis-tools wpa_supplicant 
  x11-tools xf86-input-vmmouse xf86-video-intel xf86-video-mach64 
  xf86-video-modesetting xinetd xorg-x11-server yast2 yast2-add-on 
  yast2-iscsi-client yast2-ldap-client yast2-network yast2-nis-client 
  yast2-ruby-bindings yast2-services-manager yast2-storage yast2-trans-cs 
  yast2-trans-da yast2-trans-de yast2-trans-en_GB yast2-trans-en_US 
  yast2-trans-es yast2-trans-fr yast2-trans-hu yast2-trans-it yast2-trans-ja 
  yast2-trans-pl yast2-trans-pt yast2-trans-pt_BR yast2-trans-ru yast2-trans-sv 
  yast2-trans-zh_CN yast2-trans-zh_TW yast2-ycp-ui-bindings zip 


If you use YaST->Online Update or the Update applet of your desktop (Apper), you can deselect Updates you don’t want to install right now.
In this case you probably only need to install the kernel update. (although it’s always recommended to have all updates installed of course…)

You can mark packages as “Taboo” in YaST by right-clicking on them, they will never get installed then. The same can be done with the “zypper al” (addlock) command.
But for packages that are required by others, this will give dependency issues and probably even break your system (or the affected applications at least).

Those “NEW” packages that are going to be installed are mostly “recommended” ones though.
So enable “Ignore recommended packages for already installed packages” in YAST’s “Options” menu, or set “solver.onlyRequires = true” in /etc/zypp/zypp.conf to not have them installed automatically.

tnx lot for your good information…i am new in opensuse

you said that

you can deselect Updates you don’t want to install right now.

before i attempted in using "Online Update’ in YaST to update my system…but i dizzy to work it…in Apper, update packages is very specified(you can select or desecled all package but i dont find kernel update package in it. in YaST find it but how mark Taboo other package in select all… if i understand true in YaST i select one by one and Taboo it…!
is it posible to select all some packge to Taboo it??

I don’t understand that.

The updates are shown in the list on the left. Normally all that apply to you are selected, just deselect all of them that you don’t want to install by clicking on the tick.

Btw, right-click on the list and you can select/deselect all of them at once. (“All in this list”, also available in the “Patch” menu)

in Apper, update packages is very specified(you can select or desecled all package but i dont find kernel update package in it.

The kernel update should be named “openSUSE-2014-441 - kernel: security and bugfix update”.

You can also just search for the “kernel-desktop” package in YaST, click on “Versions” below the package list, and just install the latest version (3.11.10-17.2) there manually.

in YaST find it but how mark Taboo other package in select all… if i understand true in YaST i select one by one and Taboo it…!
is it posible to select all some packge to Taboo it??

Yes. Right-click on the package list and select “All in this list”->“Taboo - Never install”, or select the same from the “Package” menu.
But you shouldn’t really do that, as this would really apply to all packages in the current list, also required ones.

This is mainly intended to prevent the installation of a selected few packages.

I don’t understand that.

sorry…!

your information help me…! tnx very very lot my friend …! now i am updating kernel…i understand YaST and work with it…!