VMware Communities
HorstKevin8
Contributor
Contributor
Jump to solution

Problems with suspending the guest

I use VMware Workstation Player 14.1.2 build-8497320 on Windows 10. The guest is a Fedora 28.

When I want to suspend the guest, it doesn't work.

I click "Suspend Guest" from the menu, confirm with "Yes" then the WMware window disappears for some time and pops up again. The VM is still running but Fedora lost its network connection.

Here is the part of vmware.log related to this attempted suspend:

2018-06-06T10:43:25.483+02:00| vmx| I125: VMXVmdbCbVmVmxExecState: Exec state change requested to state suspended without reset, soft, softOptionTimeout: 20000000.

2018-06-06T10:43:25.483+02:00| vmx| I125: Tools: sending 'OS_Suspend' (state = 5) state change request

2018-06-06T10:43:25.483+02:00| vmx| I125: Tools: Changing running status: 1 => 2.

2018-06-06T10:43:45.485+02:00| vmx| I125: Soft power operation timed out.

2018-06-06T10:43:55.490+02:00| vmx| I125: Tools: Timed out waiting for state change status.

2018-06-06T10:43:55.490+02:00| vmx| I125: Vix: [15312 mainDispatch.c:4151]: VMAutomationReportPowerStateChange: Reporting power state change (opcode=2, err=0).

2018-06-06T10:43:55.490+02:00| vmx| I125: Tools: Changing running status: 2 => 1.

Does anybody else experience this issue?

What can I do to make it work again?

I think (but I'm not sure) that this behavior started after upgrading to 14.1.2

Tags (1)
1 Solution

Accepted Solutions
Scillonian
Hot Shot
Hot Shot
Jump to solution

Looks like the Power controls are not available in VMware Workstation Player. To chage this setting you will need to manually edit the .vmx file for the VM as follows:

  1. Ensure that the VM is shutdown and VMware Workstation Player is not running.
  2. Open the .vmx file for the VM in your preferred text editor. (Notepad.exe will work.)
  3. If there is already an entry in the .vmx file of powerType.Suspend = "soft" change it to powerType.Suspend = "hard".
  4. If the entry does not exist add it.
  5. Save the changes to the .vmx file and close it.
  6. Run the VM and see if Suspend now works.

View solution in original post

12 Replies
Scillonian
Hot Shot
Hot Shot
Jump to solution

Fedora 28 suspends without issue for me. I'm running 64-bit kernel 4.16.13, open-vm-tools 10.2.5 and Cinnamon desktop.

Reply
0 Kudos
HorstKevin8
Contributor
Contributor
Jump to solution

So, now I figured out that the problem has to be the guest somehow. I have a second VM, running Kali Linux and there the suspend works fine.

So probably I will have to reinstall Fedora as a next step?!

Reply
0 Kudos
Scillonian
Hot Shot
Hot Shot
Jump to solution

You could trying looking in the system logs in Fedora 28 to see if there any pointers to what is preventing the suspend.

Reply
0 Kudos
HorstKevin8
Contributor
Contributor
Jump to solution

Do you happen to know where to look for what there?

Reply
0 Kudos
mikef1729
Contributor
Contributor
Jump to solution

I have the same problem with VMware Fusion 10 and Fedora 28 guests.

No problem with countless Fedora 27 guests.

Scillonian
Hot Shot
Hot Shot
Jump to solution

For a start we can see if the dmesg command returns anything useful.

With the Fedora 28 VM running try to suspend it. As soon as the VM suspend fails open a terminal in the VM and run the dmesg command. The last few lines of the output may have some information on why the suspension failed.

Reply
0 Kudos
HorstKevin8
Contributor
Contributor
Jump to solution

I don't see anything that could help me, but here they are:

dmesg - Pastebin.com

Reply
0 Kudos
drmarc
Contributor
Contributor
Jump to solution

me too, started when i upgraded my Fedora 27 VM to 28, also happens with fresh 28 VMs and Rawhide (29) fresh installs.  fusion 10.1.2 (8502123); MacOS 10.13.5 (17F77)

Reply
0 Kudos
Scillonian
Hot Shot
Hot Shot
Jump to solution

Try the following change to the VM settings:

  1. Click Edit virtual machine settings
  2. Click Options tab
  3. Click Power
  4. Under Power controls select Suspend as the action beside the Suspend icon
  5. Click OK to save changes

I have an existing Fedora 28 VM that was an upgrade from Fedora 27 and before that was Linux Mint 17.x. This VM would suspend without issue when pressing the Suspend button on the VMware Workstation toolbar. For test purposes I created a new Fedora 28 VM and discovered that it would not suspend when pressing the Suspend button on the toolbar.

I compared the settings of the two VMs and found that with the Suspend control set to Suspend the VM would suspend but with the Suspend control set to Suspend Guest the VM would not suspend.

For more information on power controls see the VMware document Configure Power Options and Power Control Settings.

HorstKevin8
Contributor
Contributor
Jump to solution

Unfortunately, I don't see Power controls.

Does anybody know why?

vmware.PNG

Reply
0 Kudos
Scillonian
Hot Shot
Hot Shot
Jump to solution

Looks like the Power controls are not available in VMware Workstation Player. To chage this setting you will need to manually edit the .vmx file for the VM as follows:

  1. Ensure that the VM is shutdown and VMware Workstation Player is not running.
  2. Open the .vmx file for the VM in your preferred text editor. (Notepad.exe will work.)
  3. If there is already an entry in the .vmx file of powerType.Suspend = "soft" change it to powerType.Suspend = "hard".
  4. If the entry does not exist add it.
  5. Save the changes to the .vmx file and close it.
  6. Run the VM and see if Suspend now works.
HorstKevin8
Contributor
Contributor
Jump to solution

Thanks!

Now, the suspend button from the menu bar works again!

The way via :smileyx: --> Suspend still doesn't work but I can live with that, right now.

Reply
0 Kudos