Jump to content

Workstation 8/9/10, Player 4/5/6 and Fusion 4/5/6 Mac OS X Unlocker


  • Please log in to reply
540 replies to this topic

#201
adrians

adrians

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
I had OS X 10.7.3 running on Workstation 8.0.3 unlocked with Unlocker 1.0.2. I updated to 10.7.4 last night and, as mentioned above by a couple of people, on restart, it looks like OS X isn't starting up (you see the gray background with the Apple logo with no significant disk activity). I thought it was hung, but I just let it sit there and after about 25-30 minutes, it finally loaded the desktop.

Donk, are you saying that the technical preview will not have this delay? I thought that this Workstation build was a preview for an upcoming release version (i.e. 8.0.3) since it has a considerably earlier build number. I actually had the tech preview before yesterday, but, if I recall correctly, it wasn't able to start my SL 10.6.8 and I think that was the reason I "upgraded" to Workstation 8.0.3. I then proceeded to upgrade SL with a 10.7.3 .dmg and that seemed to work OK (well, with worse glitches around video and audio, but I hadn't tried to do anything about those), as I mentioned above.

#202
jvangent100

jvangent100

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts
^ I wonder if you should apply the same trick as with ML to make it boot normally, setting smc.present=false and using the fakesmc.kext ?

#203
netgear

netgear

    InsanelyMac Protégé

  • Members
  • PipPip
  • 97 posts
  • Gender:Male
I updated 10.7.4 really slow always all boot...

#204
jvangent100

jvangent100

    InsanelyMac Protégé

  • Members
  • PipPip
  • 74 posts
@donk, thanks for suggesting the 2012 preview. Whilst I had this running on Win8 cp, due to the debug (which means less performance), I did not install it on Win7, up until now.

The trouble I had to go through to get ML DP1 to run on vmware 8, and yet on 2012 it just installs without replacing appelsifusionmpt.kext and messing with fakesmc.kext. The same is true for Osx 10.7, updating it to 10.7.4 also went without any problems, boot times are normal.

#205
ElCoyote_

ElCoyote_

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
@donk: Thank you very much for this 1.1.0 release.
I had VM8.0.3 on Linux working fine with 1.0.2 and SL10.6.8 & L10.7.3. I uninstalled 1.0.2 and re-ran the 1.1.0 installer.
No issue to report so far.
One thing I'd like to mention, though, is this:
- When I open my MacOSX VMs (not Shared), they show up correctly as 'MacOSX 10.x 64bit'.
- However, if I 'share' the VMs so I can access them through a remote VMWare Workstation, they show up as 'Other 32bit' even though the .vmx stills bears 'darwin-64'.. That is, until I attempt to edit the VM's config and -then- it changes to other-32.

Perhaps this is because another binary needs to be patched.. (/usr/lib/vmware/bin/vmware-hostd, maybe)

On my Linux box, vmware-hostd bears references to OSX but they don't show up when VMware Workstation is used as a remote client.
# strings -a /usr/lib/vmware/bin/vmware-hostd|grep -i darwin
GuestOS_IsDarwin
_ZN3Vim2Vm17GuestOsDescriptor31GUESTOSFAMILY_DARWINGUESTFAMILYE
_ZN3Vim2Vm17GuestOsDescriptor34GUESTOSIDENTIFIER_DARWIN11_64GUESTE
_ZN3Vim2Vm17GuestOsDescriptor29GUESTOSIDENTIFIER_DARWINGUESTE
_ZN3Vim2Vm17GuestOsDescriptor31GUESTOSIDENTIFIER_DARWIN64GUESTE
_ZN3Vim2Vm17GuestOsDescriptor31GUESTOSIDENTIFIER_DARWIN10GUESTE
_ZN3Vim2Vm17GuestOsDescriptor31GUESTOSIDENTIFIER_DARWIN11GUESTE
_ZN3Vim2Vm17GuestOsDescriptor34GUESTOSIDENTIFIER_DARWIN10_64GUESTE
darwinGuest
*darwin64Guest
darwin10Guest
*darwin10_64Guest
darwin11Guest
*darwin11_64Guest
darwin
darwin-64
darwin10
darwin10-64
darwin11
darwin11-64
darwinGuestFamily
biosIsGOSDarwin
isolation.bios.IsGOS.Darwin
@&!*@*@(msg.gostable.family.darwin)Apple Mac OS X
@&!*@*@(msg.gostable8.guest.darwin11)Mac OS X 10.7
@&!*@*@(msg.gostable8.guest.darwin11-64)Mac OS X 10.7 64-bit
@&!*@*@(msg.gostable8.guest.darwin10)Mac OS X Server 10.6
@&!*@*@(msg.gostable8.guest.darwin10-64)Mac OS X Server 10.6 64-bit
@&!*@*@(msg.gostable8.guest.darwin)Mac OS X Server 10.5
@&!*@*@(msg.gostable8.guest.darwin-64)Mac OS X Server 10.5 64-bit

#206
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,022 posts
  • Gender:Male
  • Location:Manchester UK

@donk: Thank you very much for this 1.1.0 release. I had VM8.0.3 on Linux working fine with 1.0.2 and SL10.6.8 & L10.7.3. I uninstalled 1.0.2 and re-ran the 1.1.0 installer. No issue to report so far. One thing I'd like to mention, though, is this: - When I open my MacOSX VMs (not Shared), they show up correctly as 'MacOSX 10.x 64bit'. - However, if I 'share' the VMs so I can access them through a remote VMWare Workstation, they show up as 'Other 32bit' even though the .vmx stills bears 'darwin-64'.. That is, until I attempt to edit the VM's config and -then- it changes to other-32. Perhaps this is because another binary needs to be patched.. (/usr/lib/vmware/bin/vmware-hostd, maybe) On my Linux box, vmware-hostd bears references to OSX but they don't show up when VMware Workstation is used as a remote client.


Just verified that on Windows as well, although it appears to be cosmetic as the VM powers up. I will take a look when I get a chance. Thanks.

#207
ElCoyote_

ElCoyote_

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
@Donk: I love your work, btw! And thank you so much for the source too, it's really nice to have that and rare enough to mention.
About the issue, I agree it's 'comsetic', although if you edit the Shared VM's configuration, the OS type will change to 'Other-32' and render the machine unbootable (at least on Linux).
To work around this issue, I've made my MacOSX Shared .vmx files immutable on Linux but it would be a 'nice to have' if this could get fixed.
Please don't hesitate to contact me if you would like help in testing this out. I'm surprised that ESXi doesn't exhibit this issue, perhaps this is because it's using a different Client..
Many Thanks once again,

#208
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,022 posts
  • Gender:Male
  • Location:Manchester UK
Thanks, it is nice to get an appreciative post once in awhile. I should say that Zenith432 wrote the C code originally, but I have hacked on it especially for the latest release. The other area I am closing in on is making vCenter power on OS X VMs. It is a host setting smcPresent that is queried via the API that needs setting to true. ESXi hostd ignores it and allows the operations, but vCenter uses a daemon vpxa which seems to need that variable set. Anyway, whilst I don't have time to answer a lot of questions on the forums these days, I do keep chipping away at the remaining problems. Cheers!

#209
ElCoyote_

ElCoyote_

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
@Donk: obviously it's not as simple as before, I tried the following patch and it didn't make any difference.. although it appeared to patch vmware-hostd just fine:
[....]
Patching /usr/lib/vmware/bin/vmware-hostd
File mapped @0x2afd25203000 length 60149488
Found SRVR @ 0x2afd278198eb
Found SRVR @ 0x2afd27819983
Found SRVR @ 0x2afd27819994
Found SRVR @ 0x2afd278199a7
Found SRVR @ 0x2afd2781f6ea
Found SRVR @ 0x2afd2781f708
Found SRVR @ 0x2afd2781f9d2

[....]

===================================================================
RCS file: RCS/Unlocker.cpp,v
retrieving revision 1.1
diff -c -r1.1 Unlocker.cpp
*** Unlocker.cpp 2012/05/11 14:42:44 1.1
--- Unlocker.cpp 2012/05/11 14:49:56
***************
*** 79,84 ****
--- 79,85 ----
char const vmx_stats[] = "vmware-vmx-stats";
char const vmwarebase[] = "libvmwarebase.so.0";
char const install_path[] = "/usr/lib/vmware/";
+ char const vmx_hostd[] = "vmware-hostd";
char const vmx_path[] = "bin/";
char const vmwarebase_path[] = "lib/libvmwarebase.so.0/";
#endif /* __ESXi__ || __linux__ */
***************
*** 656,661 ****
--- 657,665 ----
workPath.assign(vmwarebasePath);
workPath.append(&vmwarebase[0], sizeof vmwarebase - 1U);
patch_one(workPath, 0); // ignore error
+ workPath.assign(vmxPath);
+ workPath.append(&vmx_hostd[0], sizeof vmx_hostd - 1U);
+ patch_one(workPath, 1);
#endif /* _WIN32 || __linux__ */
#ifdef _WIN32
if (vmxPath64.empty()) {

What do you think?

#210
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,022 posts
  • Gender:Male
  • Location:Manchester UK
I suspect we need t patch the guestos table only as in libvmwarebase.so. The multiple SRVR found messages means definitely don't want to patch SRVR, OSK0 and OSK1. Can you see what shared libs are loaded for hostd?

#211
ElCoyote_

ElCoyote_

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
Hello Donk. Thanks for the quick reply.. here's a pmap of vmware-hostd on my machine with the relevant parts:

# pmap 14141|grep lib/vmware
14141: /usr/lib/vmware/bin/vmware-hostd -a /etc/vmware/hostd/config.xml
0000000000400000 48080K r-x-- /usr/lib/vmware/bin/vmware-hostd
00000000034f3000 9536K r---- /usr/lib/vmware/bin/vmware-hostd
0000000003e43000 1108K rw--- /usr/lib/vmware/bin/vmware-hostd
00002aaab3649000 1356K r-x-- /usr/lib/vmware/lib/libcrypto.so.0.9.8/libcrypto.so.0.9.8
00002aaab379c000 1024K ----- /usr/lib/vmware/lib/libcrypto.so.0.9.8/libcrypto.so.0.9.8
00002aaab389c000 148K rw--- /usr/lib/vmware/lib/libcrypto.so.0.9.8/libcrypto.so.0.9.8
00002aaab38c5000 292K r-x-- /usr/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8
00002aaab390e000 1020K ----- /usr/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8
00002aaab3a0d000 28K rw--- /usr/lib/vmware/lib/libssl.so.0.9.8/libssl.so.0.9.8
00002b576df0d000 8140K r-x-- /usr/lib/vmware/lib/libvmacore.so/libvmacore.so
00002b576e700000 2048K ----- /usr/lib/vmware/lib/libvmacore.so/libvmacore.so
00002b576e900000 600K r---- /usr/lib/vmware/lib/libvmacore.so/libvmacore.so
00002b576e996000 80K rw--- /usr/lib/vmware/lib/libvmacore.so/libvmacore.so
00002b576e9b7000 4836K r-x-- /usr/lib/vmware/lib/libvmomi.so/libvmomi.so
00002b576ee70000 2048K ----- /usr/lib/vmware/lib/libvmomi.so/libvmomi.so
00002b576f070000 392K r---- /usr/lib/vmware/lib/libvmomi.so/libvmomi.so
00002b576f0d2000 24K rw--- /usr/lib/vmware/lib/libvmomi.so/libvmomi.so
00002b576f5ea000 548K r-x-- /usr/lib/vmware/lib/libnfc-types.so/libnfc-types.so
00002b576f673000 2048K ----- /usr/lib/vmware/lib/libnfc-types.so/libnfc-types.so
00002b576f873000 72K r---- /usr/lib/vmware/lib/libnfc-types.so/libnfc-types.so
00002b576f885000 16K rw--- /usr/lib/vmware/lib/libnfc-types.so/libnfc-types.so
00002b576f88d000 9388K r--s- /usr/lib/vmware/icu/icudt44l.dat

I found tracks of darwin-* in libvmacore.so only..

# strings -a /usr/lib/vmware/bin/vmware-hostd |grep libv.*\.so
libvmacore.so
libvmomi.so

# strings -a /usr/lib/vmware/lib/libvmacore.so/libvmacore.so |grep -i darwin
GuestOS_IsDarwin
darwin
darwin-64
darwin10
darwin10-64
darwin11
darwin11-64
@&!*@*@(button.guestDarwin9)Mac OS X Server 10.5
@&!*@*@(button.guestDarwin9_64)Mac OS X Server 10.5 64-bit
@&!*@*@(button.guestDarwin10)Mac OS X Server 10.6
@&!*@*@(button.guestDarwin10_64)Mac OS X Server 10.6 64-bit
@&!*@*@(button.guestDarwin11)Mac OS X Server 10.7
@&!*@*@(button.guestDarwin11_64)Mac OS X Server 10.7 64-bit

# strings -a /usr/lib/vmware/lib/libvmomi.so/libvmomi.so |grep -i darwin
#

#212
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,022 posts
  • Gender:Male
  • Location:Manchester UK
That looks hopeful. I'm at home and don't have quick access to my test machine. As a simple change try replacing the libvmwarebase.so string with libvmomi.so.

#213
ElCoyote_

ElCoyote_

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
No such luck, I'm afraid. I tried both libs but to no avail:
#
[..snip..]
Patching /usr/lib/vmware/lib/libvmacore.so/libvmacore.so
File mapped @0x2b6117bf7000 length 9037800
#
[..snip..]
Patching /usr/lib/vmware/lib/libvmomi.so/libvmomi.so
File mapped @0x2aaabcbf6000 length 5379472
#

#214
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,022 posts
  • Gender:Male
  • Location:Manchester UK
OK - well I will take another look. I have access to my Windows box now, and expect if I find it there will translate over to Linux. Thanks for trying the test out.

#215
thecrazy

thecrazy

    InsanelyMac Protégé

  • Members
  • Pip
  • 46 posts
  • Gender:Male
  • Location:Caracas - Venezuela

New version 1.1.0 released.
http://goo.gl/oHx8k

It works perfect on VMware Workstation Technology Preview 2012. Install Mac OS X Lion 10.7.4 without any problems. Besides the OS X Mountain Lion works without extra steps.

#216
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,022 posts
  • Gender:Male
  • Location:Manchester UK

No such luck, I'm afraid. I tried both libs but to no avail: # [..snip..] Patching /usr/lib/vmware/lib/libvmacore.so/libvmacore.so File mapped @0x2b6117bf7000 length 9037800 # [..snip..] Patching /usr/lib/vmware/lib/libvmomi.so/libvmomi.so File mapped @0x2aaabcbf6000 length 5379472 #


Looks like the vmware-hostd also has a table similar to vmwarebase.so. I amtaking a look at patching it, and seeing what becomes of the error.

#217
sebus

sebus

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 276 posts
  • Gender:Male
  • Location:UK
On Windows I still use (unlocked) WKST 8.0.1 build-528992 (can not be bothered to upgrade)

Lion 10.7.2 upgraded fine to 10.7.4 (without any problem)

On boot it took forever to get to dekstop (but it did)

Installing fakesmc & smc.present ="false" makes it boot like normal

sebus

#218
macode

macode

    InsanelyMac Protégé

  • Members
  • Pip
  • 6 posts
Hi, i tried the 1.1.0 unlocker version for Vmware Fusion 4.1.2 under Mac OS X 10.7.4, but i cannot select an Mac OS 10.6 Client Version in fusion. (just an OS X Server version)

The script returns the following output
Patching...
Patching /Applications/VMware Fusion.app/Contents/Library/vmware-vmx
File mapped @0x101000000 length 17237456
Found OSK0 @ 0x1017d7c35
Found OSK1 @ 0x1017d7c6d
Found SRVR @ 0x101813336
Patching /Applications/VMware Fusion.app/Contents/Library/vmware-vmx-debug
File mapped @0x101000000 length 21548096
Found OSK0 @ 0x101912dd5
Found OSK1 @ 0x101912e0d
Found SRVR @ 0x10194f3b6
Patching /Applications/VMware Fusion.app/Contents/Library/vmware-vmx-stats
File mapped @0x101000000 length 19832896
Found OSK0 @ 0x1017f5915
Found OSK1 @ 0x1017f594d
Found SRVR @ 0x1018348b6
Patching vmwarebase is not supported on this platform
Finished!

Can someone please tell me if I'm doing something wrong ?

#219
Donk

Donk

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 2,022 posts
  • Gender:Male
  • Location:Manchester UK
Nothing. There are no client settings it is always Server to keep with the Apple EULA. Just use that.

#220
Edward_K

Edward_K

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
I just installed mac os x 10.7.4 clear release on vmware 8.0.3 build-703057 without any problem, it is great! Thanks Donk!





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy