You are not logged in.

#1 2015-01-14 18:01:03

nforced
Member
Registered: 2015-01-04
Posts: 19

can't load vboxdrv driver on lts kernel

I am having trouble starting vbox machine on 3.14.28-1-lts kernel after recent update.
I got virtualbox-host-modules-lts and checked https://wiki.archlinux.org/index.php/VirtualBox so everything looks good in general...
The error I get is this:

Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'pacman -S virtualbox-host-modules'
as root. If you don't use our stock kernel, install virtualbox-host-dkms and execute dkms autoinstall.

I tried few things but the end result is I can't load the vboxdrv, here is some output:

[root@fatal amp]# dkms install vboxhost/$(pacman -Q virtualbox|awk '{print $2}'|sed 's/\-.\+//') -k $(uname -rm|sed 's/\ /\//')
Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=3.14.28-1-lts -C /usr/lib/modules/3.14.28-1-lts/build M=/var/lib/dkms/vboxhost/4.3.20/build..........
cleaning build area....
Kernel cleanup unnecessary for this kernel.  Skipping...

DKMS: build completed.

vboxdrv.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/3.14.28-1-lts/kernel/misc/

vboxnetflt.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/3.14.28-1-lts/kernel/misc/

vboxnetadp.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/3.14.28-1-lts/kernel/misc/

vboxpci.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /usr/lib/modules/3.14.28-1-lts/kernel/misc/

depmod....

DKMS: install completed.
[root@fatal amp]# vboxreload
Unloading modules:
DKMS autoinstall
Loading modules: modprobe: ERROR: could not insert 'vboxnetadp': Invalid argument
modprobe: ERROR: could not insert 'vboxnetflt': Invalid argument
modprobe: ERROR: could not insert 'vboxpci': Invalid argument
modprobe: ERROR: could not insert 'vboxdrv': Invalid argument

[root@fatal amp]# modprobe -vvv vboxdrv
modprobe: INFO: custom logging function 0x40a1b0 registered
insmod /lib/modules/3.14.28-1-lts/extramodules/vboxdrv.ko.gz
modprobe: INFO: Failed to insert module '/lib/modules/3.14.28-1-lts/extramodules/vboxdrv.ko.gz': Invalid argument
modprobe: ERROR: could not insert 'vboxdrv': Invalid argument
modprobe: INFO: context 0x10f5340 released

Please advice.

Offline

#2 2015-01-14 18:23:13

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,408

Re: can't load vboxdrv driver on lts kernel

Did you use virtualbox-lts? NVM you say you are using it. I usually just modprobe vboxdrv.

Last edited by nomorewindows (2015-01-14 18:25:52)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#3 2015-01-14 19:05:50

nforced
Member
Registered: 2015-01-04
Posts: 19

Re: can't load vboxdrv driver on lts kernel

virtualbox-lts ?

[root@fatal amp]# pacman -Ss virtualbox
community/libvirt 1.2.11-1
    API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)
community/phpvirtualbox 4.3_1-2
    PHP/AJAX web interface for VirtualBox 4.*
community/virtualbox 4.3.20-3 [installed]
    Powerful x86 virtualization for enterprise as well as home use
community/virtualbox-ext-vnc 4.3.20-3
    VirtualBox VNC extension pack
community/virtualbox-guest-dkms 4.3.20-3
    VirtualBox Guest kernel modules sources
community/virtualbox-guest-iso 4.3.20-1 [installed]
    The official VirtualBox Guest Additions ISO image
community/virtualbox-guest-modules 4.3.20-3
    Guest kernel modules for VirtualBox
community/virtualbox-guest-modules-lts 4.3.20-2 [installed]
    Guest kernel modules for VirtualBox
community/virtualbox-guest-utils 4.3.20-3
    VirtualBox Guest userspace utilities
community/virtualbox-guest-utils-nox 4.3.20-3
    VirtualBox Guest userspace utilities without X support
community/virtualbox-host-dkms 4.3.20-3 [installed]
    VirtualBox Host kernel modules sources
community/virtualbox-host-modules 4.3.20-3 [installed]
    Host kernel modules for VirtualBox
community/virtualbox-host-modules-lts 4.3.20-2 [installed]
    Host kernel modules for VirtualBox
community/virtualbox-sdk 4.3.20-3
    VirtualBox Software Developer Kit (SDK)

Offline

#4 2015-01-14 19:19:48

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,657
Website

Re: can't load vboxdrv driver on lts kernel


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2015-01-14 20:33:25

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,408

Re: can't load vboxdrv driver on lts kernel

Don't you mean host-modules, unless guest-modules is also affected.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#6 2015-01-14 20:39:06

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,657
Website

Re: can't load vboxdrv driver on lts kernel

nomorewindows wrote:

Don't you mean host-modules, unless guest-modules is also affected.

No, they are the same package, just split: https://projects.archlinux.org/svntogit … odules-lts


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2015-01-17 19:38:08

Rokixz
Member
From: Šiauliai, Lithuania
Registered: 2007-04-21
Posts: 251
Website

Re: can't load vboxdrv driver on lts kernel

I managed to solve the problem building virtualbox-host-modules-lts and virtualbox-guest-modules-lts install package from ABS, strange why packages haven't been rebuilt yet.

P.S.

http://ispconfig.lt/virtualbox-host-mod … pkg.tar.xz
http://ispconfig.lt/virtualbox-guest-mo … pkg.tar.xz

Hope it'll help.

Last edited by Rokixz (2015-01-17 19:38:36)


http://ispconfig.lt - ISPConfig 3 based hosting. Coming Soon!

Offline

#8 2015-01-20 21:02:55

nforced
Member
Registered: 2015-01-04
Posts: 19

Re: can't load vboxdrv driver on lts kernel

I still can't build the vbox module, is this one solved or it's still a problem?

Last edited by nforced (2015-01-20 21:03:18)

Offline

#9 2015-01-21 20:52:09

davisd
Member
From: Fort Walton Beach, FL
Registered: 2010-03-10
Posts: 14
Website

Re: can't load vboxdrv driver on lts kernel

I was also having problems.  I took Rokixz advice and built virtualbox-host-modules-lts from abs.  This fixed it for me.

Problem was:

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

Here's some info-

$ uname -a
Linux archbook 3.14.29-1-lts #1 SMP Fri Jan 16 20:57:17 CET 2015 x86_64 GNU/Linux
$ pacman -Qi linux-lts
Name           : linux-lts
Version        : 3.14.29-1
Description    : The Linux-lts kernel and modules
Architecture   : x86_64
URL            : http://www.kernel.org/
Licenses       : GPL2
Groups         : None
Provides       : kernel26-lts=3.14.29
Depends On     : coreutils  linux-firmware  kmod  mkinitcpio>=0.7
Optional Deps  : crda: to set the correct wireless channels of your country
Required By    : virtualbox-guest-modules-lts  virtualbox-host-modules-lts
Optional For   : None
Conflicts With : kernel26-lts
Replaces       : kernel26-lts
Installed Size :  72.71 MiB
Packager       : Andreas Radke <andyrtr@archlinux.org>
Build Date     : Fri 16 Jan 2015 01:59:49 PM CST
Install Date   : Wed 21 Jan 2015 01:56:46 PM CST
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

This is what my virtualbox-host-modules-lts looked like before my abs build.

$ pacman -Qi virtualbox-host-modules-lts
Name           : virtualbox-host-modules-lts
Version        : 4.3.20-2
Description    : Host kernel modules for VirtualBox
Architecture   : x86_64
URL            : http://virtualbox.org
Licenses       : GPL
Groups         : None
Provides       : virtualbox-host-modules=4.3.20
Depends On     : linux-lts>=3.14  linux-lts<3.15
Optional Deps  : None
Required By    : virtualbox
Optional For   : None
Conflicts With : virtualbox-modules-lts
Replaces       : virtualbox-modules-lts
Installed Size : 167.00 KiB
Packager       : Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
Build Date     : Mon 08 Dec 2014 12:01:20 PM CST
Install Date   : Wed 21 Jan 2015 02:16:01 PM CST
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

This is what my virtualbox-host-modules-lts looked like after my abs build.

$ pacman -Qi virtualbox-host-modules-lts
Name           : virtualbox-host-modules-lts
Version        : 4.3.20-2
Description    : Host kernel modules for VirtualBox
Architecture   : x86_64
URL            : http://virtualbox.org
Licenses       : GPL
Groups         : None
Provides       : virtualbox-host-modules=4.3.20
Depends On     : linux-lts>=3.14  linux-lts<3.15
Optional Deps  : None
Required By    : virtualbox
Optional For   : None
Conflicts With : virtualbox-modules-lts
Replaces       : virtualbox-modules-lts
Installed Size : 187.00 KiB
Packager       : Unknown Packager
Build Date     : Wed 21 Jan 2015 02:23:28 PM CST
Install Date   : Wed 21 Jan 2015 02:40:43 PM CST
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : None

What's strange is that the "Version" is the same - 4.3.20-2, but the "Installed Size" varies...  167 KiB vs 187 KiB.

Also, the build date on the virtualbox-host-modules package (still the current one in the repos) was Dec 8, 2014...  The linux-lts package build date is Jan 16, 2015.

-David

Offline

Board footer

Powered by FluxBB