Re: Which AMD CPUs are supported -- temperature

From: Chris <bsd-lists_at_BSDforge.com>
Date: Wed, 12 Feb 2020 14:17:33 -0800
On Wed, 12 Feb 2020 15:23:51 -0500 mike tancsa mike_at_sentex.net said

> On 2/12/2020 1:39 PM, Chris wrote:
> > Hard as I try I can not get anything close to the actual temperature
> > of the CPUs or cores while running on FreeBSD.
> >     Family: Athlon X4
> >     Manufacturer: AuthenticAMD
> >
> Not sure about the older Athlon CPUs, but the 2 generations of Ryzen's I
> have seem correct as well as an APU
> 
> CPU: AMD GX-412TC
> SOC                               
> (998.17-MHz
> K8-class CPU)
> CPU: AMD Ryzen 7 3700X 8-Core Processor             
> (3593.33-MHz
> K8-class CPU)
> CPU: AMD Ryzen 7 2700X Eight-Core Processor          (3693.17-MHz

Thanks for the reply, Mike.

I don't know about Old v New. But where's the results from 5 AMD
CPUs I have immediately at my disposal, and their reported results.
4 out of 5 work:

# grep -F Ath /var/run/dmesg.boot
CPU: AMD Athlon(tm) II X3 440 Processor (3013.96-MHz K8-class CPU)
# sysctl -a | grep tempe
dev.cpu.2.temperature: 31.5C
dev.cpu.1.temperature: 31.5C
dev.cpu.0.temperature: 31.5C

# dmidecode -t4 | grep AMD
Manufacturer: AMD
Version: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
# sysctl -a | grep tempe
hw.acpi.thermal.tz0.temperature: 32.1C
dev.cpu.1.temperature: 45.0C
dev.cpu.0.temperature: 48.0C

# dmidecode -t4 | grep AMD
Manufacturer: AMD
Version: AMD FX(tm)-6300 Six-Core Processor
# sysctl -a | grep tempe
dev.cpu.5.temperature: 30.1C
dev.cpu.4.temperature: 30.1C
dev.cpu.3.temperature: 30.1C
dev.cpu.2.temperature: 30.1C
dev.cpu.1.temperature: 30.1C
dev.cpu.0.temperature: 30.1C

# dmidecode -t4 | grep AMD
Manufacturer: AMD
Version: AMD Athlon(tm) II X4 630 Processor
# sysctl -a | grep tempe
dev.cpu.3.temperature: 33.5C
dev.cpu.2.temperature: 33.5C
dev.cpu.1.temperature: 33.5C
dev.cpu.0.temperature: 33.5C

# # # BROKEN
# dmidecode -t4 | grep AMD
Manufacturer: AuthenticAMD
Version: AMD Athlon(tm) X4 860K Quad Core Processor
# sysctl -a | grep tempe
dev.cpu.3.temperature: 13.1C
dev.cpu.2.temperature: 13.1C
dev.cpu.1.temperature: 13.1C
dev.cpu.0.temperature: 13.1C

All but one is in the same class. But one in that same
class doesn't work. The FX class also works fine.
I'm puzzled... :(

Thanks again!

--Chris

> K8-class CPU)
> 
> e.g. at idle
> 
> # sysctl -a dev.cpu.0.temperature
> dev.cpu.0.temperature: 31.1C
> 
> then start up
> 
> # cat /dev/urandom | openssl sha256
> 
> # sysctl -a dev.cpu.0.temperature
> dev.cpu.0.temperature: 57.1C
> 
> It agrees with what IPMI reports too from the MB
> 
>  # ipmitool sensor | grep "CPU Temp"
> CPU Temp         | 31.000     | degrees C  | ok    |
> na        |
> na        | na        | 93.000    | 94.000    |
> na       
> 
> And on a fanless APU
> 
> # sysctl -a dev.cpu.0.temperature
> dev.cpu.0.temperature: 62.6C
> 
> # sysctl -a dev.amdtemp.0.core0.sensor0
> dev.amdtemp.0.core0.sensor0: 63.1C
> 
>     ---Mike
Received on Wed Feb 12 2020 - 21:17:36 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC