From owner-freebsd-ppc@FreeBSD.ORG Tue Jun 21 00:59: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 EA7311065670 for ; Tue, 21 Jun 2011 00:59:46 +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 BEF348FC0A for ; Tue, 21 Jun 2011 00:59:46 +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 <0LN4001005BKPF00@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 20 Jun 2011 18:59:44 -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 <0LN400H9G5BJ0K10@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 20 Jun 2011 18:59:44 -0500 (CDT) Date: Mon, 20 Jun 2011 18:59:42 -0500 From: Nathan Whitehorn In-reply-to: <38D89FC6-13F1-4AEF-AF41-0A377EE49DC4@gromit.dlib.vt.edu> To: freebsd-ppc@freebsd.org Message-id: <4DFFDEEE.40200@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=75.50.91.38 X-Spam-PmxInfo: Server=avs-12, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.6.20.234815, SenderIP=75.50.91.38 References: <38D89FC6-13F1-4AEF-AF41-0A377EE49DC4@gromit.dlib.vt.edu> User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.17) Gecko/20110429 Thunderbird/3.1.10 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: Tue, 21 Jun 2011 00:59:47 -0000 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. -Nathan