You are not logged in.

#1 2025-05-30 04:28:53

sanjarbek
Member
Registered: 2025-05-30
Posts: 2

amd_pstate: failed to register with return -19

I installed Arch linux, but got an error, so I cannot configure CPU governor (I tried both vanilla and LTS kernel, NixOS, Fedora). I did not used to get this error at all before:
May 30 14:19:47 archlinux kernel: amd_pstate: failed to register with return -19
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 11 (-524)
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 10 (-524)
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 9 (-524)
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 8 (-524)
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 7 (-524)
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 6 (-524)
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 5 (-524)
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 4 (-524)
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 3 (-524)
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 2 (-524)
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 1 (-524)
May 30 14:19:47 archlinux kernel: cpufreq: cpufreq_online: Failed to initialize policy for cpu: 0 (-524)

cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-linux-lts root=UUID=96e43c62-1c42-4181-adeb-221e39d3b0f5 rw zswap.enabled=0 rootfstype=ext4 loglevel=3 amd_iommu=on iommu=pt

I am guessing that It could be caused by recent by update on my HP Laptop (AMD). I also replaced my battery.

Offline

#2 2025-05-30 06:31:32

BS86
Member
Registered: 2022-11-03
Posts: 92

Re: amd_pstate: failed to register with return -19

you need to tell which CPU it is exactly, as well as the exact model of HP Laptop you have.

General hints: Remove that iommu stuff from your command line, try the regular non-LTS Kernel, and check for BIOS updates, they usually resolve such problems.

Offline

#3 2025-06-02 05:43:11

sanjarbek
Member
Registered: 2025-05-30
Posts: 2

Re: amd_pstate: failed to register with return -19

BS86 wrote:

you need to tell which CPU it is exactly, as well as the exact model of HP Laptop you have.

General hints: Remove that iommu stuff from your command line, try the regular non-LTS Kernel, and check for BIOS updates, they usually resolve such problems.

It's AMD Ryzen 5 5500U with Radeon Graphics (Integrated), HP Laptop 15-ef2126wm. I have to use IOMMU, otherwise sleep doesn't work (It get stuck after waking up from sleep, s2idle)

Offline

Board footer

Powered by FluxBB