You are not logged in.
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
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-noxEdit: 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
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
Indeed, true. Anyway I have problem.
% cat /etc/modules-load.d/virtualbox.conf
vboxpciThis 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 argumentHow to fight that?
Offline
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."
Offline