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

Crash on Menu and other errors #35

Closed
wyatt opened this issue Apr 9, 2020 · 16 comments
Closed

Crash on Menu and other errors #35

wyatt opened this issue Apr 9, 2020 · 16 comments

Comments

@wyatt
Copy link

wyatt commented Apr 9, 2020

I have loaded:

  • VirtualSMC.kext
  • AMDRyzenCPUPowerManagement.kext
  • SMCAMDProcessor.kext
    in that order and in OpenCore logs it gives this error:
    "00:000 00:000 OC: Prelink injection SMCAMDProcessor.kext () - Invalid Parameter"

The AMD Power Gadget seems to show correct frequency, temp. and power graphs however when clicking on the menu icon, the whole system freezes and has to be unplugged.

I am running High Sierra 10.13.6, Open Core 0.5.7 and all the latest Kexts. My CPU is a Ryzen 3 1200.

Any help would be much appreciated :)

@trulyspinach
Copy link
Owner

Hi @profwyattb, for your first question, this is not an error related to this software. Just double check your config is correct.

For your second problem, what menu icon are you referring? I don’t think the app have an menu icon.

@wyatt
Copy link
Author

wyatt commented Apr 9, 2020

image

On clicking the three black bars, the computer freezes

@wyatt
Copy link
Author

wyatt commented Apr 10, 2020

`*** Panic Report ***
panic(cpu 2 caller 0xffffff801738882f): Kernel trap at 0xffffff7f9a11ccc1, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x0000000000000020, CR3: 0x00000000adb74000, CR4: 0x00000000003406e0
RAX: 0x0000000000000000, RBX: 0x0000000000000002, RCX: 0xffffff7f9a1242d0, RDX: 0x00000000015bbac9
RSP: 0xffffff9144613aa0, RBP: 0xffffff9144613aa0, RSI: 0x0000000052627698, RDI: 0x0000000000000004
R8: 0xffffff7f9a1226b0, R9: 0x0000000000000000, R10: 0xffffff803bdb353c, R11: 0xffffff803fd0f60c
R12: 0xffffff80393c6438, R13: 0x0000000000000004, R14: 0x0000000000000000, R15: 0xffffff803fd0f610
RFL: 0x0000000000010293, RIP: 0xffffff7f9a11ccc1, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x0000000000000020, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 0

Backtrace (CPU 2), Frame : Return Address
0xffffff9144613570 : 0xffffff801726ce56 mach_kernel : _handle_debugger_trap + 0x4c6
0xffffff91446135c0 : 0xffffff8017396434 mach_kernel : _kdp_i386_trap + 0x114
0xffffff9144613600 : 0xffffff8017388604 mach_kernel : _kernel_trap + 0x4e4
0xffffff9144613670 : 0xffffff801721ee60 mach_kernel : _return_from_trap + 0xe0
0xffffff9144613690 : 0xffffff801726c8cc mach_kernel : _panic_trap_to_debugger + 0x21c
0xffffff91446137c0 : 0xffffff801726c68c mach_kernel : _panic + 0x5c
0xffffff9144613820 : 0xffffff801738882f mach_kernel : _kernel_trap + 0x70f
0xffffff9144613990 : 0xffffff801721ee60 mach_kernel : _return_from_trap + 0xe0
0xffffff91446139b0 : 0xffffff7f9a11ccc1 wtf.spinach.AMDRyzenCPUPowerManagement : _pmRyzen_avgload_pcpu + 0x11
0xffffff9144613aa0 : 0xffffff7f9a11d808 wtf.spinach.AMDRyzenCPUPowerManagement : __ZN23AMDRyzenCPUPMUserClient14externalMethodEjP25IOExternalMethodArgumentsP24IOExternalMethodDispatchP8OSObjectPv + 0x2e8
0xffffff9144613b70 : 0xffffff80178cad97 mach_kernel : _is_io_connect_method + 0x217
0xffffff9144613cb0 : 0xffffff8017343794 mach_kernel : _iokit_server_routine + 0x5bc4
0xffffff9144613dc0 : 0xffffff8017272360 mach_kernel : _ipc_kobject_server + 0x130
0xffffff9144613e10 : 0xffffff801724f6cd mach_kernel : _ipc_kmsg_send + 0xbd
0xffffff9144613e60 : 0xffffff80172621db mach_kernel : _mach_msg_overwrite_trap + 0x37b
0xffffff9144613ef0 : 0xffffff80173722ed mach_kernel : _mach_call_munger64 + 0x1fd
0xffffff9144613fa0 : 0xffffff801721f666 mach_kernel : _hndl_mach_scall64 + 0x16
Kernel Extensions in backtrace:
wtf.spinach.AMDRyzenCPUPowerManagement(0.6)[E25D4AC5-FEC1-3B1F-9747-986390C0C8C6]@0xffffff7f9a11b000->0xffffff7f9a12efff
dependency: as.vit9696.Lilu(1.4.2)[3149C934-207A-31B5-A9FD-0E65D0B0AE05]@0xffffff7f9a0d9000
dependency: as.vit9696.VirtualSMC(1.1.1)[6B148251-8A0B-3CB8-9D0C-31379DB7E6C9]@0xffffff7f9a102000
dependency: com.apple.iokit.IOPCIFamily(2.9)[FA4F25DF-5808-3E01-9E69-72D9BDE59FE9]@0xffffff7f97a94000
dependency: com.apple.kec.Libm(1)[BC3F7DA4-03EA-30F7-B44A-62C249D51C10]@0xffffff7f990b4000

BSD process name corresponding to current thread: AMD Power Gadget
Boot args: keepsyms=1 debug=0x100 shikigva=40

Mac OS version:
17G12034

Kernel version:
Darwin Kernel Version 17.7.0: Tue Feb 18 22:51:29 PST 2020; root:xnu-4570.71.73~1/RELEASE_X86_64
Kernel UUID: F9494C59-371A-38C9-BA91-8A8AA7582B96
Kernel slide: 0x0000000017000000
Kernel text base: 0xffffff8017200000
__HIB text base: 0xffffff8017100000`

This is a log of the crash

@trulyspinach
Copy link
Owner

Thanks for the information :).
Does it happens after you wake up your system from sleep?

@wyatt
Copy link
Author

wyatt commented Apr 10, 2020

It happens no matter what. Even when my computer hasn't "slept" it still crashes

@kokowski
Copy link

kokowski commented Apr 23, 2020

I've got the same problem in Catalina 10.15.4. The system freezes by clicking on the menu-button of the Power Gadget.

@trulyspinach
Copy link
Owner

This problem is already fixed in the latest commit. But I haven't publish a release yet. In the mean time you can try to compile from the latest source code :)

A new release will be coming soon.

@kokowski
Copy link

Would you please give me the instructions how to compile your project?

@kokowski
Copy link

kokowski commented May 5, 2020

Hello @trulyspinach
i've tried to compile from the latest source code, but without success. :( Would you please help me?

@trulyspinach
Copy link
Owner

@kokowski Did you just compiled the application itself?
You need to recompile the kext and load the new kext :) But anyway I will publish a new release tonight with this fix.

@kokowski
Copy link

kokowski commented May 5, 2020

@trulyspinach Yes, ive tried it, but my result always was, that only the Power Gadget had been compiled. I've posted my problem in this thread: https://forum.amd-osx.com/index.php?threads/smcamdprocessor-kext.7/

@trulyspinach
Copy link
Owner

trulyspinach commented May 5, 2020

To compile the kext you need to have Lilu.kext present at the root folder of Xcode project(same where that project bundle exists).

@kokowski
Copy link

kokowski commented May 5, 2020

@trulyspinach Would you please post a screenshot? I've tried this, too, but without success.

@trulyspinach
Copy link
Owner

@kokowski can you try the latest release and see if it fixes the problem? Thanks

@kokowski
Copy link

kokowski commented May 6, 2020

@trulyspinach Thanky you very much! It's working fine now - no freezes anymore.

EDIT: Oh, i see there's still one problem: when i close the gadget by clicking the cross, the gadget won't show up again, when clicking it. You have to close it completely and restart it.

@kokowski
Copy link

kokowski commented May 6, 2020

look at my edit, please @trulyspinach

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

3 participants