What kernel to install for virtural machines? OpenSUSE 12.1

I’'m attempting to install either the hypervisor or Oracle virtual box for use as a virtual machine. Both indicate that a kernel needs to be installed.

oracle vm indicates the following

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdv. Please reinstall the kernel module by executing

‘/ect/init.d/vboxdrv setup’

executing the script provides the following:
/etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules done
Uninstalling old VirtualBox DKMS kernel modules done
Trying to register the VirtualBox kernel modules using DKMS
Error! Your kernel headers for kernel 3.1.9-1.4-desktop cannot be found at
/lib/modules/3.1.9-1.4-desktop/build or /lib/modules/3.1.9-1.4-desktop/source.
failed
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules failed
(Look at /var/log/vbox-install.log to find out what went wrong)


by the way dkms is installed.

cat /var/log/vbox-install.log
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.1.10


Deleting module version: 4.1.10
completely from the DKMS tree.

Done.
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/4.1.10/source ->
/usr/src/vboxhost-4.1.10

DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it’s located.
Failed to install using DKMS, attempting to install without
Makefile:172: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.


As to hypervisor, executing the virtual machine manager indicates:
Error starting Virtual Machine Manager: No module named gconf

Any help would be appreciated.

Hi
Whenever your installing an application that needs to build kernel
modules (eg vmware, virtualbox, nvidia etc) you only need to have the
kernel-source, kernel-syms, linux-kernel-headers, make and gcc
installed. For virtualbox you don’t need dkms installed.

Ensure the above are installed and then re-run the setup.


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 3.0.13-0.27-default
up 4 days 6:15, 3 users, load average: 0.00, 0.02, 0.05
CPU Intel i5 CPU M520@2.40GHz | Intel Arrandale GPU

What is the repository for linux-kernel-headers?

On 2012-03-20 03:26, Parthenolide wrote:
>
> What is the repository for linux-kernel-headers?

The same repo you used for the kernel you are using.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Linux-kernel-headers was not found in yast software management, hence my inquiry as to the repository.

Am 20.03.2012 14:26, schrieb Parthenolide:
>
> Linux-kernel-headers was not found in yast software management, hence my
> inquiry as to the repository.
>
>
I think what you are looking for is kernel-desktop-devel,
kernel-default-devel … (depends on what uname -a tells you).


PC: oS 11.4 x86_64 | Intel Core i7-2600@3.40GHz | 16GB | KDE 4.6.0 |
GeForce GT 420
Eee PC 1201n: oS 12.1 x86_64 | Intel Atom 330@1.60GHz | 3GB | KDE 4.8.1
| nVidia ION
eCAFE 800: oS 12.1 i586 | AMD Geode LX 800@500MHz | 512MB | KDE 3.5.10 |
xf86-video-geode

Here is a list of yast software management with a “kernel-” search

Status Package | Summary | Installed (Available) | Size

[Keep] autofs | A Kernel-Based Automounter | 5.0.6-5.4.1 | 1.6 MiB
[Keep] kernel-default | The Standard Kernel | 3.1.9-1.4.1 | 144.0 MiB
[Keep] kernel-default-base | The Standard Kernel - base modules | 3.1.9-1.4.1 | 20.9 MiB
[Keep] kernel-default-devel | Development files necessary for build… | 3.1.9-1.4.1 | 2.7 MiB
[Keep] kernel-desktop | Kernel optimized for the desktop | 3.1.9-1.4.1 | 144.2 MiB
[Keep] kernel-desktop-devel | Development files necessary for build… | 3.1.9-1.4.1 | 2.7 MiB
[Keep] kernel-devel | Development files needed for building… | 3.1.9-1.4.1 | 37.2 MiB
[Keep] kernel-firmware | Linux kernel firmware files | 20111025git-1.7.1 | 29.6 MiB
[Keep] kernel-source | The Linux Kernel Sources | 3.1.9-1.4.1 | 371.5 MiB
[Keep] kernel-syms | Kernel Symbol Versions (modversions) | 3.1.9-1.4.1 | 1.0 KiB
[Keep] kernel-xen-devel | Development files necessary for build… | 3.1.9-1.4.1 | 2.7 MiB
[Keep] kvm | Kernel-based Virtual Machine | 0.15.1-1.7.1 | 10.3 MiB
[Keep] nfs-kernel-server | Support Utilities for Kernel nfsd | 1.2.5-4.3.1 | 415.0 KiB
[Do Not Install] kernel-coverage | Kernel Coverage Imageing, Galaxy Poster | (0.1-61.1.1) | 753.0 KiB
[Do Not Install] kernel-debug | A Debug Version of the Kernel | (3.1.9-1.4.1) | 147.8 MiB
[Do Not Install] kernel-debug-base | A Debug Version of the Kernel - base … | (3.1.9-1.4.1) | 20.6 MiB
[Do Not Install] kernel-debug-base-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 19.9 MiB
[Do Not Install] kernel-debug-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 1.83 GiB
[Do Not Install] kernel-debug-debugsource | Debug sources for package kernel-debug | (3.1.9-1.4.1) | 237.2 MiB
[Do Not Install] kernel-debug-devel | Development files necessary for build… | (3.1.9-1.4.1) | 2.8 MiB
[Do Not Install] kernel-debug-devel-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 29.0 KiB
[Do Not Install] kernel-default-base-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 25.5 MiB
[Do Not Install] kernel-default-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 1.82 GiB
[Do Not Install] kernel-default-debugsource | Debug sources for package kernel-default | (3.1.9-1.4.1) | 236.9 MiB
[Do Not Install] kernel-default-devel-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 114.7 MiB
[Do Not Install] kernel-desktop-base | Kernel optimized for the desktop - ba… | (3.1.9-1.4.1) | 20.2 MiB
[Do Not Install] kernel-desktop-base-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 8.8 MiB
[Do Not Install] kernel-desktop-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 1.81 GiB
[Do Not Install] kernel-desktop-debugsource | Debug sources for package kernel-desktop | (3.1.9-1.4.1) | 236.8 MiB
[Do Not Install] kernel-desktop-devel-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 121.6 MiB
[Do Not Install] kernel-docs | Kernel Documentation | (3.1.9-1.4.2) | 12.9 MiB
[Do Not Install] kernel-ec2 | The Amazon EC2 Xen Kernel | (3.1.9-1.4.1) | 24.9 MiB
[Do Not Install] kernel-ec2-base | The Amazon EC2 Xen Kernel - base modules | (3.1.9-1.4.1) | 11.3 MiB
[Do Not Install] kernel-ec2-base-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 21.0 MiB
[Do Not Install] kernel-ec2-debuginfo | Debug information for package kernel-ec2 | (3.1.9-1.4.1) | 243.6 MiB
[Do Not Install] kernel-ec2-debugsource | Debug sources for package kernel-ec2 | (3.1.9-1.4.1) | 60.4 MiB
[Do Not Install] kernel-ec2-devel | Development files necessary for build… | (3.1.9-1.4.1) | 1.4 MiB
[Do Not Install] kernel-ec2-devel-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 65.4 MiB
[Do Not Install] kernel-ec2-extra | The Amazon EC2 Xen Kernel - Unsupport… | (3.1.9-1.4.1) | 9.9 MiB
[Do Not Install] kernel-ec2-extra-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 150.3 MiB
[Do Not Install] kernel-pae | Kernel with PAE Support | (3.1.9-1.4.1) | 110.9 MiB
[Do Not Install] kernel-pae-base | Kernel with PAE Support - base modules | (3.1.9-1.4.1) | 20.3 MiB
[Do Not Install] kernel-pae-base-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 16.7 MiB
[Do Not Install] kernel-pae-debuginfo | Debug information for package kernel-pae | (3.1.9-1.4.1) | 1.19 GiB
[Do Not Install] kernel-pae-debugsource | Debug sources for package kernel-pae | (3.1.9-1.4.1) | 235.2 MiB
[Do Not Install] kernel-pae-devel | Development files necessary for build… | (3.1.9-1.4.1) | 2.7 MiB
[Do Not Install] kernel-pae-devel-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 147.6 MiB
[Do Not Install] kernel-source-vanilla | Vanilla Linux kernel sources with min… | (3.1.9-1.4.1) | 405.0 MiB
[Do Not Install] kernel-trace | The Standard Kernel with Tracing Feat… | (3.1.9-1.4.1) | 153.0 MiB
[Do Not Install] kernel-trace-base | The Standard Kernel with Tracing Feat… | (3.1.9-1.4.1) | 21.5 MiB
[Do Not Install] kernel-trace-base-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 25.5 MiB
[Do Not Install] kernel-trace-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 1.82 GiB
[Do Not Install] kernel-trace-debugsource | Debug sources for package kernel-trace | (3.1.9-1.4.1) | 237.3 MiB
[Do Not Install] kernel-trace-devel | Development files necessary for build… | (3.1.9-1.4.1) | 2.8 MiB
[Do Not Install] kernel-trace-devel-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 116.0 MiB
[Do Not Install] kernel-vanilla | The Standard Kernel - without any SUS… | (3.1.9-1.4.1) | 133.4 MiB
[Do Not Install] kernel-vanilla-base | The Standard Kernel - without any SUS… | (3.1.9-1.4.1) | 19.6 MiB
[Do Not Install] kernel-vanilla-base-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 24.2 MiB
[Do Not Install] kernel-vanilla-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 1.72 GiB
[Do Not Install] kernel-vanilla-debugsource | Debug sources for package kernel-vanilla | (3.1.9-1.4.1) | 236.5 MiB
[Do Not Install] kernel-vanilla-devel | Development files necessary for build… | (3.1.9-1.4.1) | 2.7 MiB
[Do Not Install] kernel-vanilla-devel-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 108.9 MiB
[Do Not Install] kernel-xen | The Xen Kernel | (3.1.9-1.4.1) | 143.2 MiB
[Do Not Install] kernel-xen-base | The Xen Kernel - base modules | (3.1.9-1.4.1) | 19.9 MiB
[Do Not Install] kernel-xen-base-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 19.5 MiB
[Do Not Install] kernel-xen-debuginfo | Debug information for package kernel-xen | (3.1.9-1.4.1) | 1.67 GiB
[Do Not Install] kernel-xen-debugsource | Debug sources for package kernel-xen | (3.1.9-1.4.1) | 233.2 MiB
[Do Not Install] kernel-xen-devel-debuginfo | Debug information for package kernel-… | (3.1.9-1.4.1) | 100.4 MiB

On 2012-03-20 16:36, Parthenolide wrote:
> Here is a list of yast software management with a “kernel-” search
>
> # Status Package | Summary
> | Installed (Available) | Size
>
> [Keep] autofs | A Kernel-Based
> Automounter | 5.0.6-5.4.1 | 1.6 MiB

Please, when you post such things, use code tags.

>> [Keep] kernel-default-devel | Development files
>> necessary for build… | 3.1.9-1.4.1 | 2.7 MiB

This would be it if you are using kernel-default.


Cheers / Saludos
Carlos E. R.
(training machine)

Oracle virtual box still does not work.

Re: robin_listas
I’m not sure what you mean by using code tags.

Parthenolide: Oracle virtual box still does not work.

So VirtualBox works like a champ in openSUSE and while using any kernel version, up to and including kernel 3.3. You should read the following article on the usage and installation of VirtualBox:

http://forums.opensuse.org/content/59-how-install-virtualbox-opensuse-11-4-12-1-tumbleweed.html

Second, we have a forum just for questions about VirtualBox and other such programs you can find here:

Virtualization

Consider using the Virtualization Forum next time as its the right place to ask such questions. Even the opening thread includes some great information.

http://forums.opensuse.org/english/get-technical-help-here/virtualization/469824-welcome-new-opensuse-virtualization-forum.html

Thank You,

On 2012-03-20 23:26, Parthenolide wrote:

> Re: robin_listas
> I’m not sure what you mean by using code tags.

Posting in Code Tags - A Guide


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

I finally got it to work. Turns out gcc wasn’t installed.

On Wed, 21 Mar 2012 02:26:03 GMT, Parthenolide
<Parthenolide@no-mx.forums.opensuse.org> wrote:

>
>I finally got it to work. Turns out gcc wasn’t installed.

Ooohh. I have had soo many moments like that.

So you solved your issue.?

?-)