You are not logged in.

#1 2015-09-14 12:35:47

skunkos
Member
From: Czech Republic
Registered: 2011-06-20
Posts: 46
Website

VirtualBox - where is the "vboxservice"?

https://wiki.archlinux.org/index.php/Vi … _modules_2 is mentioning alternative way to load host modules via enabling "vboxservice"? No such systemd unit exists. Is wiki wrong here?

Follow-up question: is it enough to load just vboxpci module or do I have to load both vboxdrv and vboxpci? Does vboxdrv gets loaded automatically if I load vboxpci (since it is dependent module)?

Offline

#2 2015-09-14 12:41:47

Raynman
Member
Registered: 2011-10-22
Posts: 1,539

Re: VirtualBox - where is the "vboxservice"?

You say "host modules" but the linked section is part of "Installation steps for Arch Linux guests" and the first module mentioned is vboxguest.

$ pkgfile vboxservice.service
community/virtualbox-guest-utils
community/virtualbox-guest-utils-nox

Edit: as for the follow-up question: just try it? If you want some official documentation to support it, have you tried to find any?

Last edited by Raynman (2015-09-14 12:43:18)

Offline

#3 2015-09-14 12:46:15

Chazza
Wiki Maintainer
Registered: 2013-06-02
Posts: 506

Re: VirtualBox - where is the "vboxservice"?

I think vboxservice is for guests, not hosts. It's provided by the virtualbox-guest-utils package. Not sure about the second question as I only load vboxdrv. Try it and see I guess.

Edit: beaten to it by Raynman.

Last edited by Chazza (2015-09-14 12:48:06)

Offline

#4 2015-09-14 15:27:26

skunkos
Member
From: Czech Republic
Registered: 2011-06-20
Posts: 46
Website

Re: VirtualBox - where is the "vboxservice"?

Indeed, true. Anyway I have problem.

% cat /etc/modules-load.d/virtualbox.conf 
vboxpci

This is the way I load modules for my VirtualBox host.

But sometimes (seems pretty random) I get error saying that "loading kernel modules" failed. It times out with 1 minute 30 seconds. It is unit "systemd-modules-load.service", it just fails. In journalctl, I see:

Sep 14 11:51:20 tulisci systemd-modules-load[207]: Failed to insert 'vboxdrv': Invalid argument

How to fight that?

Offline

#5 2015-09-14 16:10:00

christensen143
Member
Registered: 2015-09-14
Posts: 5

Re: VirtualBox - where is the "vboxservice"?

The VirtualBox manual has the following line regarding your error:

"Linux kernel module refuses to load

If the VirtualBox kernel module (vboxdrv) refuses to load, i.e. you get an "Error inserting vboxdrv: Invalid argument", check (as root) the output of the dmesg command to find out why the load failed. Most probably the kernel disagrees with the version of the gcc used to compile the module. Make sure that you use the same compiler as used to build the kernel."

http://www.linuxquestions.org/questions … 175462107/

Offline

Board footer

Powered by FluxBB