On 15/11/2019 3:27 am, Mark Martinec wrote:> Running 12.1-RELEASE-p1 on AMD Ryzen 5 3600X cpu,
> but I don't see any temperatures reported in sysctl,
> even though amdtemp.ko and amdsmn.ko are loaded
> and they don't produce any complaints on loading.
>
> ? $ kldstat | fgrep amd
> ? 27??? 1 0xffffffff82f30000???? 1458 amdtemp.ko
> ? 28??? 1 0xffffffff82f32000????? 808 amdsmn.ko
>
> ? $ sysctl -a | grep -i tempe
> ? $
>
> ? $ sysctl dev.amdtemp
> ? sysctl: unknown oid 'dev.amdtemp'
> ? $
>
> Nov 13 12:07:27 xxx kernel: CPU: AMD Ryzen 5 3600X 6-Core Processor
> (4100.09-MHz K8-class CPU)
> Nov 13 12:07:27 xxx kernel:?? Origin="AuthenticAMD"? Id=0x870f10
> Family=0x17? Model=0x71? Stepping=0
>
>
> Motherboard is an ASUS with X570 chipset, latest BIOS.
> No obvious errors are reported during booting.
>
> Any additional information that I can provide?
> Any suggestions?
>
> ? Mark
Resolver of original Ryzen 2 temperature support:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218264
"In Progress" issue for Ryzen 5 support with patch:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239607
Was committed to head (CURRENT), apparently merged to stable/12 (cant
find the MFC commit).
I've updated/retriaged the issue, and asked about a merge to stable/11,
but at this point it looks like it missed the 12.1-RELEASE window