acidanthera / bugtracker

Acidanthera Bugtracker
385 stars 45 forks source link

Opencore not work with QEMU/KVM topology/smp when using cpu model newer than penryn #531

Closed Leoyzen closed 5 years ago

Leoyzen commented 5 years ago

When using QEMU smp or libvirt topology and cpu model newer than Penryn, the kernel panic will occur.

When digging to the code I found that opencore get the topology from msr 0x35 which KVM not implemented yet and then get wrong topology (1 core 1thread) which makes the kernel panic.

Maybe we should check Penryn or "Hypervisor" cpuid feature(details from here to make topology works.

code snippet related:

// or maybe we should also check "hypervisor" cpuid here
if (Cpu->MaxId >= CPUID_CACHE_PARAMS && Cpu->Model <= CPU_MODEL_PENRYN) {
    AsmCpuidEx (CPUID_CACHE_PARAMS, 0, &CpuidCacheEax.Uint32, &CpuidCacheEbx.Uint32, NULL, NULL);
    if (CpuidCacheEax.Bits.CacheType != CPUID_CACHE_PARAMS_CACHE_TYPE_NULL) {
      CoreCount = (UINT16)GetPowerOfTwo32 (CpuidCacheEax.Bits.MaximumAddressableIdsForProcessorCores + 1);
      if (CoreCount < CpuidCacheEax.Bits.MaximumAddressableIdsForProcessorCores + 1) {
        CoreCount *= 2;
      }
      Cpu->CoreCount   = CoreCount;
      //
      // We should not be blindly relying on Cpu->Features & CPUID_FEATURE_HTT.
      // On Penryn CPUs it is set even without Hyper Threading.
      //
      if (Cpu->ThreadCount < Cpu->CoreCount) {
        Cpu->ThreadCount = Cpu->CoreCount;
      }
    }
  } else if (Cpu->Model == CPU_MODEL_WESTMERE) {
    Msr = AsmReadMsr64 (MSR_CORE_THREAD_COUNT);
    Cpu->CoreCount   = (UINT16)BitFieldRead64 (Msr, 16, 19);
    Cpu->ThreadCount = (UINT16)BitFieldRead64 (Msr, 0,  15);
  } else {
    Msr = AsmReadMsr64 (MSR_CORE_THREAD_COUNT);
    Cpu->CoreCount   = (UINT16)BitFieldRead64 (Msr, 16, 31);
    Cpu->ThreadCount = (UINT16)BitFieldRead64 (Msr, 0,  15);
  }

The oc boot logs: LEFT: Penyn with topology: RIGHT: IvyBridge with topology: image

The Kernel panic: image

vit9696 commented 5 years ago

Well, um, could you explain how to read the core count with KVM and these CPUIDs? I checked the article, but failed to find it quickly.

Leoyzen commented 5 years ago

@vit9696 according to the link and some search, should check cpu ecx bit 31 to determine if is in a vm. sample code

static inline int cpuid_hv_bit() {
    int ecx;
    __asm__ volatile("cpuid" \
            : "=c"(ecx) \
            : "a"(0x01));
    return (ecx >> 31) & 0x1;
}

If it in a vm (QEMU/VMWare), it should be the same as Penryn to get topology( from CpuidCacheEax I suppose). So the key is determine if opencore running in a VM (by the hypervisor bit I mentioned)., then do the same as Penryn (which works for us). I'm not quite familar with cpuid programming.

Also I've found when using opencore with amd vm, it fails with same issues ( opencore get topology from "0x8000001E" but it hangs there.

Leoyzen commented 5 years ago

I found that passthrough AMD cpu to vm is similar with this issue which K10_PSTATE_STATUS does not simluate by QEMU/KVM, then the CoreFrequencyID/CoreDivisorID will be zero, and the bus ratio divide brokes then.

It will be nice to add visualization support like hypervisor flags indicate.

vit9696 commented 5 years ago

I believe we resolved this by now, thank you for the patch!

steeve commented 4 years ago

@Leoyzen could you share your qemu command line? I'm trying to get it to work with qemu+hvf, but it ends with a X64 exception.

Here is my command line:

QEMU_CPU_FLAGS="+pcid,+ssse3,+sse4.2,+popcnt,+avx,+aes,+xsave,+xsaveopt,check"
QEMU_CPU="Penryn,vendor=GenuineIntel,+invtsc,vmware-cpuid-freq=on,${QEMU_CPU_FLAGS}"

args=(
    "-show-cursor"
    "-accel hvf"
    "-serial file:/tmp/oc.log"
    "-machine pc-q35-2.11"
    "-cpu ${QEMU_CPU}"
    "-m 4096"
    "-smp 4,cores=2"
    "-rtc base=localtime,clock=host,driftfix=slew"
    "-usb"
    "-device usb-tablet"
    "-smbios type=2"
    "-drive if=pflash,format=raw,readonly,file=OVMF_CODE-pure-efi.fd"
    "-drive if=pflash,format=raw,readonly,file=OVMF_VARS-pure-efi.fd"
    "-device ich9-ahci,id=sata"
    "-device ide-hd,bus=sata.0,drive=bootloader"
    "-drive id=bootloader,if=none,format=raw,file=oc.raw"
    "-device ide-hd,bus=sata.1,drive=macos"
    "-drive id=macos,if=none,format=raw,file=mojave.raw"
)

See the attached OpenCore log

Click to expand! ``` [=3hBdsDxe: loading Boot0001 "UEFI QEMU HARDDISK QM00013 " from PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0xFFFF,0x0) BdsDxe: starting Boot0001 "UEFI QEMU HARDDISK QM00013 " from PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x0,0xFFFF,0x0) BS: Starting OpenCore... BS: Booter path - \EFI\BOOT\BOOTX64.EFI OCF: Trying to locate filesystem on 7ED5FA98 7EF96F98 OCF: Filesystem DP is \EFI\BOOT\BOOTX64.EFI BS: Trying to start loaded OpenCore image... BS: Failed to locate bootstrap protocol - Not Found BS: Trying to load OpenCore image... BS: Read OpenCore image of 499744 bytes BS: Loaded OpenCore image at 7F206E98 handle OC: Starting OpenCore... OC: Booter path - OC: Booted from bootstrap OC: ReRun executed! OCS: Missing vault data, ignoring... OC: OcMiscEarlyInit... OC: Loaded configuration of 12812 bytes OCS: Couldn't get array serialized at 0 index! OC: OpenCore is now loading (Vault: 0/0, Sign 0/0)... OC: Boot timestamp - 2020.02.14 23:49:32 OCCPU: MP services threads 4 (enabled 4) - Success OCCPU: MP services Pkg 2 Cores 2 Threads 1 - Success OCCPU: Hypervisor: 1 OCCPU: Found Intel Core 2 Duo P9xxx (Penryn Class Core 2) OCCPU: Signature 10673 Stepping 3 Model 17 Family 6 Type 0 ExtModel 1 ExtFamily 0 uCode 0 OCCPU: Detected Apple Processor Type: 02 -> 0301 OCCPU: Ratio Min 0 Max 0 Current 0 Turbo 0 0 0 0 OCCPU: Timer address is 608 from LPC OCCPU: CPUFrequencyFromTSC 3095966905Hz 3095MHz OCCPU: CPUFrequency 3095966905Hz 3095MHz OCCPU: FSBFrequency 100000000Hz 100MHz OCCPU: Pkg 2 Cores 2 Threads 2 OC: OcLoadUefiSupport... OCC: Install console control 0 - Not Found AIFTimerBoostInit Current timer is 100000 AIFTimerBoostInit changed period 100000 to 50000 AmiEfiKeycodeProtocol is unavailable on gST->ConsoleHandle - Unsupported gST->ConIn 7FA4DB90 vs found 7FA4DB90 OCABC: Firmware has 1036991 free pages (512703 in lower 4 GB) OCC: Configuring console ignore 1 san clear 1 clear switch 0 replace tab 0s OCC: Configuring behaviour 3 OC: Got 4 drivers OC: Driver VBoxHfs.efi at 0 is being loaded... OC: Driver VBoxHfs.efi at 0 is successfully loaded! OC: Driver VBoxHfs.efi at 0 needs connection. OC: Driver ApfsDriverLoader.efi at 1 is being loaded... Starting ApfsDriverLoader ver. 2.1.5 OC: Driver ApfsDriverLoader.efi at 1 is successfully loaded! OC: Driver ApfsDriverLoader.efi at 1 needs connection. OC: Driver FwRuntimeServices.efi at 2 is being loaded... OC: Driver FwRuntimeServices.efi at 2 is successfully loaded! OC: Driver VirtualSMC.efi at 3 is being loaded... OC: Driver VirtualSMC.efi at 3 is successfully loaded! OC: Connecting drivers... EfiBootRecord located at: 176442 block Real image size: 602936 Signature verified! OC: Connecting drivers done... OC: OcLoadAcpiSupport... OCA: Found 5 ACPI tables OCA: Detected table 50434146 (5043414643505842) at 7FBF6000 of 244 bytes at index 0 OCA: Detected table 43495041 (4349504143505842) at 7FBF5000 of 144 bytes at index 1 OCA: Detected table 54455048 (5445504843505842) at 7FBF4000 of 56 bytes at index 2 OCA: Detected table 4746434D (4746434D43505842) at 7FBF3000 of 60 bytes at index 3 OCA: Detected table 54524742 (20202020324B4445) at 7DF3A000 of 56 bytes at index 4 OCA: FACS signature is 0 (0) OCA: Exposing XSDT table 50434146 (5043414643505842) at 7FBF6000 of 244 bytes at index 0 OCA: Exposing XSDT table 43495041 (4349504143505842) at 7FBF5000 of 144 bytes at index 1 OCA: Exposing XSDT table 54455048 (5445504843505842) at 7FBF4000 of 56 bytes at index 2 OCA: Exposing XSDT table 4746434D (4746434D43505842) at 7FBF3000 of 60 bytes at index 3 OCA: Exposing XSDT table 54524742 (20202020324B4445) at 7DF3A000 of 56 bytes at index 4 OCA: Exposing RSDT table 50434146 (5043414643505842) at 7FBF6000 of 244 bytes at index 0 OCA: Exposing RSDT table 43495041 (4349504143505842) at 7FBF5000 of 144 bytes at index 1 OCA: Exposing RSDT table 54455048 (5445504843505842) at 7FBF4000 of 56 bytes at index 2 OCA: Exposing RSDT table 4746434D (4746434D43505842) at 7FBF3000 of 60 bytes at index 3 OCA: Exposing RSDT table 54524742 (20202020324B4445) at 7DF3A000 of 56 bytes at index 4 OC: OcLoadPlatformSupport... Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:name (9) - Success Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:Model (22) - Success Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:SystemSerialNumber (26) - Success Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:system-id (16) - Success Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:board-id (21) - Success Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:StartupPowerEvents (8) - Success Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:InitialTSC (8) - Success Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:FSBFrequency (8) - Success Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:DevicePathsSupported (4) - Success Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:REV (6) - Success Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:RBr (8) - Success Setting DataHub 64517CC8-6561-4051-B03C-5964B60F4C7A:RPlt (8) - Success OCSMB: SmbiosLookupHost failed to lookup SMBIOSv3 - Not Found OCSMB: Found DMI Anchor 7FBCC000 v2.8 Table Address 7FBCB000 Length 0225 OCSMB: Number of CPU cache entries is 0 OCSMB: Applying 736 (1) prev 7FBCC000 (549/31), 0 (0/0) OCSMB: Patched 7DDA3000 v3.2 Table Address 7DDA4000 Length 02E0 1E AF OC: Setting HW_BID Mac-8ED6AF5B48C039E1 - Success OC: Setting HW_ROM 11:22:33:00:00:00 - Success OC: Setting ROM 11:22:33:00:00:00 - Success OC: Setting HW_MLB C07235301CDDKP2CB - Success OC: Setting MLB C07235301CDDKP2CB - Success OC: Setting FirmwareFeatures D00DE137 - Success OC: Setting ExtendedFirmwareFeatures 00000000D00DE137 - Success OC: Setting FirmwareFeaturesMask FF1FFF3F - Success OC: Setting ExtendedFirmwareFeaturesMask 00000000FF1FFF3F - Success OC: OcLoadDevPropsSupport... OC: OcLoadNvramSupport... OC: Deleting NVRAM 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:UIScale - Not Found OC: Deleting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:boot-args - Not Found OC: Setting NVRAM 4D1EDE05-38C7-4A6A-9CC6-4BCCA8B38C14:UIScale - Success OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:boot-args - Success OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config - Success OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:nvda_drv - Success OC: Setting NVRAM 7C436110-AB2A-4BBB-A880-FE41995C9F82:prev-lang:kbd - Success OC: Current version is DBG-055-2020-02-03 OC: OcMiscLateInit... OC: LoadHandle is 7ED5FA98 - Success OC: Requested resolution is 0x0@0 (max: 0) from OC: Requested console mode is 0x0 (max: 0) from OC: Translated HibernateMode None to 0 OC: Hibernation detection status is Not Found OC: OcLoadKernelSupport... OC: OpenCore is loaded, showing boot menu... OCB: Performing OcScanForBootEntries... OCB: Found 6 potentially bootable filesystems OCB: Filesystem 0 (7ED5FA98) named OPENCORE (Not Found) has 0 entries OCBP: APFS Volume Info is missing OCBP: Blessed file is missing OCBP: Blessed folder is missing OCBP: Predefined \System\Library\CoreServices\boot.efi is missing - Not Found OCBP: Predefined \EFI\APPLE\X64\BOOT.EFI is missing - Not Found OCBP: Predefined \EFI\BOOT\BOOTX64.EFI is missing - Not Found OCBP: Predefined \boot.efi is missing - Not Found OCB: Filesystem 1 (7ED44F98) named EFI (Not Found) has 0 entries OCBP: APFS Volume Info - 7DCA3698 (1, 1FA34FAF-902F-4A06-A5E8-AB7670991A86, 16) OCBP: APFS Container Info - 7EB26898 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: BlessedFileHEX (1/5 264) - 02 01 0C 00 D0 41 03 0A 00 00 00 00 01 01 06 00 00 03 03 12 0A 00 01 00 FF FF 00 00 04 01 2A 00 02 00 00 00 28 40 06 00 00 00 00 00 B0 BF F5 03 00 00 00 00 10 44 6B 5E 15 A0 49 4E 85 71 E7 20 OCBP: BlessedFileHEX (2/5 264) - 8B F8 01 85 02 02 04 03 24 00 F7 FC 74 BE 7C 0B F3 49 91 47 01 F4 04 2E 68 42 AF 4F A3 1F 2F 90 06 4A A5 E8 AB 76 70 99 1A 86 04 04 9A 00 5C 00 41 00 38 00 38 00 32 00 41 00 43 00 32 00 42 00 OCBP: BlessedFileHEX (3/5 264) - 2D 00 31 00 43 00 43 00 33 00 2D 00 34 00 38 00 32 00 44 00 2D 00 39 00 30 00 38 00 42 00 2D 00 31 00 36 00 35 00 34 00 35 00 39 00 41 00 42 00 37 00 43 00 41 00 30 00 5C 00 53 00 79 00 73 00 OCBP: BlessedFileHEX (4/5 264) - 74 00 65 00 6D 00 5C 00 4C 00 69 00 62 00 72 00 61 00 72 00 79 00 5C 00 43 00 6F 00 72 00 65 00 53 00 65 00 72 00 76 00 69 00 63 00 65 00 73 00 5C 00 62 00 6F 00 6F 00 74 00 2E 00 65 00 66 00 OCBP: BlessedFileHEX (5/5 264) - 69 00 00 00 7F FF 04 00 OCBP: BlessedFileDP - PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x1,0xFFFF,0x0)/HD(2,GPT,5E6B4410-A015-4E49-8571-E7208BF80185,0x64028,0x3F5BFB0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,AF4FA31F2F90064AA5E8AB7670991A86)/\A882AC2B-1CC3-482D-908B-165459AB7CA0\System\Library\CoreServices\boot.efi OCBP: Blessed file is valid OCBP: 6 filesystems for APFS - Success OCBP: APFS Volume Info is missing OCBP: No APFS info 0 of 6 - Not Found OCBP: APFS Volume Info is missing OCBP: No APFS info 1 of 6 - Not Found OCBP: APFS Volume Info - 7DDA6D18 (1, 1FA34FAF-902F-4A06-A5E8-AB7670991A86, 16) OCBP: APFS Container Info - 7EB25298 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 2 of 6 - 1 OCBP: Missing partition 1FA34FAF-902F-4A06-A5E8-AB7670991A86 on preboot - Not Found OCBP: No APFS booter 2 of 6 for 1FA34FAF-902F-4A06-A5E8-AB7670991A86 - Not Found OCBP: APFS Volume Info - 7EB25298 (1, A882AC2B-1CC3-482D-908B-165459AB7CA0, 0) OCBP: APFS Container Info - 7DDA6D98 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 3 of 6 - 1 OCBP: Found partition A882AC2B-1CC3-482D-908B-165459AB7CA0 on preboot OCBP: Want predefined list for APFS 16 at A882AC2B-1CC3-482D-908B-165459AB7CA0 OCBP: Predefined A882AC2B-1CC3-482D-908B-165459AB7CA0 \System\Library\CoreServices\boot.efi was found OCBP: Found APFS booter 3 of 6 for A882AC2B-1CC3-482D-908B-165459AB7CA0 (7DDA6C18) OCBP: APFS Volume Info - 7DDA5D98 (1, A56D96B4-C293-453E-8D55-DB756334667C, 4) OCBP: APFS Container Info - 7DCA6518 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 4 of 6 - 1 OCBP: Missing partition A56D96B4-C293-453E-8D55-DB756334667C on preboot - Not Found OCBP: No APFS booter 4 of 6 for A56D96B4-C293-453E-8D55-DB756334667C - Not Found OCBP: APFS Volume Info - 7DCA6518 (1, 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7, 8) OCBP: APFS Container Info - 7EB28F18 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 5 of 6 - 1 OCBP: Missing partition 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7 on preboot - Not Found OCBP: No APFS booter 5 of 6 for 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7 - Not Found OCBP: APFS bless for 0BC73B91-1575-4735-93FA-C8B0597BBC12: is Success OCB: Filesystem 2 (7EB1B798) named Preboot (Success) has 1 entries OCBP: APFS Volume Info - 7EB26898 (1, A882AC2B-1CC3-482D-908B-165459AB7CA0, 0) OCBP: APFS Container Info - 7DCA3698 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCB: Filesystem 3 (7DCCBB98) named Macintosh HD (Not Found) has 0 entries OCBP: APFS Volume Info - 7DCA3698 (1, A56D96B4-C293-453E-8D55-DB756334667C, 4) OCBP: APFS Container Info - 7EB26898 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCB: Filesystem 4 (7DEBD898) named Recovery (Not Found) has 0 entries OCBP: APFS Volume Info - 7EB26898 (1, 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7, 8) OCBP: APFS Container Info - 7DCA3698 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCB: Filesystem 5 (7DEBEB98) named VM (Not Found) has 0 entries OCB: Adding entry 0, external - 0, skip recovery - 0 DevicePath - PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x1,0xFFFF,0x0)/HD(2,GPT,5E6B4410-A015-4E49-8571-E7208BF80185,0x64028,0x3F5BFB0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,AF4FA31F2F90064AA5E8AB7670991A86)/\A882AC2B-1CC3-482D-908B-165459AB7CA0\System\Library\CoreServices\boot.efi OCBP: APFS Container Info - 7DCA3698 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: 6 filesystems for APFS - Success OCBP: APFS Volume Info is missing OCBP: No APFS info 0 of 6 - Not Found OCBP: APFS Volume Info is missing OCBP: No APFS info 1 of 6 - Not Found OCBP: APFS Volume Info - 7DCA3218 (1, 1FA34FAF-902F-4A06-A5E8-AB7670991A86, 16) OCBP: APFS Container Info - 7EFCFD98 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 2 of 6 - 1 OCBP: Missing partition 1FA34FAF-902F-4A06-A5E8-AB7670991A86 on preboot - Not Found OCBP: No APFS booter 2 of 6 for 1FA34FAF-902F-4A06-A5E8-AB7670991A86 - Not Found OCBP: APFS Volume Info - 7DCA3218 (1, A882AC2B-1CC3-482D-908B-165459AB7CA0, 0) OCBP: APFS Container Info - 7EFCFD98 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 3 of 6 - 1 OCBP: Found partition A882AC2B-1CC3-482D-908B-165459AB7CA0 on preboot OCBP: Want predefined list for APFS 16 at A882AC2B-1CC3-482D-908B-165459AB7CA0 OCBP: Predefined A882AC2B-1CC3-482D-908B-165459AB7CA0 \System\Library\CoreServices\boot.efi was found OCBP: Found APFS booter 3 of 6 for A882AC2B-1CC3-482D-908B-165459AB7CA0 (0) OCBP: APFS Volume Info - 7DCA3518 (1, A56D96B4-C293-453E-8D55-DB756334667C, 4) OCBP: APFS Container Info - 7EFCFD98 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 4 of 6 - 1 OCBP: Missing partition A56D96B4-C293-453E-8D55-DB756334667C on preboot - Not Found OCBP: No APFS booter 4 of 6 for A56D96B4-C293-453E-8D55-DB756334667C - Not Found OCBP: APFS Volume Info - 7DCA3518 (1, 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7, 8) OCBP: APFS Container Info - 7EFCFD98 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 5 of 6 - 1 OCBP: Missing partition 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7 on preboot - Not Found OCBP: No APFS booter 5 of 6 for 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7 - Not Found OCBP: APFS bless for 0BC73B91-1575-4735-93FA-C8B0597BBC12:A882AC2B-1CC3-482D-908B-165459AB7CA0\System\Library\CoreServices\ is Success OCBP: APFS Volume Info - 7DCA3698 (1, A882AC2B-1CC3-482D-908B-165459AB7CA0, 0) OCBP: APFS Container Info - 7DCA3518 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS Volume Info is missing OCBP: APFS recovery info 0/6 due to 7DDA5C82-0000-0000-F8C5-ED7F00000000/0BC73B91-1575-4735-93FA-C8B0597BBC12/0 - Not Found OCBP: APFS Volume Info is missing OCBP: APFS recovery info 1/6 due to 7DDA5C82-0000-0000-F8C5-ED7F00000000/0BC73B91-1575-4735-93FA-C8B0597BBC12/0 - Not Found OCBP: APFS Volume Info - 7DCA3698 (1, 1FA34FAF-902F-4A06-A5E8-AB7670991A86, 16) OCBP: APFS Container Info - 7EB25818 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS recovery info 2/6 due to 0BC73B91-1575-4735-93FA-C8B0597BBC12/0BC73B91-1575-4735-93FA-C8B0597BBC12/10 - Success OCBP: APFS Volume Info - 7DCA3A98 (1, A882AC2B-1CC3-482D-908B-165459AB7CA0, 0) OCBP: APFS Container Info - 7DCA3698 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS recovery info 3/6 due to 0BC73B91-1575-4735-93FA-C8B0597BBC12/0BC73B91-1575-4735-93FA-C8B0597BBC12/0 - Success OCBP: APFS Volume Info - 7EB28E98 (1, A56D96B4-C293-453E-8D55-DB756334667C, 4) OCBP: APFS Container Info - 7DCA3A98 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS recovery info 4/6 due to 0BC73B91-1575-4735-93FA-C8B0597BBC12/0BC73B91-1575-4735-93FA-C8B0597BBC12/4 - Success OCB: Adding entry 1, external - 0, recovery (\A882AC2B-1CC3-482D-908B-165459AB7CA0\) - Success Scanning got 2 entries OCBP: APFS Container Info - 7DCA3518 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: 6 filesystems for APFS - Success OCBP: APFS Volume Info is missing OCBP: No APFS info 0 of 6 - Not Found OCBP: APFS Volume Info is missing OCBP: No APFS info 1 of 6 - Not Found OCBP: APFS Volume Info - 7EB28E98 (1, 1FA34FAF-902F-4A06-A5E8-AB7670991A86, 16) OCBP: APFS Container Info - 7DCA3698 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 2 of 6 - 1 OCBP: Missing partition 1FA34FAF-902F-4A06-A5E8-AB7670991A86 on preboot - Not Found OCBP: No APFS booter 2 of 6 for 1FA34FAF-902F-4A06-A5E8-AB7670991A86 - Not Found OCBP: APFS Volume Info - 7EB28E98 (1, A882AC2B-1CC3-482D-908B-165459AB7CA0, 0) OCBP: APFS Container Info - 7DCA3698 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 3 of 6 - 1 OCBP: Found partition A882AC2B-1CC3-482D-908B-165459AB7CA0 on preboot OCBP: Want predefined list for APFS 16 at A882AC2B-1CC3-482D-908B-165459AB7CA0 OCBP: Predefined A882AC2B-1CC3-482D-908B-165459AB7CA0 \System\Library\CoreServices\boot.efi was found OCBP: Found APFS booter 3 of 6 for A882AC2B-1CC3-482D-908B-165459AB7CA0 (0) OCBP: APFS Volume Info - 7DDA5918 (1, A56D96B4-C293-453E-8D55-DB756334667C, 4) OCBP: APFS Container Info - 7DCA3698 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 4 of 6 - 1 OCBP: Missing partition A56D96B4-C293-453E-8D55-DB756334667C on preboot - Not Found OCBP: No APFS booter 4 of 6 for A56D96B4-C293-453E-8D55-DB756334667C - Not Found OCBP: APFS Volume Info - 7DDA5918 (1, 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7, 8) OCBP: APFS Container Info - 7DCA3698 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 5 of 6 - 1 OCBP: Missing partition 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7 on preboot - Not Found OCBP: No APFS booter 5 of 6 for 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7 - Not Found OCBP: APFS bless for 0BC73B91-1575-4735-93FA-C8B0597BBC12:A882AC2B-1CC3-482D-908B-165459AB7CA0\System\Library\CoreServices\ is Success Trying to get label from \A882AC2B-1CC3-482D-908B-165459AB7CA0\System\Library\CoreServices\.contentDetails Trying to get label from \A882AC2B-1CC3-482D-908B-165459AB7CA0\System\Library\CoreServices\.disk_label.contentDetails Entry 0 is Macintosh HD at \A882AC2B-1CC3-482D-908B-165459AB7CA0\System\Library\CoreServices\ (T:1|F:0) Entry 0 is Macintosh HD at dp PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x1,0xFFFF,0x0)/HD(2,GPT,5E6B4410-A015-4E49-8571-E7208BF80185,0x64028,0x3F5BFB0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,AF4FA31F2F90064AA5E8AB7670991A86)/\A882AC2B-1CC3-482D-908B-165459AB7CA0\System\Library\CoreServices\boot.efi OCBP: APFS Container Info - 7DCA3C98 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: 6 filesystems for APFS - Success OCBP: APFS Volume Info is missing OCBP: No APFS info 0 of 6 - Not Found OCBP: APFS Volume Info is missing OCBP: No APFS info 1 of 6 - Not Found OCBP: APFS Volume Info - 7EF8F518 (1, 1FA34FAF-902F-4A06-A5E8-AB7670991A86, 16) OCBP: APFS Container Info - 7EB25818 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 2 of 6 - 1 OCBP: Missing partition 1FA34FAF-902F-4A06-A5E8-AB7670991A86 on preboot - Not Found OCBP: No APFS booter 2 of 6 for 1FA34FAF-902F-4A06-A5E8-AB7670991A86 - Not Found OCBP: APFS Volume Info - 7EF8F518 (1, A882AC2B-1CC3-482D-908B-165459AB7CA0, 0) OCBP: APFS Container Info - 7EB25818 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 3 of 6 - 1 OCBP: Found partition A882AC2B-1CC3-482D-908B-165459AB7CA0 on preboot OCBP: Want predefined list for APFS 16 at A882AC2B-1CC3-482D-908B-165459AB7CA0 OCBP: Predefined A882AC2B-1CC3-482D-908B-165459AB7CA0 \System\Library\CoreServices\boot.efi is missing - Not Found OCBP: Predefined A882AC2B-1CC3-482D-908B-165459AB7CA0 \EFI\APPLE\X64\BOOT.EFI is missing - Not Found OCBP: Predefined A882AC2B-1CC3-482D-908B-165459AB7CA0 \EFI\BOOT\BOOTX64.EFI is missing - Not Found OCBP: Predefined A882AC2B-1CC3-482D-908B-165459AB7CA0 \boot.efi was found OCBP: Found APFS booter 3 of 6 for A882AC2B-1CC3-482D-908B-165459AB7CA0 (0) OCBP: APFS Volume Info - 7DDA6998 (1, A56D96B4-C293-453E-8D55-DB756334667C, 4) OCBP: APFS Container Info - 7EB25818 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 4 of 6 - 1 OCBP: Missing partition A56D96B4-C293-453E-8D55-DB756334667C on preboot - Not Found OCBP: No APFS booter 4 of 6 for A56D96B4-C293-453E-8D55-DB756334667C - Not Found OCBP: APFS Volume Info - 7DDA6998 (1, 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7, 8) OCBP: APFS Container Info - 7EB25818 (1, 0BC73B91-1575-4735-93FA-C8B0597BBC12) OCBP: APFS match container 0BC73B91-1575-4735-93FA-C8B0597BBC12 vs 0BC73B91-1575-4735-93FA-C8B0597BBC12 for 5 of 6 - 1 OCBP: Missing partition 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7 on preboot - Not Found OCBP: No APFS booter 5 of 6 for 85ED6C0B-E377-469D-8437-2E6F1DAE8FD7 - Not Found OCBP: APFS bless for 0BC73B91-1575-4735-93FA-C8B0597BBC12:A882AC2B-1CC3-482D-908B-165459AB7CA0\ is Success Trying to get label from \A882AC2B-1CC3-482D-908B-165459AB7CA0\.contentDetails Trying to get label from \A882AC2B-1CC3-482D-908B-165459AB7CA0\.disk_label.contentDetails Trying to detect Microsoft BCD Trying to get recovery from \A882AC2B-1CC3-482D-908B-165459AB7CA0\SystemVersion.plist Entry 1 is Recovery 10.14.6 at \A882AC2B-1CC3-482D-908B-165459AB7CA0\ (T:2|F:1) Entry 1 is Recovery 10.14.6 at dp PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x1,0xFFFF,0x0)/HD(2,GPT,5E6B4410-A015-4E49-8571-E7208BF80185,0x64028,0x3F5BFB0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,B4966DA593C23E458D55DB756334667C)/\A882AC2B-1CC3-482D-908B-165459AB7CA0\ OCB: Performing OcShowSimpleBootMenu... 0 OCB: BootNext has not been found OCB: BootOrder is unavailable - Not Found OCB: Initial default is 0, fallback OpenCore Boot Menu (DBG-055-2020-02-03) * 1. Macintosh HD 2. Recovery 10.14.6 (dmg) Choose boot entry: 1 OCB: Should boot from Macintosh HD (T:1|F:0|DEF:0) OCB: Perform boot Macintosh HD to dp PciRoot(0x0)/Pci(0x3,0x0)/Sata(0x1,0xFFFF,0x0)/HD(2,GPT,5E6B4410-A015-4E49-8571-E7208BF80185,0x64028,0x3F5BFB0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,AF4FA31F2F90064AA5E8AB7670991A86)/\A882AC2B-1CC3-482D-908B-165459AB7CA0\System\Library\CoreServices\boot.efi (0/0), balloon 0 OCB: Matching <> args on type 1 0 OCC: Configuring behaviour 4 End SetConsoleMode Start OpenKernelRootVolume End OpenKernelRootVolume Trying XNU hook on System\Library\PrelinkedKernels\prelinkedkernel Kext reservation size 5529600 Result of XNU hook on System\Library\PrelinkedKernels\prelinkedkernel is Success OC: Read kernel version 18.7.0 (180700) OC: Prelink injection Lilu.kext () - Success OC: Prelink injection VirtualSMC.kext () - Success Prelinked status - Success Start LoadKernelFromStream End LoadKernelFromStream Start InitBootStruct root device uuid is 'A882AC2B-1CC3-482D-908B-165459AB7CA0' End InitBootStruct Start LoadRAMDisk End LoadRAMDisk Start FinalizeBootStruct Start RandomSeed End RandomSeed OC: OcAppleGenericInputTimerQuirkExit status - Success OC: OcAppleGenericInputKeycodeExit status - Success !!!! X64 Exception Type - 0E(#PF - Page-Fault) CPU Apic ID - 00000000 !!!! ExceptionData - 0000000000000003 I:0 R:0 U:0 W:1 P:1 PK:0 SS:0 SGX:0 RIP - 000000007DE52675, CS - 0000000000000038, RFLAGS - 0000000000010006 RAX - 0000000000000200, RCX - 0000008000000083, RDX - 000FFFFFFFFFF000 RBX - 000000007D980003, RSP - 000000007FEDBF60, RBP - 000000007FEDBFC0 RSI - 000000007DEBF000, RDI - 000000007FC01000 R8 - 0000000000000000, R9 - 000000007DEBF000, R10 - 0000000000000000 R11 - 000000007DEB1C78, R12 - 00000000000001FF, R13 - FFFFFF8011770000 R14 - 000000007DEB1C38, R15 - 8000000000000011 DS - 0000000000000030, ES - 0000000000000030, FS - 0000000000000030 GS - 0000000000000030, SS - 0000000000000030 CR0 - 00000000C0010023, CR2 - 000000007FC01FF8, CR3 - 000000007FC01000 CR4 - 0000000000000668, CR8 - 0000000000000000 DR0 - 0000000000000000, DR1 - 0000000000000000, DR2 - 0000000000000000 DR3 - 0000000000000000, DR6 - 00000000FFFF0FF0, DR7 - 0000000000000400 GDTR - 000000007FBEE698 0000000000000047, LDTR - 0000000000000000 IDTR - 000000007F2EE018 0000000000000FFF, TR - 0000000000000000 FXSAVE_STATE - 000000007FEDBBC0 !!!! Find image based on IP(0x7DE52675) /Users/travis/build/acidanthera/OpenCorePkg/UDK/Build/OpenCorePkg/DEBUG_XCODE5/X64/OpenCorePkg/Platform/OpenCore/OpenCore/DEBUG/OpenCore.dll (ImageBase=000000007DE3C000, EntryPoint=000000007DE86F4D) !!!! ```