Page 1 of 1

Error starting virtual machine (SuSe 10.2)

Posted: 22. Jul 2007, 20:45
by Bartz
Just installed VirtualBox and made a new virtual machine. But when I start this virtual machine I get the following error:

Code: Select all

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: -1908 (VERR_VM_DRIVER_NOT_INSTALLED).


Result Code: 
0x80004005
Component: 
Console
Interface: 
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

 
So I excecuted the '/etc/init.d/vboxdrv setup' command, but then I get the following message:

Code: Select all

Stopping VirtualBox kernel module                                    done
Recompiling VirtualBox kernel module                                 done
Starting VirtualBox kernel module FATAL: Error inserting vboxdrv (/lib/modules/2.6.18.8-0.5-default/misc/vboxdrv.ko): Invalid argument
                                                                     failed
(modprobe vboxdrv failed)
I really don't know what this means and what to do now. Maybe also because I'm new to Linux... :?

necessary packages installed?

Posted: 23. Jul 2007, 17:42
by aghamemnun
Make sure that the following packages are installed:

kernel-xource
kernel-syms
xalan-c
xerces-c

After installing these packages, run /etc/init.d/vboxdrv setup as root, as you were prompted to do. This should work.

Posted: 23. Jul 2007, 18:27
by Bartz
The packages where already installed. I tried again to run the command (as root) but again I get the same error. :cry:

Posted: 23. Jul 2007, 19:04
by Vox
Hi,

I also attest that the same error pops up for me when trying to run a virtual system in VBox. Aghamemnun's suggestion doesn't seem to work for me, as those packages have been installed but have not alleviated the problem.

I shall attempt a restart (though that may not really help at all, it's worth a try ;) ).

EDIT: Nope, still not working. Does this only affect SUSE boxes?

EDIT 2: Add nmi_watchdog=0 to the end of the kernel command in /boot/grub/menu.lst

That got my VBox kernel to recompile. You will also need to add yourself to the virtualbox usergroup, which can be done at YaST -> Security and Users -> Group Management.

Posted: 23. Jul 2007, 21:02
by Bartz
@ Vox
Tried to perform the steps you mentioned, but it still don't work.

Posted: 23. Jul 2007, 22:13
by Vox
Bartz wrote:@ Vox
Tried to perform the steps you mentioned, but it still don't work.
Restart after placing yourself in the virtualbox group (and possible after adding the GRUB information).

Posted: 23. Jul 2007, 22:47
by Bartz
Also tried with restart, also not the solution for me.

Posted: 24. Jul 2007, 02:53
by Vox
Huh, strange. It should work.

Did you place the nmi_watchdog=0 command in the proper place?

Posted: 24. Jul 2007, 14:40
by Bartz
I put it in the menu.lst file at the end, so on the last rule.

Posted: 25. Jul 2007, 18:18
by Vox
Hmm... does "nmi_watchdog=0" show up in the boot menu when you start Linux?

Posted: 25. Jul 2007, 19:22
by thomas
The VirtualBox kernel driver is not accessible to the current user. Make sure that the user has write permissions for /dev/vboxdrv by adding them to the vboxusers groups. You will need to logout for the change to take effect..
VBox status code: -1909 (VERR_VM_DRIVER_NOT_ACCESSIBLE).


Fehlercode:
0x80004005
Komponente:
Console
Interface:
IConsole {1dea5c4b-0753-4193-b909-22330f64ec45}

try to start virtual box as root:

type in
sudo VirtualBox

Posted: 26. Jul 2007, 19:29
by Bartz
I uninstalled everything that something has to do with virtualbox and reinstalled it again, and now it? working. I don know what the problem was, I followed this second time exactly the same procedure. Maybe I did something wrong the fist time, but it is working now. Thanks for the replies. :)

Posted: 13. Feb 2009, 06:43
by solinem
Well
I see that it can be a solution to my problem (the same), but:
HOW DO I UNINSTALL VirtualBox?
Fedora 10
Kernel: 2.6.27.5-117.fc10.i686
(note: I am working from the console as root)

Thanks in advance

Posted: 19. Feb 2009, 02:37
by Sasquatch
Remove software with yum remove. See the yum manpage or yum --help for more info.