From owner-freebsd-ppc@FreeBSD.ORG Sun Jun 26 00:52:43 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DC8E106566B for ; Sun, 26 Jun 2011 00:52:43 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 0D1938FC14 for ; Sun, 26 Jun 2011 00:52:42 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LND00700H3UMF00@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Sat, 25 Jun 2011 19:52:42 -0500 (CDT) Received: from comporellon.tachypleus.net (adsl-75-50-91-38.dsl.mdsnwi.sbcglobal.net [75.50.91.38]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LND0070XH3OCS00@smtpauth2.wiscmail.wisc.edu>; Sat, 25 Jun 2011 19:52:37 -0500 (CDT) Date: Sat, 25 Jun 2011 19:52:35 -0500 From: Nathan Whitehorn In-reply-to: To: Paul Mather Message-id: <4E0682D3.9070607@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=75.50.91.38 X-Spam-PmxInfo: Server=avs-10, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.6.26.4518, SenderIP=75.50.91.38 References: <38D89FC6-13F1-4AEF-AF41-0A377EE49DC4@gromit.dlib.vt.edu> <4DFFDEEE.40200@freebsd.org> <4E02C593.6020405@freebsd.org> User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110623 Thunderbird/3.1.11 Cc: freebsd-ppc@freebsd.org Subject: Re: Xserve G5 keeps shutting down X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jun 2011 00:52:43 -0000 On 06/24/11 13:00, Paul Mather wrote: > On Jun 23, 2011, at 12:48 AM, Nathan Whitehorn wrote: > >> On 06/21/11 14:32, Paul Mather wrote: >>> On Jun 20, 2011, at 7:59 PM, Nathan Whitehorn wrote: >>> >>>> On 06/20/11 15:22, Paul Mather wrote: >>>>> I'm running FreeBSD/powerpc64 -CURRENT on an Xserve G5. With a recent kernel, the system will not stay up for more than a few hours at a time. :-( >>>>> >>>>> I have no idea why the machine is shutting off. There is no panic or crash dump and there is no indication in the logs of anything awry. The system just powers down. The times this has happened when I have been there have not indicated anything stressing the system (like all fans racing madly) and oftentimes the system has been relatively idle. (Oddly, it never appears to my knowledge to have shut down when doing sometime potentially taxing, such as a make -j5 buildworld or the likes.) >>>>> >>>>> The main thing I have noticed since building this new kernel is that the fans are now controlled automatically, i.e., there is now no need for the tickle-the-fan-controller cron job of yore, meaning the fans won't race when in single user mode (e.g., during an installworld). >>>> If the temperature on any sensor exceeds its maximum value, it will cause the machine to shut off. There was at one point a problem with some of the sensor drivers that would would report erroneous crazy values sometimes. Most of the known problems were fixed andreast a few weeks ago, but it looks like you ran into another. My work desktop has a ds1775 and a max6690, and has no problems, but not an ad7417, so I would guess the problem lies there. Could you try commenting out line 116 of /sys/powerpc/powermac/powermac_thermal.c? That will cause it to spam the console (and dmesg) about the error, identifying the sensor, but not shut off the machine and so both keep your server on and let us work out the problem. >>> I built a new kernel with the shutdown line identified above commented out. The resultant system stayed up for several hours doing various -j5 buildworld/buildkernels but just now shut down. :-( Unfortunately, nothing appeared on the console, so there is no logged reason for the shutdown. >>> >>> I started up the system again, but it shut down again after a few minutes of uptime. When I started it up for the third (and last time), I managed to grab this output from the temp/fan sysctls before it shut down (a minute or two after booting up): >>> >>> paul@backup:/home/paul> sysctl -a | egrep 'dev.*temp|fans' >>> machdep.manage_fans: 1 >>> dev.max6690.0.%pnpinfo: name=temp-monitor compat=max6690 >>> dev.max6690.0.sensor.sys_ctrlr_ambient.temp: 41.5C >>> dev.max6690.0.sensor.sys_ctrlr_internal.temp: 50.1C >>> dev.fcu.0.fans.cpu_a_1.minrpm: 1200 >>> dev.fcu.0.fans.cpu_a_1.maxrpm: 14000 >>> dev.fcu.0.fans.cpu_a_1.rpm: 1984 >>> dev.fcu.0.fans.cpu_a_2.minrpm: 1200 >>> dev.fcu.0.fans.cpu_a_2.maxrpm: 14000 >>> dev.fcu.0.fans.cpu_a_2.rpm: 1984 >>> dev.fcu.0.fans.cpu_a_3.minrpm: 1200 >>> dev.fcu.0.fans.cpu_a_3.maxrpm: 14000 >>> dev.fcu.0.fans.cpu_a_3.rpm: 1984 >>> dev.fcu.0.fans.cpu_b_1.minrpm: 1200 >>> dev.fcu.0.fans.cpu_b_1.maxrpm: 14000 >>> dev.fcu.0.fans.cpu_b_1.rpm: 1984 >>> dev.fcu.0.fans.cpu_b_2.minrpm: 1200 >>> dev.fcu.0.fans.cpu_b_2.maxrpm: 14000 >>> dev.fcu.0.fans.cpu_b_2.rpm: 1984 >>> dev.fcu.0.fans.cpu_b_3.minrpm: 1200 >>> dev.fcu.0.fans.cpu_b_3.maxrpm: 14000 >>> dev.fcu.0.fans.cpu_b_3.rpm: 1984 >>> dev.fcu.0.fans.sys_ctrlr_fan.minpwm: 40 >>> dev.fcu.0.fans.sys_ctrlr_fan.maxpwm: 100 >>> dev.fcu.0.fans.sys_ctrlr_fan.pwm: 54 >>> dev.fcu.0.fans.sys_ctrlr_fan.rpm: 11264 >>> dev.fcu.0.fans.pci_fan.minpwm: 40 >>> dev.fcu.0.fans.pci_fan.maxpwm: 100 >>> dev.fcu.0.fans.pci_fan.pwm: 48 >>> dev.fcu.0.fans.pci_fan.rpm: 9792 >>> dev.ad7417.0.sensor.cpu_a_ad7417_amb.temp: 36.7C >>> dev.ad7417.0.sensor.cpu_a_diode_temp.temp: 53.8C >>> dev.ad7417.1.sensor.cpu_b_ad7417_amb.temp: 32.0C >>> dev.ad7417.1.sensor.cpu_b_diode_temp.temp: 52.6C >>> dev.ds1775.0.%pnpinfo: name=temp-monitor compat=lm75 >>> >>> >>> The cpu_{a,b}_diode_temp temperatures were higher during the buildworld (63--67C) and it stayed up at that time. >>> >>> I'm flummoxed at this point as to what is responsible for the shutdowns. Are there any other hardware monitoring-related shutdowns in the kernel code? The funny thing about the ad7417 device is that I only recently added it to my kernel config file as I noticed it had appeared in GENERIC. >>> >>> Tomorrow I'll build a GENERIC kernel with the shutdown line commented out, and see if I have any better luck with that. >> Bizarre! So, on the console, it just had a logon prompt, and then Open Firmware again? Nothing at all in between? > > Not quite: on the console it just had a login prompt and then nothing else was output---the machine had powered off. That's extraordinarily odd. And you said there was no fsck or other problem after the reboot? It looks like it shut down normally? > Now, it seems things have gone from bad to worse. I just built and installed a GENERIC64 kernel but it hangs just after probing pcm0 (Apple I2S Audio Controller). (I omit this device from the Xserve G5 custom kernel config file I normally use, as its hardware lacks any graphics or sound.) I rebuilt this kernel with the sound devices commented out, and, fortunately, this version of GENERIC64 will boot without hanging. I'll see if it fares any better when it comes to the Xserve G5 staying up for more than a few hours. Ack. Thanks for reporting this -- it's fixed now. > I notice with the pwm-controlled fans that there is a minpwm and maxpwm (40 and 100 respectively on my system). Is it possible to lower the minpwm? I tried to do so via /boot/loader.conf (lowering it to 30) but that appears to have had no effect. Here is my /boot/loader.conf: > > dev.fcu.0.fans.sys_ctrlr_fan.minpwm=30 > dev.fcu.0.fans.pci_fan.minpwm=30 I've turned the minimum back down. I had turned it up to 40 due to being frightened by a electronics-burning smell, so that should be fixed too. > As I understand it from corresponding with Andreas Tobler in the past, the pwm value is a percentage reflecting the fan rpm between off and full rpms. My dev.fcu.0.fans.sys_ctrlr_fan.pwm currently reports a value of 52 but the dev.fcu.0.fans.sys_ctrlr_fan.rpm of 11170 seems proportionally too high if this fan tops out at 14000 rpm like the CPU fans apparently do. I know the Xserve G5 fans are supposed to run at higher rpms than the desktop PowerMac G5s, because they're smaller, but I'd like for my sys_ctrlr_fan not to run quite so fast as it is. That is strange -- hopefully it runs a bit slower now. Andreas, any idea why it would be so non-linear? -Nathan From owner-freebsd-ppc@FreeBSD.ORG Mon Jun 27 11:07:09 2011 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 116B1106566B for ; Mon, 27 Jun 2011 11:07:09 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0107F8FC18 for ; Mon, 27 Jun 2011 11:07:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5RB78I2071925 for ; Mon, 27 Jun 2011 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5RB78SF071923 for freebsd-ppc@FreeBSD.org; Mon, 27 Jun 2011 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Jun 2011 11:07:08 GMT Message-Id: <201106271107.p5RB78SF071923@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2011 11:07:09 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/149009 ppc sysinstall(8) on powerpc fails to install manpages, so o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer 6 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon Jun 27 12:30:19 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31C7B106566B for ; Mon, 27 Jun 2011 12:30:19 +0000 (UTC) (envelope-from bounceback@bounce.mylistmanager.co.za) Received: from bounce.mylistmanager.co.za (mylistmanager.co.za [41.222.33.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9300A8FC28 for ; Mon, 27 Jun 2011 12:30:17 +0000 (UTC) Received: by bounce.mylistmanager.co.za (Postfix, from userid 0) id BBDF72619E19; Mon, 27 Jun 2011 14:14:45 +0200 (SAST) From: infomags@colorpages.co.za (Life Enriching InfoMagazines) To: freebsd-ppc@freebsd.org (Reader ) MIME-Version: 1.0 X-Mailer: GLCJJKMBMPCGFDILSCM8.2.2 X-Bounce: 9103:2224417:1711:1987:freebsd-ppc@freebsd.org: CAN-SPAM_Compliant: To unsubscribe from all Mailing Lists go to CAN-SPAM_Compliant: http://www.mylistmanager.co.za/cgi-bin/uls/uls.cgi?globalrem=1 Report-SPAM: To report this Member for SPAM go to Report-SPAM: http://www.mylistmanager.co.za/cgi-bin/uls/uls.cgi?KXDDk3HeME3CSVoG=fHF4elDl4GI=I==fbDNHeEGMEHI4EVfwDHFeEGfEeHIlwGbVEEM7k4Z33BL9bVEE7kJ41SVWfwElkol4G0H=YyfEl4KGpppzz=IIfHVBjlB4G=0gI Message-Id: <20110627121445.BBDF72619E19@bounce.mylistmanager.co.za> Date: Mon, 27 Jun 2011 14:14:45 +0200 (SAST) Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: =?iso-8859-1?q?VIP_Exclusive_-_How_To_Excel_Yourself__Series_-_P?= =?iso-8859-1?q?art_2_-_SA=92s_Read_Green_Initiative?= X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2011 12:30:19 -0000 Your VIP Access... Improve Your Lifestyle & Business Series! South Africa's New Read Green Online Publishing Technology Save Paper Save Trees... Help South Africa Reduce Climate Change (Facts About Paper) "http://www.colorpages.co.za/smartread/default1210" - Support This Read Green Initiative! Excel Yourself - Life Enriching Exclusive Series Part 2 - Now Online in Modern Living InfoMags Click on any Magazine to Open - Experience and Enjoy Interactive Online Magazines with Digital Pageflip Technology! Self Improvement Made Easy Camping Holidays Anti-Ageing and Skincare Made Easy How To Decorate Like a Pro Gardening Made Easy Home Security Made Easy Tips About Buying Your Next Car Become an Effective Time Manager You May Need Flash Player Free Download "http://www.adobe.com/shockwave/download/alternates" If this message is not displaying properly Click here to launch your browser "http://www.colorpages.co.za/index.php" "http://www.colorpages.co.za/competition/default0611" InfoMags: Instant Viewing - No Huge Downloads FREE! Click on any Magazine to Open FREE! Enter Our Competition! "http://www.colorpages.co.za/flashbooks/citypages1/default1210"> Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4381E106564A; Mon, 27 Jun 2011 14:28:37 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id E78AA8FC1E; Mon, 27 Jun 2011 14:28:36 +0000 (UTC) Received: from zidane.cc.vt.edu (zidane.cc.vt.edu [198.82.163.227]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id p5RERQkN019983; Mon, 27 Jun 2011 10:28:06 -0400 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by zidane.cc.vt.edu (MOS 4.2.2-FCS FastPath queued) with ESMTP id PTV15983; Mon, 27 Jun 2011 10:28:05 -0400 (EDT) Received: from pmather.tower.lib.vt.edu (pmather.tower.lib.vt.edu [128.173.51.28]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id p5RES5pt004525 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 27 Jun 2011 10:28:05 -0400 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Paul Mather In-Reply-To: <4E0682D3.9070607@freebsd.org> Date: Mon, 27 Jun 2011 10:28:05 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <38D89FC6-13F1-4AEF-AF41-0A377EE49DC4@gromit.dlib.vt.edu> <4DFFDEEE.40200@freebsd.org> <4E02C593.6020405@freebsd.org> <4E0682D3.9070607@freebsd.org> To: Nathan Whitehorn X-Mailer: Apple Mail (2.1084) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu paul@gromit.dlib.vt.edu 5 none X-Junkmail-Info: (0) X-Junkmail-Status: score=10/50, host=zidane.cc.vt.edu X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A020202.4E089375.021E,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=multiengine X-Junkmail-IWF: false Cc: freebsd-ppc@freebsd.org Subject: Re: Xserve G5 keeps shutting down X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2011 14:28:37 -0000 On Jun 25, 2011, at 8:52 PM, Nathan Whitehorn wrote: >> That's extraordinarily odd. And you said there was no fsck or other = problem after the reboot? It looks like it shut down normally? Sorry, I probably wasn't clear. The system does an unclean power-off. = I have to fsck when I start it up again. What is odd, to me, is that this power-off occurred even after = commenting out the shutdown line in the thermal power management driver. = So, it must be something else that is forcibly powering off the system, = maybe something in OpenFirmware, rather like some PC BIOSes will = initiate a power-off when temperatures exceed critical. But, what is = definitely odd is that temperatures don't seem to get so high as to be = critical, so perhaps it is some other hardware state that is triggering = the power-off? >> I notice with the pwm-controlled fans that there is a minpwm and = maxpwm (40 and 100 respectively on my system). Is it possible to lower = the minpwm? I tried to do so via /boot/loader.conf (lowering it to 30) = but that appears to have had no effect. Here is my /boot/loader.conf: >>=20 >> dev.fcu.0.fans.sys_ctrlr_fan.minpwm=3D30 >> dev.fcu.0.fans.pci_fan.minpwm=3D30 >=20 > I've turned the minimum back down. I had turned it up to 40 due to = being frightened by a electronics-burning smell, so that should be fixed = too. I'll build a new kernel and see if things improve. Cheers, Paul. From owner-freebsd-ppc@FreeBSD.ORG Mon Jun 27 15:07:00 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDD62106566C for ; Mon, 27 Jun 2011 15:07:00 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id AE5188FC16 for ; Mon, 27 Jun 2011 15:07:00 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id D7249582CC; Mon, 27 Jun 2011 09:41:23 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id H0li4b2bTqA8; Mon, 27 Jun 2011 09:41:23 -0500 (CDT) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-223-119.icecube.wisc.edu [172.16.223.119]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 7ECDB582C9; Mon, 27 Jun 2011 09:41:22 -0500 (CDT) Message-ID: <4E089692.30203@freebsd.org> Date: Mon, 27 Jun 2011 09:41:22 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: Paul Mather References: <38D89FC6-13F1-4AEF-AF41-0A377EE49DC4@gromit.dlib.vt.edu> <4DFFDEEE.40200@freebsd.org> <4E02C593.6020405@freebsd.org> <4E0682D3.9070607@freebsd.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Xserve G5 keeps shutting down X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2011 15:07:01 -0000 On 06/27/11 09:28, Paul Mather wrote: > On Jun 25, 2011, at 8:52 PM, Nathan Whitehorn wrote: > >>> That's extraordinarily odd. And you said there was no fsck or >>> other problem after the reboot? It looks like it shut down >>> normally? > > > Sorry, I probably wasn't clear. The system does an unclean > power-off. I have to fsck when I start it up again. Ah, OK. That makes infinitely more sense! > What is odd, to me, is that this power-off occurred even after > commenting out the shutdown line in the thermal power management > driver. So, it must be something else that is forcibly powering off > the system, maybe something in OpenFirmware, rather like some PC > BIOSes will initiate a power-off when temperatures exceed critical. > But, what is definitely odd is that temperatures don't seem to get so > high as to be critical, so perhaps it is some other hardware state > that is triggering the power-off? Yes, something like that seems likely, either some strange firmware thing or the PMU microcontroller becoming unhappy. A few more things to try: 1) Does setting machdep.manage_fans=0 from the loader change anything? 2) Change the pause in powermac_thermal.c line 86 from hz to 2*hz or even 3*hz, in case the firmware has a bug similar to the one we used to have, and BSD is saturating the I2C sensors so that firmware can't read the temperature. 3) Add RackMac3,1 to the list of systems on which the firmware is quiesced at line 517 of /sys/powerpc/ofw/ofw_machdep.c >>> I notice with the pwm-controlled fans that there is a minpwm and >>> maxpwm (40 and 100 respectively on my system). Is it possible to >>> lower the minpwm? I tried to do so via /boot/loader.conf >>> (lowering it to 30) but that appears to have had no effect. Here >>> is my /boot/loader.conf: >>> >>> dev.fcu.0.fans.sys_ctrlr_fan.minpwm=30 >>> dev.fcu.0.fans.pci_fan.minpwm=30 >> >> I've turned the minimum back down. I had turned it up to 40 due to >> being frightened by a electronics-burning smell, so that should be >> fixed too. > > > I'll build a new kernel and see if things improve. > Thanks so much for your patience! -Nathan From owner-freebsd-ppc@FreeBSD.ORG Wed Jun 29 15:26:09 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08E3B1065673; Wed, 29 Jun 2011 15:26:09 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id B2BFE8FC16; Wed, 29 Jun 2011 15:26:08 +0000 (UTC) Received: from zidane.cc.vt.edu (zidane.cc.vt.edu [198.82.163.227]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id p5TFPbCC027773; Wed, 29 Jun 2011 11:25:37 -0400 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by zidane.cc.vt.edu (MOS 4.2.2-FCS FastPath queued) with ESMTP id PUH86913; Wed, 29 Jun 2011 11:25:37 -0400 (EDT) Received: from pmather.tower.lib.vt.edu (pmather.tower.lib.vt.edu [128.173.51.28]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id p5TFPVO5032140 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 29 Jun 2011 11:25:32 -0400 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Paul Mather In-Reply-To: <4E089692.30203@freebsd.org> Date: Wed, 29 Jun 2011 11:25:31 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <38D89FC6-13F1-4AEF-AF41-0A377EE49DC4@gromit.dlib.vt.edu> <4DFFDEEE.40200@freebsd.org> <4E02C593.6020405@freebsd.org> <4E0682D3.9070607@freebsd.org> <4E089692.30203@freebsd.org> To: Nathan Whitehorn X-Mailer: Apple Mail (2.1084) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu paul@gromit.dlib.vt.edu 5 none X-Junkmail-Info: (0) X-Junkmail-Status: score=10/50, host=zidane.cc.vt.edu X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A020202.4E0B43F1.0166,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=multiengine X-Junkmail-IWF: false Cc: freebsd-ppc@freebsd.org Subject: Re: Xserve G5 keeps shutting down X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2011 15:26:09 -0000 On Jun 27, 2011, at 10:41 AM, Nathan Whitehorn wrote: > On 06/27/11 09:28, Paul Mather wrote: >> On Jun 25, 2011, at 8:52 PM, Nathan Whitehorn wrote: >> What is odd, to me, is that this power-off occurred even after >> commenting out the shutdown line in the thermal power management >> driver. So, it must be something else that is forcibly powering off >> the system, maybe something in OpenFirmware, rather like some PC >> BIOSes will initiate a power-off when temperatures exceed critical. >> But, what is definitely odd is that temperatures don't seem to get so >> high as to be critical, so perhaps it is some other hardware state >> that is triggering the power-off? >=20 > Yes, something like that seems likely, either some strange firmware = thing or the PMU microcontroller becoming unhappy. A few more things to = try: > 1) Does setting machdep.manage_fans=3D0 from the loader change = anything? I am trying that now. Luckily, this is a RW sysctl because I cannot = appear to set this, neither at the boot loader prompt nor in = /boot/loader.conf, and have the value stick to what I set. It always = seems to end up as machdep.manage_fans=3D1 (the default) by the time the = system is booted and I have to change it back to machdep.manage_fans=3D0 = manually. Is the /boot/loader.conf mechanism broken on FreeBSD/powerpc64? > 2) Change the pause in powermac_thermal.c line 86 from hz to 2*hz or = even 3*hz, in case the firmware has a bug similar to the one we used to = have, and BSD is saturating the I2C sensors so that firmware can't read = the temperature. I tried this, changing the pause to 3*hz as suggested, but it appeared = to have no effect: the system still powered off after a while. > 3) Add RackMac3,1 to the list of systems on which the firmware is = quiesced at line 517 of /sys/powerpc/ofw/ofw_machdep.c I've not tried this, yet. The other thing I have tried since my last posting is to run the Apple = Remote Diagnostics 1.0.4. The Xserve G5 in question passed all 169 of = the extended tests run on it. I have a copy of the test output log, if = interested. What kind of system temperatures are other Xserve G5 users getting? I = have no idea what is normal and so whether or not I should run the fans = higher. I am currently running the fans at 6000 rpm with = machdep.manage_fans=3D0, mainly as a good compromise between noise and = cooling. (The system is in my office whilst I set it up and configure = it---I was about to deploy the machine when the latest power-offs = stymied that.) With the system largely idle, these are the temperatures being reported = with the fans running at ~6000 rpm: dev.max6690.0.sensor.sys_ctrlr_ambient.temp: 40.0C dev.max6690.0.sensor.sys_ctrlr_internal.temp: 51.7C dev.ad7417.0.sensor.cpu_a_ad7417_amb.temp: 33.7C dev.ad7417.0.sensor.cpu_a_diode_temp.temp: 45.9C dev.ad7417.1.sensor.cpu_b_ad7417_amb.temp: 31.5C dev.ad7417.1.sensor.cpu_b_diode_temp.temp: 45.1C This is what the temperatures look like about 30 minutes into a "make = -j5 buildworld" (uptime: "11:23AM up 1:03, 2 users, load averages: = 6.52, 6.52, 5.23"): dev.max6690.0.sensor.sys_ctrlr_ambient.temp: 44.0C dev.max6690.0.sensor.sys_ctrlr_internal.temp: 56.3C dev.ad7417.0.sensor.cpu_a_ad7417_amb.temp: 40.0C dev.ad7417.0.sensor.cpu_a_diode_temp.temp: 64.9C dev.ad7417.1.sensor.cpu_b_ad7417_amb.temp: 36.0C dev.ad7417.1.sensor.cpu_b_diode_temp.temp: 62.6C Again, that is with the fans running at about 6000 rpm. Cheers, Paul. From owner-freebsd-ppc@FreeBSD.ORG Wed Jun 29 20:12:24 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EEFE106566C; Wed, 29 Jun 2011 20:12:24 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id 3C90C8FC13; Wed, 29 Jun 2011 20:12:23 +0000 (UTC) Received: from zidane.cc.vt.edu (zidane.cc.vt.edu [198.82.163.227]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id p5TKBqIS032535; Wed, 29 Jun 2011 16:11:52 -0400 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by zidane.cc.vt.edu (MOS 4.2.2-FCS FastPath queued) with ESMTP id PUJ42745; Wed, 29 Jun 2011 16:11:51 -0400 (EDT) Received: from pmather.tower.lib.vt.edu (pmather.tower.lib.vt.edu [128.173.51.28]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id p5TKBp14011123 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 29 Jun 2011 16:11:51 -0400 Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Paul Mather In-Reply-To: Date: Wed, 29 Jun 2011 16:11:51 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <792DE42C-DCD2-4003-893B-32074FAFE8AD@gromit.dlib.vt.edu> References: <38D89FC6-13F1-4AEF-AF41-0A377EE49DC4@gromit.dlib.vt.edu> <4DFFDEEE.40200@freebsd.org> <4E02C593.6020405@freebsd.org> <4E0682D3.9070607@freebsd.org> <4E089692.30203@freebsd.org> To: Nathan Whitehorn X-Mailer: Apple Mail (2.1084) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu paul@gromit.dlib.vt.edu 5 none X-Junkmail-Info: (0) X-Junkmail-Status: score=10/50, host=zidane.cc.vt.edu X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A020205.4E0B8708.0065,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=multiengine X-Junkmail-IWF: false Cc: freebsd-ppc@freebsd.org Subject: Re: Xserve G5 keeps shutting down X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2011 20:12:24 -0000 On Jun 29, 2011, at 11:25 AM, Paul Mather wrote: > On Jun 27, 2011, at 10:41 AM, Nathan Whitehorn wrote: >=20 >> On 06/27/11 09:28, Paul Mather wrote: >>> On Jun 25, 2011, at 8:52 PM, Nathan Whitehorn wrote: >=20 >>> What is odd, to me, is that this power-off occurred even after >>> commenting out the shutdown line in the thermal power management >>> driver. So, it must be something else that is forcibly powering off >>> the system, maybe something in OpenFirmware, rather like some PC >>> BIOSes will initiate a power-off when temperatures exceed critical. >>> But, what is definitely odd is that temperatures don't seem to get = so >>> high as to be critical, so perhaps it is some other hardware state >>> that is triggering the power-off? >>=20 >> Yes, something like that seems likely, either some strange firmware = thing or the PMU microcontroller becoming unhappy. A few more things to = try: >> 1) Does setting machdep.manage_fans=3D0 from the loader change = anything? >=20 > I am trying that now. Just to follow up myself, I can report that I tried that and it = eventually powered off the machine uncleanly, too, so no ultimate change = in outcomes there. :-( I'm beginning to wonder if this has anything to do with the fans or the = temperature. Tomorrow I'll power on the system and let it run idle and = see if it still powers off. Do you think it would be worthwhile resetting the PMU? Cheers, Paul. From owner-freebsd-ppc@FreeBSD.ORG Wed Jun 29 20:20:24 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3C4361065677 for ; Wed, 29 Jun 2011 20:20:24 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id EF8C48FC0C for ; Wed, 29 Jun 2011 20:20:23 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 423C95813A; Wed, 29 Jun 2011 15:20:23 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id ZPFCr2j8LxA9; Wed, 29 Jun 2011 15:20:23 -0500 (CDT) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-223-119.icecube.wisc.edu [172.16.223.119]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 249B758137; Wed, 29 Jun 2011 15:20:23 -0500 (CDT) Message-ID: <4E0B8906.5030507@freebsd.org> Date: Wed, 29 Jun 2011 15:20:22 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: Paul Mather References: <38D89FC6-13F1-4AEF-AF41-0A377EE49DC4@gromit.dlib.vt.edu> <4DFFDEEE.40200@freebsd.org> <4E02C593.6020405@freebsd.org> <4E0682D3.9070607@freebsd.org> <4E089692.30203@freebsd.org> <792DE42C-DCD2-4003-893B-32074FAFE8AD@gromit.dlib.vt.edu> In-Reply-To: <792DE42C-DCD2-4003-893B-32074FAFE8AD@gromit.dlib.vt.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Xserve G5 keeps shutting down X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jun 2011 20:20:24 -0000 On 06/29/11 15:11, Paul Mather wrote: > On Jun 29, 2011, at 11:25 AM, Paul Mather wrote: > >> On Jun 27, 2011, at 10:41 AM, Nathan Whitehorn wrote: >> >>> On 06/27/11 09:28, Paul Mather wrote: >>>> On Jun 25, 2011, at 8:52 PM, Nathan Whitehorn wrote: >> >>>> What is odd, to me, is that this power-off occurred even >>>> after commenting out the shutdown line in the thermal power >>>> management driver. So, it must be something else that is >>>> forcibly powering off the system, maybe something in >>>> OpenFirmware, rather like some PC BIOSes will initiate a >>>> power-off when temperatures exceed critical. But, what is >>>> definitely odd is that temperatures don't seem to get so high >>>> as to be critical, so perhaps it is some other hardware state >>>> that is triggering the power-off? >>> >>> Yes, something like that seems likely, either some strange >>> firmware thing or the PMU microcontroller becoming unhappy. A few >>> more things to try: 1) Does setting machdep.manage_fans=0 from >>> the loader change anything? >> >> I am trying that now. > > > Just to follow up myself, I can report that I tried that and it > eventually powered off the machine uncleanly, too, so no ultimate > change in outcomes there. :-( > > I'm beginning to wonder if this has anything to do with the fans or > the temperature. Tomorrow I'll power on the system and let it run > idle and see if it still powers off. > > Do you think it would be worthwhile resetting the PMU? That's unfortunate. Can you go through SVN history and make sure that the revision before the thermal control code worked? -Nathan From owner-freebsd-ppc@FreeBSD.ORG Fri Jul 1 00:06:46 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A8F9106564A for ; Fri, 1 Jul 2011 00:06:46 +0000 (UTC) (envelope-from byei221se@blondoboots.net) Received: from mail913.opentransfer.com (mail913.opentransfer.com [98.130.1.188]) by mx1.freebsd.org (Postfix) with ESMTP id 1444E8FC15 for ; Fri, 1 Jul 2011 00:06:45 +0000 (UTC) Received: (qmail 18758 invoked by uid 399); 30 Jun 2011 23:40:03 -0000 Received: from unknown (HELO mail.blondoboots.net) (byEi221se@blondoboots.net@93.58.125.27) by mail913.opentransfer.com with ESMTP; 30 Jun 2011 23:40:03 -0000 X-Originating-IP: 93.58.125.27 From: "Lukins Jans" To: freebsd-ppc@freebsd.org Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Date: Fri, 1 Jul 2011 02:39:47 +0300 Message-Id: <20110701000646.5A8F9106564A@hub.freebsd.org> Subject: Padari pats sevi, draugs, par pludmales =?utf-8?q?iek=C4=81rojam?= =?utf-8?q?=C4=81ko?= personu , =?utf-8?q?sarun=C4=81ts=3F?= X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Lukins Jans List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jul 2011 00:06:46 -0000 ASV ražots sporta uzturs ne tikai uzlabo rezultātus, bet arī nodrošina iespaidīgu izturību sportiskajās nodarbībās un veicina strauju ķermeņa atjaunošanos pēc slodzes. Redzi: http://housedistrict.net/sports un uztrenē ķermeni, par kuru ir sapņots ilgi!! Deizija From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 2 14:47:34 2011 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 326021065673 for ; Sat, 2 Jul 2011 14:47:34 +0000 (UTC) (envelope-from cl000116@colombia.dattaweb.com) Received: from colombia.dattaweb.com (colombia.dattaweb.com [200.58.111.45]) by mx1.freebsd.org (Postfix) with ESMTP id E2CE28FC12 for ; Sat, 2 Jul 2011 14:47:33 +0000 (UTC) Received: from cl000116 by colombia.dattaweb.com with local (Exim 4.71) (envelope-from ) id 1Qd168-00037X-TM for freebsd-ppc@freebsd.org; Sat, 02 Jul 2011 11:23:04 -0300 To: Freebsd Ppc Date: Sat, 2 Jul 2011 11:23:04 -0300 From: centro medico revitalizare Message-ID: <3b5d65fd93567eaffa73b4d44105e94c@kelanea.com.ar> X-Priority: 3 X-Mailer: PHPMailer (phpmailer.sourceforge.net) [version 2.0.4] X-Mailid: 9 X-Subid: 18832 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - colombia.dattaweb.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [619 618] / [502 502] X-AntiAbuse: Sender Address Domain - colombia.dattaweb.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Primavera 2031 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: CMR List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jul 2011 14:47:34 -0000 F e l i z PRIMAVERA 2 0 3 1 drweschenfeller@gmail.com ( mailto:drweschenfeller@gmail.com ) rositapilotti02@gmail.com ( mailto:rositapilotti02@gmail.com ) CENTRO MEDICO REVITALIZARE® Resistencia Chaco Argentina Hola: queremos invitarte a la fiesta de PRIMAVERA del 2031 y a la de AÑO NUEVO 2032. Te sorprenderá, falta mucho todavía pero lo queremos hacer ahora para que sepas que vas a hacer con los 20 años que te quedan por delante y bien. Que tal, que te parece tener esas dos décadas y bien,con buen estado de salud y buen estado mental la de cosas que se pueden hacer, todo lo que se puede conocer o producir. Es como tener un plus y una nueva vida. Usamos técnicas antiage orthomelculares,quelación para limpieza arterial ,ozonoterapia , limpieza intersticial .Vacuna antiage 2011® Al mismo tiempo realizamos TERAPIAS METABOLICAS REPOLARIZANTES. Magnetoterapia pulsante y medicación con óxido nítrico. Implantes de factores de crecimientos y células madres autólogas por via endovenos. Si te interesa contacta con nosotros a los mails siguientes e vamos a decir como con gusto,drweschenfeller@gmail.com o rositapilotti02@gmail.com ( mailto:rositapilotti02@gmail.com ) y entrando a nuestra página de de revitalizare com podés suscribirte a nuestros fascículos de información y actualización. Queremos buscar entre todos como vivir nuestros primeros 100 años o los que sean pero muy bien!!! .Obvio si ya cumpliste los 100 esto todavía no es para vos.