VirtualBox

Ticket #16287 (closed defect: obsolete)

Opened 5 years ago

Last modified 2 years ago

Error when starting a new VM

Reported by: Z Hopa Owned by:
Component: other Version: VirtualBox 5.1.10
Keywords: fail Cc:
Guest type: BSD Host type: Linux

Description (last modified by frank) (diff)

Just did a fresh vanilla install of Fedora 25. Once it was up, went to Oracle and downloaded VirtualBox 5.1.10 for Fedora 25. Installed it, installed the extension pack, and rebooted. Then created a new VM. This VM does not start and throws the following errors:

First error dialog:

Failed to open a session for the virtual machine FreeBSD 9.

The virtual machine 'FreeBSD 9' has terminated unexpectedly during startup with exit code 1 (0x1).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: MachineWrap
Interface: IMachine {b2547866-a0a1-4391-8b86-6952d82efaa0}

Second error dialog (they pop up simultaneously):

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

'/sbin/vboxconfig'

as root.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 

When I run the command it recommends, it prints the following:

[user0@host0 ~]$ sudo /sbin/vboxconfig
[sudo] password for use0: 
Created symlink /etc/systemd/system/multi-user.target.wants/vboxdrv.service → /usr/lib/systemd/system/vboxdrv.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxballoonctrl-service.service → /usr/lib/systemd/system/vboxballoonctrl-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxautostart-service.service → /usr/lib/systemd/system/vboxautostart-service.service.
Created symlink /etc/systemd/system/multi-user.target.wants/vboxweb-service.service → /usr/lib/systemd/system/vboxweb-service.service.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:

  yum install kernel-core-devel-4.8.13-300.fc25.x86_64
(The last command may fail if your system is not fully updated.)
  yum install kernel-core-devel
vboxdrv.sh: failed: Look at /var/log/vbox-install.log to find out what went wrong.
This system is not currently set up to build kernel modules (system extensions).
Running the following commands should set the system up correctly:

  yum install kernel-core-devel-4.8.13-300.fc25.x86_64
(The last command may fail if your system is not fully updated.)
  yum install kernel-core-devel

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.

Change History

comment:1 Changed 5 years ago by Z Hopa

$ sudo yum install kernel-core-devel-4.8.13-300.fc25.x86_64 Redirecting to '/usr/bin/dnf install kernel-core-devel-4.8.13-300.fc25.x86_64' (see 'man yum2dnf')

Last metadata expiration check: 0:50:00 ago on Tue Dec 13 19:38:00 2016. No package kernel-core-devel-4.8.13-300.fc25.x86_64 available. Error: Unable to find a match.

comment:2 Changed 5 years ago by Z Hopa

$ sudo yum install kernel-core-devel Redirecting to '/usr/bin/dnf install kernel-core-devel' (see 'man yum2dnf')

Last metadata expiration check: 0:50:41 ago on Tue Dec 13 19:38:00 2016. No package kernel-core-devel available. Error: Unable to find a match.

comment:3 Changed 5 years ago by Z Hopa

Correction, my apologies: after vanilla install of Fedora 25 I have applied all available updates as of this moment, and only once there were no updates to install, downloaded and installed the VB. Rebooted between every updated as well.

comment:4 Changed 5 years ago by frank

  • Description modified (diff)

comment:5 Changed 5 years ago by frank

Does it still not work? If so, what is the ouput of

uname -r

and what's the output of

ls -l /lib/modules/$(uname -r)/build

?

comment:6 Changed 5 years ago by Z Hopa

Does this help?

4.8.13-300.fc25.x86_64

lrwxrwxrwx. 1 root root 39 Dec 9 10:19 /lib/modules/4.8.13-300.fc25.x86_64/build -> /usr/src/kernels/4.8.13-300.fc25.x86_64

comment:7 Changed 5 years ago by frank

Looks like the correct headers are installed. So calling

/sbin/rcvboxdrv setup

should recompile the VirtualBox kernel modules.

comment:8 Changed 2 years ago by aeichner

  • Status changed from new to closed
  • Resolution set to obsolete

No response from the reporter, closing as obsolete.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use