False CPU temperature readings on AMD platforms

Description

The temperature readings on my platform are completly messed up.
If i boot-up debian the temps are normal like in the 30-40°

But FreeNAS shows temps above 100° They are wrong in the GUI and the output of sysctl.

I also tried to different motherboards. First the ASUS B350 Plus and now the AsRock X470D4U

The new mainboard has an IPMI, so i can confirm that the temps are not near this temperature at all.

Output from sysctl:

root@lizzy[~]# sysctl -a | grep -i temp
device amdtemp
device coretemp
net.inet6.ip6.use_tempaddr: 0
net.inet6.ip6.temppltime: 86400
net.inet6.ip6.tempvltime: 604800
net.inet6.ip6.prefer_tempaddr: 0
hw.sfxge.restart_attempts: 3
hw.usb.template: 0
dev.amdtemp.0.core0.sensor0: 99.5C
dev.amdtemp.0.sensor_offset: 0
dev.amdtemp.0.%parent: hostb0
dev.amdtemp.0.%pnpinfo:
dev.amdtemp.0.%location:
dev.amdtemp.0.%driver: amdtemp
dev.amdtemp.0.%desc: AMD CPU On-Die Thermal Sensors
dev.amdtemp.%parent:
dev.cpu.15.temperature: 99.5C
dev.cpu.14.temperature: 99.5C
dev.cpu.13.temperature: 99.5C
dev.cpu.12.temperature: 99.5C
dev.cpu.11.temperature: 99.5C
dev.cpu.10.temperature: 99.5C
dev.cpu.9.temperature: 99.5C
dev.cpu.8.temperature: 99.5C
dev.cpu.7.temperature: 99.5C
dev.cpu.6.temperature: 99.5C
dev.cpu.5.temperature: 99.5C
dev.cpu.4.temperature: 99.5C
dev.cpu.3.temperature: 99.5C
dev.cpu.2.temperature: 99.5C
dev.cpu.1.temperature: 99.5C
dev.cpu.0.temperature: 99.5C
kstat.zfs.misc.zcompstats.attempts: 13374

Could it be that these temps are shown in fahrenheit instead of celsius?

Problem/Justification

None

Impact

None

duplicates

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Show:

Alexander Motin June 26, 2019 at 2:03 PM

OK. Thanks for the update.

Kevin Urbainczyk June 26, 2019 at 8:29 AM

It's looking good so far, temps are matching results from IPMI.

 

Thanks!

Kevin Urbainczyk June 23, 2019 at 9:33 PM

Sure, I'll let you know once i received the update.

Alexander Motin June 23, 2019 at 9:22 PM

Kevin, in coming this week U5 update the AMD temperature driver is going to be updated. Could you let us know whether it fixes your problem. If it won't please attache debug archive from your system.

Kevin Urbainczyk June 15, 2019 at 1:15 PM

OS Version:
FreeNAS-11.2-U4.1

(Build Date: May 10, 2019 21:33)
Processor:
AMD Ryzen 7 2700

Duplicate
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created June 15, 2019 at 1:14 PM
Updated July 1, 2022 at 4:35 PM
Resolved June 26, 2019 at 2:03 PM