From owner-freebsd-current@freebsd.org Wed Feb 12 22:17:36 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2E282449D6 for ; Wed, 12 Feb 2020 22:17:36 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ultimatedns.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48HvCM03bcz44jl for ; Wed, 12 Feb 2020 22:17:34 +0000 (UTC) (envelope-from bsd-lists@BSDforge.com) Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1]) by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 01CMHRqr098496 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 12 Feb 2020 14:17:34 -0800 (PST) (envelope-from bsd-lists@BSDforge.com) X-Mailer: Cypht MIME-Version: 1.0 Cc: mike tancsa In-Reply-To: <2e023769-a71a-b83b-0050-6fef5f3c499d@sentex.net> From: Chris Reply-To: bsd-lists@BSDforge.com To: Subject: Re: Which AMD CPUs are supported -- temperature Date: Wed, 12 Feb 2020 14:17:33 -0800 Message-Id: <76406a01dfa1b78dee51f7c4924eb822@udns.ultimatedns.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 48HvCM03bcz44jl X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of bsd-lists@BSDforge.com has no SPF policy when checking 24.113.41.81) smtp.mailfrom=bsd-lists@BSDforge.com X-Spamd-Result: default: False [-1.42 / 15.00]; ARC_NA(0.00)[]; HAS_REPLYTO(0.00)[bsd-lists@BSDforge.com]; XM_UA_NO_VERSION(0.01)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.95)[-0.952,0]; IP_SCORE(-0.39)[ip: (-0.74), ipnet: 24.113.0.0/16(-0.37), asn: 11404(-0.76), country: US(-0.05)]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[BSDforge.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-0.99)[-0.991,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2020 22:17:36 -0000 On Wed, 12 Feb 2020 15:23:51 -0500 mike tancsa mike@sentex=2Enet 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=2E > > =C2=A0=C2=A0=C2=A0 Family: Athlon X4 > > =C2=A0=C2=A0=C2=A0=C2=A0Manufacturer: AuthenticAMD > > > Not sure about the older Athlon CPUs, but the 2 generations of Ryzen's I > have seem correct as well as an APU >=20 > CPU: AMD GX-412TC > SOC=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > (998=2E17-MHz > K8-class CPU) > CPU: AMD Ryzen 7 3700X 8-Core Processor=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > (3593=2E33-MHz > K8-class CPU) > CPU: AMD Ryzen 7 2700X Eight-Core Processor=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 (3693=2E17-MHz Thanks for the reply, Mike=2E I don't know about Old v New=2E But where's the results from 5 AMD CPUs I have immediately at my disposal, and their reported results=2E 4 out of 5 work: # grep -F Ath /var/run/dmesg=2Eboot CPU: AMD Athlon(tm) II X3 440 Processor (3013=2E96-MHz K8-class CPU) # sysctl -a | grep tempe dev=2Ecpu=2E2=2Etemperature: 31=2E5C dev=2Ecpu=2E1=2Etemperature: 31=2E5C dev=2Ecpu=2E0=2Etemperature: 31=2E5C # dmidecode -t4 | grep AMD Manufacturer: AMD Version: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ # sysctl -a | grep tempe hw=2Eacpi=2Ethermal=2Etz0=2Etemperature: 32=2E1C dev=2Ecpu=2E1=2Etemperature: 45=2E0C dev=2Ecpu=2E0=2Etemperature: 48=2E0C # dmidecode -t4 | grep AMD Manufacturer: AMD Version: AMD FX(tm)-6300 Six-Core Processor # sysctl -a | grep tempe dev=2Ecpu=2E5=2Etemperature: 30=2E1C dev=2Ecpu=2E4=2Etemperature: 30=2E1C dev=2Ecpu=2E3=2Etemperature: 30=2E1C dev=2Ecpu=2E2=2Etemperature: 30=2E1C dev=2Ecpu=2E1=2Etemperature: 30=2E1C dev=2Ecpu=2E0=2Etemperature: 30=2E1C # dmidecode -t4 | grep AMD Manufacturer: AMD Version: AMD Athlon(tm) II X4 630 Processor # sysctl -a | grep tempe dev=2Ecpu=2E3=2Etemperature: 33=2E5C dev=2Ecpu=2E2=2Etemperature: 33=2E5C dev=2Ecpu=2E1=2Etemperature: 33=2E5C dev=2Ecpu=2E0=2Etemperature: 33=2E5C # # # BROKEN # dmidecode -t4 | grep AMD Manufacturer: AuthenticAMD Version: AMD Athlon(tm) X4 860K Quad Core Processor # sysctl -a | grep tempe dev=2Ecpu=2E3=2Etemperature: 13=2E1C dev=2Ecpu=2E2=2Etemperature: 13=2E1C dev=2Ecpu=2E1=2Etemperature: 13=2E1C dev=2Ecpu=2E0=2Etemperature: 13=2E1C All but one is in the same class=2E But one in that same class doesn't work=2E The FX class also works fine=2E I'm puzzled=2E=2E=2E :( Thanks again! --Chris > K8-class CPU) >=20 > e=2Eg=2E at idle >=20 > # sysctl -a dev=2Ecpu=2E0=2Etemperature > dev=2Ecpu=2E0=2Etemperature: 31=2E1C >=20 > then start up >=20 > # cat /dev/urandom | openssl sha256 >=20 > # sysctl -a dev=2Ecpu=2E0=2Etemperature > dev=2Ecpu=2E0=2Etemperature: 57=2E1C >=20 > It agrees with what IPMI reports too from the MB >=20 > =C2=A0# ipmitool sensor | grep "CPU Temp" > CPU Temp=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | 31=2E000=C2= =A0=C2=A0=C2=A0=C2=A0 | degrees C=C2=A0 | ok=C2=A0=C2=A0=C2=A0 | > na=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | > na=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 | na=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 | 93=2E000=C2=A0=C2=A0=C2=A0 | 94=2E000=C2=A0=C2=A0=C2= =A0 | > na=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 >=20 > And on a fanless APU >=20 > # sysctl -a dev=2Ecpu=2E0=2Etemperature > dev=2Ecpu=2E0=2Etemperature: 62=2E6C >=20 > # sysctl -a dev=2Eamdtemp=2E0=2Ecore0=2Esensor0 > dev=2Eamdtemp=2E0=2Ecore0=2Esensor0: 63=2E1C >=20 > =C2=A0=C2=A0=C2=A0 ---Mike