Page 1 of 1

Installing VirtualBox 1.6.2 on OpenSuse 10.3

Posted: 26. Jun 2008, 22:13
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!

Posted: 27. Jun 2008, 00:11
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.

Posted: 27. Jun 2008, 21:09
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...

Posted: 27. Jun 2008, 23:45
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.

Posted: 29. Jun 2008, 19:06
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.

Posted: 29. Jun 2008, 19:15
by stefan.becker
You are missing kernel-source. Again: please refer to user manual for further dependencies.

Posted: 29. Jun 2008, 19:18
by cosmicdave
Sorry, but kernel source + dependancies all installed via yast...

Posted: 29. Jun 2008, 20:06
by stefan.becker
"rpm -qa | grep kernel" says what?

Posted: 1. Jul 2008, 13:50
by attila85
You nedd also

kernel-syms