You are not logged in.

#1 2013-10-24 21:24:17

tekknolagi
Member
Registered: 2013-10-24
Posts: 13

Can't run VirtualBox on a dedicated Arch machine

I ran

pacman -S virtualbox dkms

then ran

sudo modprobe vboxdrv

, but when I tried to run

VBoxManage --version

, I got:

libkmod: kmod_module_new_from_loaded: could not open /proc/modules: No such file or directory
Error: could not get list of modules: No such file or directory
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (3.10.9-xxxx-grs-ipv6-64) or it failed to
         load. Please reinstall the kernel module virtualbox-host-modules or
         if you don't use our stock kernel compile the modules with

           sudo dkms autoinstall

         You will not be able to start VMs until this problem is fixed.
4.3.0_OSEr89960

The fact that there is no `/proc/modules` is concerning. What can I do to fix this and get VirtualBox up and running?

Last edited by tekknolagi (2013-10-24 21:26:43)

Offline

#2 2013-10-24 21:29:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,603

Re: Can't run VirtualBox on a dedicated Arch machine

you installed dkms, did you actually build the modules with it?

Offline

#3 2013-10-24 21:31:40

tekknolagi
Member
Registered: 2013-10-24
Posts: 13

Re: Can't run VirtualBox on a dedicated Arch machine

Scimmia, yes I did:

[max@voice airvoiceone]$ sudo dkms install vboxhost/4.3.0 -k 3.11.6-1-ARCH/x86_64
[sudo] password for max:
Module vboxhost/4.3.0 already installed on kernel 3.11.6-1-ARCH/x86_64
[max@voice airvoiceone]$ sudo pacman -Q linux linux-headers
linux 3.11.6-1
linux-headers 3.11.6-1
[max@voice airvoiceone]$

Edit: and what about the nonexistence of /proc/modules?

Last edited by tekknolagi (2013-10-24 21:32:25)

Offline

#4 2013-10-24 21:33:25

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,603

Re: Can't run VirtualBox on a dedicated Arch machine

3.11.6-1-ARCH doesn't match what the error says is your current kernel. What the output of uname -r?

Offline

#5 2013-10-24 22:28:24

tekknolagi
Member
Registered: 2013-10-24
Posts: 13

Re: Can't run VirtualBox on a dedicated Arch machine

Whoa that's weird. It says

3.10.9-xxxx-grs-ipv6-64

Offline

#6 2013-10-24 22:29:49

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

Re: Can't run VirtualBox on a dedicated Arch machine

It's not weird.  It most likely means you haven't rebooted (or kexec'ed) since the kernel was updated.  If you have rebooted but it still says that, the less common but also possible explanation is that /boot/ was not mounted at the time of the kernel upgrade.

EDIT: well, the xxx is weird.  Is that what it actually said?  If so, are you using a custom kernel?  It should still say VER-ARCH...

Last edited by Trilby (2013-10-24 22:30:34)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#7 2013-10-24 22:33:50

tekknolagi
Member
Registered: 2013-10-24
Posts: 13

Re: Can't run VirtualBox on a dedicated Arch machine

It says:

λ chaos ~ → ssh voice uname -r
Warning: Permanently added '#######.com' (RSA) to the list of known hosts.
3.10.9-xxxx-grs-ipv6-64
λ chaos ~ →

Last edited by tekknolagi (2013-10-24 22:34:06)

Offline

#8 2013-10-24 22:40:47

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,603

Re: Can't run VirtualBox on a dedicated Arch machine

obviously you're running a custom kernel and will need to build the modules for that kernel instead of the stock one. Is this a VPS/hosted server or something?

Last edited by Scimmia (2013-10-24 22:41:46)

Offline

#9 2013-10-24 22:42:31

tekknolagi
Member
Registered: 2013-10-24
Posts: 13

Re: Can't run VirtualBox on a dedicated Arch machine

This is a dedicated server at OVH. How can I build for that kernel?

Offline

#10 2013-10-24 22:46:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,603

Re: Can't run VirtualBox on a dedicated Arch machine

So it's probably their own kernel. Personally, I would see if you can go with the stock Arch kernel instead or if they need something really specialized for their setup. If you can use the stock kernel, you can just use the pre-built package in the repos and not have to worry about building.

If you have to use their kernel, you need to make sure the headers are installed for that kernel and use the command you mentioned before but targeting the custom kernel.

Offline

#11 2013-10-24 23:06:28

tekknolagi
Member
Registered: 2013-10-24
Posts: 13

Re: Can't run VirtualBox on a dedicated Arch machine

Alright, I am talking to support. What about the lack of /proc/modules?

Offline

Board footer

Powered by FluxBB