VMware Communities
silliker
Contributor
Contributor

Suspend crashing OSX?

Hi all.

Whenever I attempt to suspend a VM with Beta 2, OSX crashes. I get the Mac BSOD and have to power off my MBP.

Has anyone else run into this? I've opened a support request, but thought I'd check here as well.

-a

Reply
0 Kudos
22 Replies
admin
Immortal
Immortal

Does /var/log/system.log contain anything interesting (apart from possibly lots of entries beginning "SMAC: FromHostIP: could not find IP")? What about /Library/Logs/panic.log or ~/Library/Logs/CrashReporter/vmware.crash.log?

Reply
0 Kudos
bgertzfield
Commander
Commander

As etung mentioned, please post the information from /Library/Logs/panic.log, as it'll help us diagnose the issue.

Do you have Secure Virtual Memory enabled in System Preferences -> Security? We've seen similar issues with that feature enabled in the past.

Reply
0 Kudos
gscoker
Contributor
Contributor

I have this problem too. Here is my crash log. It is not different from the crash log from Beta 1 under the same conditions. I am not running secure virtual memory. One question, is this a real issue with Beta 1 or did the install from Beta 2 not correctly upgrade my system from Beta 1?

Sat Mar 3 10:17:25 2007

panic(cpu 0 caller 0x52DA60BB): vmmon: ASSERT bora/modules/vmmon/macos/pageHiddenMap.cpp:780

Backtrace, Format - Frame : Return Address (4 potential args on stack)

0x25193a08 : 0x128d08 (0x3c9a14 0x25193a2c 0x131de5 0x0)

0x25193a48 : 0x52da60bb (0x52db1520 0x52db1500 0x25193a70 0x25193a70)

0x25193b88 : 0x52da60df (0x29a19 0x25193be8 0x25193bb8 0x37ec17)

0x25193bb8 : 0x52da9cc4 (0x52db1560 0x52db1d9c 0x30c 0x0)

0x25193c08 : 0x52da8b8b (0x2681a 0x2681a 0x4 0x332ee018)

0x25193c38 : 0x52da8c86 (0x46cc004 0x2681a 0x0 0x25193c64)

0x25193c88 : 0x52daa52f (0x46cc004 0x0 0x3d94910 0x40f2f78)

0x25193ca8 : 0x52dab1cf (0x3d94910 0x1 0x300 0x6)

0x25193cf8 : 0x52da624e (0x46cc004 0x0 0x48 0x1)

0x25193d18 : 0x52da6a3e (0x13 0x12 0x38f1a10 0x0)

0x25193d68 : 0x1ef4de (0x9000000 0x20005602 0x25193eb8 0x3)

0x25193da8 : 0x1e6360 (0x25193dd0 0x297 0x25193e08 0x407b7d0)

0x25193e08 : 0x1de161 (0x4eb9e70 0x20005602 0x25193eb8 0x3)

0x25193e58 : 0x330735 (0x4722df0 0x20005602 0x25193eb8 0x407b7d0)

0x25193e88 : 0x34ea91 (0x4722df0 0x20005602 0x25193eb8 0x407b7d0)

0x25193f58 : 0x37888a (0x407b7d0 0x4424878 0x44248bc 0x0) Backtrace continues...

Kernel loadable modules in backtrace (with dependencies):

com.vmware.kext.vmmon(1.0.0d1)@0x52da5000

Kernel version:

Darwin Kernel Version 8.8.3: Wed Oct 18 21:57:10 PDT 2006; root:xnu-792.15.4.obj~4/RELEASE_I386

Reply
0 Kudos
bgertzfield
Commander
Commander

Hi gscoker,

This one does seem different from the Beta 1 ASSERT. (ASSERTs are internal beta-only logic-checking code that ensure our assumptions about the behavior of the system are correct; in your case, one of them hit an error case that was unexpected and unhandled).

Are you running on a Macbook Pro or another laptop machine? Is this reproducible for you? If so, can you send me a private message as to where I can get your virtual machine?

Reply
0 Kudos
HPReg
VMware Employee
VMware Employee

silliker and gscoker,

When the crash occurs, after you reboot, can you please run this command on your system and send us the output?

grep 'Page_Ungrab' /var/log/system.log

Reply
0 Kudos
HPReg
VMware Employee
VMware Employee

Also silliker and gscoker, are you guys using FileVault for the home directory of the user who is running the VM?

Reply
0 Kudos
gscoker
Contributor
Contributor

This is what I get when I grep for Page_Ungrab in system.log.

Mar 2 08:17:10 trout kernel[0]: vmmon: Warning: Page_Ungrab expected in pmap 00000000

Mar 2 08:17:10 trout kernel[0]: vmmon: Warning: Page_Ungrab expected in vm_map 000573A5

Mar 2 08:17:10 trout kernel[0]: vmmon: Warning: Page_Ungrab actual in pmap 00000000

Mar 2 08:17:10 trout kernel[0]: vmmon: Warning: Page_Ungrab actual in vm_map 00000000

Mar 3 10:16:19 trout kernel[0]: vmmon: Warning: Page_Ungrab expected in pmap 00000000

Mar 3 10:16:19 trout kernel[0]: vmmon: Warning: Page_Ungrab expected in vm_map 00029A19

Mar 3 10:16:19 trout kernel[0]: vmmon: Warning: Page_Ungrab actual in pmap 00000000

Mar 3 10:16:19 trout kernel[0]: vmmon: Warning: Page_Ungrab actual in vm_map 00000000

Reply
0 Kudos
gscoker
Contributor
Contributor

I am not running filevault. I am running a macbook with Core2Duo. Here is my hardware profile,

Machine Name: Mac

Machine Model: MacBook2,1

Processor Name: Intel Core 2 Duo

Processor Speed: 2 GHz

Number Of Processors: 1

Total Number Of Cores: 2

L2 Cache (per processor): 4 MB

Memory: 2 GB

Bus Speed: 667 MHz

Boot ROM Version: MB21.00A5.B00

SMC Version: 1.13f3

Serial Number: 4H6481E4WGQ

Sudden Motion Sensor:

State: Enabled

Reply
0 Kudos
gscoker
Contributor
Contributor

Here is a panic from Beta 1. This may not be useful in this discussion, but it shows the history of this issue for my system. The crashing on suspend has been reproducible always on Beta 1 and Beta 2.

Wed Jan 17 21:11:12 2007

panic(cpu 1 caller 0x517EE0BB): vmmon: ASSERT bora/modules/vmmon/macos/pageHiddenMap.cpp:307

Backtrace, Format - Frame : Return Address (4 potential args on stack)

0x251539b8 : 0x128d08 (0x3c9a14 0x251539dc 0x131de5 0x0)

0x251539f8 : 0x517ee0bb (0x517f9170 0x517f9150 0x25153a20 0x25153a20)

0x25153b38 : 0x517ee0df (0x0 0x0 0x25153b68 0x37ec17)

0x25153b68 : 0x517f1800 (0x517f91b0 0x517f99c0 0x133 0x52f8000)

0x25153bc8 : 0x517f1834 (0x52df8 0x52f7000 0x1000 0x0)

0x25153c08 : 0x517f0b27 (0x52df8 0x52df8 0xa 0x33632030)

0x25153c38 : 0x517f0c22 (0x4aaf004 0x52df8 0x0 0x25153c64)

0x25153c88 : 0x517f275f (0x4aaf004 0x0 0x3d94f70 0x41559a4)

0x25153ca8 : 0x517f3220 (0x3d94f70 0x1 0x1 0x0)

0x25153cf8 : 0x517ee24e (0x4aaf004 0x0 0x48 0x1)

0x25153d18 : 0x517eea31 (0x12 0x11 0x38f1610 0x0)

0x25153d68 : 0x1ef4de (0xb000000 0x20005602 0x25153eb8 0x3)

0x25153da8 : 0x1e6360 (0x25153dd0 0x297 0x25153e08 0x48f25dc)

0x25153e08 : 0x1de161 (0x47257bc 0x20005602 0x25153eb8 0x3)

0x25153e58 : 0x330735 (0x4df0c00 0x20005602 0x25153eb8 0x48f25dc)

0x25153e88 : 0x34ea91 (0x4df0c00 0x20005602 0x25153eb8 0x48f25dc) Backtrace continues...

Kernel loadable modules in backtrace (with dependencies):

com.vmware.kext.vmmon(1.0.0d1)@0x517ed000

Kernel version:

Darwin Kernel Version 8.8.3: Wed Oct 18 21:57:10 PDT 2006; root:xnu-792.15.4.obj~4/RELEASE_I386

Reply
0 Kudos
HPReg
VMware Employee
VMware Employee

gscoker,

Thanks. We are very interested in fixing this bug. We have never been able to reproduce this in house, but a few of you guys hit it in the field. We are trying to understand what the pattern is in the failure case.

Reply
0 Kudos
silliker
Contributor
Contributor

Sorry for the delay. On my system, I am guaranteed to crash if I try to suspend a VM, so I'm certainly a good candidate for debugging. Smiley Happy

This is a C2D MBP.

I do not have either filevault or secure virtual storage enabled.

Mar 2 19:55:30 computer kernel[0]: vmmon: Warning: Page_Ungrab expected in pmap 00000000

Mar 2 19:55:30 computer kernel[0]: vmmon: Warning: Page_Ungrab expected in vm_map 0005121D

Mar 2 19:55:30 computer kernel[0]: vmmon: Warning: Page_Ungrab actual in pmap 00000000

Mar 2 19:55:30 computer kernel[0]: vmmon: Warning: Page_Ungrab actual in vm_map 00000000

Mar 3 23:27:20 computer kernel[0]: vmmon: Warning: Page_Ungrab expected in pmap 00000000

Mar 3 23:27:20 computer kernel[0]: vmmon: Warning: Page_Ungrab expected in vm_map 0001F5D5

Mar 3 23:27:20 computer kernel[0]: vmmon: Warning: Page_Ungrab actual in pmap 00000000

Mar 3 23:27:20 computer kernel[0]: vmmon: Warning: Page_Ungrab actual in vm_map 00000000

As far as I can tell, this doesn't seem to be dependent on virtual machine. I haven't found one that doesn't crash upon suspending, even a VM that I create in Fusion.

Andrew

Message was edited by:

silliker -> sanitize

Reply
0 Kudos
bgertzfield
Commander
Commander

Hi silliker,

Does it even happen with a blank VM that you create, power on, then suspend?

Reply
0 Kudos
HPReg
VMware Employee
VMware Employee

silliker,

Thanks for the info. Once we understand what is going on and we have a fix for it, you will be our guinea pig Smiley Happy

Would you mind sending us a list of all the processes that are running on your box when you run the VM before it ends up crashing? I'm wondering if another application could be cause of this issue.

Reply
0 Kudos
HPReg
VMware Employee
VMware Employee

Can you also send us th elist of kernel extensions that are loaded with this command?

kextstat

Reply
0 Kudos
silliker
Contributor
Contributor

I'll send a file to both of you via PM.

Creating a blank VM: So long as I suspend while the system is still in the BIOS routines, I can suspend and resume without problem.

If I assign a bootable ISO to the CDROM, once the system begins to boot if I attempt to suspend, the host system crashes.

Upon accessing the VM I tried to suspend after recovery, I get various behaviours. They have been:

\- writelocks still around, remove the write lock will allow the system to start

\- corrupted nvram, requiring the system to regenerate the nvram before boot

\- invalid suspend file, requesting me to discard the suspend file before boot

I'd be happy to try to isolate more if there are areas that you'd like me to check into.

Andrew

Reply
0 Kudos
rcardona2k
Immortal
Immortal

>If I assign a bootable ISO to the CDROM, once the system begins to boot if I attempt to suspend, the host system crashes.

>Upon accessing the VM I tried to suspend after recovery, I get various behaviours. They have been:

>- writelocks still around, remove the write lock will allow the system to start

The writelocks are leftovers from the last run, it is safe to delete them manually.

Are you running any kind of AV like ClamAV or Sophos or any software that would scan files? If so, it may be necessary to exclude some files with extensions that Fusion uses -- especially large files like .iso, .vmdk, etc.

Reply
0 Kudos
arang
Enthusiast
Enthusiast

For what it's worth, I had the same assertion failure today, but I wasn't doing a suspend -- in fact, the system was moderately busy, with Retrospect running and one VM busy. This was on a Core 2 Duo iMac.

Thu Mar 8 09:44:22 2007

panic(cpu 1 caller 0x4952F0BB): vmmon: ASSERT bora/modules/vmmon/macos/pageHiddenMap.cpp:780

Backtrace, Format - Frame : Return Address (4 potential args on stack)

0x2513bad8 : 0x128d1f (0x3c9540 0x2513bafc 0x131df4 0x0)

0x2513bb18 : 0x4952f0bb (0x4953a520 0x4953a500 0x2513bb40 0x2513bb40)

0x2513bc58 : 0x4952f0df (0x2dcab 0x2513bcb8 0x2513bc88 0x37e6c7)

0x2513bc88 : 0x49532cc4 (0x4953a560 0x4953ad9c 0x30c 0x4d42230)

0x2513bcd8 : 0x49531b8b (0x651bb 0x651bb 0x2513bd08 0x49531515)

0x2513bd08 : 0x4953369d (0x6e50004 0x651bb 0x1d6e8000 0x199d39)

0x2513bd28 : 0x4952fce0 (0x6e50004 0x651bb 0x1d6e8000 0x2dcab007)

0x2513bd78 : 0x1ef2fd (0xb000000 0xc0085619 0x2513bec8 0x3)

0x2513bdb8 : 0x1e624b (0x2513bde0 0x297 0x2513be18 0x1cfbe5)

0x2513be18 : 0x1de0ef (0x4c39e70 0xc0085619 0x2513bec8 0x3)

0x2513be68 : 0x330295 (0x579e8b0 0xc0085619 0x2513bec8 0x56f3dac)

0x2513be98 : 0x34e562 (0x579e8b0 0xc0085619 0x2513bec8 0x56f3dac)

0x2513bf68 : 0x378337 (0x56f3dac 0x5a31d18 0x5a31d5c 0x0)

0x2513bfc8 : 0x19acae (0x5a340e0 0x0 0x19d0b5 0x3a83de0) No mapping exists for frame pointer

Backtrace terminated-invalid frame pointer 0xb0203d28

Kernel loadable modules in backtrace (with dependencies):

com.vmware.kext.vmmon(1.0.0d1)@0x4952e000

Kernel version:

Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006; root:xnu-792.13.8.obj~1/RELEASE_I386

Reply
0 Kudos
rcardona2k
Immortal
Immortal

IMO, it's a good idea to suspend VMs before the backup or exclude the VMDKs from EMC-Retrospect's task.

Reply
0 Kudos
admin
Immortal
Immortal

What are the results of

grep 'Page_Ungrab' /var/log/system.log[/code]

Reply
0 Kudos