You are not logged in.

#1 2013-04-22 15:06:14

oniichan
Member
Registered: 2012-08-08
Posts: 31

[Solved] Virtualbox - vboxdrv won't load.

Hello.

Upon starting "virtualbox" I get the message

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (3.8.8-1-ARCH) or it failed to
         load. Please reinstall the kernel module virtualbox-host-modules or
         if you don't use our stock kernel compile the modules with

           sudo dkms autoinstall

         You will not be able to start VMs until this problem is fixed.

What I did:
modprobed "vboxdrv"
updated "linux, linux-headers, virtualbox-host-modules, virtualbox"
Rebuilt initramfs
added "vboxdrv" to virtualbox.conf in /etc/modules-load.d/
rebooted several times
googled
read the fine manual


What that did:

# modprobe vboxdrv
modprobe: ERROR: could not insert 'vboxdrv': Invalid argument

'lsmod | grep vbox' returns nothing

dmesg | grep vboxdrv

1008:[  120.238619] vboxdrv: disagrees about version of symbol pv_mmu_ops
1009:[  120.238625] vboxdrv: Unknown symbol pv_mmu_ops (err -22)

I also did the "non-standard kernel" steps according to the wiki, with same results. Any other post i found told me to basically update and reboot, which I did several times, but no results.
Any help is appreciated.

Last edited by oniichan (2013-04-22 15:51:59)

Offline

#2 2013-04-22 15:15:58

hiciu
Member
Registered: 2010-08-11
Posts: 89

Re: [Solved] Virtualbox - vboxdrv won't load.

Could you post your "uname -a" and "pacman -Qi linux"?

Offline

#3 2013-04-22 15:19:13

oniichan
Member
Registered: 2012-08-08
Posts: 31

Re: [Solved] Virtualbox - vboxdrv won't load.

hiciu wrote:

Could you post your "uname -a" and "pacman -Qi linux"?

$ uname -a
Linux panda 3.8.8-1-ARCH #1 SMP PREEMPT Wed Apr 17 10:57:28 CEST 2013 x86_64 GNU/Linux
pacman -Qi linux
Name           : linux
Version        : 3.8.8-1
Description    : The linux kernel and modules
Architecture   : x86_64
URL            : http://www.kernel.org/
Licenses       : GPL2
Groups         : base
Provides       : kernel26=3.8.8
Depends On     : coreutils  linux-firmware  kmod  mkinitcpio>=0.7
Optional Deps  : crda: to set the correct wireless channels of your country
Required By    : tp_smapi  virtualbox-host-modules
Optional For   : None
Conflicts With : kernel26
Replaces       : kernel26
Installed Size : 64410.00 KiB
Packager       : Tobias Powalowski <tpowa@archlinux.org>
Build Date     : Wed 17 Apr 2013 11:04:12 AM CEST
Install Date   : Mon 22 Apr 2013 04:28:19 PM CEST
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

Offline

#4 2013-04-22 15:22:57

hiciu
Member
Registered: 2010-08-11
Posts: 89

Re: [Solved] Virtualbox - vboxdrv won't load.

So far looks good, could you post "pacman -Qi virtualbox-host-modules" too?

Offline

#5 2013-04-22 15:26:10

oniichan
Member
Registered: 2012-08-08
Posts: 31

Re: [Solved] Virtualbox - vboxdrv won't load.

hiciu wrote:

So far looks good, could you post "pacman -Qi virtualbox-host-modules" too?

$ pacman -Qi virtualbox-host-modules
Name           : virtualbox-host-modules
Version        : 4.2.12-1
Description    : Host kernel modules for VirtualBox
Architecture   : x86_64
URL            : http://virtualbox.org
Licenses       : GPL
Groups         : None
Provides       : None
Depends On     : linux>=3.8  linux<3.9
Optional Deps  : None
Required By    : virtualbox
Optional For   : None
Conflicts With : virtualbox-modules
Replaces       : virtualbox-modules
Installed Size : 160.00 KiB
Packager       : Sébastien Luttringer <seblu@seblu.net>
Build Date     : Fri 12 Apr 2013 06:14:45 PM CEST
Install Date   : Mon 22 Apr 2013 04:55:39 PM CEST
Install Reason : Installed as a dependency for another package
Install Script : Yes
Validated By   : Signature

Offline

#6 2013-04-22 15:30:25

proudzhu
Member
Registered: 2012-09-13
Posts: 17

Re: [Solved] Virtualbox - vboxdrv won't load.

Remove virtualbox-host-modules and try virtualbox-host-dkms

Offline

#7 2013-04-22 15:30:34

hiciu
Member
Registered: 2010-08-11
Posts: 89

Re: [Solved] Virtualbox - vboxdrv won't load.

oniichan wrote:
$ pacman -Qi virtualbox-host-modules
Name           : virtualbox-host-modules
Version        : 4.2.12-1
...
Build Date     : Fri 12 Apr 2013 06:14:45 PM CEST

There already is virtualbox-host-modules-4.2.12-2 (I'm running -Syu just now). Can you update and check if it works?

proudzhu wrote:

Remove virtualbox-host-modules and try virtualbox-host-dkms

He is running stock kernel, with outdated vboxdrv.

Last edited by hiciu (2013-04-22 15:31:41)

Offline

#8 2013-04-22 15:33:58

oniichan
Member
Registered: 2012-08-08
Posts: 31

Re: [Solved] Virtualbox - vboxdrv won't load.

p

hiciu wrote:
oniichan wrote:
$ pacman -Qi virtualbox-host-modules
Name           : virtualbox-host-modules
Version        : 4.2.12-1
...
Build Date     : Fri 12 Apr 2013 06:14:45 PM CEST

There already is virtualbox-host-modules-4.2.12-2 (I'm running -Syu just now). Can you update and check if it works?

proudzhu wrote:

Remove virtualbox-host-modules and try virtualbox-host-dkms

He is running stock kernel, with outdated vboxdrv.

$ pacman -Syyuu
:: Synchronizing package databases...
 testing                          31.4 KiB   176K/s 00:00 [##############################] 100%
 core                            106.1 KiB   167K/s 00:01 [##############################] 100%
 extra                          1517.3 KiB   349K/s 00:04 [##############################] 100%
 community                      1943.1 KiB   449K/s 00:04 [##############################] 100%
 multilib                        104.0 KiB   391K/s 00:00 [##############################] 100%
:: Starting full system upgrade...
 there is nothing to do

Do you have any activated repo that I don't?

Offline

#9 2013-04-22 15:45:17

hiciu
Member
Registered: 2010-08-11
Posts: 89

Re: [Solved] Virtualbox - vboxdrv won't load.

No, I don't even use testing. Just core, extra, community and multilib. Your mirror may not have yet all packages updated.

For now you can just upgrade this by hand:

wget http://ftp.hosteurope.de/mirror/ftp.archlinux.org/community/os/x86_64/virtualbox-host-modules-4.2.12-2-x86_64.pkg.tar.xz{,.sig}
sudo pacman -U virtualbox-host-modules-4.2.12-2-x86_64.pkg.tar.xz

You can monitor your mirror's lag at https://www.archlinux.org/mirrors/status/.

Offline

#10 2013-04-22 15:45:24

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [Solved] Virtualbox - vboxdrv won't load.

oniichan wrote:

Do you have any activated repo that I don't?

You can check the latest version of a package yourself. As a competent Arch Linux user, you have the resources available to find a mirror with the updated package yourself. wink

According to the log, version 4.2.12-2 was built for Linux 3.8.8.

Offline

#11 2013-04-22 15:51:42

oniichan
Member
Registered: 2012-08-08
Posts: 31

Re: [Solved] Virtualbox - vboxdrv won't load.

drcouzelis wrote:
oniichan wrote:

Do you have any activated repo that I don't?

You can check the latest version of a package yourself. As a competent Arch Linux user, you have the resources available to find a mirror with the updated package yourself. wink

According to the log, version 4.2.12-2 was built for Linux 3.8.8.

hiciu wrote:

No, I don't even use testing. Just core, extra, community and multilib. Your mirror may not have yet all packages updated.

For now you can just upgrade this by hand:

wget http://ftp.hosteurope.de/mirror/ftp.archlinux.org/community/os/x86_64/virtualbox-host-modules-4.2.12-2-x86_64.pkg.tar.xz{,.sig}
sudo pacman -U virtualbox-host-modules-4.2.12-2-x86_64.pkg.tar.xz

You can monitor your mirror's lag at https://www.archlinux.org/mirrors/status/.

I just waited for a few minutes and my mirror updated now. The virtual machine boots now.
Thanks for the help, ladies and gentlemen.

Offline

Board footer

Powered by FluxBB