VirtualBox

Ticket #10218 (closed defect: worksforme)

Opened 2 years ago

Last modified 19 months ago

cannot resume saved state with 4.1.8

Reported by: cgacimartin Owned by:
Priority: major Component: other
Version: Keywords:
Cc: Guest type: other
Host type: other

Description

I'm getting this error while resuming a virtual machine.

carlos@shirley:~$ /etc/init.d/virtualbox-pilar002 
Usage: /etc/init.d/virtualbox-pilar002 {start|stop|restart|force-reload|status}
carlos@shirley:~$ /etc/init.d/virtualbox-pilar002 start
VBoxManage: error: The virtual machine 'pilar002' has terminated unexpectedly during startup with exit code 1
'''VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005)''', component Machine, interface IMachine, callee 
pilar002 started or resumed.
carlos@shirley:~$ vboxmanage startvm pilar002
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (3.0.0-15-server) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /etc/init.d/vboxdrv setup

         You will not be able to start VMs until this problem is fixed.
Waiting for VM "pilar002" to power on...
VBoxManage: error: The virtual machine 'pilar002' has terminated unexpectedly during startup with exit code 1
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Machine, interface IMachine, callee

After doing "sudo /etc/init.d/vboxdrv setup" it works fine but at the next reboot the bug appears again. I've made sure 'carlos' is a member of vboxusers group. I've installed the extension pack. I've set the BIOS to support the hardware virtualization. I've installed and run dkms--in fact, VB demands that it be run each time I restart the computer. The virtualmachine has worked fine always in that environment and others. It happens on 4.1.8 and 4.1.9r75927. Another user has the same issue in the forum:  https://forums.virtualbox.org/viewtopic.php?f=7&t=44576

Change History

comment:1 Changed 2 years ago by cgacimartin

Btw, the environment is a Ubuntu 11.10 oneiric, 64bits, kernel 3.0.0-15-server

comment:2 Changed 19 months ago by frank

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

Looks to me if your VMs don't start because the kernel modules are not loaded. Install the 'dkms' package and do '/etc/init.d/vboxdrv setup' once. Also, I don't know the script /etc/init.d/virtualbox-pilar002, it is not part of our packages. So it seems that you have some stuff modified.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use