Installing VirtualBox 1.6.2 on OpenSuse 10.3

Discussions related to using VirtualBox on Linux hosts.
Post Reply
cosmicdave
Posts: 4
Joined: 26. Jun 2008, 22:01

Installing VirtualBox 1.6.2 on OpenSuse 10.3

Post by cosmicdave »

All seems to install correctly, and GUI starts, but when I try to start a VM I get:

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 {d5a1cbda-f5d7-4824-9afe-d640c94c7dcf}

When executing '/etc/init.d/vboxdrv setup' as root I get:-

./etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)


/var/log/vbox-install.log gives:-
Makefile:154: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.

Help!
eculpepper
Posts: 4
Joined: 2. May 2008, 23:46

Post by eculpepper »

do you have the kernel headers installed? sounds like the installer is trying the virtualbox kernel modules and its failing because it can't find the appropriate kernel headers. go through yast's software manager and check if kernel-header are installed, if not try them.

i'm using suse linux enterprise 10 sp1 and only have the kernel headers installed and not the source, maybe opensuse needs the source, i'm not sure but at least try to install the kernel headers first and try remaking the module.
cosmicdave
Posts: 4
Joined: 26. Jun 2008, 22:01

Post by cosmicdave »

Yes, I have kernel-headers installed.

How do I remake the module? Is that vboxdrv setup?

Thanks for the help, by the way...
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

Read the Message!

There is written the way to compile the module. There is written a filename with reasons why the module not compiles.

Try the command, look into the file. Post again with the messages of the file, if not compile.
cosmicdave
Posts: 4
Joined: 26. Jun 2008, 22:01

Post by cosmicdave »

This is the message and the file contents...

./etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module done
Recompiling VirtualBox kernel module failed
(Look at /var/log/vbox-install.log to find out what went wrong)


/var/log/vbox-install.log gives:-
Makefile:154: *** Error: unable to find the include directory for your current Linux kernel. Specify KERN_INCL=<directory> and run Make again.
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

You are missing kernel-source. Again: please refer to user manual for further dependencies.
cosmicdave
Posts: 4
Joined: 26. Jun 2008, 22:01

Post by cosmicdave »

Sorry, but kernel source + dependancies all installed via yast...
stefan.becker
Volunteer
Posts: 7639
Joined: 7. Jun 2007, 21:53

Post by stefan.becker »

"rpm -qa | grep kernel" says what?
attila85
Posts: 3
Joined: 1. Jul 2008, 13:43

Post by attila85 »

You nedd also

kernel-syms
Post Reply