You are not logged in.

#1 2014-07-19 14:40:32

stefseel
Member
Registered: 2012-07-25
Posts: 5

Failed to find module 'vboxdrv'

I just did a system upgrade. Now the vboxdrv module from package virtualbox-host-modules cannot be loaded any more.

# grep vboxdrv /var/log/errors.log
Jul 19 14:25:16 localhost systemd-modules-load[246]: Failed to find module 'vboxdrv'

Also a manual modprobe doesn't work.

# modprobe vboxdrv
modprobe: FATAL: Module vboxdrv not found.

Kernel version is 3.15.5-2-ARCH

Package virtualbox-host-modules 4.3.14-1 is installed, vboxdrv driver is there in extramodules:

# ls -al /lib/modules/extramodules-3.15-ARCH/vboxdrv.ko.gz 
-rw-r--r-- 1 root root 143082 Jul 16 22:48 /lib/modules/extramodules-3.15-ARCH/vboxdrv.ko.gz

Any hints?

Offline

#2 2014-07-19 14:46:28

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Failed to find module 'vboxdrv'

I had that problem on one of my (32-bit) systems today; solved by executing:

# depmod -a

Offline

#3 2014-07-19 14:48:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Failed to find module 'vboxdrv'

You have to reboot after installing a new kernel.

Offline

#4 2014-07-19 14:54:11

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Failed to find module 'vboxdrv'

karol wrote:

You have to reboot after installing a new kernel.

Yes indeed, but I had already done that - twice - and still had to manually run the depmod.

Offline

#5 2014-07-19 14:58:21

stefseel
Member
Registered: 2012-07-25
Posts: 5

Re: Failed to find module 'vboxdrv'

ninian wrote:

I had that problem on one of my (32-bit) systems today; solved by executing:

# depmod -a

Indeed, that helped, thanks a lot smile

PS: I rebooted the system after system upgrade (in fact twice).

Offline

#6 2014-07-19 15:20:43

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Failed to find module 'vboxdrv'

Good - never had this problem after an upgrade before.

Offline

#7 2014-07-19 18:08:59

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Failed to find module 'vboxdrv'

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#8 2014-07-19 18:27:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,541

Re: Failed to find module 'vboxdrv'

https://bugs.archlinux.org/task/40495

I'll edit the report to indicate that it's happening with the host modules as well as the guest modules.

stefseel, are you on a 32-bit system as well?

Last edited by Scimmia (2014-07-19 18:30:53)

Offline

#9 2014-07-29 04:11:56

techno-geek
Member
Registered: 2010-05-03
Posts: 3

Re: Failed to find module 'vboxdrv'

This happened to me on x86_64 when upgrading to 3.14.13-1-lts. The depmod mentioned above fixed it. Thanks!

Offline

#10 2014-07-29 06:12:50

cristu
Member
Registered: 2013-08-03
Posts: 4

Re: Failed to find module 'vboxdrv'

Doesn't work with # depmod -a in my case

root@bonanza cristu]# uname -a
Linux bonanza 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:25:42 CEST 2014 i686 GNU/Linux
[root@bonanza cristu]# systemctl status systemd-modules-load.service 
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static)
   Active: failed (Result: exit-code) since Tue 2014-07-29 08:58:14 EEST; 2min 6s ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 120 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=1/FAILURE)
 Main PID: 120 (code=exited, status=1/FAILURE)

Jul 29 08:58:14 bonanza systemd-modules-load[120]: Failed to insert 'vboxdrv': Exec format error
Jul 29 08:58:14 bonanza systemd-modules-load[120]: Failed to insert 'vboxnetflt': Exec format error
Jul 29 08:58:14 bonanza systemd-modules-load[120]: Failed to insert 'vboxnetadp': Exec format error
Jul 29 08:58:14 bonanza systemd[1]: systemd-modules-load.service: main process exited, code=exited, ...ILURE
Jul 29 08:58:14 bonanza systemd[1]: Failed to start Load Kernel Modules.
Jul 29 08:58:14 bonanza systemd[1]: Unit systemd-modules-load.service entered failed state.
Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
Hint: Some lines were ellipsized, use -l to show in full.

Offline

#11 2014-07-29 07:01:52

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,541

Re: Failed to find module 'vboxdrv'

Exec format error is a different problem. Seems 3.15.7 is a binary module breaker and the modules haven't been rebuilt for it.

Offline

#12 2014-07-29 07:54:25

Mythoranium
Member
Registered: 2011-11-30
Posts: 2

Re: Failed to find module 'vboxdrv'

I have the same problem — after updating system (including the kernel to 3.15.7), loading of both vboxdrv and nvidia modules failed with "exec format error".
I was able to fix the nvidia module by temporarily enabling the testing repository and updating the nvidia driver, but for virtualbox-host-modules there is no newer version in testing repository.

Offline

#13 2014-07-29 14:22:10

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Failed to find module 'vboxdrv'

That's because it's in community-testing, since virtualbox is a community package.

Offline

#14 2014-07-29 14:25:50

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,521
Website

Re: Failed to find module 'vboxdrv'

Crossreference to the solved thread on the separate 'exec format error'.

Cristu, please try that solution and continue that discussion there if it doesn't work.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#15 2014-07-29 16:35:11

cristu
Member
Registered: 2013-08-03
Posts: 4

Re: Failed to find module 'vboxdrv'

Thanks Trilby
I have managed the issue by updating virtualbox-host-modules

[cristu@bonanza ~]$ pacman -Qs virtualbox-host-modules 
local/virtualbox-host-modules 4.3.14-3
    Host kernel modules for VirtualBox

Offline

Board footer

Powered by FluxBB