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