From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 16 08:50:43 2015 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4C1C2C55 for ; Fri, 16 Jan 2015 08:50:43 +0000 (UTC) Received: from asp.reflexion.net (outbound-240.asp.reflexion.net [69.84.129.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 083F7E5B for ; Fri, 16 Jan 2015 08:50:41 +0000 (UTC) Received: (qmail 22273 invoked from network); 16 Jan 2015 08:50:40 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 16 Jan 2015 08:50:40 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v7.40.0) with SMTP; Fri, 16 Jan 2015 03:50:40 -0500 (EST) Received: (qmail 4234 invoked from network); 16 Jan 2015 08:50:39 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (DHE-RSA-AES256-SHA encrypted) SMTP; 16 Jan 2015 08:50:39 -0000 X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.1.8] (c-67-189-19-145.hsd1.or.comcast.net [67.189.19.145]) by iron2.pdx.net (Postfix) with ESMTPSA id 530871C43A7; Fri, 16 Jan 2015 00:50:38 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: PowerMac G5 quad-core, CPU A1 DIODE TEMP: 90.8 C (for example): How to handle? [more data] From: Mark Millard In-Reply-To: <20150115231129.1b28c8d0@zhabar.attlocal.net> Date: Fri, 16 Jan 2015 00:50:37 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <272F2B8F-E134-4130-A86B-3CD5C4D20480@dsl-only.net> References: <42CF1E40-5BD5-4B00-86E9-C62AEB9B8B93@dsl-only.net> <15A6D627-9DC7-48AF-B133-94980AFCE46A@dsl-only.net> <20150115231129.1b28c8d0@zhabar.attlocal.net> To: Justin Hibbits X-Mailer: Apple Mail (2.1993) Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 08:50:43 -0000 Thanks: I'll try it. But it may be a while before I get to the experiment, possibly the = weekend. (So the following is based on 10.1-STABLE as it was when I = built it, just like the prior notes.) I've tried the experiment of letting the problem G5 quad-core sit idle = for 9+ hours. Its stable state has long been around/near: dev.smusat.0.cpu_a0_diode_temp: 61.3C dev.smusat.0.cpu_a1_diode_temp: 64.0C dev.smusat.0.cpu_a0_core_current: 11 dev.smusat.0.cpu_a1_core_current: 15 dev.smusat.1.cpu_b0_diode_temp: 45.7C dev.smusat.1.cpu_b1_diode_temp: 45.2C dev.smusat.1.cpu_b0_core_current: 13 dev.smusat.1.cpu_b1_core_current: 12 dev.smu.0.fans.cpu_a_intake.rpm: 1460 dev.smu.0.fans.cpu_b_intake.rpm: 1462 dev.smu.0.fans.cpu_a_exhaust.rpm: 1471 dev.smu.0.fans.cpu_b_exhaust.rpm: 1471 dev.smu.0.fans.cpu_a_pump.rpm: 2097 =3D=3D=3D Mark Millard markmi at dsl-only.net On 2015-Jan-15, at 11:11 PM, Justin Hibbits = wrote: On Thu, 15 Jan 2015 14:33:22 -0800 Mark Millard wrote: > For a well-operating PowerMac G5 quad-core for recording over 30 > minutes, sampling about once a second, starting idle and doing "make > -j 8 buildworld buildkernel": >=20 > Low value to high value (for type of value to get idea of range > expected)... >=20 > dev.smusat.0.cpu_a0_diode_temp: 38.8C to > dev.smusat.1.cpu_b1_diode_temp: 68.7C >=20 > dev.smu.0.fans.cpu_a_intake.rpm: 484 to > dev.smu.0.fans.cpu_a_intake.rpm: 1549 >=20 > dev.smu.0.fans.cpu_a_pump.rpm: 1235 to dev.smu.0.fans.cpu_a_pump.rpm: > 2214 >=20 >=20 > I put the problem PowerMac G5 quad-core in a about 56degF room in > order to try to have it run longer so I could collect more > information. This seems to have been enough to keep it somewhat below > 90degC generally for the CPU diodes over the initial 30 minutes of > "make -j 8 buildworld buildkernel". >=20 > Low value to high value (for type of value to get idea of range > happening, limited to the first 30 minutes or so)... >=20 > dev.smusat.0.cpu_a0_diode_temp: 38.2C to > dev.smusat.0.cpu_a1_diode_temp: 90.2C (Just one 90.2C at that point > and one dev.smusat.0.cpu_a1_diode_temp: 90.1C but a bunch of > 89.[5-9]C's.) >=20 > dev.smu.0.fans.cpu_a_intake.rpm: 485 to > dev.smu.0.fans.cpu_a_intake.rpm: 3184 >=20 > dev.smu.0.fans.cpu_a_pump.rpm: 1254 to dev.smu.0.fans.cpu_a_pump.rpm: > 3636 >=20 > Letting it run longer, however, has lead to more 90.[0-9]C's and > messages like (all but the 1st two are from after the 30 minutes): >=20 > WARNING: Current temperature (CPU A1 DIODE TEMP: 90.2 C) exceeds > critical temperature (90.0 C); count=3D1 WARNING: Current temperature > (CPU A1 DIODE TEMP: 90.1 C) exceeds critical temperature (90.0 C); > count=3D1 WARNING: Current temperature (CPU A1 DIODE TEMP: 90.1 C) > exceeds critical temperature (90.0 C); count=3D1 WARNING: Current > temperature (CPU A1 DIODE TEMP: 90.2 C) exceeds critical temperature > (90.0 C); count=3D2 WARNING: Current temperature (CPU A1 DIODE TEMP: > 90.4 C) exceeds critical temperature (90.0 C); count=3D3 WARNING: > Current temperature (CPU A1 DIODE TEMP: 90.6 C) exceeds critical > temperature (90.0 C); count=3D4 WARNING: Current temperature (CPU A1 > DIODE TEMP: 90.4 C) exceeds critical temperature (90.0 C); count=3D1 > WARNING: Current temperature (CPU A1 DIODE TEMP: 90.4 C) exceeds > critical temperature (90.0 C); count=3D2 WARNING: Current temperature > (CPU A1 DIODE TEMP: 90.1 C) exceeds critical temperature (90.0 C); > count=3D3 WARNING: Current temperature (CPU A1 DIODE TEMP: 90.1 C) > exceeds critical temperature (90.0 C); count=3D2 WARNING: Current > temperature (CPU A1 DIODE TEMP: 90.1 C) exceeds critical temperature > (90.0 C); count=3D3 WARNING: Current temperature (CPU A1 DIODE TEMP: > 90.1 C) exceeds critical temperature (90.0 C); count=3D1 WARNING: > Current temperature (CPU A1 DIODE TEMP: 90.1 C) exceeds critical > temperature (90.0 C); count=3D1 WARNING: Current temperature (CPU A1 > DIODE TEMP: 90.6 C) exceeds critical temperature (90.0 C); count=3D2 >=20 > It did automatically shut down after about 50 min. The other 3 CPU > diodes were in the range 68C to 74C or so. A1 just seems to register > hotter. It ended with the recorded sequence for a1: >=20 > dev.smusat.0.cpu_a1_diode_temp: 89.2C > dev.smusat.0.cpu_a1_diode_temp: 90.6C > dev.smusat.0.cpu_a1_diode_temp: 90.6C > dev.smusat.0.cpu_a1_diode_temp: 90.1C > dev.smusat.0.cpu_a1_diode_temp: 89.9C > dev.smusat.0.cpu_a1_diode_temp: 90.1C > dev.smusat.0.cpu_a1_diode_temp: 90.9C > dev.smusat.0.cpu_a1_diode_temp: 91.3C > dev.smusat.0.cpu_a1_diode_temp: 91.1C > dev.smusat.0.cpu_a1_diode_temp: 91.4C > dev.smusat.0.cpu_a1_diode_temp: 91.8C > dev.smusat.0.cpu_a1_diode_temp: 92.0C >=20 >=20 > The high fan/pump figures recorded were: >=20 > dev.smu.0.fans.cpu_b_intake.rpm: 3199 > dev.smu.0.fans.cpu_a_intake.rpm: 3200 > dev.smu.0.fans.cpu_b_exhaust.rpm: 3198 > dev.smu.0.fans.cpu_a_exhaust.rpm: 3199 > dev.smu.0.fans.cpu_a_pump.rpm: 3637 >=20 > These are all well above those recorded for the well-operating > PowerMac G5 quad-core. >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net Could you try the attached patch? (Untested here, my quad isn't up). It scales more exponentially, hitting full blast around the thermal midpoint. This can obviously be adjusted up or down, but should be a good starting point. We should probably also have a backoff algorithm, to keep the fans going longer after it cools, like OS X does. - Justin