Page 1 of 1

Ubuntu 12.04 stuck on machine state saving

Posted: 24. Sep 2012, 10:07
by liannario
Hi all,

I am on OS X Mountain Lion 10.8.2 and I am trying to run Ubunu 12.04 LTS as guest. Every time that I try to save the machine state the progress bar goes to 100% but it stays there forever. I tried to core dump as described in the wiki but it seems I do not have coreadm. However, when I run kill -4 pid it returns "Illegal instruction: 4 (core dumped)".

Any suggestions would be appreciated.

Thank you.

Luca

Re: Ubuntu 12.04 stuck on machine state saving

Posted: 24. Sep 2012, 11:02
by mpack
VirtualBox version? Or better yet a complete log file? (as zipped attachment pls).

Re: Ubuntu 12.04 stuck on machine state saving

Posted: 24. Sep 2012, 11:34
by liannario
Here is the last run log. Thanks

Edit: I cannot install the guest additions because every time that I try it appears the colored baloon and the vm freezes.

Re: Ubuntu 12.04 stuck on machine state saving

Posted: 24. Sep 2012, 11:39
by mpack
That is the VBoxSVC log, whereas I asked for the VM log. The VM log file is called "VBox.log", and can be found in the "Logs" subfolder of your VM folder.

Have you tried simply shutting down the VM instead of saving state?

Re: Ubuntu 12.04 stuck on machine state saving

Posted: 24. Sep 2012, 11:50
by liannario
Ok sorry. Here it is the right one.

Yes. I can shut it down correctly but I cannot save the state.

Thanks for your help.

Re: Ubuntu 12.04 stuck on machine state saving

Posted: 26. Sep 2012, 20:28
by liannario
any suggestions?

Re: Ubuntu 12.04 stuck on machine state saving

Posted: 27. Sep 2012, 11:15
by mpack
Sorry, missed your later response.

And sorry again, no I have no idea what is wrong. The log shows that the VM got all the way through the shutdown process, all shutdown statistics completed, all it was lacking was the final transition from "destroying" to "terminated".

I see you still have the host DVD drive mounted in the VM, you might want to unmount that, as I've known some VMs to be affected on startup or shutdown by what media they have attached. Virtual CD/DVD drive is best left "empty".

Re: Ubuntu 12.04 stuck on machine state saving

Posted: 27. Sep 2012, 12:19
by liannario
I tried to empty the Virtual CD/DVD but the problem persists...anyone else has the same problem?

Re: Ubuntu 12.04 stuck on machine state saving

Posted: 1. Oct 2012, 09:11
by liannario
I solved it reinstalling the VM from scratch.

Thank you for the support.

Re: Ubuntu 12.04 stuck on machine state saving

Posted: 27. Jan 2013, 16:17
by MarcS
I'm having this issue too.

OS X 10.8, VB 4.2.6, Ubuntu 12.04 LTS.

I can do a clean shut down, but I can't close the VM and save state, and I can't take a snapshot either.

If I uninstall guest additions (and then do a clean shutdown and restart of the VM) it fixes the problem, but of course then I don't have the guest additions features. Re-installing guest additions bring the problem back.

Here's the tail of the log:

0:00:25.834372 Guest Additions capability report: (0x5) seamless: yes, hostWindowMapping: no, graphics: yes
00:04:16.045500 Changing the VM state from 'RUNNING' to 'SUSPENDING'.
00:04:16.417176 AIOMgr: Endpoint for file '/Users/marcstober/VirtualBox VMs/Ubuntu/Ubuntu.vdi' (flags 000c0781) created successfully
00:04:16.483511 PDMR3Suspend: 149 730 646 ns run time
00:04:16.483566 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'.
00:04:19.119451 Changing the VM state from 'SUSPENDED' to 'SAVING'.
00:04:19.184924 VUSB: detached 'HidMouse' from port 1
00:05:25.185815 ERROR [COM]: aRC=VBOX_E_INVALID_VM_STATE (0x80bb0002) aIID={db7ab4ca-2a3f-4183-9243-c1208da92392} aComponent={Console} aText={Already paused}, preserve=false

I don't want to rebuild my VM.

I am wondering if somehow a previous version of guest additions is not completely uninstalled? How would I check for that?

Would going back to VBox 4.2.2 be more stable on OS X than .6? (I feel like this worked once upon a time.)

Re: Ubuntu 12.04 stuck on machine state saving

Posted: 28. Jan 2013, 02:25
by MarcS
Update: I was able to resolve the problem by disabling 3D acceleration.

I think there was some reason I'd wanted 3D acceleration on at some point, but hopefully I can get along without it for now.