Saturday, August 24, 2013

I'm going to try some of the suggestions from the forums.
Vanilla myHack would not boot, and I could not get Clover UEFI to install correctly on the USB stick. But there is more to try.
I will attempt:

I. Update binaries
1) download FakeSMCr615
2) download NullCPUPowerManagement (I found two that are different)
3) Build Clover 1979
4) Update internal HD ESP with Clover 1979
5) From Virtual Mac, copy FakeSMC.kext to install partition's S/L/E
6) From Virtual Mac, copy NullCPUPowerManagement.kext to install partition's S/L/E
*) Boot from Clover on HD ESP

II. Install myHack on USB stick
1) From Virtual Mac, copy FakeSMC.kext to myHack's S/L/E
2) From Virtual Mac, copy NullCPUPowerManagement.kext to myHack's S/L/E
*)Boot from myHack on USB, and:
3) Put FakeSMC.kext in Install partition's S/L/E
4) Put *NullCPU* .kext in Install partition's S/L/E

III. Remove AICPM.kext
1)remove AICPM.kext from install partition's S/L/E (if there)
2)remove AICPM.kext from myHack's S/L/E (if there)
*) Try booting from either



IV. Install Clover over myHack USB

Tuesday, August 13, 2013

I'm stuck at the kernel panic:
“Unsupported CPU: family =06 model=0x2d”
“Kernel Extensions in Backtrace:
com.apple.driver.AppleIntelCPUPowerManagement(196,0)”



I’ve tried with and without a DSDT from rampagedev. I’ve tried the cpus=1 boot option, and the KernelLapics option. I'll try the KernelCPU option, but I think that is for very old systems, not new ones.

I suspect that I have the wrong kexts or I am missing kexts in either
Clover: EFI\CLOVER\OEM\X79-UD7\UEFI\KEXTS
or
OSX Install System/Library/Extensions

In the Extensions dir, I have tried it empty, with only FakeSMC, with only NullCPUPowerManagement, and I have tried it with all 220 10.8 kexts that are part of a 10.8 distro.

So far I always get the Unsupported CPU kernel panic. Or it hangs at the using xxx buffers after the MAC framework is initialized.

In a nutshell:
Hardware:
CPU: Intel Core i7 3960X @3.3GHz
Motherboard: Gigabyte GA-x79-UD7 (UEFI 10)
Boot Medium: Seagate 1Tb fixed drive. SATA dev 1, GPT partition 0
RAM: R-Skillz RIPJAWS 16GB DDR3 1600Mhz
Video:NVIDIA 680 GTX
Audio: Creative SB X-Fi

Software:
Bootloader Clover 1943
OSX 1.8 Mountain Lion
DSDT: Gigabyte GA-X79-UD7 Ver. 1.1 (Dec 2012) for BIOS F10
Some kexts: AppleIntelE1000e.kext fakesmc2.5 MarvelL88se9172AHCIPortInjector.kext NullCPUPowerManagement.kext

Config:
SATA boot (NOT USB boot) device GPT
Clover config path: EFI\CLOVER\OEM\X79-UD7\UEFI\config.plistConfig.plist

Uploaded docs
PLEASE IGNORE THE INVALID CERTIFICATE WARNING
http://www.hymes.name/config_2013_08_13_12-15.plist
http://hymes.name/KP_photo_00.png

Sunday, August 4, 2013

Here is my latest Clover debug log, as a checkpoint.

0:100 0:100 MemLog inited, TSC freq: 3299966250
0:100 0:000
0:100 0:000 Starting rEFIt rev 1946 on American Megatrends EFI
0:100 0:000 SelfDevicePath=PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,83)/HD(1,GPT,C5AE7E65-AA3F-41C6-8A7D-4F3FE0FA4909,0x28,0x64000) @1F9D098
0:100 0:000 SelfDirPath = \EFI\BOOT
0:100 0:000 Total Memory Slots Count = 4
0:100 0:000 Type 17 Index = 0
0:100 0:000 Ignoring insane frequency value 0MHz
0:100 0:000 SmbiosTable.Type17->Speed = 0
0:100 0:000 SmbiosTable.Type17->Size = 4096
0:100 0:000 Type 17 Index = 1
0:100 0:000 Ignoring insane frequency value 0MHz
0:100 0:000 SmbiosTable.Type17->Speed = 0
0:100 0:000 SmbiosTable.Type17->Size = 4096
0:100 0:000 Type 17 Index = 2
0:100 0:000 Ignoring insane frequency value 0MHz
0:100 0:000 SmbiosTable.Type17->Speed = 0
0:100 0:000 SmbiosTable.Type17->Size = 4096
0:100 0:000 Type 17 Index = 3
0:100 0:000 Ignoring insane frequency value 0MHz
0:100 0:000 SmbiosTable.Type17->Speed = 0
0:100 0:000 SmbiosTable.Type17->Size = 4096
0:100 0:000 Boot status=0
0:100 0:000 Clover revision: 1946 running on To be filled by O.E.M.
0:100 0:000 ... with board X79-UD7
0:112 0:012 ConfigPlistPath: EFI\CLOVER\config.plist
0:116 0:004 Using OEM config.plist at path: EFI\CLOVER\OEM\X79-UD7\UEFI\config.plist
0:117 0:000 Loading early settings
0:117 0:000 timeout set to 5
0:117 0:000 Default theme: black_green
0:117 0:000 Hiding volume with string VOLUME_NAME
0:141 0:024 Hiding volume with string RAID_0_V00
0:142 0:000 Hiding volume with string USERS
0:142 0:000 Hiding volume with string VOLUME_UUID
0:143 0:000 LoadDrivers() start
0:161 0:018 Starting CsmVideoDxe-64.efi
0:170 0:009 Using load options 'CsmVideoDxe-64.efi '
0:171 0:000 - driver needs connecting
0:171 0:000 Starting DataHubDxe-64.efi
0:172 0:000 Using load options 'DataHubDxe-64.efi '
0:174 0:001 Starting EmuVariableUefi-64.efi
0:174 0:000 Using load options 'EmuVariableUefi-64.efi '
0:176 0:001 EmuVariableUefi Initialize: VariableCommonInitialize = Success, orig services stored, install gEmuVariableControlProtocolGuid = Success
0:179 0:003 Starting FSInject-64.efi
0:180 0:000 Using load options 'FSInject-64.efi '
0:180 0:000 Starting HFSPlus-64.efi
0:181 0:000 Using load options 'HFSPlus-64.efi '
0:182 0:000 - driver needs connecting
0:182 0:000 Starting NTFS-64.EFI
0:195 0:013 Using load options 'NTFS-64.EFI '
0:196 0:000 - driver needs connecting
0:197 0:001 Starting OsxAptioFixDrv-64.efi
0:203 0:006 Using load options 'OsxAptioFixDrv-64.efi '
0:204 0:000 Starting OsxFatBinaryDrv-64.efi
0:204 0:000 Using load options 'OsxFatBinaryDrv-64.efi '
0:205 0:000 Starting PartitionDxe-64.efi
0:206 0:000 Using load options 'PartitionDxe-64.efi '
0:206 0:000 - driver needs connecting
0:207 0:000 Starting VBoxHfs-64.efi
0:208 0:000 Using load options 'VBoxHfs-64.efi '
0:208 0:000 - driver needs connecting
0:209 0:000 5 drivers needs connecting ...
0:210 0:000 PlatformDriverOverrideProtocol not found. Installing ... Success
0:211 0:001 Partition driver loaded: CD disconnect SuccessCD disconnect Success
0:213 0:002 Video driver loaded: disconnect Success
0:301 0:087 Searching for invalid DiskIo BY_DRIVER connects: not found, all ok
0:316 0:014 CsmVideoDriverBindingStart
0:316 0:000 mixed support=40010
0:317 0:000 Controller is [030000]
0:317 0:000 Check for VBE
0:392 0:074 0 640x480 attr=3BF - ok, edid+, 640x480, working, highest, pref=0
0:432 0:040 1 800x600 attr=3BF - ok, edid+, 800x600, working, highest, pref=1
0:437 0:005 2 1024x768 attr=3BF - ok, edid+, 1024x768, working, highest, pref=2
0:443 0:005 3 1280x1024 attr=3BF - ok, edid+, working, highest, pref=3
0:456 0:013 4 1600x1200 attr=3BF - ok, edid+, working, highest, pref=4
0:462 0:005 5 2560x1600 attr=3BF - ok, edid+, working, highest, pref=5
0:466 0:004 6 1280x800 attr=3BF - ok, edid+, working
0:519 0:052 CsmVideo: New mode: 5 2560x1600 - set
1:117 0:598 - SetMode pref 5 (5) = Success
1:118 0:000 CsmVideoCheckForVbe - Success
1:118 0:000 CsmVideoDriverBindingStart end Success
1:118 0:000 CsmVideo: New mode: 1 800x600 - blocking that switch
1:119 0:000 CsmVideo: New mode: 1 800x600 - blocking that switch
1:120 0:001 CsmVideo: New mode: 1 800x600 - blocking that switch
3:062 1:942 LoadDrivers() end
3:063 0:000 EmuVariable InstallEmulation: orig vars copied, emu.var.services installed, CreateEvent = Success, done
3:203 0:140 SetScreenResolution: 2560x1600 - already set
3:204 0:001 reinit: self device path=PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,83)/HD(1,GPT,C5AE7E65-AA3F-41C6-8A7D-4F3FE0FA4909,0x28,0x64000)
3:205 0:000 new SelfHandle=1F9D098
3:205 0:000 CPU Vendor = 756E6547 Model=206D6
3:206 0:000 The CPU supported turbo
3:206 0:000 BrandString = Intel(R) Core(TM) i7-3960X CPU @ 3.30GHz
3:207 0:000 non-usable FLEX_RATIO = F2100
3:244 0:036 FSBFrequency=109MHz
3:244 0:000 Corrected FSBFrequency=100MHz
3:245 0:000 Vendor/Model/Stepping: 0x756E6547/0x2D/0x6
3:246 0:000 Family/ExtFamily: 0x6/0x0
3:246 0:000 MaxDiv/MinDiv: 33.0/12
3:247 0:000 Turbo: 37/37/39/39
3:247 0:000 Features: 0xBFEBFBFF
3:248 0:000 Threads: 12
3:248 0:000 Cores: 6
3:249 0:000 FSB: 100 MHz
3:249 0:000 CPU: 3600 MHz
3:250 0:000 TSC: 3600 MHz
3:250 0:000 PIS: 400 MHz
3:251 0:000 PCI (00|00:00.00) : 8086 3C00 class=060000
3:294 0:043 PCI (00|00:01.00) : 8086 3C02 class=060400
3:294 0:000 PCI (00|00:02.00) : 8086 3C04 class=060400
3:295 0:000 PCI (00|02:00.00) : 10DE 1180 class=030000
3:296 0:000 Found NVidia model=Zotac GTX 680
3:296 0:000 PCI (00|02:00.01) : 10DE 0E0A class=040300
3:297 0:000 PCI (00|00:03.00) : 8086 3C08 class=060400
3:297 0:000 PCI (00|00:04.00) : 8086 3C20 class=088000
3:298 0:000 PCI (00|00:04.01) : 8086 3C21 class=088000
3:298 0:000 PCI (00|00:04.02) : 8086 3C22 class=088000
3:336 0:037 PCI (00|00:04.03) : 8086 3C23 class=088000
3:336 0:000 PCI (00|00:04.04) : 8086 3C24 class=088000
3:337 0:000 PCI (00|00:04.05) : 8086 3C25 class=088000
3:337 0:000 PCI (00|00:04.06) : 8086 3C26 class=088000
3:338 0:000 PCI (00|00:04.07) : 8086 3C27 class=088000
3:338 0:000 PCI (00|00:05.00) : 8086 3C28 class=088000
3:339 0:000 PCI (00|00:05.02) : 8086 3C2A class=088000
3:339 0:000 PCI (00|00:05.04) : 8086 3C2C class=080020
3:340 0:000 PCI (00|00:05.06) : FFFF FFFF class=FFFFFF
3:377 0:037 PCI (00|00:11.00) : 8086 1D3E class=060400
3:378 0:000 PCI (00|00:16.00) : 8086 1D3A class=078000
3:379 0:000 PCI (00|00:19.00) : 8086 1503 class=020000
3:379 0:000 PCI (00|00:1A.00) : 8086 1D2D class=0C0320
3:380 0:000 PCI (00|00:1C.00) : 8086 1D10 class=060400
3:380 0:000 PCI (00|05:00.00) : 1102 000B class=040300
3:381 0:000 PCI (00|00:1C.01) : 8086 1D12 class=060400
3:381 0:000 PCI (00|00:1C.02) : 8086 1D14 class=060400
3:382 0:000 PCI (00|07:00.00) : 1B4B 9172 class=010601
3:385 0:003 PCI (00|00:1C.03) : 8086 1D16 class=060400
3:386 0:000 PCI (00|08:00.00) : 1B4B 9172 class=010601
3:386 0:000 PCI (00|00:1C.05) : 8086 1D1A class=060400
3:387 0:000 PCI (00|09:00.00) : 1B73 1009 class=0C0330
3:387 0:000 PCI (00|00:1C.06) : 8086 1D1C class=060400
3:388 0:000 PCI (00|0A:00.00) : 1B73 1009 class=0C0330
3:388 0:000 PCI (00|00:1C.07) : 8086 1D1E class=060400
3:389 0:000 PCI (00|0B:00.00) : 168C 0037 class=028000
3:389 0:000 PCI (00|00:1D.00) : 8086 1D26 class=0C0320
3:390 0:001 PCI (00|00:1E.00) : 8086 244E class=060401
3:391 0:000 PCI (00|00:1F.00) : 8086 1D41 class=060100
3:391 0:000 PCI (00|00:1F.02) : 8086 2826 class=010400
3:392 0:000 PCI (00|00:1F.03) : 8086 1D22 class=0C0500
3:393 0:000 ScanSPD() start
3:394 0:001 SMBus CmdReg: 0x3
3:394 0:000 Scanning SMBus [8086:1D22], mmio: 0xF8340004, ioport: 0xF000, hostc: 0x1
3:552 0:157 ScanSPD() end
3:593 0:040 Calibrated TSC frequency =3299966250 =3299MHz
3:627 0:034 Loading main settings
3:628 0:000 Config set Fix DSDT mask=0000E013
3:628 0:000 Config set CpuType=1281
3:629 0:000 KextsToPatch: 2 requested
3:629 0:000 KextToPatch 0: VoodooHDA Kext bin patch, data len: 11
3:632 0:002 KextToPatch 1: AppleAHCIPort (External icons patch) Kext bin patch, data len: 8
3:634 0:002 found 14 volumes with blockIO
3:634 0:000 0. Volume:
3:635 0:000 PciRoot(0x0)/Pci(0x1C,0x3)/Pci(0x0,0x0)/Ata(0x0)
3:635 0:000 found optical drive
3:636 0:000 Volume 'Whole Disc Boot', OS '', Icon(s) 'legacy', GUID =
3:677 0:041 1. Volume:
3:678 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)
3:680 0:002 Volume 'Whole Disc Boot', OS '', Icon(s) 'legacy', GUID =
3:681 0:000 2. Volume:
3:681 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,81)
3:693 0:011 Result of bootcode detection: bootable Legacy (legacy)
3:693 0:000 Volume 'Whole Disc Boot', OS 'Legacy', Icon(s) 'legacy', GUID =
3:736 0:042 3. Volume:
3:736 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,82)
3:761 0:024 Result of bootcode detection: bootable Legacy (legacy)
3:761 0:000 Volume 'Whole Disc Boot', OS 'Legacy', Icon(s) 'legacy', GUID =
3:762 0:000 4. Volume:
3:762 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,83)
3:769 0:007 Volume 'Whole Disc Boot', OS '', Icon(s) 'legacy', GUID =
3:811 0:041 5. Volume:
3:811 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x4,0x0)
3:812 0:000 found optical drive
3:812 0:000 Volume 'Whole Disc Boot', OS '', Icon(s) 'legacy', GUID =
3:813 0:000 6. Volume:
3:813 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)/HD(1,GPT,6637AB9D-E9D7-4F4D-8040-08595B02D090,0x800,0x32000)
3:815 0:001 Result of bootcode detection: bootable Windows (vista,win)
3:818 0:002 Volume 'EFI', OS 'Windows', Icon(s) 'vista,win', GUID = 6637AB9D-E9D7-4F4D-8040-08595B02D090
3:886 0:067 7. Volume:
3:886 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)/HD(2,GPT,971F0AD4-F342-46BD-B829-F390A484A07B,0x32800,0x40000)
3:888 0:001 Volume 'Legacy HD2', OS '', Icon(s) 'legacy', GUID = 971F0AD4-F342-46BD-B829-F390A484A07B
3:888 0:000 8. Volume:
3:889 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,80)/HD(3,GPT,A0035474-0473-4B65-BED9-FA2FE9D65B5D,0x72800,0xDF22000)
3:928 0:038 Result of bootcode detection: bootable Windows (vista,win)
3:929 0:001 Volume '', OS 'Windows', Icon(s) 'vista,win', GUID = A0035474-0473-4B65-BED9-FA2FE9D65B5D
3:930 0:000 9. Volume:
3:931 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,81)/HD(1,GPT,7D1DF273-95B9-4982-AECE-FEBD3B4A667B,0x800,0x74706000)
3:931 0:000 Result of bootcode detection: bootable Windows (vista,win)
3:932 0:001 hiding this volume
3:935 0:002 Volume 'USERS', OS 'Windows', Icon(s) 'vista,win', GUID = 7D1DF273-95B9-4982-AECE-FEBD3B4A667B
3:936 0:000 10. Volume:
3:936 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,82)/HD(1,MBR,0x6CBC154F,0x800,0xA5ECC000)
3:937 0:001 Result of bootcode detection: bootable Windows (vista,win)
3:975 0:037 hiding this volume
3:975 0:000 Volume 'RAID_0_V00', OS 'Windows', Icon(s) 'vista,win', GUID =
3:976 0:000 11. Volume:
3:977 0:001 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,83)/HD(1,GPT,C5AE7E65-AA3F-41C6-8A7D-4F3FE0FA4909,0x28,0x64000)
3:986 0:009 Result of bootcode detection: bootable Legacy (legacy)
3:987 0:000 Volume 'EFI', OS 'Legacy', Icon(s) 'legacy', GUID = C5AE7E65-AA3F-41C6-8A7D-4F3FE0FA4909
3:988 0:000 This is SelfVolume !!
3:988 0:000 12. Volume:
3:989 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,83)/HD(2,GPT,9CDFA628-8F04-423B-A774-C021FE479FF9,0x64028,0xEE6B28)
3:996 0:007 Booting OS 10.8
3:997 0:000 Volume 'Mac OS X Install ESD', OS 'ML', Icon(s) 'cougar,mac', GUID = 9CDFA628-8F04-423B-A774-C021FE479FF9
3:997 0:000 13. Volume:
3:998 0:000 PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,83)/HD(3,GPT,EB5A66C4-9EF2-4EB4-ADF1-5A9321A4E111,0xF8AB50,0x7373C238)
3:999 0:000 Volume 'EXECUTOR', OS '', Icon(s) '', GUID = EB5A66C4-9EF2-4EB4-ADF1-5A9321A4E111
4:000 0:001 Searching volumes for latest nvram.plist ...
4:002 0:001 6. Volume 'EFI', GUID = 6637AB9D-E9D7-4F4D-8040-08595B02D090 - no nvram.plist - skipping!
4:003 0:001 8. Volume '', GUID = A0035474-0473-4B65-BED9-FA2FE9D65B5D - no nvram.plist - skipping!
4:005 0:002 9. Volume 'USERS', GUID = 7D1DF273-95B9-4982-AECE-FEBD3B4A667B - no nvram.plist - skipping!
4:007 0:001 10. Volume 'RAID_0_V00', GUID = - not GPT - no nvram.plist - skipping!
4:009 0:002 11. Volume 'EFI', GUID = C5AE7E65-AA3F-41C6-8A7D-4F3FE0FA4909 - no nvram.plist - skipping!
4:011 0:001 12. Volume 'Mac OS X Install ESD', GUID = 9CDFA628-8F04-423B-A774-C021FE479FF9 - no nvram.plist - skipping!
4:012 0:001 13. Volume 'EXECUTOR', GUID = EB5A66C4-9EF2-4EB4-ADF1-5A9321A4E111 - no nvram.plist - skipping!
4:013 0:001 nvram.plist not found!
4:013 0:000 PutNvramPlistToRtVars: nvram.plist not found
4:014 0:000 Invalidating BuiltinIcons...
4:121 0:106 OS main and drive as badge
4:121 0:000 Using theme 'black_green' (EFI\CLOVER\themes\black_green)
4:122 0:001 OS main and drive as badge
4:134 0:011 font WoB_PTMono_10W_NA.png loaded from themedir
4:134 0:000 Font loaded: ImageWidth=176 ImageHeight=288 Ptr=26CA018
4:135 0:000 Font 2 prepared WxH=11x18 CharWidth=10
4:136 0:000 Scanning loaders... HideUEFI=No
4:136 0:000 0: 'Whole Disc Boot' no file system
4:137 0:001 1: 'Whole Disc Boot' no file system
4:138 0:001 2: 'Whole Disc Boot' no file system
4:140 0:001 3: 'Whole Disc Boot' no file system
4:141 0:001 4: 'Whole Disc Boot' no file system
4:142 0:001 5: 'Whole Disc Boot' no file system
4:144 0:001 6: 'EFI'
4:163 0:018 HideBadges=3 Volume=EFI
4:164 0:001 Show badge as Drive
4:165 0:000 added 'Boot Microsoft EFI boot menu from EFI'
4:167 0:001 HideBadges=3 Volume=EFI
4:167 0:000 Show badge as Drive
4:168 0:000 added 'Boot UEFI internal from EFI'
4:168 0:000 7: 'Legacy HD2' no file system
4:170 0:001 8: ''
4:174 0:004 9: 'USERS' hidden
4:176 0:001 10: 'RAID_0_V00' hidden
4:177 0:001 11: 'EFI'
4:180 0:002 HideBadges=3 Volume=EFI
4:181 0:000 Show badge as Drive
4:181 0:000 added 'Boot UEFI internal from EFI'
4:182 0:000 12: 'Mac OS X Install ESD'
4:191 0:008 Icon 15 (icons\vol_internal_hfs.icns) not found
4:191 0:000 Theme path EFI\CLOVER\themes\black_green, ThemeDir=1FF7758
4:193 0:001 HideBadges=3 Volume=Mac OS X Install ESD
4:193 0:000 Show badge as Drive
4:194 0:000 added 'Boot Mac OS X from Mac OS X Install ESD'
4:196 0:001 13: 'EXECUTOR'
4:200 0:003 Checking EFI partition Volume 6 for Clover
4:200 0:000 Checking EFI partition Volume 11 for Clover
4:201 0:000 Found Clover
4:203 0:002 EmuVariable UninstallEmulation: CloseEvent = Success, original var services restored
4:205 0:001 FindBootOptionForFile: 1F9D098, \EFI\CLOVER\CLOVERX64.EFI
4:205 0:000 BootOrder: 4: Boot0002, Boot0000, Boot0001, Boot0004
4:211 0:006 Searching for: PciRoot(0x0)/Pci(0x1F,0x2)/VenHw(CF31FAC5-C24E-11D2-85F3-00A0C93EC93B,83)/HD(1,GPT,C5AE7E65-AA3F-41C6-8A7D-4F3FE0FA4909,0x28,0x64000)/\EFI\CLOVER\CLOVERX64.EFI (Len: 141)
4:212 0:001 and for: HD(1,GPT,C5AE7E65-AA3F-41C6-8A7D-4F3FE0FA4909,0x28,0x64000)/\EFI\CLOVER\CLOVERX64.EFI (Len: 102)
4:215 0:002 FindBootOptionForFile: Not found.
4:215 0:000 EmuVariable InstallEmulation: orig vars copied, emu.var.services installed, CreateEvent = Success, done
4:286 0:070 found tools\Shell64U.efi
4:289 0:003 FindDefaultEntry ...
4:290 0:000 FindStartupDiskVolume ...
4:291 0:001 GetEfiBootDeviceFromNvram: efi-boot-device-data not found
4:292 0:001 not found
4:293 0:000 Searching config.plist DefaultBoot ...Default boot entry not found
4:294 0:001 DefaultIndex=-1 and MainMenu.EntryCount=10
4:295 0:000 Use anime=Anim_1_Logo_IntroOutro frames=381
4:701 0:406 found 381 frames of the anime
5:121 0:419 GUI ready
134:279 129:158 StartLoader() start
134:551 0:271 Finally: Bus=99998kHz CPU=3299MHz
134:553 0:002 insert table 9 for Airport
134:640 0:086 Trusting SMBIOS...
134:640 0:000 Detected alternating SMBIOS channel banks
134:641 0:000 Channels: 4
134:641 0:000 Interleave: 0 2 4 6 1 3 5 7 8 10 12 14 9 11 13 15 16 18 20 22 17 19 21 23
134:656 0:014 partNum=F3-17000CL9-4
134:656 0:000 SMBIOS Type 17 Index = 0 => 0 0:
134:657 0:000 DIMM1 0MHz 4096MB
134:657 0:000 mTotalSystemMemory = 4096
134:658 0:000 partNum=F3-17000CL9-4
134:658 0:000 SMBIOS Type 17 Index = 1 => 1 2:
134:659 0:000 DIMM2 0MHz 4096MB
134:698 0:038 mTotalSystemMemory = 8192
134:698 0:000 partNum=F3-17000CL9-4
134:699 0:000 SMBIOS Type 17 Index = 2 => 2 4:
134:699 0:000 DIMM3 0MHz 4096MB
134:700 0:000 mTotalSystemMemory = 12288
134:700 0:000 partNum=F3-17000CL9-4
134:701 0:000 SMBIOS Type 17 Index = 3 => 3 6:
134:702 0:000 DIMM4 0MHz 4096MB
134:702 0:000 mTotalSystemMemory = 16384
134:703 0:000 NumberOfMemoryDevices = 4
134:703 0:000 Type20[0]->End = 0x3FFFFF, Type17[0] = 0x1000
134:704 0:000 Type20[1]->End = 0x7FFFFF, Type17[1] = 0x3000
134:748 0:043 Type20[2]->End = 0xBFFFFF, Type17[2] = 0x6000
134:748 0:000 Type20[3]->End = 0xFFFFFF, Type17[3] = 0xA000
134:749 0:000 RSDT 0xCCE8E028
134:749 0:000 FADT from RSDT: 0xCCE8E0E0
134:750 0:000 XSDT 0xCCE8E070
134:750 0:000 FADT from XSDT: 0xCCE96060
134:751 0:000 Xsdt reallocation done
134:752 0:000 old FADT length=F4
134:772 0:020 DSDT found in Clover volume OEM folder: EFI\CLOVER\OEM\X79-UD7\UEFI\ACPI\patched\DSDT.aml
134:831 0:059 Apply DsdtFixMask=0xE013
134:902 0:070 Drop tables from Xsdt, count=8
134:903 0:000 Found table: FACP A M I
134:904 0:001 Found table: APIC A M I
134:904 0:000 Found table: MCFG OEMMCFG.
134:905 0:000 Found table: HPET A M I
134:906 0:000 Found table: SSDT CpuPm
134:906 0:000 Found table: MATS A M I
134:907 0:000 Found table: DMAR OEMDMAR
134:907 0:000 ... dropped
134:908 0:000 Found table: MATS A M I
134:909 0:000 corrected XSDT length=92
135:023 0:114 Drop tables from Xsdt, count=7
135:024 0:000 Found table: FACP A M I
135:024 0:000 Found table: APIC A M I
135:025 0:000 Found table: MCFG OEMMCFG.
135:025 0:000 Found table: HPET A M I
135:026 0:000 Found table: SSDT CpuPm
135:026 0:000 Found table: MATS A M I
135:027 0:000 Found table: MATS A M I
135:027 0:000 corrected XSDT length=92
135:029 0:001 CPUBase=0 and ApicCPUBase=0 ApicCPUNum=12
135:029 0:000 Booting OS 10.8
135:030 0:000 EdidDiscovered size=128
135:039 0:009 NVidia GFX injection not set
135:040 0:000 HDA Controller [10DE:0E0A] :: PciRoot(0x0)/Pci(0x2,0x0)/Pci(0x0,0x1) => HDMI Audio, setting hda-gfx=onboard-1
135:041 0:001 USB Controller [8086:1D2D] :: PciRoot(0x0)/Pci(0x1A,0x0)
135:041 0:000 HDA Controller [1102:000B] :: PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0) => codec not detected, setting layout-id=12 (0xC)
135:066 0:024 USB Controller [1B73:1009] :: PciRoot(0x0)/Pci(0x1C,0x5)/Pci(0x0,0x0)
135:066 0:000 USB Controller [1B73:1009] :: PciRoot(0x0)/Pci(0x1C,0x6)/Pci(0x0,0x0)
135:067 0:001 USB Controller [8086:1D26] :: PciRoot(0x0)/Pci(0x1D,0x0)
135:068 0:000 stringlength = 1790
135:069 0:000 CurrentMode: Width=2560 Height=1600
135:069 0:000 FSInjection:, injecting kexts from: 'EFI\CLOVER\OEM\X79-UD7\UEFI\kexts\10.8'OnSimpleFileSystem occured
135:071 0:002 - done!
135:073 0:002 Injecting kexts from EFI\CLOVER\OEM\X79-UD7\UEFI\kexts\10.8
135:074 0:000 Extra kext: EFI\CLOVER\OEM\X79-UD7\UEFI\kexts\10.8\AHCIPortInjector.kext
135:076 0:001 Extra kext: EFI\CLOVER\OEM\X79-UD7\UEFI\kexts\10.8\AppleIntelE1000e.kext
135:082 0:005 Extra kext: EFI\CLOVER\OEM\X79-UD7\UEFI\kexts\10.8\NullCPUPowerManagement.kext
135:085 0:002 Extra kext: EFI\CLOVER\OEM\X79-UD7\UEFI\kexts\10.8\SleepEnabler.kext
135:087 0:002 Extra kext: EFI\CLOVER\OEM\X79-UD7\UEFI\kexts\10.8\MarvelL88se9172AHCIPortInjector.kext
135:108 0:021 count: 5
135:109 0:000 mm_extra_size: 220
135:109 0:000 extra_size: 294912
135:111 0:001 offset: 298972
135:111 0:000 Closing log
135:112 0:000 SetStartupDiskVolume ...
Volume: 'Mac OS X Install ESD', LoaderPath: ''

135:112 0:000 DevPath: Mac OS X Install ESD
135:113 0:000 GUID = 9CDFA628-8F04-423B-A774-C021FE479FF9
135:113 0:000 efi-boot-device: IOMatchIOProviderClassIOMediaIOPropertyMatchUUID9CDFA628-8F04-423B-A774-C021FE479FF9
135:115 0:001 Starting boot.efi
135:132 0:017 Using load options 'boot.efi -v npci=0x2000 slide=0 WithKexts NoCache '
Am I making progress? It is hard to tell.
I am trying to boot my installer partition. I have progressed from kernel panics to hanging.
First thing was disabling options from the DSDT mask. I started with 0xE033, but that gave a KP of "Unable to find driver for this platform".
I disabled options one at a time down to 0xE013, and the KPs changed to "Unsupported CPU Family". Somehow my boot args had been cleared, so I rebuilt the config file to keep

boot args "-v npci=0x2000 slide=0 WithKexts NoCache"

My System now hangs at "MAC Framework Successfully initialized using 16384 buffer headers and 10204 cluster IO buffer headers"

Lots more to try!
Let me be be someone's hero.
Get yourself an XML checker-validator or better yet a nice xml editor with checking built in. Even if you only edit the config.plist files by hand, a checker can save you hours that you will waste because of a missing dash or an extra slash.
Trust the science folks, humans are terrible at detecting the tiny errors that break an xml file.

Saturday, August 3, 2013

Now, the slow slog of errors. I may give up at any point and try iATKOS or something, but I will make a try at vanilla 10.8 and manually fixing stuff.
My first error is AppleACPIPPlatformExpert:: Start Failed.
The install procedure says to restore InstallESD.dmg to a partition. This turned out to be tricky. Restore from the dmg fails, due to "invalid parameters" .  Mounting the dmg, and restoring with the mounted version works. But then the partition and filesystem verification can fail, which prevent installation. So some tips:

  • Create a separate Install Partition
  • Ensure that there are no more than 4 total partitions on the drive
  • Install Partition should be at least 8gb
  • Ensure that the install partition is the second partition
  • Ensure the success of  "verify disk" on the whole disk, and "verify disk" for each partition/volume.


OSX did not like the HFS+ partitions that I created with gparted. diskpart complained that there was not enough "loader space" no matter what I did. So within OSX, (on the virtual Mac) I erased all but the invisible ESP partition, and created an install and an OSX partition on the Mac drive. I restored InstallESD to the install partition, and re-installed Clover 1946 to the OS partition. All tests show good. I expect I must reinstall Clover yet again on the OS partition, go get the correct kexts and DSDT.aml.

Now to try booting again.

Friday, August 2, 2013

MILESTONE!
Clover now starts every time.
Something, somehow, had smashed the top-level config.plist into binary garbage. I replaced it with a valid file. I also created a valid config.plist under:
EFI/CLOVER/OEM/X79-UD7/UEFI

And THAT config file, at long last, is read correctly. One way I know is because I set the theme to be different for all of the config plists.
So the ESP partition now has 7 config files that are almost exactly the same:

./CLOVER/OEM/SystemProductName/UEFI/config.plist
./CLOVER/OEM/SystemProductName/config.plist
./CLOVER/OEM/VirtualBox/UEFI/config.plist
./CLOVER/OEM/VirtualBox/config.plist
*./CLOVER/OEM/X79-UD7/UEFI/config.plist
./CLOVER/OEM/X79-UD7/config.plist
./CLOVER/config.plist

I am pretty sure that at least the top config file EFI/CLOVER/config.plist must be valid, or else none of the other configs are read. Again, for the GA-x79-UD7, the file "./CLOVER/OEM/X79-UD7/UEFI/config.plist" is the only one that is finally used. And Hurray, now that everything works, I have a debug file! :/

./CLOVER/misc/debug.log
0:100  0:000  Clover revision: 1946  running on To be filled by O.E.M.
0:100  0:000  ... with board X79-UD7
0:134  0:034  ConfigPlistPath: EFI\CLOVER\config.plist
0:140  0:006  Using OEM config.plist at path: EFI\CLOVER\OEM\X79-UD7\UEFI\config.plist


I duplicated the DSDT.aml and 10.8 kext files under the  CLOVER/OEM/X79-UD7/UEFI directory too.

Time to install, boot, and run the OSX 10.8 installer!
Plugging in the USB drive did something to the UD7's nvram, now I can see Clover every boot, evrn with no USB present. However, Clover is not reading the config files. I guess it may be the X79-UD7 config dir I created. my blind trial and error. I am annoyed that I compiled a debug-by-default version of Clover, but still no log files. I have NEVER seen a Clover log file.
On the plus side, I seem to be able to boot Windows from Clover.

I hate computers.
At LEAST three full workdays of effort attempting to get Clover to start on the UD7, with no results. Almost by accident, I started the UD7 with an iATKOS ML3 bootable USB drive. That drive has Clover 1850. Sure enough, Clover starts fine from the USB. but Its what happend next that is so odd.
I unplug the USB, reboot, and go to the kitchen to get a drink. I come back, and there it is. Clover has finally booted from the Mac drive. And unlike on the the VM, Clover  is correctly reading the confing.plist.
I had to hard reset to boot windows again, becuse the Clover option to boot windows did not work. Still good news, at least I know it is possible to get clover to run on the UD7. Now I need to discover  WHY it needs the USB drive to boot from the SATA Mac drive.

CRAZY!