AMD PState & zfs RAID1 issue

chz87

Active Member
Apr 29, 2017
5
0
41
37
Hi@all,

I recognize a wire behavior / issue with my pve installation.
My servers running most likely the same both have an Gigabyte MC12-LE0 with 32GB RAM.
One server has an AMD R5 3600 and the other one an AMD R7 3700x.
I installed pve on a NVME SSD on the server with the R5 3600.
On the server with the R7 3700x, I installed pve on two 240 GB SSD with zfs RAID1.
My issue is ...
when I setup the /etc/default/grub that amd_pstate_epp is enabled
"amd_pstate=active initcall_blacklist=acpi_cpufreq_init"
I got two differents resulte.
R5 3600 - Everything is fine and the CPU is stepping down
R7 3700X - no change and the journalctl -b 0 | grep pstate promt with amd_pstate: driver load is disabled, boot with specific mode to enable this.

I made a crosscheck and installed a fresh pve on the NVME SSD on the R7 3700x and setup the /etc/default/grub with both parameters and is working.

Can somebody explain what happen and why?
I guess that the /etc/default/grub will not be concidered by the boot if you are using a zfs boot pool.
Any ideas how to solve this?
 
I guess that the /etc/default/grub will not be concidered by the boot if you are using a zfs boot pool.
If appears that one of your systems is using systemd instead of grub in order to boot. (Systemd is the default if you install proxmox using ZFS).
In order to work, add the parameters to this file if using systemd: /etc/kernel/cmdline


Oh, and don't forget to run "pve-efiboot-tool refresh" after that.
 
Last edited:
thanks for the hint.
Do you have guid how to do?
i tried different options but doesn't work.
 
Do you have guid how to do?

This should work:

Code:
#Enter:
nano /etc/kernel/cmdline

#Then add this (without inverted commas):
amd_pstate=active initcall_blacklist=acpi_cpufreq_init

#Save & Exit: (ctrl-x) yes

#Then enter:
pve-efiboot-tool refresh

#Then power down node & restart

Should work as described here under Systemd-boot.
 
no success.

my cmdline look like this
root=ZFS=rpool/ROOT/pve-1 boot=zfs
amd_pstate=active initcall_blacklist=acpi_cpufreq_init

The /proc/cmdline does not include the cmd
cat /proc/cmdline
initrd=\EFI\proxmox\6.8.4-3-pve\initrd.img-6.8.4-3-pve root=ZFS=rpool/ROOT/pve-1 boot=zfs
as well as the cpuower

cpupower frequency-info
analyzing CPU 0:
driver: acpi-cpufreq

I checked the link as well but they d not describe how insert certan config.

Update:
OK i fugured it out. every thing has to be in one line
like root=ZFS=rpool/ROOT/pve-1 boot=zfs amd_pstate=active initcall_blacklist=acpi_cpufreq_init
 
Last edited:
root=ZFS=rpool/ROOT/pve-1 boot=zfs
amd_pstate=active initcall_blacklist=acpi_cpufreq_init
AFAIK all of that MUST be on one line so:
Code:
root=ZFS=rpool/ROOT/pve-1 boot=zfs amd_pstate=active initcall_blacklist=acpi_cpufreq_init
 

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!