Jump to content
1 post in this topic

Recommended Posts

Hello everyone,

 

I have been trying to get OsX86 to run in a Virtual Machine. I wanted to try it in the new Hyper-V virtualisation engine in WS2008 R2 -- but alas I bought the wrong CPU for my server.

 

I will buy a new CPU with intel VT-X soon, and I will try Microsoft Hyper-V and report findings.

 

I installed VMWare Server 2.0, which does not have the VT-X requirements.

 

The Virtual Machine is currently this:

 

.encoding = "windows-1252"
config.version = "8"
virtualHW.version = "7"
floppy0.present = "FALSE"
mks.enable3d = "TRUE"
vmci0.present = "TRUE"
nvram = "OSXDev.nvram"
virtualHW.productCompatibility = "hosted"
ft.secondary0.enabled = "TRUE"
tools.upgrade.policy = "useGlobal"
powerType.powerOff = "soft"
powerType.powerOn = "hard"
powerType.suspend = "hard"
powerType.reset = "soft"
displayName = "OSXDev"
extendedConfigFile = "OSXDev.vmxf"
memsize = "512"
ide0:0.present = "TRUE"
ide0:0.fileName = "OSXDev.vmdk"
ide0:0.writeThrough = "TRUE"
ide0:1.present = "TRUE"
ide0:1.fileName = "R:\Virtual Machines\OSXDev\disk.iso"
ide0:1.deviceType = "cdrom-image"
ide0:1.allowGuestConnectionControl = "FALSE"
ethernet0.virtualDev = "e1000"
ethernet0.present = "TRUE"
ethernet0.allowGuestConnectionControl = "FALSE"
ethernet0.features = "1"
ethernet0.wakeOnPcktRcv = "FALSE"
ethernet0.networkName = "Bridged"
ethernet0.addressType = "generated"
ethernet0.generatedAddress = "00:0c:29:d0:41:1c"
ethernet0.startConnected = "TRUE"
usb.present = "FALSE"
ehci.present = "TRUE"
guestOS = "darwin"
ide0:0.redo = ""
vmotion.checkpointFBSize = "134217728"
pciBridge0.pciSlotNumber = "-1"
pciBridge4.pciSlotNumber = "-1"
pciBridge5.pciSlotNumber = "-1"
pciBridge6.pciSlotNumber = "-1"
pciBridge7.pciSlotNumber = "-1"
usb.pciSlotNumber = "-1"
ethernet0.pciSlotNumber = "16"
ehci.pciSlotNumber = "17"
vmci0.pciSlotNumber = "18"
ethernet0.generatedAddressOffset = "0"
tools.remindInstall = "FALSE"
paevm="true"
debugStub.linuxOffsets = "0x0,0xffffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0"
usb:0.present = "TRUE"
usb:1.present = "TRUE"
usb:1.deviceType = "hub"
usb:0.deviceType = "mouse"
tools.syncTime = "FALSE"

uuid.location = "56 4d 58 29 ed a7 c2 46-92 0c 33 18 a7 d0 41 1c"
uuid.bios = "56 4d 58 29 ed a7 c2 46-92 0c 33 18 a7 d0 41 1c"
vmci0.id = "-1479524068"

 

With this configuration the kernel will panic like this:

 

post-460484-1248173605_thumb.jpg

 

This is because VMWARE doesnt have a RTC that XNU can use to calculate the FSB/Ratio. Using

F8

boot: -v busratio=14

causes it to boot, but panic in a system service:

 

post-460484-1248173786_thumb.jpg

 

Where and in what service it panics in seems highly dependant on busratio speeds (?!?).

 

I ran up the VM with many different increments of busratio and other boot options:

 

-v -x -f busratio=14 platform=X86PC rd=disk1s2
RESULT: udf.util panic

-v -x busratio=14 platform=X86PC rd=disk1s2
RESULT: MDNS responder timeout.. waiting, would hang at initialising MDNS

-v -x busratio=14 platform=X86PC rd=disk1s2 fsb=200000000
RESULT: Too many crashes for CrashReporter (?)
waiting on MDNS

-v -x -f busratio=11 platform=X86PC rd=disk1s2 fsb=200000000
RESULT: waiting on MDNS; does not report CrashReporter crashing

-v -x -f busratio=14
RESULT: Loads into GUI, nothing but the gray screen.
Mouse responds.

-v -x -f busratio=14 platform=X86PC
RESULT: udf.util panic

-v -x -f busratio=25
RESULT: udf.util panic

-v -f -x busratio=27
RESULT: loads Graphics Mode, mouse. No activity.

-v -f -x busratio=26
RESULT: hangs at Resetting IOCat

-v -f -x busratio=28
RESULT: socketfilterfw panic
*on second try*
mDNS responder panic

-v -f -x busratio=29
hang at Resetting IOCatalogue

-v -f -x busratio=31
RESULT: hang on mDNSResponder

-v -f -x busratio=31 fsb=1066000000
RESULT: hang on Launched 5.4

-v -f -x busratio=11
RESULT: diskarbitrationd panic: invalid kernel ip

-v -f -x busratio=10
RESULT: udf.util panic

-v -f -x busratio=7 diag
RESULT: GUI, no response.

reboot, try

 

-v -f -x busratio=7 diag

 

Finally with a busratio of 7, i got it to hang before panic.

post-460484-1248174539_thumb.jpg

 

 

The strange thing is, approximately 10% of the time it loads the GUI. Once I saw it even load the 10.5.6 splash picture then panic.

 

I will play with boot switches and see if I can get it to go any further.

 

Does anyone have any ideas?

×
×
  • Create New...