You are not logged in.

#1 2012-08-09 17:59:19

Silex89
Member
From: Osorno, Los Lagos - Chile
Registered: 2011-10-16
Posts: 179

[SOLVED] Virtualbox Module just won't load at start up

Hi there dear forumers

I've reinstalled Arch with the new installation media to try things out. Everything went just fine, I'm using MATE-DE, Linux 3.4.7 and Syslinux Bootloader. I need Virtualbox to make a lot of tasks, so, following my instincts about the new initscripts (the modules are now loaded from mkinitcpio.conf instead rc.conf) I did the logical edition of my mkinitcpio.conf's modules array to load the CPU governor and the vboxdrv:

 MODULES="powernow-k8 cpufreq_ondemand vboxdrv" 

Now the problem is that only the first and the second module are being loaded at startup. When I try to run a VM, Virtualbox tells me to install the module or load it manually, once I make modprobe vboxdrv everything goes ok. Its not a big deal, but I'd also like to know what's happening here.


Regards smile

Last edited by Silex89 (2012-08-09 18:45:11)


"The way your heart sounds makes all the difference" John Myung

I love Dream Theater! ImL
Best Guitar Solo Ever

Offline

#2 2012-08-09 18:09:04

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [SOLVED] Virtualbox Module just won't load at start up

Silex89 wrote:

I've reinstalled Arch with the new installation media to try things out. Everything went just fine, I'm using MATE-DE, Linux 3.4.7 and Syslinux Bootloader. I need Virtualbox to make a lot of tasks, so, following my instincts about the new initscripts (the modules are now loaded from mkinitcpio.conf instead rc.conf) I did the logical edition of my mkinitcpio.conf's modules array to load the CPU governor and the vboxdrv:

uhm, no, you're mixing things up here, the "new" module load method is via /etc/modules-load.d/ (https://wiki.archlinux.org/index.php/Ke … es#Loading). The modules specified in mkinitcpio.conf will be loaded in initramfs (after you rebuild it with mkinitcpio -p linux), but that doesn't make sense in your case.

and btw, powernow-k8 and cpufreq_ondemand should not be be necessary anymore, they are autoloaded since kernel 3.4.

Offline

#3 2012-08-09 18:13:23

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Virtualbox Module just won't load at start up

Exactly. Remove it from the MODULES line from mkinitcpio.conf and add it to the MODULES line in rc.conf.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#4 2012-08-09 18:44:51

Silex89
Member
From: Osorno, Los Lagos - Chile
Registered: 2011-10-16
Posts: 179

Re: [SOLVED] Virtualbox Module just won't load at start up

Ohhhh!!! My godness hahaha!! Thanks a lot guys. How embarassing is this! I'm so sorry for this dumb question. It's fixed now big_smile


Thanks again guys! smile


"The way your heart sounds makes all the difference" John Myung

I love Dream Theater! ImL
Best Guitar Solo Ever

Offline

#5 2012-08-09 18:53:19

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Virtualbox Module just won't load at start up

The rc.conf loading of modules will continue to work, for a while. But you may as well get used to the idea of /etc/modules-load.d, because systemd is considered a better alternative to the current sysvinit and may soon be the standard in most (if not all) Linux distributions.


https://wiki.archlinux.org/index.php/Virtualbox#Setup

^ This has already been updated to use /etc/modules-load.d/*.conf.

Last edited by DSpider (2012-08-09 19:04:57)


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#6 2012-08-09 18:59:28

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: [SOLVED] Virtualbox Module just won't load at start up

Even the devs think so: http://mailman.archlinux.org/pipermail/ … 23283.html

(read the 4th point and the justification)


This is what rc.conf looks like if you do a fresh Arch Linux install.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

Board footer

Powered by FluxBB