You are not logged in.

#1 2008-10-16 16:10:36

FSM
Member
Registered: 2008-04-14
Posts: 33

[Solved] VirtualBox does not work with new kernel

Hi,

a few days ago I wanted to update my archlinux. virtualbox-modules didn't like kernel 2.6.27 (error while upgrading), so I removed the package. Today I tried to install virtualbox-modules again, and there were no error messages, but after installing "modprobe vboxdrv" failed. I have found this thread and followed the instructions there. First I thought it would work because after recompiling I could do "modprobe vboxdrv", but starting a virtual machine does give an error that vboxdrv was not loaded:

VirtualBox kernel driver not installed. The vboxdrv kernel module was either not loaded or /dev/vboxdrv was not created for some reason. Re-setup the kernel module by executing '/etc/init.d/vboxdrv setup' as root.
VBox status code: -4 (VERR_INVALID_HANDLE).


Result Code: 
NS_ERROR_FAILURE (0x80004005)
Component: 
Console
Interface: 
IConsole {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}

Last edited by FSM (2008-10-17 11:16:18)

Offline

#2 2008-10-16 16:36:01

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: [Solved] VirtualBox does not work with new kernel

as root:
vbox_build_module
modprobe vboxdrv

Offline

#3 2008-10-16 16:44:39

FSM
Member
Registered: 2008-04-14
Posts: 33

Re: [Solved] VirtualBox does not work with new kernel

"vbox_build_module: command not found"

I want to use the ose edition - I thought you don't need that command there?

Thanks for the post,

FSM

Last edited by FSM (2008-10-16 16:45:19)

Offline

#4 2008-10-16 17:02:05

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: [Solved] VirtualBox does not work with new kernel

ok sry, i'm using the close source one. but after a kernel update you have to rebuild the modules. have you already tried to install the modules from aur!? virtualbox-modules http://aur.archlinux.org/packages.php?ID=9810
after a succesfull build it's important to reload the module "modprobe vboxdrv" or to reboot your machine.

Last edited by arch0r (2008-10-16 17:02:41)

Offline

#5 2008-10-16 18:34:34

FryShadow
Member
Registered: 2008-08-29
Posts: 6

Re: [Solved] VirtualBox does not work with new kernel

I'm using PULE version, after upgrade to new kernel, I face the same problem too.. and I try to rebuild the updated package from AUR with makepkg and eveything when fine with 2.6.27 kernel

Offline

#6 2008-10-17 08:47:12

FSM
Member
Registered: 2008-04-14
Posts: 33

Re: [Solved] VirtualBox does not work with new kernel

@arch0r: I have reinstalled the package from ABS for kernel 2.6.27 as it was shown in the thread I linked to in the first post.
Today there was an update to virtualbox-modules 2.0.2-4, I did modprobe vboxdrv but VirtualBox gives the same error message.

FSM

Offline

#7 2008-10-17 11:05:38

arch0r
Member
From: From the Chron-o-John
Registered: 2008-05-13
Posts: 597

Re: [Solved] VirtualBox does not work with new kernel

gpasswd -a user vboxusers

Offline

#8 2008-10-17 11:15:39

FSM
Member
Registered: 2008-04-14
Posts: 33

Re: [Solved] VirtualBox does not work with new kernel

strange.. I could sear that I was in this group before...
But I works!
Thank you!

Offline

#9 2009-01-31 20:51:29

haggus
Member
Registered: 2008-12-21
Posts: 6

Re: [Solved] VirtualBox does not work with new kernel

arch0r wrote:

as root:
vbox_build_module
modprobe vboxdrv

Thanks I couldn't figure out why I couldn't get virtualbox working this fixed it right up I thought all I needed to do was add vboxdrv and vboxnetflt to the daemons in /etc/rc.conf. Anyway I have it working now thx:D

Offline

Board footer

Powered by FluxBB