VirtualBox OSE error

Hi,

Unable to run VB, I get following error -

Kernel driver not installed (rc=-1908)

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

'/etc/init.d/vboxdrv setup'

as root. Users of Ubuntu, Fedora or Mandriva should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

I’ve dkms installed and did a reboot as well.

Best,

david

But did you do what it said?

‘/etc/init.d/vboxdrv setup’

Yup, I guess I can read and some times make sense out of it.

linux-lst5:/home/david # /etc/init.d/vboxdrv setup
Recompiling VirtualBox kernel modules, NOT. It has been packaged. 

I did 4 reboots so far.

Computers are mostly deterministic. Rebooting isn’t going to make something magically work again if it didn’t work the last time.

The openSUSE VirtualBox OSE has been built for a particular kernel version. When your kernel is updated, you have to update VirtualBox OSE also to a suitable version, but this may take some days to appear.

Some of use prefer to use VirtualBox PUEL instead which comes directly from Oracle, which can be recompiled with that setup command if the kernel is updated. You need to have kernel-source, gcc, make and I think pam-devel installed for the compile to work.

I think there must be a Wiki entry for this FAQ now?

You don’t need dkms. You don’t need xen. In fact, those can keep VirtualBox from running. Uninstall those. Then reboot. Add the repository for virtual box. Index of /repositories/Virtualization:/VirtualBox/openSUSE_11.2
I have VirtualBox OSE working and running.

VirtualBox installation - openSUSE
VirtualBox - openSUSE
Virtualbox Network Bridging - openSUSE

Jon:

Thanks a bunch. I’ve added repository, will check in a few.

Best,

David

You will probably be more interested in the PUEL version
Virtual Box (Sun Version) Install HowTo

PUEL supports USB and I can try that. Need to fix Yukon driver for opensolaris in virtualbox. I will do this tomorrow, atm fixing broken firefox and chrome.

I had more problems with dkms installed than without it, for what it’s worth.

Agreed. Would never bother with it myself.

Sun VirtualBox forum insists on installing DKMS. Anyway I will remove it and try.

Not with me it doesn’t

Ok, I am working on it now.

I cant find the package using YaST. I got repository enabled.

What can’t you find exactly?

I cant find VirtualBox package after enabling the repository.

Post result of

zypper lr -d

Here it is

david@linux-zsof:~> zypper lr -d
#  | Alias                               | Name                                                | Enabled | Refresh | Priority | Type   | URI                                                                                 | Service
---+-------------------------------------+-----------------------------------------------------+---------+---------+----------+--------+-------------------------------------------------------------------------------------+--------
1  | download.nvidia.com-opensuse        | NVIDIA Repository                                   | Yes     | Yes     |   99     | rpm-md | ftp://download.nvidia.com/opensuse/11.2/                                            |        
2  | download.opensuse.org-2.28          | openSUSE BuildService - GNOME:STABLE:2.28           | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/GNOME:/STABLE:/2.28/openSUSE_11.2/        |        
3  | download.opensuse.org-Apps          | openSUSE BuildService - GNOME:Apps                  | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/GNOME:/Apps/openSUSE_11.2/                |        
4  | download.opensuse.org-VirtualBox    | openSUSE BuildService - Virtualization (VirtualBox) | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Virtualization:/VirtualBox/openSUSE_11.2/ |        
5  | download.opensuse.org-mozilla       | openSUSE BuildService - Mozilla                     | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_11.2/                    |        
6  | http-download.opensuse.org-7cac92ff | Updates for openSUSE 11.2-0                         | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.2/                                           |        
7  | openSUSE 11.2-0                     | openSUSE 11.2-0                                     | Yes     | No      |   99     | yast2  | cd:///                                                                              |        
8  | packman.inode.at-suse               | Packman Repository                                  | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/11.2/                                                  |        
9  | repo-debug                          | openSUSE-11.2-Debug                                 | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.2/repo/oss/                      |        
10 | repo-non-oss                        | openSUSE-11.2-Non-Oss                               | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/non-oss/                        |        
11 | repo-oss                            | openSUSE-11.2-Oss                                   | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/oss/                            |        
12 | repo-source                         | openSUSE-11.2-Source                                | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.2/repo/oss/ 

I am now running gnome desktop and have all dependencies resolved.

su - term

zypper rr 4
zypper ar -f http://download.virtualbox.org/virtualbox/rpm/opensuse/11.2 virtualbox
zypper in VirtualBox-3.2

Atm, installing suggested and recommended, will do that post install.

thanks,

david