From owner-freebsd-questions@freebsd.org Sat Aug 8 15:20:14 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E561B9B6D7F for ; Sat, 8 Aug 2015 15:20:13 +0000 (UTC) (envelope-from phillip.a.minimi@lmco.com) Received: from mailfo01.lmco.com (mailfo01.lmco.com [192.31.106.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailfo01.lmco.com", Issuer "Symantec Class 3 Secure Server CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B0F21116B for ; Sat, 8 Aug 2015 15:20:12 +0000 (UTC) (envelope-from phillip.a.minimi@lmco.com) Received: from HVXHTPN9.us.lmco.com (hvxhtpn9.ems.lmco.com [158.186.149.27]) by mailfo01.lmco.com (8.14.7/8.14.7) with ESMTP id t78FK9Rc021673 for ; Sat, 8 Aug 2015 16:20:09 +0100 Received: from HVXDSP41.us.lmco.com ([fe80::f842:f7dd:ab78:45f6]) by HVXHTPN9.us.lmco.com ([fe80::cc0f:96a:cb16:8684%15]) with mapi id 14.03.0174.001; Sat, 8 Aug 2015 11:20:09 -0400 From: "Minimi, Phillip A" To: "freebsd-questions@freebsd.org" Subject: coretemp driver Thread-Topic: coretemp driver Thread-Index: AdDR7WVzdkHSiaG6TQKTPe78S1XBPw== Date: Sat, 8 Aug 2015 15:20:09 +0000 Message-ID: <830397DA32E1A0479077F4D3642B448B62D86EC3@HVXDSP41.us.lmco.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [158.186.156.91] MIME-Version: 1.0 X-LM-Outbound: External 158.186.149.27 cntry=us g=cd7f0d7ab3e8950051413646d21d3ddc q=t78FK9Rc021673 m=1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151, 1.0.33, 0.0.0000 definitions=2015-08-08_03:2015-08-07,2015-08-08,1970-01-01 signatures=0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Aug 2015 15:20:14 -0000 We are running RedHawk5.4.11, 2.6.31.13, based on RHEL5.4 x86, on an IBM HS= 23. Executing sensors showed no output at all, no sensors detected. I looke= d at coretemp.c and saw that the HS23 CPU, 32nm, CPUID=3D 0X2D, was not sup= ported and in fact coretemp was reporting that in /var/log/messages. I adde= d 0x2D to coretemp.c and rebuilt the kernel to see if we could even read a = sensor. That worked and now there is a temperature reported for each CPU. H= owever, with the "workaround" I don't have any confidence in the accuracy o= f the output of course. Is there a patch I can apply to the kernel source t= hat will update coretemp.c and related source code?