Error starting virtual machine (SuSe 10.2)

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Bartz
Posts: 6
Joined: 22. Jul 2007, 20:40

Error starting virtual machine (SuSe 10.2)

Post 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... :?
aghamemnun
Posts: 13
Joined: 17. Jul 2007, 17:58

necessary packages installed?

Post 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.
Bartz
Posts: 6
Joined: 22. Jul 2007, 20:40

Post by Bartz »

The packages where already installed. I tried again to run the command (as root) but again I get the same error. :cry:
Vox
Posts: 6
Joined: 23. Jul 2007, 19:00
Contact:

Post 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.
Voice
Bartz
Posts: 6
Joined: 22. Jul 2007, 20:40

Post by Bartz »

@ Vox
Tried to perform the steps you mentioned, but it still don't work.
Vox
Posts: 6
Joined: 23. Jul 2007, 19:00
Contact:

Post 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).
Voice
Bartz
Posts: 6
Joined: 22. Jul 2007, 20:40

Post by Bartz »

Also tried with restart, also not the solution for me.
Vox
Posts: 6
Joined: 23. Jul 2007, 19:00
Contact:

Post by Vox »

Huh, strange. It should work.

Did you place the nmi_watchdog=0 command in the proper place?
Voice
Bartz
Posts: 6
Joined: 22. Jul 2007, 20:40

Post by Bartz »

I put it in the menu.lst file at the end, so on the last rule.
Vox
Posts: 6
Joined: 23. Jul 2007, 19:00
Contact:

Post by Vox »

Hmm... does "nmi_watchdog=0" show up in the boot menu when you start Linux?
Voice
thomas
Posts: 1
Joined: 25. Jul 2007, 19:14

Post 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
Bartz
Posts: 6
Joined: 22. Jul 2007, 20:40

Post 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. :)
solinem
Posts: 24
Joined: 1. Nov 2008, 02:26
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXPsp2
Location: Mexico City

Post 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
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

Remove software with yum remove. See the yum manpage or yum --help for more info.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply