Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kernel Panic during daily use #168

Open
MeeerkWorked opened this issue Aug 7, 2023 · 1 comment
Open

Kernel Panic during daily use #168

MeeerkWorked opened this issue Aug 7, 2023 · 1 comment

Comments

@MeeerkWorked
Copy link

MeeerkWorked commented Aug 7, 2023

During normal use the pc goes into freeze and I am forced to force the restart, it is quite annoying.
I obviously used your AMD CPU patches, below the specifications from AMD Power Tool:

`AMD Ryzen 5 1600 Six-Core Processor
Family: 17h, Model: 01h
Physical: 6, Logical: 12
L1(Total): 384 KB, L2(Total): 3 MB, L3(Shared): 16 MB

Motherboard: B350 KRAIT GAMING (MS-7B08)
MSI
Graphics: AMD Radeon RX 570
Memory: 16GB, Storage: 232GB

macOS Version: 13.5
AMDRyzenCPUPowerManagement:
Version: 0.7.1, CPU Supported: Yes`

I attach below the report of one of the kernel panic:

`panic(cpu 6 caller 0xffffff801ebb6113): Kernel trap at 0xffffff8023b35f85, type 12=stack bounds, registers:
CR0: 0x000000008001003b, CR2: 0x000000010e697000, CR3: 0x000000002bb5c000, CR4: 0x00000000003406e0
RAX: 0x000000003c540000, RBX: 0x00000000000002a0, RCX: 0xffffff8023b3ebe0, RDX: 0x00001a6c3c5461a0
RSP: 0xc087bac6370aa7e7, RBP: 0xf4812f45443dc559, RSI: 0x34b891814400162b, RDI: 0xf162d551a38bf93e
R8: 0xffffff9f87450b30, R9: 0x0000000000000001, R10: 0x0000000000000022, R11: 0xffffffaab9a39cf0
R12: 0xffffff8023b3e920, R13: 0x7fffffffffffffff, R14: 0x0000083d07fef883, R15: 0x0000000000000f00
RFL: 0x0000000000010282, RIP: 0xffffff8023b35f85, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x000000010e697000, Error code: 0x0000000000000001, Fault CPU: 0x6, PL: 1, VF: 0

Panicked task 0xffffff95ee44b478: 215 threads: pid 0: kernel_task
Backtrace (CPU 6), panicked thread: 0xffffff9f87450b30, Frame : Return Address
0xffffff801e70f1a0 : 0xffffff801ea7207d mach_kernel : _handle_debugger_trap + 0x4ad
0xffffff801e70f1f0 : 0xffffff801ebc6164 mach_kernel : _kdp_i386_trap + 0x114
0xffffff801e70f230 : 0xffffff801ebb5c77 mach_kernel : _kernel_trap + 0x3b7
0xffffff801e70f280 : 0xffffff801ea12951 mach_kernel : _return_from_trap + 0xc1
0xffffff801e70f2a0 : 0xffffff801ea7235d mach_kernel : _DebuggerTrapWithState + 0x5d
0xffffff801e70f390 : 0xffffff801ea71a07 mach_kernel : _panic_trap_to_debugger + 0x1a7
0xffffff801e70f3f0 : 0xffffff801f1db40b mach_kernel : _panic + 0x84
0xffffff801e70f4e0 : 0xffffff801ebb6113 mach_kernel : _sync_iss_to_iks + 0x2c3
0xffffff801e70f660 : 0xffffff801ebb5dfd mach_kernel : _kernel_trap + 0x53d
0xffffff801e70f6b0 : 0xffffff801ea12951 mach_kernel : _return_from_trap + 0xc1
0xffffff801e70f6d0 : 0xffffff8023b35f85 wtf.spinach.AMDRyzenCPUPowerManagement : _pmRyzen_machine_idle + 0x55
Unaligned frame
Backtrace terminated-invalid frame pointer 0xf4812f45443dc559
Kernel Extensions in backtrace:
wtf.spinach.AMDRyzenCPUPowerManagement(0.7.1)[08416898-FC70-3057-9256-34AC0F79D0C0]@0xffffff8023b35000->0xffffff8023b4dfff
dependency: as.vit9696.Lilu(1.6.6)[7BABC86F-16E1-3542-B898-6136FD272DF8]@0xffffff8022968000->0xffffff8022993fff
dependency: com.apple.iokit.IOPCIFamily(2.9)[1DE0C664-DA38-3436-89ED-1BA79DF0A726]@0xffffff80214ac000->0xffffff80214ddfff
dependency: com.apple.kec.Libm(1)[E83D62EF-41CE-3A9D-B71D-07861FF8FB86]@0xffffff8021a63000->0xffffff8021a70fff

Process name corresponding to current thread (0xffffff9f87450b30): kernel_task
Boot args: keepsyms=1 debug=0x100 revpatch=pci npci=0x2000 swd_panic=1

Mac OS version:
22G74

Kernel version:
Darwin Kernel Version 22.6.0: Wed Jul 5 22:21:56 PDT 2023; root:xnu-8796.141.3~6/RELEASE_X86_64
Kernel UUID: 8295C77B-2AAB-3471-81B5-438F59B1A36D
roots installed: 0
KernelCache slide: 0x000000001e600000
KernelCache base: 0xffffff801e800000
Kernel slide: 0x000000001e6dc000
Kernel text base: 0xffffff801e8dc000
__HIB text base: 0xffffff801e700000
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: 9058222728443
Last Sleep: absolute base_tsc base_nano
Uptime : 0x0000083d0825e947
Sleep : 0x0000000000000000 0x0000000000000000 0x0000000000000000
Wake : 0x0000000000000000 0x0000000f58874e20 0x0000000000000000
Compressor Info: 1% of compressed pages limit (OK) and 1% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
Zone map: 0xffffff8ab9c87000 - 0xffffffaab9c87000
. PGZ : 0xffffff8ab9c87000 - 0xffffff8abbc88000
. VM : 0xffffff8abbc88000 - 0xffffff8f88487000
. RO : 0xffffff8f88487000 - 0xffffff9121c87000
. GEN0 : 0xffffff9121c87000 - 0xffffff95ee487000
. GEN1 : 0xffffff95ee487000 - 0xffffff9abac87000
. GEN2 : 0xffffff9abac87000 - 0xffffff9f87487000
. GEN3 : 0xffffff9f87487000 - 0xffffffa453c87000
. DATA : 0xffffffa453c87000 - 0xffffffaab9c87000
Metadata: 0xffffff805d0c0000 - 0xffffff807d0c0000
Bitmaps : 0xffffff807d0c0000 - 0xffffff80800c0000
Extra : 0 - 0
`

Maybe it can help solve the problem.

@williamcorney
Copy link

I experienced regular kernel panics for a year which seem to finally be traced down to this kext. I read elsewhere that this kext was known to cause random panics so tried removing and so far not had any further panics even after leaving to sleep overnight.

I am writing this here for benefit of anyone else experiencing such issues and coming across this comment

Model Name: iMac
Model Identifier: iMac19,1
Processor Name: AMD Ryzen 7 2700 Eight-Core Processor
Processor Speed: 3.2 GHz
Chipset Model: AMD Radeon RX 570

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants