From owner-freebsd-ppc@freebsd.org Thu Jul 16 18:13:45 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 0C2909A3AB4 for ; Thu, 16 Jul 2015 18:13:45 +0000 (UTC) (envelope-from herminio.hernandezjr@gmail.com) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (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 B9CCE1FE9 for ; Thu, 16 Jul 2015 18:13:44 +0000 (UTC) (envelope-from herminio.hernandezjr@gmail.com) Received: by oigd21 with SMTP id d21so13467672oig.1 for ; Thu, 16 Jul 2015 11:13:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=fn6V4Y4aUPySGcLS9ODup8BQpYxu3i3GEDCnzQHK6Jg=; b=hBQWzbplVMZg4S3gHHpElb4TqIf/X5qq0INyYBQljZ4YLECJdSKDws36szeAUSFIeb ZlL+cXVFn7NWuMwAYme7uds9y7grzPwdUDyeXPdqDp0jVAKeXzfLpVOjWM2ajAwEBnI/ b+o/aHRt+Gcczj46J4B0jHukt/i45QEk84cyh9Tuy24C6nFatRvaridfV6xbI1UESzpV QKo5BpuxXJEnTO/LPcjiJ0cnfl9L7UXMjVLPwWi+az/Blzb8id5WHqRMZZtOgrqCOvGY Z7u1OY7XRkYunuonS8vcwmfYPh4wJVbKw+KRiTy7yqMD68epipBhP5f1Ec2WN0GTvUEF oaOw== X-Received: by 10.182.230.4 with SMTP id su4mr10363299obc.0.1437070423801; Thu, 16 Jul 2015 11:13:43 -0700 (PDT) Received: from [192.168.1.66] (104-179-10-49.lightspeed.rcsntx.sbcglobal.net. [104.179.10.49]) by smtp.gmail.com with ESMTPSA id sx2sm4794042obc.0.2015.07.16.11.13.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 16 Jul 2015 11:13:43 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: fan funning high on base system From: "Herminio Hernandez Jr. " X-Mailer: iPhone Mail (12H143) In-Reply-To: Date: Thu, 16 Jul 2015 13:13:42 -0500 Cc: FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: References: <20150712101745.d1f6cf3583cd10043b1600d3@gmail.com> <1F2CF6AF-17FB-4243-B64E-C8893EBEBC73@gmail.com> To: Justin Hibbits 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: Thu, 16 Jul 2015 18:13:45 -0000 I thought it did for a moment then it came back. I moved to 10.2 and still t= hen same issue. I am on 11.0 right now. I will let you know how this goes.=20= Sent from my iPhone > On Jul 16, 2015, at 12:59 PM, Justin Hibbits wrote= : >=20 > Does the patch fix the false overtemp problems? If so, I'll submit > for MFC into 10.2. >=20 > - Justin >=20 > On Tue, Jul 14, 2015 at 9:07 PM, Herminio Hernandez, Jr. > wrote: >> The patch worked! I rebooted after installing the new kernel and compile >> some ports and the fans have kicked in. This is great! >>=20 >> On Mon, Jul 13, 2015 at 10:50 PM, Herminio Hernandez, Jr. >> wrote: >>>=20 >>> Thanks so much for the help. I will keep you updated on how it goes. >>>=20 >>> On Mon, Jul 13, 2015 at 10:32 PM, Justin Hibbits = >>> wrote: >>>>=20 >>>> You would check out the full source tree (head, stable/10, or other), t= he >>>> kernel is part of it. However, you may have installed the source packa= ge >>>> when you installed FreeBSD, which would have between installed in /usr/= src. >>>>=20 >>>> -Justin >>>>=20 >>>> On Jul 13, 2015 20:27, "Herminio Hernandez, Jr." >>>> wrote: >>>>>=20 >>>>> I see so checkout the kernel using subversion then follow your steps >>>>>=20 >>>>> On Mon, Jul 13, 2015 at 10:25 PM, Justin Hibbits >>>>> wrote: >>>>>>=20 >>>>>> Nope, just the kernel. =46rom /usr/src or wherever your source tree i= s >>>>>> located apply the patch and run 'make buildkernel' followed by, if >>>>>> successful, 'make installkernel' >>>>>>=20 >>>>>> -Justin >>>>>>=20 >>>>>> On Jul 13, 2015 20:20, "Herminio Hernandez, Jr." >>>>>> wrote: >>>>>>>=20 >>>>>>> would I have to recompile the port and which port if so. Apologies i= f >>>>>>> these seem simple questions. FreeBSD is very new for me. >>>>>>>=20 >>>>>>> On Mon, Jul 13, 2015 at 10:16 PM, Justin Hibbits >>>>>>> wrote: >>>>>>>>=20 >>>>>>>> If you would rather stick with 10, here's a patch that should fix t= he >>>>>>>> problem. That said, there are quite a few changes in 11-current th= at >>>>>>>> haven't made their way into 10-stable (partially out of my laziness= , >>>>>>>> partially because they're intrusive), so 11-current is better overa= ll >>>>>>>> (I run it on all my machines). >>>>>>>>=20 >>>>>>>> - Justin >>>>>>>>=20 >>>>>>>> On Mon, Jul 13, 2015 at 7:56 PM, Herminio Hernandez, Jr. >>>>>>>> wrote: >>>>>>>>> I am downloading 11 current >>>>>>>>>=20 >>>>>>>>> On Mon, Jul 13, 2015 at 9:50 PM, Herminio Hernandez, Jr. >>>>>>>>> wrote: >>>>>>>>>>=20 >>>>>>>>>> I would like to file a bug report on this but I am not sure what I= >>>>>>>>>> would >>>>>>>>>> file it against... >>>>>>>>>>=20 >>>>>>>>>> On Mon, Jul 13, 2015 at 9:49 PM, Herminio Hernandez, Jr. >>>>>>>>>> wrote: >>>>>>>>>>>=20 >>>>>>>>>>> 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 >>>>>>>>>>>=20 >>>>>>>>>>> $ 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=3D0x5c >>>>>>>>>>> dev.adt746x.0.%pnpinfo: name=3Dfan compat=3Dadt7467 >>>>>>>>>>> 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 >>>>>>>>>>>=20 >>>>>>>>>>>=20 >>>>>>>>>>> On Mon, Jul 13, 2015 at 9:35 PM, Justin Hibbits >>>>>>>>>>> >>>>>>>>>>> wrote: >>>>>>>>>>>>=20 >>>>>>>>>>>> Hi Herminio, >>>>>>>>>>>>=20 >>>>>>>>>>>> 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. >>>>>>>>>>>>=20 >>>>>>>>>>>> - Justin >>>>>>>>>>>>=20 >>>>>>>>>>>> On Mon, Jul 13, 2015 at 7:29 PM, Herminio Hernandez, Jr. >>>>>>>>>>>> wrote: >>>>>>>>>>>>> Justin, >>>>>>>>>>>>>=20 >>>>>>>>>>>>> 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, >>>>>>>>>>>>>=20 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (PWR/MEMORY BOTTOMSIDE: 255.0 C) >>>>>>>>>>>>> exceeds >>>>>>>>>>>>> critical temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (PWR/MEMORY BOTTOMSIDE: 255.0 C) >>>>>>>>>>>>> exceeds >>>>>>>>>>>>> critical temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (CPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (PWR/MEMORY BOTTOMSIDE: 255.0 C) >>>>>>>>>>>>> exceeds >>>>>>>>>>>>> critical temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (PWR/MEMORY BOTTOMSIDE: 255.0 C) >>>>>>>>>>>>> exceeds >>>>>>>>>>>>> critical temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> WARNING: Current temperature (GPU BOTTOMSIDE: 255.0 C) exceeds= >>>>>>>>>>>>> critical >>>>>>>>>>>>> temperature (80.0 C); count=3D1 >>>>>>>>>>>>> $ >>>>>>>>>>>>>=20 >>>>>>>>>>>>>=20 >>>>>>>>>>>>> On Sun, Jul 12, 2015 at 10:01 PM, Herminio Hernandez Jr. >>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> 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! >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> Sent from my iPhone >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> On Jul 12, 2015, at 12:31 PM, Justin Hibbits >>>>>>>>>>>>>> >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> Hi, >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> On Jul 12, 2015 8:17 AM, "Herminio Hernandez Jr" >>>>>>>>>>>>>> wrote: >>>>>>>>>>>>>>>=20 >>>>>>>>>>>>>>> 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! >>>>>>>>>>>>>>>=20 >>>>>>>>>>>>>>> -- >>>>>>>>>>>>>>> Herminio Hernandez Jr >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> 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. >>>>>>>>>>>>>>=20 >>>>>>>>>>>>>> -Justin >>=20