acidanthera / bugtracker

Acidanthera Bugtracker
374 stars 42 forks source link

Kernel panics during the second installation part #2384

Closed telesth closed 4 months ago

telesth commented 4 months ago

Hey guys, I've been trying for many days to run OpenCore on my setup. I managed to resolve a lot of issues on my own by trying different configs, searching the internet, watching videos, and following tutorials. However, I'm now facing an issue that I'm almost certain I can't solve by myself.

After the initial installation, during the setup wizard, I experienced a lot of random reboots. To minimize incompatibility, I'm using a very small set of kexts. I extracted some logs, but they didn't reveal anything helpful to me.

My config:

CPU : AMD Ryzen 9 5950X 3.4 GHz 16-Core Processor Motherboard : Asus ROG STRIX B550-F GAMING (WI-FI) ATX AM4 Motherboard Memory : Corsair Vengeance RGB Pro 32 GB (2 x 16 GB) DDR4-3600 CL18 Memory Storage : Samsung 970 Evo Plus 500 GB M.2-2280 PCIe 3.0 X4 NVME Solid State Drive Video Card : PowerColor Red Devil Radeon RX 6700 XT 12 GB Video Card

Kexts in use:

Lilu.kext VirtualSMC.kext AppleMCEReporterDisabler.kext

Drivers:

HfsPlus.efi OpenCanopy.efi OpenRuntime.efi

Tools:

OpenShell.efi CleanNvram.efi

Opencore Version:

0.9.8

My EFI:

EFI.zip

Last Kernel Panic

{
    "bug_type": "210",
    "timestamp": "2024-02-19 20:43:04.00 -0800",
    "os_version": "macOS 13.6.4 (22G513)",
    "roots_installed": 0,
    "incident_id": "2D914A9D-DF1B-4495-8FED-E7D6827DAB70"
}{
    "macOSProcessedStackshotData": "bm8gb24gZGlzayBwYW5pYyBzdGFja3Nob3QgZm91bmQgaW4gY29yZWZpbGU=",
    "macOSPanicString": "panic(cpu 30 caller 0xffffff801c7ddb17): Invalid queue linkage: elt:0xffffff956996de80 {prev:0xffffff9569820010, next:0xffffff9569a1b850, prev->next:0xa90010004060008, next->prev:0xffffff956996de80} @mpsc_queue.c:46
Panicked task 0xffffff8bd3961258: 5 threads: pid 442: contactsdonation
Backtrace (CPU 30), panicked thread: 0xffffff9569a25598, Frame : Return Address
0xfffffff404c23700 : 0xffffff801c06fc7d mach_kernel : _handle_debugger_trap + 0x4ad
0xfffffff404c23750 : 0xffffff801c1c3f74 mach_kernel : _kdp_i386_trap + 0x114
0xfffffff404c23790 : 0xffffff801c1b3a87 mach_kernel : _kernel_trap + 0x3b7
0xfffffff404c237e0 : 0xffffff801c010971 mach_kernel : _return_from_trap + 0xc1
0xfffffff404c23800 : 0xffffff801c06ff5d mach_kernel : _DebuggerTrapWithState + 0x5d
0xfffffff404c238f0 : 0xffffff801c06f607 mach_kernel : _panic_trap_to_debugger + 0x1a7
0xfffffff404c23950 : 0xffffff801c7daa9b mach_kernel : _panic + 0x84
0xfffffff404c23a40 : 0xffffff801c7ddb17 mach_kernel : ___queue_element_linkage_invalid + 0x2e
0xfffffff404c23a60 : 0xffffff801c19579a mach_kernel : _pmap_remove_range + 0xc0a
0xfffffff404c23b30 : 0xffffff801c195a71 mach_kernel : _pmap_remove_options + 0x231
0xfffffff404c23b80 : 0xffffff801c12163b mach_kernel : _vm_map_destroy + 0x237b
0xfffffff404c23bd0 : 0xffffff801c1203a1 mach_kernel : _vm_map_destroy + 0x10e1
0xfffffff404c23d40 : 0xffffff801c122f99 mach_kernel : _vm_map_switch + 0x1f9
0xfffffff404c23da0 : 0xffffff801c129594 mach_kernel : _vm_map_terminate + 0xe4
0xfffffff404c23df0 : 0xffffff801c0ae605 mach_kernel : _task_terminate_internal + 0x185
0xfffffff404c23e30 : 0xffffff801c522aa7 mach_kernel : _exit + 0x217
0xfffffff404c23e90 : 0xffffff801c540161 mach_kernel : _postsig_locked + 0x461
0xfffffff404c23ed0 : 0xffffff801c5405c7 mach_kernel : _bsd_ast + 0x407
0xfffffff404c23f20 : 0xffffff801c06600f mach_kernel : _ast_taken_user + 0xff
0xfffffff404c23f50 : 0xffffff801c01093d mach_kernel : _return_from_trap + 0x8d

Process name corresponding to current thread (0xffffff9569a25598): contactsdonationagent
Boot args: -v alcid=1 debug=0x100 keepsyms=1 agdpmod=pikera 

Mac OS version:
22G513

Kernel version:
Darwin Kernel Version 22.6.0: Sun Dec 19 22:18:09 PST 2023; root:xnu-8796.141.3.703.2~2\/RELEASE_X86_64
Kernel UUID: E842293E-6652-3980-AA66-4C1D156AB7AB
roots installed: 0
KernelCache slide: 0x000000001bc00000
KernelCache base:  0xffffff801be00000
Kernel slide:      0x000000001bcdc000
Kernel text base:  0xffffff801bedc000
__HIB  text base: 0xffffff801bd00000
System model name: MacPro7,1 (Mac-27AD2F918AE68F61)
System shutdown begun: YES
Panic diags file available: YES (0x0)
Hibernation exit count: 0

System uptime in nanoseconds: 92645177728
Last Sleep:           absolute           base_tsc          base_nano
  Uptime  : 0x0000001592153be3
  Sleep   : 0x0000000000000000 0x0000000000000000 0x0000000000000000
  Wake    : 0x0000000000000000 0x0000001bdcf99204 0x0000000000000000
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: 0xffffff809d35c000 - 0xffffffa09d35c000
  . PGZ   : 0xffffff809d35c000 - 0xffffff80a135d000
  . VM    : 0xffffff80a135d000 - 0xffffff856d690000
  . RO    : 0xffffff856d690000 - 0xffffff8706cf6000
  . GEN0  : 0xffffff8706cf6000 - 0xffffff8bd3029000
  . GEN1  : 0xffffff8bd3029000 - 0xffffff909f35c000
  . GEN2  : 0xffffff909f35c000 - 0xffffff956b68f000
  . GEN3  : 0xffffff956b68f000 - 0xffffff9a379c2000
  . DATA  : 0xffffff9a379c2000 - 0xffffffa09d35c000
  Metadata: 0xffffffec0722e000 - 0xffffffec2722e000
  Bitmaps : 0xffffffec2722e000 - 0xffffffec2d22e000
  Extra   : 0 - 0

"
}

Latest Lines of Opencore Log

...

18:704 00:013 OCAK: Patching invalid size 32000 with 14B9000 for com.apple.iokit.IOPCIFamily
18:717 00:012 OCAK: 64-bit CaseySJ | probeBusGated | Disable 10 bit tags | 12.0+ replace count - 1
18:729 00:012 OC: Prelinked patcher result 16 for com.apple.iokit.IOPCIFamily (CaseySJ | probeBusGated | Disable 10 bit tags | 12.0+) - Success
18:783 00:053 OC: Prelinked status - Success
18:832 00:048 AAPL: #[EB.LD.LKFS|-?] Ok(0)
18:845 00:012 AAPL: #[EB.LD.LKC|-?] Ok(0)
18:858 00:013 AAPL: #[EB|BST:REV1]
18:871 00:012 AAPL: #[EB|CSR:OUT] 0x00000040
18:883 00:012 AAPL: #[EB.BST.FBS|+]
18:896 00:012 AAPL: #[EB.BST.FBS|ADSZ] 0
18:909 00:012 AAPL: #[EB.BST.FBS|KSSZ] 0
18:922 00:012 AAPL: #[EB|SB:SBGMFNS] x86legacyap.im4m
18:935 00:012 AAPL: #[EB|RH:PF] usr\standalone\OS.dmg.root_hash
18:947 00:012 AAPL: #[EB|RH:MF] <"usr\\standalone\\OS.dmg.root_hash.x86legacyap.im4m">
18:960 00:012 AAPL: #[EB.LD.LF|IN] 0 1 <"usr\\standalone\\OS.dmg.root_hash"> <"0">
18:973 00:013 AAPL: #[EB.LD.LF|IN] 0 1 <"usr\\standalone\\OS.dmg.root_hash.x86legacyap.im4m"> <"0">
18:988 00:014 AAPL: #[EB.BST.FBS|RHPSZ] 229
19:000 00:012 AAPL: #[EB.BST.FBS|RHMSZ] 3658
19:013 00:012 OCSMC: SmcReadValue Key 4D535463 Size 1
19:026 00:012 OCSMC: SmcReadValue Key 4D534163 Size 2
19:039 00:013 AAPL: #[EB|LOG:DT] 2024-02-18T04:30:05
19:052 00:012 AAPL: #[EB|LOG:EXITBS:START] 2024-02-18T04:30:05
telesth commented 4 months ago

Sometimes it reboots after 30 seconds, sometimes after 2 minutes, but I have never been able to finish the setup because the system always restarts

Andrey1970AppleLife commented 4 months ago

Ours team don't give support AMD CPU. Use forums for support.