Comet Lake Kernel Panic Help

Hello All,

I managed to get my build almost completely stable. I have a GIGABYTE Z490 VISION G with an i7-10700k and a RX 5700 XT running OpenCore 0.5.9 on 10.15.6. Originally 0.5.8 10.15.5 but updated both. I did USB mapping, power management works without modification, running headless iGPU and VDA decoder works, built my own custom SSDTs, audio works, ethernet works, and yet I still get random kernel panics every 10 reboots or so. I've had this problem since I first installed macOS about 2 months ago with 10.15.5 OC 0.5.8. The OS either crashes when it's reaching the lock screen or once I input my password and the wheel starts spinning. Here is the text of the kernel panic. I'd really appreciate any help. I'm happy to share my config.plist if anyone needs it as well.

{"timestamp":"2020-07-31 20:57:02.63 -0700","bug_type":"210","os_version":"Mac OS X 10.15.6 (19G73)"}

{"macOSProcessedStackshotData":"bm8gb24gZGlzayBvciBzbGVlcC93YWtlIGZhaWx1cmUgcGFuaWMgc3RhY2tzaG90IGZvdW5k","macOSPanicString":"panic(cpu 2 caller 0xffffff800b53c61a): \"thread_invoke: preemption_level 1, possible cause: blocking while holding a spinlock, or within interrupt context\"@\/AppleInternal\/BuildRoot\/Library\/Caches\/com.apple.xbs\/Sources\/xnu\/xnu-6153.141.1\/osfmk\/kern\/sched_prim.c:2205\nBacktrace (CPU 2), Frame : Return Address\n0xffffff8205f7b730 : 0xffffff800b51a65d mach_kernel : _handle_debugger_trap + 0x49d\n0xffffff8205f7b780 : 0xffffff800b654a75 mach_kernel : _kdp_i386_trap + 0x155\n0xffffff8205f7b7c0 : 0xffffff800b6465fe mach_kernel : _kernel_trap + 0x4ee\n0xffffff8205f7b810 : 0xffffff800b4c0a40 mach_kernel : _return_from_trap + 0xe0\n0xffffff8205f7b830 : 0xffffff800b519d27 mach_kernel : _DebuggerTrapWithState + 0x17\n0xffffff8205f7b930 : 0xffffff800b51a117 mach_kernel : _panic_trap_to_debugger + 0x227\n0xffffff8205f7b980 : 0xffffff800bcc1abc mach_kernel : _panic + 0x54\n0xffffff8205f7b9f0 : 0xffffff800b53c61a mach_kernel : _thread_unstop + 0x187a\n0xffffff8205f7ba60 : 0xffffff800b53ad0f mach_kernel : _thread_block_reason + 0xaf\n0xffffff8205f7bab0 : 0xffffff800b52b8d0 mach_kernel : _lck_mtx_sleep + 0x70\n0xffffff8205f7baf0 : 0xffffff800b57234d mach_kernel : _zalloc_async + 0x98d\n0xffffff8205f7bc20 : 0xffffff800b635a5f mach_kernel : _fpnoextflt + 0x9f\n0xffffff8205f7bc70 : 0xffffff800b4c0a40 mach_kernel : _return_from_trap + 0xe0\n0xffffff8205f7bc90 : 0xffffff7f9253ed01 ru.joedm.SMCSuperIO : __ZN10SMCSuperIO15quickRescheduleEv + 0x3a21\n0xffffff8205f7bd80 : 0xffffff7f9253d78e ru.joedm.SMCSuperIO : __ZN10SMCSuperIO15quickRescheduleEv + 0x24ae\n0xffffff8205f7bda0 : 0xffffff7f9253b4bf ru.joedm.SMCSuperIO : __ZN10SMCSuperIO15quickRescheduleEv + 0x1df\n0xffffff8205f7bdf0 : 0xffffff7f9253ab7f ru.joedm.SMCSuperIO : __ZN10SMCSuperIO12detectDeviceEv + 0x22f\n0xffffff8205f7be20 : 0xffffff800bc32329 mach_kernel : __ZN18IOTimerEventSource15timeoutSignaledEPvS0_ + 0x89\n0xffffff8205f7be90 : 0xffffff800bc32249 mach_kernel : __ZN18IOTimerEventSource17timeoutAndReleaseEPvS0_ + 0x99\n0xffffff8205f7bec0 : 0xffffff800b55c605 mach_kernel : _thread_call_delayed_timer + 0xec5\n0xffffff8205f7bf40 : 0xffffff800b55c131 mach_kernel : _thread_call_delayed_timer + 0x9f1\n0xffffff8205f7bfa0 : 0xffffff800b4c013e mach_kernel : _call_continuation + 0x2e\n Kernel Extensions in backtrace:\n ru.joedm.SMCSuperIO(1.1.4)[E685228B-ECE0-3AEF-BC2F-A564771811D7]@0xffffff7f92539000->0xffffff7f92548fff\n dependency: as.vit9696.Lilu(1.4.5)[97E8E5AE-79EF-303D-879A-CDD2C78FA922]@0xffffff7f92395000\n dependency: as.vit9696.VirtualSMC(1.1.4)[06AB539D-E177-395A-9741-87367BAD19ED]@0xffffff7f923be000\n dependency: com.apple.iokit.IOACPIFamily(1.4)[68557A36-4EE1-372A-983B-BB2769FDB8E0]@0xffffff7f8c64d000\n\nBSD process name corresponding to current thread: kernel_task\nBoot args: keepsyms=1 alcid=1 agdpmod=pikera \n\nMac OS version:\n19G73\n\nKernel version:\nDarwin Kernel Version 19.6.0: Sun Jul 5 00:43:10 PDT 2020; root:xnu-6153.141.1~9\/RELEASE_X86_64\nKernel UUID: 783946EA-6F11-3647-BF90-787AEA14B954\nKernel slide: 0x000000000b200000\nKernel text base: 0xffffff800b400000\n__HIB text base: 0xffffff800b300000\nSystem model name: iMac19,1 (Mac-AA95B1DDAB278B95)\nSystem shutdown begun: NO\nPanic diags file available: YES (0x0)\n\nSystem uptime in nanoseconds: 307542363312\n\n\n"}

submitted by /u/rjenny509
[link] [comments]