From owner-freebsd-amd64@freebsd.org Fri Apr 5 18:48:03 2019 Return-Path: Delivered-To: freebsd-amd64@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 160701556A6F for ; Fri, 5 Apr 2019 18:48:03 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-26.consmr.mail.bf2.yahoo.com (sonic317-26.consmr.mail.bf2.yahoo.com [74.6.129.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 655D46EE3E for ; Fri, 5 Apr 2019 18:48:02 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: i5nW8MYVM1kBv0prBP.ABr4x2jWEMcqZtYaJE.g_sLU8LnO0OwSm7_VuLI_GHW6 _MyASbh5QYEpwFIxLYLVJwXK61uJdvCWun4pdO0eeUS8szgLoukIGnVSqjtBsU8Iyr6USpcyXJCW c.FNmyBPvOYTZAoiKEHY3oaKHuoDrdhSike7FIVoVk6MN.zWoakWi7FbGv79qCSquw.AbeQ_Ozh4 DseVKlvT8KEqIOTnMOHc7dUqL1BsDKIE3uo9mRZdl02GeG5tgcRj2CMKOrVDYh8Iiykbah.Fl5ID oK5CZi8pH2CD0np3CyOi7W5PmznMBpB2w636WYUzB6.XRvT2RwXzTKgwWvoe2H8yv.Ntac.N_Eja r9PLr2M2GziMVsbk.88RlsvsWrCUgiwNd_VlppgAPtihc7UoTHPPsELXE5TcvcxI3.9HObiOPxEB 1dKgHvgJZnYzJ7YRu1DNNj4tPrNr8i2Mq3aXEPYUy3_f.Nb09BUezy3kFIoloQIQHAejtaAh5N3V NLieJAA2TCPluioBHJqMsXltPfe8nmogOw5Oh9tiHUR6Wj2EnUPjxqiJtoDGUIKeIUemS3Wcbztv BOPPr5B27Q5XgBMNtcMusYrdz_ZEo8lSg3WcrJkkRIIAmzR9WpCqWd.o1RryWRFeUdlJAAByPG.9 g6kTkI1FQVkfmqeddWNIBG7A_JPYQ3A40kJnMBeWbxWZCkwFddEa0cQ8tGK_JzJVX44Qdt6mugMt u2lcX2ALyXRtbrUBx5Tud_kTyqhf0UOnqXBydPsXWMB0eqrq8HmMKxqV5Pctu_o9jkCov9mEhiVX LrQn3JfGzARm6MnjyK3CA6N9j8YH_Ciitf7ufaU4c8VhUZhm2.lPjZCtz10qG21ufEsPr8Hp3RNl g4LL8wh3mN02hmcr21O1V40LdXf.jSl1nsjsWWKLf.EwCXSSh05AC8DD6HAHo7lULvkMpohaOBlP IB5Wpn27qZq6l7BslDZVNqEJbpHSEyD9sDp.VtVuWWFOpfUPz.FZhDHar.MWaLEGt_C8feDPvF.T nESZ19EhfRpNxlWdHjiOndIFqjD.fade2luxXWxnSEE3e9wwP9_FIuL7e3rvHasCGXwWePTfrVVl bAA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.bf2.yahoo.com with HTTP; Fri, 5 Apr 2019 18:48:01 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.113]) ([67.170.167.181]) by smtp404.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 121cab0b8f47f08b976fce54483d5cf6; Fri, 05 Apr 2019 18:48:00 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: head -r345758 Ryzen Threadripper 1950X vs. amdtemp.ko : dev.cpu.31 missing From: Mark Millard In-Reply-To: <20190405114617.GC1923@kib.kiev.ua> Date: Fri, 5 Apr 2019 11:47:58 -0700 Cc: freebsd-amd64@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <403763BB-4DB9-488F-9480-C71871ED66B5@yahoo.com> <20190405114617.GC1923@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 655D46EE3E X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.96 / 15.00]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.961,0]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Apr 2019 18:48:03 -0000 On 2019-Apr-5, at 04:46, Konstantin Belousov = wrote: > On Thu, Apr 04, 2019 at 04:58:15PM -0700, Mark Millard via = freebsd-amd64 wrote: >> On a: >>=20 >> CPU: AMD Ryzen Threadripper 1950X 16-Core Processor (3393.70-MHz = K8-class CPU) >> Origin=3D"AuthenticAMD" Id=3D0x800f11 Family=3D0x17 Model=3D0x1 = Stepping=3D1 >> = Features=3D0x178bfbff >> = Features2=3D0x7ed8320b >> AMD Features=3D0x2e500800 >> AMD = Features2=3D0x35c233ff >> Structured Extended = Features=3D0x209c01a9 >> XSAVE Features=3D0xf >> AMD Extended Feature Extensions ID = EBX=3D0x1007 >> SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=3D32768 >> TSC: P-state invariant, performance statistics >>=20 >> after "kldload amdtemp" the following is seen: >>=20 >> # sysctl dev.cpu.31 >> sysctl: unknown oid 'dev.cpu.31' >>=20 >> # sysctl dev.cpu.30 >> dev.cpu.30.temperature: 62.1C >> dev.cpu.30.cx_method: C1/hlt C2/io >> dev.cpu.30.cx_usage_counters: 0 0 >> dev.cpu.30.cx_usage: 0.00% 0.00% last 1000000us >> dev.cpu.30.cx_lowest: C1 >> dev.cpu.30.cx_supported: C1/1/0 C2/2/100 >> dev.cpu.30.%parent: acpi0 >> dev.cpu.30.%pnpinfo: _HID=3Dnone _UID=3D0 >> dev.cpu.30.%location: handle=3D\_PR_.C01F >> dev.cpu.30.%driver: cpu >> dev.cpu.30.%desc: ACPI CPU >>=20 >> . . .=20 >=20 > In the output of devinfo(8), how many CPUs do you see ? Is there = cpu31, > and does it have amdtemp child ? (I only used 'sysctl -a | grep "temp.*[0-9]C$"' as a short way to show one line per dev.cpu.N so show the others were all present.) cpu31 is missing in the devinfo output. The amdtempM's are under pcibX > pciY > hostbZ , not per cpuN . Shortended output but showing all the cpuN and amdtmpM and their "parents" and "childern": # devinfo nexus0 cryptosoft0 vtvga0 apic0 ram0 acpi0 cpu0 hwpstate0 cpufreq0 cpu1 cpu2 cpu3 cpu4 cpu5 cpu6 cpu7 cpu8 cpu9 cpu10 cpu11 cpu12 cpu13 cpu14 cpu15 cpu16 cpu17 cpu18 cpu19 cpu20 cpu21 cpu22 cpu23 cpu24 cpu25 cpu26 cpu27 cpu28 cpu29 cpu30 pcib0 pci0 hostb0 amdsmn0 amdtemp0 . . , pcib12 pci12 hostb23 amdsmn1 amdtemp1 . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)