Bug 3725

Summary: VirtualBox modules are not loaded on boot
Product: Fedora Reporter: Marek <marek>
Component: VirtualBoxAssignee: Sérgio Basto <sergio>
Status: RESOLVED INVALID    
Severity: major    
Priority: P1    
Version: 22   
Hardware: All   
OS: GNU/Linux   
namespace:

Description Marek 2015-08-04 15:04:18 CEST
VirtualBox used to work fine till latest update. Today it's not working, kernel modules won't load.

packages I've got installed:

$ rpm -qa | grep VirtualBox
akmod-VirtualBox-4.3.30-1.fc22.x86_64
VirtualBox-4.3.30-1.fc22.x86_64
kmod-VirtualBox-4.3.30-1.fc22.x86_64
kmod-VirtualBox-4.1.2-200.fc22.x86_64-4.3.30-1.fc22.x86_64
kmod-VirtualBox-4.1.3-200.fc22.x86_64-4.3.30-1.fc22.x86_64
kmod-VirtualBox-4.0.8-300.fc22.x86_64-4.3.30-1.fc22.x86_64
VirtualBox-kmodsrc-4.3.30-1.fc22.x86_64


$ systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Tue 2015-08-04 13:54:33 BST; 8min ago
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
 Main PID: 3188 (code=exited, status=1/FAILURE)

Aug 04 13:54:33 localhost.localdomain systemd[1]: Starting Load Kernel Modules...
Aug 04 13:54:33 localhost.localdomain systemd[1]: systemd-modules-load.service: main process exited, code=exited, status=1/FAILURE
Aug 04 13:54:33 localhost.localdomain systemd[1]: Failed to start Load Kernel Modules.
Aug 04 13:54:33 localhost.localdomain systemd[1]: Unit systemd-modules-load.service entered failed state.
Aug 04 13:54:33 localhost.localdomain systemd[1]: systemd-modules-load.service failed.


$ modprobe xboxdrv
modprobe: FATAL: Module xboxdrv not found.


I use VirtualBox for work (with Vagrant). Any idea why it stopped working?
Comment 1 Marek 2015-08-04 15:35:05 CEST
Hm... removing VirtualBox completely, rebooting, installing again... solved the problem.
Comment 2 Sérgio Basto 2015-08-04 16:50:38 CEST
(In reply to comment #0)
 
> I use VirtualBox for work (with Vagrant). Any idea why it stopped working?

What kernel are you running ? 

After boot, if that happen again, you may try run : akmods --force (as root) to see if builds of kmods fails .
After a successful build you need run again:
systemctl restart systemd-modules-load.service

Best regards,
Comment 3 Marek 2015-08-04 17:01:38 CEST
The kernel I am using is: 4.1.3-200.fc22.x86_64

I've fixed VirtualBox, but now my nfs-server won't start :(

http://forums.fedoraforum.org/showthread.php?t=305840