From owner-freebsd-current@FreeBSD.ORG Mon Mar 9 19:45:09 2009 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE8D7106584C for ; Mon, 9 Mar 2009 19:45:09 +0000 (UTC) (envelope-from lists@c0mplx.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) by mx1.freebsd.org (Postfix) with ESMTP id A57558FC1B for ; Mon, 9 Mar 2009 19:44:55 +0000 (UTC) (envelope-from lists@c0mplx.org) Received: from pi by home.opsec.eu with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LglPD-000Ecn-Ak for freebsd-current@FreeBSD.org; Mon, 09 Mar 2009 20:44:55 +0100 Date: Mon, 9 Mar 2009 20:44:55 +0100 From: Kurt Jaeger To: freebsd-current@FreeBSD.org Message-ID: <20090309194455.GA27326@home.opsec.eu> References: <20090301181631.d2e3c89e.nork@FreeBSD.org> <554FEBB3-CB69-4502-9728-C4735B29F784@FreeBSD.org> <20090301234328.9aa4237c.nork@FreeBSD.org> <69C4F850-1DCC-4E15-84E7-1B0E7C656CE6@FreeBSD.org> <20090302003904.12d683c1.nork@FreeBSD.org> <87F4F8E8-CB5A-476D-A57B-A3EBF44272EF@FreeBSD.org> <20090310020627.4482190d.nork@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090310020627.4482190d.nork@FreeBSD.org> Cc: Subject: Re: ktemp(8) on Phenom II X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 09 Mar 2009 19:45:12 -0000 Hi! Norikatsu Shigemura wrote: > 1. Add support 10th generation CPU. I confirmed on Phenom II. > And maybe 11th is same. Sorry, my Puma note became hardware > trouble. So I don't confirm on it. I have an quad-core CPU, see below. Your patch works, but only displays values for the first two CPUs. ---------- CPU: AMD Phenom(tm) II X4 810 Processor (2608.81-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x100f42 Stepping = 2 Features=0x178bfbff Features2=0x802009> AMD Features=0xee500800 AMD Features2=0x37ff,,,Prefetch,,,,> TSC: P-state invariant Cores per package: 4 ---------- #define DEVICEID_AMD_PHENOMII 0x1203 [...] dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% dev.cpu.0.temperature: 49.0C dev.cpu.1.%desc: ACPI CPU dev.cpu.1.%driver: cpu [...] dev.cpu.1.cx_usage: 100.00% dev.cpu.1.temperature: 49.0C dev.cpu.2.%desc: ACPI CPU dev.cpu.2.%driver: cpu [...] dev.cpu.2.cx_lowest: C1 dev.cpu.2.cx_usage: 100.00% dev.cpu.3.%desc: ACPI CPU dev.cpu.3.%driver: cpu Any ideas ? -- pi@opsec.eu +49 171 3101372 11 years to go !