Summary: | System hard resets when setting CPU frequency with Ryzen 2600 | ||
---|---|---|---|
Product: | Base System | Reporter: | Blair <blaircwyatt> |
Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
Status: | New --- | ||
Severity: | Affects Only Me | ||
Priority: | --- | ||
Version: | 12.2-RELEASE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Blair
2021-02-08 10:42:01 UTC
Oh just to add, this is reported in dmesg: acpi_throttle0: <ACPI CPU Throttling> on cpu0 hwpstate0: <Cool`n'Quiet 2.0> on cpu0 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 acpi_throttle2: failed to attach P_CNT device_attach: acpi_throttle2 attach returned 6 acpi_throttle3: failed to attach P_CNT device_attach: acpi_throttle3 attach returned 6 acpi_throttle4: failed to attach P_CNT device_attach: acpi_throttle4 attach returned 6 acpi_throttle5: failed to attach P_CNT device_attach: acpi_throttle5 attach returned 6 acpi_throttle6: failed to attach P_CNT device_attach: acpi_throttle6 attach returned 6 acpi_throttle7: failed to attach P_CNT device_attach: acpi_throttle7 attach returned 6 acpi_throttle8: failed to attach P_CNT device_attach: acpi_throttle8 attach returned 6 acpi_throttle9: failed to attach P_CNT device_attach: acpi_throttle9 attach returned 6 acpi_throttle10: failed to attach P_CNT device_attach: acpi_throttle10 attach returned 6 acpi_throttle11: failed to attach P_CNT device_attach: acpi_throttle11 attach returned 6 Also the system is rock solid without powerd enabled and the system is running all the stock speeds. Re: low idle power without powerd: most idle power-saving of Zen and newer CPUs comes from entering C-states (which FreeBSD does automatically), rather than lower-frequency P-states. So, I don't know why the pstate-setting stuff doesn't work. But I wouldn't worry too much about just disabling powerd. See possibly related bug 221621, bug 218262. Ah well that makes sense as to why the power usage is still low. Good to know that powerd really isn't really needed here for this Ryzen setup. I can live happy knowing it's not just chewing power away like a dog eating styrofoam blocks, but I'm happy to perform any tests if need be and report back. Bit concerning that setting the frequency causes a reset like that though, it makes things super hard to debug. I did try with microcode updates enabled as well after updating the BIOS (and made sure microcode_amd_fam17h.bin exists too), but it doesn't report that it updated anything and the problem persists. There isn't any other concerning errors in the logs at all to indicate a problem. |