You are not logged in.

#1 2008-10-14 15:12:05

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Solved Virtualbox not working with new kernel

since Kernel upgrade I get this when i try to us virtual box

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}

Obviously ive tried all the suggestions I also can't uninstall or reinstall I get error messages and the system freezes

Last edited by mandog (2008-10-16 14:19:37)


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

#2 2008-10-14 15:29:13

reztho
Member
Registered: 2007-12-16
Posts: 43

Re: Solved Virtualbox not working with new kernel

Did you ever try to rebuild de VirtualBox kernel module (vbox_build_module as root) ?

Offline

#3 2008-10-15 06:33:14

ashyanbhog
Member
From: India
Registered: 2008-08-19
Posts: 49

Re: Solved Virtualbox not working with new kernel

Same problem here. Looks like Kernel-headers package is yet to get updated to 2.6.27, and that is screwing up Virtualbox.

Besides vbox_build_module seems to only be in virtualbox_bin package in AUR. The community packages don't have the option to recompile the module.

Offline

#4 2008-10-15 07:05:48

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

Re: Solved Virtualbox not working with new kernel

Hi all,

I also got the same error, I already tried vbox_build_module as root and get an error too..

Offline

#5 2008-10-15 07:32:15

ashyanbhog
Member
From: India
Registered: 2008-08-19
Posts: 49

Re: Solved Virtualbox not working with new kernel

Installed virtualbox_bin from AUR and the problem went away

Offline

#6 2008-10-15 08:16:09

filter_ua
Member
Registered: 2006-01-22
Posts: 12

Re: Solved Virtualbox not working with new kernel

Hi!

anybody knows how to fix this in OSE version?

I have rebuilt virtualbox-ose and virtualbox-modules from ABS as it states on ArchWiki but it does not help.

Thanks

Last edited by filter_ua (2008-10-15 08:16:34)

Offline

#7 2008-10-15 09:40:07

cserge
Member
Registered: 2007-01-11
Posts: 17

Re: Solved Virtualbox not working with new kernel

Hi

There is already an updated version of virtualbox-modules [2.0.2-3] for the new kernel 2.6.27
But there is an error in the package. The upgrade installs the driver in /lib/modules/2.2.26-ARCH instead of /lib/modules/2.2.27-ARCH

So I run

cp /lib/modules/2.2.26-ARCH/misc /lib/modules/2.2.27-ARCH

I logged out and restart the pc.

At the first boot , it complained that vboxdrv was not install [vboxdrv is in the modules in /etc/rc.conf].
I run

 modprobe vboxdrv

And then I could run vitrtualbox

Serge

Offline

#8 2008-10-15 12:28:07

mkmm
Member
Registered: 2008-10-14
Posts: 7

Re: Solved Virtualbox not working with new kernel

See the hint from Inferno: http://bbs.archlinux.org/viewtopic.php?id=51820
I have changed the sources of my old vbox installation (1.6.4 from AUR) according to his suggestion, then recompiled modules with vbox_build_module and my vbox works again. The files to be changed are /opt/virtualbox/src/SUPDRV.h and /opt/virtualbox/src/linux/SUPDrv-linux.c

Last edited by mkmm (2008-10-15 12:31:42)

Offline

#9 2008-10-15 18:55:58

mandog
Member
From: Peru
Registered: 2008-09-17
Posts: 218

Re: Solved Virtualbox not working with new kernel

I've purged all the virtualbox setup files and then Installed virtualbox_bin from AUR, and it works apart from a warning about usb drives but I can live with that for now.:)

Last edited by mandog (2008-10-15 18:57:51)


I'm dyslexic Please do not complain about puntuation or spelling and remember most dyslexic people have above average iq.

Offline

Board footer

Powered by FluxBB