Pve-kernel amd pstate not working (the _CPC object is not present)

Grouack

Member
Mar 4, 2021
6
0
6
33
Hi everyone,

That some time I'm trying to change the scaling governor from performance to on demand. Every time I change it the server crash.
I have been searching some information about this and found that the amd pstate for zen2 and zen3 it's not manage correctly by the kernel.

by running dmesg | grep CPC I get the following result:
Code:
[    0.572740] amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled

I have already check the bios and everything is activated. I have also tried to add amd_pstate.shared_mem=1 to grub but without result.

On this web site a patch is proposed to fix the amd pstate: https://bugzilla.kernel.org/show_bug.cgi?id=218171

So I tried to build a kernel using this repository https://github.com/proxmox/pve-kernel and adding the patch inside the folder patches/kernel. But I don't arrive to initialize submodules as they are not found.

That's my first time working and trying to build/patch a kernel, I'm a little bit lost and don't find a way to do it.
If someone have some advise or a tutorial to do it and be able to try this patch?

material and proxmox version:
amd thread ripper 3960x
proxmox 8.1.4
kernel 6.5.13-1-pve
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!