Hi, thanks for this EFI!
I've tried tweaking it up to the point where mine differs a lot from your EFI, but what I currently have is:
- T7820 running Ventura 13.6.1 with dual Xeon Gold 6130 cpus.
- Everything works, except for sleep.
Here are my observations:
- With two dual cpus, the machine can correctly enter sleep mode, but a Kernel panic occurs when the machine wakes up.
- Different operating systems, Windows 11 and Arch Linux, are capable of getting the machine to sleep, and then wake it up correctly.
- As is the case with your original EFI, when using a single Xeon Gold 6130 cpu (without the extra CPU train installed) the machine is able to sleep and wake up correctly.
Upon restarting from a Kernel panic, I can see the following stack trace:
mp_kdp_enter() timed-out on cpu 0, NMI-ing
mp_kdp_enter() NMI pending on cpus: 0 32 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
mp_kdp_enter() timed-out during locked wait after NMI;expected 32 acks but received 1 after 7695413 loops in 1047538170 ticks
panic(cpu 0 caller 0xffffff800dbdea27): Invalid queue linkage: elt:0xffffff8f8c1d8f38 {prev:0xffffff800e31d080, next:0xffffff800e0acee8, prev->next:0xffffff8f8c1d8f38, next->prev:0xffffff8f8c841938} @mpsc_queue.c:46
Panicked task 0xffffff9457a8be18: 374 threads: pid 0: kernel_task
Backtrace (CPU 0), panicked thread: 0xffffff9deec9a598, Frame : Return Address
0xffffffb10c88bb30 : 0xffffff800d470c7d mach_kernel : _handle_debugger_trap + 0x4ad
0xffffffb10c88bb80 : 0xffffff800d5c4f54 mach_kernel : _kdp_i386_trap + 0x114
0xffffffb10c88bbc0 : 0xffffff800d5b4a67 mach_kernel : _kernel_trap + 0x3b7
0xffffffb10c88bc10 : 0xffffff800d411971 mach_kernel : _return_from_trap + 0xc1
0xffffffb10c88bc30 : 0xffffff800d470f5d mach_kernel : _DebuggerTrapWithState + 0x5d
0xffffffb10c88bd20 : 0xffffff800d470607 mach_kernel : _panic_trap_to_debugger + 0x1a7
0xffffffb10c88bd80 : 0xffffff800dbdb9ab mach_kernel : _panic + 0x84
0xffffffb10c88be70 : 0xffffff800dbdea27 mach_kernel : ___queue_element_linkage_invalid + 0x2e
0xffffffb10c88be90 : 0xffffff800d4d0c43 mach_kernel : _timer_queue_expire_with_options + 0x683
0xffffffb10c88bf10 : 0xffffff800d5a1f04 mach_kernel : _timer_intr + 0x84
0xffffffb10c88bf50 : 0xffffff800d5b3b3e mach_kernel : _rtclock_intr + 0x2e
0xffffffb10c88bf60 : 0xffffff800d5bdefa mach_kernel : _lapic_interrupt + 0x4a
0xffffffb10c88bf80 : 0xffffff800d5b43b6 mach_kernel : _interrupt + 0xd6
0xffffffb10c88bfe0 : 0xffffff800d411a9a mach_kernel : _hndl_allintrs + 0x9a
0xffffffa91f723c90 : 0xffffff800e375090 com.apple.driver.AppleACPIPlatform : __ZN23AppleACPIPlatformExpert13sleepPlatformEv + 0x30c
0xffffffa91f723ce0 : 0xffffff800e3793b5 com.apple.driver.AppleACPIPlatform : __ZN12AppleACPICPU7haltCPUEv + 0x75
0xffffffa91f723d00 : 0xffffff800db37975 mach_kernel : __Z16IOCPUSleepKernelv + 0x1b5
0xffffffa91f723d50 : 0xffffff800db88dc4 mach_kernel : __ZN14IOPMrootDomain15powerChangeDoneEm + 0xac4
0xffffffa91f723dd0 : 0xffffff800daf9e19 mach_kernel : __ZN9IOService8all_doneEv + 0x739
0xffffffa91f723e40 : 0xffffff800daf6bf6 mach_kernel : __ZN9IOService23actionPMWorkQueueInvokeEP11IOPMRequestP13IOPMWorkQueue + 0x876
0xffffffa91f723e90 : 0xffffff800daf4310 mach_kernel : __ZN13IOPMWorkQueue17checkRequestQueueEP11queue_entryPb + 0x90
0xffffffa91f723ee0 : 0xffffff800daf41ba mach_kernel : __ZN13IOPMWorkQueue12checkForWorkEv + 0xca
0xffffffa91f723f20 : 0xffffff800db1270e mach_kernel : __ZN10IOWorkLoop15runEventSourcesEv + 0x12e
0xffffffa91f723f60 : 0xffffff800db11d57 mach_kernel : __ZN10IOWorkLoop10threadMainEv + 0x37
0xffffffa91f723fa0 : 0xffffff800d41119e mach_kernel : _call_continuation + 0x2e
Kernel Extensions in backtrace:
com.apple.driver.AppleACPIPlatform(6.1)[EC0D2043-72FD-38BC-96A6-97177FF55876]@0xffffff800e369000->0xffffff800e3e0fff
dependency: com.apple.driver.AppleSMC(3.1.9)[DD55DA6A-679A-3797-947C-0B50B7B5B659]@0xffffff800eade000->0xffffff800eafafff
dependency: com.apple.iokit.IOACPIFamily(1.4)[D342E754-A422-3F44-BFFB-DEE93F6723BC]@0xffffff800fa3c000->0xffffff800fa3dfff
dependency: com.apple.iokit.IOPCIFamily(2.9)[18153FB8-529A-32CC-9C31-57F159E58DC6]@0xffffff800feac000->0xffffff800feddfff
Process name corresponding to current thread (0xffffff9deec9a598): kernel_task
Boot args: npci=0x2000 alcid=12 keepsyms=1 agdpmod=pikera
Mac OS version:
22G313
Kernel version:
Darwin Kernel Version 22.6.0: Wed Oct 4 21:25:26 PDT 2023; root:xnu-8796.141.3.701.17~4/RELEASE_X86_64
Kernel UUID: 6059599F-7994-349C-8DC6-03F3B60C83DE
roots installed: 0
KernelCache slide: 0x000000000d000000
KernelCache base: 0xffffff800d200000
Kernel slide: 0x000000000d0dc000
Kernel text base: 0xffffff800d2dc000
__HIB text base: 0xffffff800d100000
System model name: MacPro7,1 (Mac-27AD2F918AE68F61)
System shutdown begun: NO
Panic diags file available: NO (0xe00002bc)
Hibernation exit count: 0
System uptime in nanoseconds: 174882103794
Last Sleep: absolute base_tsc base_nano
Uptime : 0x00000028b7c92510
Sleep : 0x000000287b1e4595 0x0001ada92b38fa8c 0x0000000000000000
Wake : 0x0000000000000000 0x0000000a3e95559e 0x000000287b8506e2
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
Zone map: 0xffffff891f388000 - 0xffffffa91f388000
. PGZ : 0xffffff891f388000 - 0xffffff8927389000
. VM : 0xffffff8927389000 - 0xffffff8df2d22000
. RO : 0xffffff8df2d22000 - 0xffffff8f8c055000
. GEN0 : 0xffffff8f8c055000 - 0xffffff94579ee000
. GEN1 : 0xffffff94579ee000 - 0xffffff9923387000
. GEN2 : 0xffffff9923387000 - 0xffffff9deed20000
. GEN3 : 0xffffff9deed20000 - 0xffffffa2ba6ba000
. DATA : 0xffffffa2ba6ba000 - 0xffffffa91f388000
Metadata: 0xffffff88d2e76000 - 0xffffff88f2e76000
Bitmaps : 0xffffff88f2e76000 - 0xffffff88fee76000
Extra : 0 - 0
I've included a copy of the current EFI I am running, minus serial numbers of course. If this could be fixed, this machine would be perfect for running MacOS under OpenCore.
Any help or feedback is appreciated.
Thanks!
EFI.zip
Hi, thanks for this EFI!
I've tried tweaking it up to the point where mine differs a lot from your EFI, but what I currently have is:
Here are my observations:
Upon restarting from a Kernel panic, I can see the following stack trace:
I've included a copy of the current EFI I am running, minus serial numbers of course. If this could be fixed, this machine would be perfect for running MacOS under OpenCore.
Any help or feedback is appreciated.
Thanks!
EFI.zip