You are not logged in.

#1 2016-03-13 02:09:54

pavelh
Member
Registered: 2016-02-26
Posts: 10

[SOLVED] Failed to start Load Kernel Module with Virtualbox 5.0.16

I get the following errors when I start my pc.

systemd[1]: Failed to start Load Kernel Modules.
systemd-modules-load[1317]: Failed to find module 'vboxnetadp\nvboxnetflt\nvboxdrv\n'

my /etc/modules-load.d/virtualbox.conf  file looks like this:

vboxdrv
vboxnetadp
vboxnetflt
vboxpci


Thank you.

Last edited by pavelh (2016-03-13 12:03:47)

Offline

#2 2016-03-13 02:29:59

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [SOLVED] Failed to start Load Kernel Module with Virtualbox 5.0.16

Offline

#3 2016-03-13 08:11:01

ali_molaei
Member
From: Iran
Registered: 2015-12-24
Posts: 63
Website

Re: [SOLVED] Failed to start Load Kernel Module with Virtualbox 5.0.16

pavelh wrote:

I get the following errors when I start my pc.

systemd[1]: Failed to start Load Kernel Modules.
systemd-modules-load[1317]: Failed to find module 'vboxnetadp\nvboxnetflt\nvboxdrv\n'

my /etc/modules-load.d/virtualbox.conf  file looks like this:

vboxdrv
vboxnetadp
vboxnetflt
vboxpci


Thank you.

Scimmia is right, it is a bug, do this:

sudo nano /usr/lib/modules-load.d/virtualbox-host-dkms.conf

remove /n and hit enter

your file should be look like this:

vboxnetadp
vboxnetflt
vboxdrv

hit ctrl+o to save and ctrl+x to exit

sudo systemctl restart systemd-modules-load.service
sudo systemctl status systemd-modules-load.service

you should get this:

● systemd-modules-load.service - Load Kernel Modules
   Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load
   Active: active (exited) since Sun 2016-03-13 11:27:27 IRST; 
     Docs: man:systemd-modules-load.service(8)
           man:modules-load.d(5)
  Process: 1983 ExecStart=/usr/lib/systemd/systemd-modules-load
 Main PID: 1983 (code=exited, status=0/SUCCESS)

Mar 13 11:27:27 arch systemd[1]: Stopped Load Kernel Modules.
Mar 13 11:27:27 arch systemd[1]: Starting Load Kernel Modules..
Mar 13 11:27:27 arch systemd[1]: Started Load Kernel Modules.

Offline

#4 2016-03-13 10:52:33

Vizitor
Member
Registered: 2015-01-05
Posts: 83

Re: [SOLVED] Failed to start Load Kernel Module with Virtualbox 5.0.16

Since topic name is Virtualbox (not specified guest/host), maybe I should add this:

Arch Linux 4.4.5-1-ARCH #1 SMP PREEMPT x86_64 - as GUEST on Arch Linux 4.4.3-1-ARCH #1 SMP PREEMPT x86_64 :

After recent update there (in guest machine) is configuration file "/usr/lib/modules-load.d/virtualbox-guest-dkms.conf" which produce "Failed to start Load Kernel Modules."
By my "newbie-connecting-the-dots", I deleted it. (I did remove "\n" , as ali_molaei said, but "Failed to start Load Kernel Modules." was still there.)
After deleting file (in guest) "/usr/lib/modules-load.d/virtualbox-guest-dkms.conf", everything work OK.

Last edited by Vizitor (2016-03-13 11:44:28)

Offline

#5 2016-03-13 12:00:47

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

Re: [SOLVED] Failed to start Load Kernel Module with Virtualbox 5.0.16

Vizitor, I'm not sure why you had those modules installed at all - you can remove all these host-specific packages from the guest.  See the wiki for the packages/modules that should be used in the guest.

But you are quite right that this is not a good thread title.  Pavelh, please click "edit" on your first post and give this a more meaninful thread indicating something about the problem/error. (edit: thanks)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2016-03-13 12:38:31

Vizitor
Member
Registered: 2015-01-05
Posts: 83

Re: [SOLVED] Failed to start Load Kernel Module with Virtualbox 5.0.16

Trilby, this is what I have installed on Guest:

community/virtualbox-guest-dkms 5.0.16-1 and community/virtualbox-guest-utils 5.0.16-1

Problem appears after recent update where VirtualBox "switched" to these community and DKMS stuff.
Before updates, I didn't have installed dkms, and everything on host and guests worked perfect.
(I hope this is not stealing the thread)

Offline

#7 2016-03-13 15:29:35

kwash
Member
Registered: 2015-12-18
Posts: 16

Re: [SOLVED] Failed to start Load Kernel Module with Virtualbox 5.0.16

Fixed in repository packages with the release of:

virtualbox 5.0.16-2
virtualbox-host-dkms 5.0.16-2

Offline

Board footer

Powered by FluxBB