Bug 244083 - amdtemp(4) says CPU/cores temp is near freezing on releng/12
Summary: amdtemp(4) says CPU/cores temp is near freezing on releng/12
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.1-RELEASE
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
Depends on:
Reported: 2020-02-12 22:38 UTC by Chris Hutchinson
Modified: 2020-02-13 01:18 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Chris Hutchinson 2020-02-12 22:38:22 UTC
OK I grabbed some spares out of the server closet
to assemble a builder box. The parts included a 4
core AMD X4 CPU.
I also grabbed a hard disk that already had an older
copy of 12-CURRENT installed on it. After booting into
the system, I discovered that FreeBSD said the
temperature of the CPU was ~1.1C! Contrary to the
earlier POSTing into the BIOS which reported a
temperature ~34-38C.
Here's the output from the 5 AMD CPUs I have immediately
available (all running newish to 2day old releng/12):
# 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

NOTE: the last entry which under a normal load (as
the others) only reports 13.1C -- up from 1-7C.

I can easily provide additional info as needed. As
well as peek/poke/test anything necessary.

Thank you for all your time, and consideration.

Comment 1 Chris Hutchinson 2020-02-13 01:18:50 UTC
Here's additional information on the suspect CPU
as presented by dmesg(8):

CPU: AMD Athlon(tm) X4 860K Quad Core Processor
(3700.07-MHz K8-class CPU) Origin="AuthenticAMD"
Id=0x630f01  Family=0x15  Model=0x30  Stepping=1


AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
AMD Features2=0xfebbfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,
Structured Extended Features=0x9<FSGSBASE,BMI1>
XSAVE Features=0x1<XSAVEOPT>
SVM: Features=0x1cff<NP,LbrVirt,SVML,NRIPS,TscRateMsr,VmcbClean,

While I'm guessing that only the Family, and perhaps Model are
of interest. I included the rest in case it mattered.