From owner-freebsd-current@freebsd.org Tue Nov 13 23:20:26 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DD27F1136F10 for ; Tue, 13 Nov 2018 23:20:25 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.gmx.net", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F3C3E7F62A; Tue, 13 Nov 2018 23:20:24 +0000 (UTC) (envelope-from shoesoft@gmx.net) Received: from walrus.pepperland ([81.217.71.61]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Lxu7U-1fSh6J2TAa-015FbH; Wed, 14 Nov 2018 00:20:23 +0100 Subject: Re: No amdtemp sysctls, acpi errors, AMD Ryzen 5 2400G To: cem@freebsd.org Cc: Daniel Eischen , freebsd-current References: <1542138631.2638.0@smtp.migadu.com> From: Stefan Ehmann Openpgp: preference=signencrypt Autocrypt: addr=shoesoft@gmx.net; prefer-encrypt=mutual; keydata= xsFNBFNRNzIBEADwWLAIn6EMLsbclDmzGQXSRu2dZYaLwW/dPVOmjm3aBOiiOlSi9ece0Pb5 rxTmPKXq0QeNtFPEAYPCNnHbFA95O1IsGuVVMGON7d1p2XIx68KBEngSCPopHB9EDDKo2NX3 rEkd/JQ7aAfogVeJIu2S3CoHq3Qwndb1b2rVhoBJSbr1wb3ipRrw9S3mW0l6libghi6j04iY idKi65RCI6T21IuPNL8b1cq9TQTD5Pcu5jC0yFrTaEjAqW2YOr+A/QsfLSA697Nhnq/l0JUv QUX70q6m39rFKRWWvSgGAnud9yppUa/sTNCYSuf9XdFtY09fsfFvx8LPiT0xP7+d7HOmzVvf 2J60U7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SYVXYP C+IQIMFDdXBfqDCH6V0UAQ57gBhUv9dGp3IzxZCDplt3hIu6QhUk0j8q5e06YV08CEKC2JIw VFBfIQ1Ey+Ugo8ZCqxr/2jOIrtu0bUoxXyCh86zCigX4+HByRDA5YOCXhFqjJKqqVp76+Y+R 80SHYG1dmnGJ3Viy7Q4/ZyjEWrIsLspVMf5ASWvkFgsVYUAwsaCf+Ka5q7en/Stu8Vw4D+UJ xBEcc17fq1GlkBKfJ5p7GlZb21VKMkzRdJiaYkYkzYm38H7lo9dog4OIzA1SMNpAjwDbL7yR cR9KFkzegy71xH89NvfF1O0sKLrZd4YqD3dziQTB5pM2h9JNh7zwksT9jNxJ8L/bv9hvEJcF L0hw+1p9oarb20dowgIFEBqgmoDqRfcByssG4Uy8Yael4rsr04fsuGKUnUsxfZQ6GbnY474u MoQmdBQjEl36fxrH Message-ID: <6df81264-5e82-2eef-abc0-53d27d5cfee0@gmx.net> Date: Wed, 14 Nov 2018 00:20:22 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:qyQa0aF4NK1yfwbqynLAOaLNGspP1pTRaB72RnNxRh8nlFkcDTz gSVLWuNLTMhXUhryBCXBSXP2fqowgnoHcnvpqEt+6Xka3Lyeh9SdEx7Rr9r3r7T02MiwV7e BU0XmckvdeJ/OY7uIEiUas8CDgnlCfFVo/pYAXC8Imf3HRkNs6GpYBDEbBE39PodWmnrPhz 2cIM+07KwXjRPyySyj4qA== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V01:K0:LrG5OUctBnQ=:pqGUKgksHtClDF0DmrFuNZ KqSmaFADs6MPWqZQJNQrISbqpztYaF+8z9VeqhCXBYTaz4fOdHYjX8TZOup7fiJgRW4VIVHL1 1biVzAk+iFolEJ5TpF+LLD0Jv7FUAVLngzW+1K9yhTA/Tk+0wTjYo5/PHI3Pc5JHzcgrXxc0u kgnbcY4sHCPKhsGXy8hWFnfk1mI8DCDT8Aj0WQWZQ3u/nVq+4oFWo3MxTA2VaSrA+4meDYx2s FcN6OuFnIM5AdjxbG28n9yxDyDWYk8DRmr+7UzZmGTbtD+qbHMNSmQkmbOApNbU/eC698uYvl 1PaSW3Y92LiveYeRduLhofaL+EVBNJfS+kuMxLu1igaPlH5kizKDHOAg5dGakcl31PDfh1Ie+ +NJXFIccKzaXHWXRQpbdzC/kAArCl84FpYg2LUc3sgb4w96wmllIoHat3QcdGZ3bCy42It58F asbIQPfQGmuqRslb3yaPK6HkvTO/6Yy289unVZYHVT0oYIay10zNaolxMSiVTOKJ8L2EY6gp+ i39zT/XBk3u9+XdHbBkwPc7rHj7zgHCP7pUwdPwXh7HisB5cD3KQ6tWJRgRVaxYHDL40RJY6y Mfk0T51JjRHZlwcnCtGMTMFYnUjkfYnverZlGdTsLf7ZR/FwmOnarK2Zwsnf6dW3DQrTC7fhb qE403YPyPaQzhkMgVElWa6icj3fid2DkcwZ3RbmQ/7dpiX6YmAK2LAW4qJK/dvWCrCe82Qe68 RC9dnxwJi0I6yFdwekgKTbg6y8+PrbANhqW1PUbMGJqa3vR1jU6l0A8cFpqK3GdHoNtVNAXe9 SP40Vkv87hw/0aCX7h6ydOb1L1P47P7XExZLprGeeXYx6BDiWLr3newi2LWMz7vpNoy76IvQp YkgjvYjTOJoBxw3sUan9+yWN1HOfUaIiAch9JVSAa60ceygigzwdP2nFYi4ZjN X-Rspamd-Queue-Id: F3C3E7F62A X-Spamd-Result: default: False [-3.30 / 200.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[22.17.227.212.list.dnswl.org : 127.0.3.1]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:212.227.17.0/27]; FREEMAIL_FROM(0.00)[gmx.net]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[gmx.net]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; RECEIVED_SPAMHAUS_PBL(0.00)[61.71.217.81.zen.spamhaus.org : 127.0.0.11]; IP_SCORE(-0.00)[ipnet: 212.227.0.0/16(-0.48), asn: 8560(0.46), country: DE(-0.01)]; MX_GOOD(-0.01)[cached: mx00.emig.gmx.net]; NEURAL_HAM_SHORT(-0.90)[-0.904,0]; NEURAL_HAM_MEDIUM(-0.98)[-0.984,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmx.net]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Server: mx1.freebsd.org 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: Tue, 13 Nov 2018 23:20:26 -0000 On 11/13/18 10:14 PM, Conrad Meyer wrote: > On Tue, Nov 13, 2018 at 1:04 PM Stefan Ehmann wrote: >> After kldload amdtemp I see the following sysctls: >> dev.cpu.0.temperature: 77.1C >> dev.amdtemp.0.core0.sensor0: 77.1C >> >> The temperature I see in BIOS is much lower (maybe around 40.0C). Don't >> know if just the offset is wrong or the numbers are completely bogus. >> >> Numbers from sysutils/xmbmon look saner but not sure if they are correct. > > You can adjust dev.amdtemp.N.sensor_offset as needed. By default, the > amdtemp sysctl gives you the unadjusted value. On different Ryzen > models the raw value is wrong by different amounts. E.g. on my 1950X, > I have sensor_offset set to "-27" to show correct temperature > readings. > > See this link for a table of offset values for various Ryzen models: > https://www.guru3d.com/articles-pages/amd-ryzen-7-2700-review,7.html Thanks for the link. The 2700 has an offset of 0 though (2700X has 10). And I'm seeing a difference of more than 30 degrees. I guess something else must be happening here.