From owner-freebsd-amd64@freebsd.org Sat Apr 6 18:21:24 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 BE949156704D for ; Sat, 6 Apr 2019 18:21:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic301-3.consmr.mail.bf2.yahoo.com (sonic301-3.consmr.mail.bf2.yahoo.com [74.6.129.42]) (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 5D4DF8BFCC for ; Sat, 6 Apr 2019 18:21:24 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: lyjz1yUVM1mI0DKdwXyph5QZA2v7sbk_63w6fPE7sCdKes7SvUUaS07K4JoNaeP e6ye19NH7YD.BXgLUHUtukjssJ_L4q.eRRxGRlmFFxfd_Ud.pPLZrvjF7.h7WdO_Q2gDGkzg7jXO 3PEP9eR6YpcNQjN4d3P.a750ADEgk_cspUzUEcAU_hFSoDinMzr_wUhWFAaUIYKD1WCiglPLqr.w dLi1otjUuAG3NJ1ndxrExkAyJ6GCwGNxL87AEkCFGuN7fXtWXk1sITBN7he_3VlKM5b6Tjo868YS Rn825.VjEHNoYO2fUpEAH78GItzZeGTNlXepllCqP4zhqA5PD58rgvo0HqTVDOfs0bP_6qulBM4O y_UmCt9aVuaDUG2JhCrad3yxjYMC7H7jNr8mqWW7L9XQjaXKEn_UEWoXJQNcdIAiFt7TiZn2HKS6 UiYtWPwKvXEnvbysr_xlIsG6b5l7qMXD7c7Q8fkt5ZRb.BCr5frNV9qCBfVVweB80ull5fZnbxpM sjxQTOivSE1w4dZ8mTdX3G7W2D1Aepp7gvTwxhYq9m9LBzgLn_7ykMsVha7asKYsaU9SfkxXg5uO _HUoLUbhqX941P2Y6G1mUujZNl72qWJ4FepPCG0lmTOTu2I4N5u2vcE17s7gYlNo9BxmvIEoF8nY gNUuIJGOP0snhLHf61UDjFsoXf2r8yX22LmjMeiSm2TdPG8XbE1vG8PU83WUCJCeqOmmfzh_Bpu9 HKxVYoGftK.7QytDXyHKidzbqBlveaHfJ7sTKjFrSAN17fBoS5HNeeiuCHY.QwM0R69_Jz1GDdy9 sD_5y.MuUZo9zqEcnR3OOnLI9HyfN.b7BbPBZ5ZcdgmWiI0ZjgwLVDwDUHSJO3JmZCSnCuSEFRkP S7Dl89j_Ia8WpWN_7jZBF6PPf8nNb_ykxZLYfoeW0w8piR7aL.dglTt2jtFpnmQxfJszuUQe80YP U5Zv2LaYmbaxZ7rOw_hW0gQxHIIl0Z6qmM0ow0dWmT6qd.zrpANz02WL4bzQw4kSwKtrYBrAU022 0utq2XCiRywexhNEwoT7IclH.InpqNJ8KuFZlbCGR_iSddncbgAh6KJ0H.a01HNiZSNu655FAvP. mw1UvSk7U9R3lvO5QkK3mFXLkqSV4uyI- Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.bf2.yahoo.com with HTTP; Sat, 6 Apr 2019 18:21:23 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.115]) ([67.170.167.181]) by smtp411.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 78822e08ebbbf2bf91ce936a79e36718; Sat, 06 Apr 2019 18:21:21 +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: <20190406165031.GK1923@kib.kiev.ua> Date: Sat, 6 Apr 2019 11:21:18 -0700 Cc: freebsd-amd64@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <18972821-7476-4B31-ADB2-2DA38BB5C955@yahoo.com> References: <403763BB-4DB9-488F-9480-C71871ED66B5@yahoo.com> <20190405114617.GC1923@kib.kiev.ua> <20190406165031.GK1923@kib.kiev.ua> To: Konstantin Belousov X-Mailer: Apple Mail (2.3445.104.8) X-Rspamd-Queue-Id: 5D4DF8BFCC X-Spamd-Bar: ------ X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; REPLY(-4.00)[]; 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: Sat, 06 Apr 2019 18:21:25 -0000 On 2019-Apr-6, at 09:50, Konstantin Belousov = wrote: > On Fri, Apr 05, 2019 at 11:47:58AM -0700, Mark Millard wrote: >>=20 >>=20 >> On 2019-Apr-5, at 04:46, Konstantin Belousov = wrote: >>=20 >>> 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 ? >>=20 >> (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.) >>=20 >> cpu31 is missing in the devinfo output. The amdtempM's are under >> pcibX > pciY > hostbZ , not per cpuN . >>=20 >> Shortended output but showing all the cpuN and amdtmpM >> and their "parents" and "childern": >>=20 >> # 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 >> . . . >=20 > Ok, I see, it was unexpected to see amdtemp to attach under the host > bridge instead of cpu device. Please post complete output of devinfo = -r > and pciconf -lvcb somewhere. Sure. Thanks. I created: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237063 and added the two files with the output as attachments. Note: I'm not going to have more access to the system for a few(?) days. Hopefully the 2 files are sufficient evidence for now. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar)