Page 1 of 1

VM fails to start from saved state. Works from fresh boot.

Posted: 28. Dec 2018, 19:42
by DessaDog
When starting my VMs from a saved state, I get the following error. This happens on both my Windows 7 and my CentOS VM.

Code: Select all

Failed to open a session for the virtual machine Windows -<name>.

Failed to load unit 'lsilogicsas' (VERR_SSM_LOADED_TOO_LITTLE).

Result Code: NS_ERROR_FAILURE (0x80004005)
Component: ConsoleWrap
Interface: IConsole {872da645-4a9b-1727-bee2-5585105b9eed}
If i discard the saved state, then start the VM the VM starts without error.
These two VMs were originally copied over from Fusion and used with VirtualBox 5.x. The problem only started when I upgraded to VirtualBox 6.
Currently running VirtualBox Version 6.0.0 r127566 (Qt5.6.3)
Host: OSX 10.14.2

Log is attached. This was made doing a clean start of the Windows VM, then saving the state, then trying to start it from the saved state.

Re: VM fails to start from saved state. Works from fresh boot.

Posted: 28. Dec 2018, 19:58
by Martin
Keeping saved states through version upgrades of Virtualbox was never supported.

Re: VM fails to start from saved state. Works from fresh boot.

Posted: 28. Dec 2018, 20:22
by DessaDog
Martin,
I understand saved states isn't supported across upgrades. That's not my problem.
To Summarize:
- I'm currently running VirtualBox 6.0
- I startup my VM
- I save my VM state
- I can't startup my VM from the saved state.

This is all with 6.0

Re: VM fails to start from saved state. Works from fresh boot.

Posted: 29. Dec 2018, 16:44
by socratis
I think I've seen a report or two regarding saved states and not-default HD controllers, but I can't find them at the moment... :?

Re: VM fails to start from saved state. Works from fresh boot.

Posted: 29. Dec 2018, 17:24
by DessaDog
Is my HD controller a non-default type?
What is the default type?

Re: VM fails to start from saved state. Works from fresh boot.

Posted: 29. Dec 2018, 23:52
by socratis
The LsiLogic SCSI controller is usually the one that's assigned for imported VMs, OVA or OVF. The easiest way to see which is the default controller is to create a new VM (and then delete it). For both Win7 and CentOS that would be SATA (for the HDD).

Re: VM fails to start from saved state. Works from fresh boot.

Posted: 23. Jan 2019, 10:45
by gapost
I have exactly the same problem on my CentOS 7 host with a Windows 7 VM after upgrade to VirtualBox 6.0 (from 5.2).

If I save the VM state and then try to start it I get the same error message as the OP.

Re: VM fails to start from saved state. Works from fresh boot.

Posted: 24. Jan 2019, 08:11
by socratis
socratis wrote:I think I've seen a report or two regarding saved states and not-default HD controllers, but I can't find them at the moment... :?
Found them:
  • #18263 Restoring 32bit Windows7 VM Saved State Fails
  • #18265 Win7 in VB 6.0.0 fails on resume on 97%
Moving to "Using VirtualBox" from "OSX Hosts".