From owner-freebsd-ppc@freebsd.org Tue Jul 14 03:16:59 2015 Return-Path: Delivered-To: freebsd-ppc@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 B21379249 for ; Tue, 14 Jul 2015 03:16:59 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 774191FDA for ; Tue, 14 Jul 2015 03:16:59 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: by igbpg9 with SMTP id pg9so3181159igb.0 for ; Mon, 13 Jul 2015 20:16:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=2bgWOYEQ4UC5lRFekmikoaSE3iDm1yHm27PZKcSeHx0=; b=PtzJ8EBbQQFJ9xmjpJCxe4rQ5eByUIm5NBcFTPiQhsL1gEgUVzxTHUYWvzhKXlj5JQ A0mBy84pdvmsZhIO22HY0cR+sOp5T3PduEVF+uMaJiM++ss6S4j222vsqI2r/wUkSh2p PVaghAi3jqi9udyR9Mnoh8M7pmIWCBsK5Uu0n7XxUh01ZIA1PLETzkSaxJfkCxcgYNw8 XRf13JbqL7kkcblFc5k6DanVFYyHkP8P5ZCuCL7I4B4UzPKgYG+qSGafZG4tZy9WbvWT k2CfK7kzWSiRNhn/sMuGbljzQTyDA+tTxeG/JA4KN6V6RhyTLkYSqqMA/op/S9H2Xyhp 3t6g== MIME-Version: 1.0 X-Received: by 10.50.64.147 with SMTP id o19mr507564igs.33.1436843818871; Mon, 13 Jul 2015 20:16:58 -0700 (PDT) Sender: chmeeedalf@gmail.com Received: by 10.36.121.149 with HTTP; Mon, 13 Jul 2015 20:16:58 -0700 (PDT) In-Reply-To: References: <20150712101745.d1f6cf3583cd10043b1600d3@gmail.com> <1F2CF6AF-17FB-4243-B64E-C8893EBEBC73@gmail.com> Date: Mon, 13 Jul 2015 20:16:58 -0700 X-Google-Sender-Auth: UZukZxV2Xw7c51C6-PBp8zm8apE Message-ID: Subject: Re: fan funning high on base system From: Justin Hibbits To: "Herminio Hernandez, Jr." Cc: FreeBSD PowerPC ML Content-Type: multipart/mixed; boundary=047d7bea2f986c70b9051acd45e6 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2015 03:16:59 -0000 --047d7bea2f986c70b9051acd45e6 Content-Type: text/plain; charset=UTF-8 If you would rather stick with 10, here's a patch that should fix the problem. That said, there are quite a few changes in 11-current that haven't made their way into 10-stable (partially out of my laziness, partially because they're intrusive), so 11-current is better overall (I run it on all my machines). - Justin On Mon, Jul 13, 2015 at 7:56 PM, Herminio Hernandez, Jr. wrote: > I am downloading 11 current > > On Mon, Jul 13, 2015 at 9:50 PM, Herminio Hernandez, Jr. > wrote: >> >> I would like to file a bug report on this but I am not sure what I would >> file it against... >> >> On Mon, Jul 13, 2015 at 9:49 PM, Herminio Hernandez, Jr. >> wrote: >>> >>> I am running 10.1 where do I get 11 current? I am thinking it is a bug >>> cause while dmesg is giving me those warnings I am getting this in sysctl >>> >>> $ sudo sysctl -a |grep adt746x >>> device adt746x >>> dev.adt746x.%parent: >>> dev.adt746x.0.%desc: Apple Thermostat Unit ADT746X >>> dev.adt746x.0.%driver: adt746x >>> dev.adt746x.0.%location: addr=0x5c >>> dev.adt746x.0.%pnpinfo: name=fan compat=adt7467 >>> dev.adt746x.0.%parent: iicbus0 >>> dev.adt746x.0.fans.main_enclosure.pwm: 5 >>> dev.adt746x.0.sensors.cpu_core.volt: 191 >>> dev.adt746x.0.sensors.pwr/memory_bottomside.temp: 32.0C >>> dev.adt746x.0.sensors.cpu_bottomside.temp: 32.0C >>> dev.adt746x.0.sensors.gpu_bottomside.temp: 35.0C >>> dev.adt746x.0.sensors.rear_main_enclosure.rpm: 7616 >>> >>> >>> On Mon, Jul 13, 2015 at 9:35 PM, Justin Hibbits >>> wrote: >>>> >>>> Hi Herminio, >>>> >>>> Are you running 10.x? If so, could you try again with 11-CURRENT? I >>>> fixed a sign bug a few months ago, but haven't MFC'd it (or a host of >>>> other bugfixes), so that may fix your problem. >>>> >>>> - Justin >>>> >>>> On Mon, Jul 13, 2015 at 7:29 PM, Herminio Hernandez, Jr. >>>> wrote: >>>> > Justin, >>>> > >>>> > Right now I have openbox running, but my fan is going crazy with the >>>> > system >>>> > on idle. My machine is not hot at all but I am seeing this in dmeg, >>>> > >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (PWR/MEMORY BOTTOMSIDE: 255.0 C) exceeds >>>> > critical temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (PWR/MEMORY BOTTOMSIDE: 255.0 C) exceeds >>>> > critical temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (CPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (PWR/MEMORY BOTTOMSIDE: 255.0 C) exceeds >>>> > critical temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (PWR/MEMORY BOTTOMSIDE: 255.0 C) exceeds >>>> > critical temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds >>>> > critical >>>> > temperature (80.0 C); count=1 >>>> > $ >>>> > >>>> > >>>> > On Sun, Jul 12, 2015 at 10:01 PM, Herminio Hernandez Jr. >>>> > wrote: >>>> >> >>>> >> Once I finished building Xorg and my video drivers, I did a reboot. >>>> >> Then >>>> >> logged in again and started X. All was good and my fans were quiet. >>>> >> Now on >>>> >> to build my DE! >>>> >> >>>> >> Sent from my iPhone >>>> >> >>>> >> On Jul 12, 2015, at 12:31 PM, Justin Hibbits >>>> >> wrote: >>>> >> >>>> >> Hi, >>>> >> >>>> >> On Jul 12, 2015 8:17 AM, "Herminio Hernandez Jr" >>>> >> wrote: >>>> >> > >>>> >> > I have the base system installed on my iBook G4, but the fans are >>>> >> > running like crazy. During the install I selected the powerd >>>> >> > service to >>>> >> > control cpu scaling, but I am not sure if it is working. It could >>>> >> > since I am >>>> >> > installing the port for xorg I just to be sure that there is not >>>> >> > another >>>> >> > port I need to install to manage cpu and fans on powerpc. Thanks! >>>> >> > >>>> >> > -- >>>> >> > Herminio Hernandez Jr >>>> >> >>>> >> The fans should be temperature controlled, which can be disabled >>>> >> through >>>> >> the machdep.manage_fans sysctl. All temperatures and fan speeds can >>>> >> be seen >>>> >> with sysctl as well. I think the iBook uses the adt746x, but you can >>>> >> just >>>> >> grep for 'temp', 'pwm', and 'rpm' for the data, maybe a sensor is >>>> >> finding a >>>> >> really high temperature. If you're building anything the temperature >>>> >> does >>>> >> sound and the fans go nuts, but afterwards they should quiet down. >>>> >> >>>> >> -Justin >>>> > >>>> > >>> >>> >> > --047d7bea2f986c70b9051acd45e6 Content-Type: text/plain; charset=US-ASCII; name="mfc277314.diff" Content-Disposition: attachment; filename="mfc277314.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ic2rnqax0 SW5kZXg6IHN5cy9kZXYvaWljYnVzL2FkdDc0NnguYwo9PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBzeXMvZGV2L2lp Y2J1cy9hZHQ3NDZ4LmMJKHJldmlzaW9uIDI4NTUyMikKKysrIHN5cy9kZXYvaWljYnVzL2FkdDc0 NnguYwkod29ya2luZyBjb3B5KQpAQCAtNTM5LDkgKzUzOSwxMCBAQAogYWR0NzQ2eF9zZW5zb3Jf cmVhZChzdHJ1Y3QgYWR0NzQ2eF9zZW5zb3IgKnNlbnMpCiB7CiAJc3RydWN0IGFkdDc0Nnhfc29m dGMgKnNjOwotCXVpbnQxNl90IHRtcCA9IDA7CisJaW50IHRtcCA9IDA7CiAJdWludDE2X3QgdmFs OwotCXVpbnQ4X3QgdGVtcCwgZGF0YVsxXSwgZGF0YTFbMV07CisJdWludDhfdCBkYXRhWzFdLCBk YXRhMVsxXTsKKwlpbnQ4X3QgdGVtcDsKIAogCXNjID0gZGV2aWNlX2dldF9zb2Z0YyhzZW5zLT5k ZXYpOwogCWlmIChzZW5zLT50eXBlICE9IEFEVDc0NlhfU0VOU09SX1NQRUVEKSB7CkluZGV4OiAu Cj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT0KLS0tIC4JKHJldmlzaW9uIDI4NTUyMikKKysrIC4JKHdvcmtpbmcgY29weSkK ClByb3BlcnR5IGNoYW5nZXMgb246IC4KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpNb2RpZmllZDogc3ZuOm1lcmdlaW5m bwogICBNZXJnZWQgL2hlYWQ6cjI3NzMxNAo= --047d7bea2f986c70b9051acd45e6--