From owner-freebsd-ppc@FreeBSD.ORG Sun Mar 13 20:55:28 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 1621B106564A for ; Sun, 13 Mar 2011 20:55:28 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id C17E48FC14 for ; Sun, 13 Mar 2011 20:55:27 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from terra-smin.broadpark.no ([80.202.8.13]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LI000L5TKSEXH80@thalia-smout.broadpark.no> for freebsd-ppc@freebsd.org; Sun, 13 Mar 2011 21:55:26 +0100 (CET) Received: from kg-v2.kg4.no ([84.48.120.215]) by terra-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LI0003MLKSD46N0@terra-smin.broadpark.no> for freebsd-ppc@freebsd.org; Sun, 13 Mar 2011 21:55:26 +0100 (CET) Date: Sun, 13 Mar 2011 21:55:25 +0100 From: Torfinn Ingolfsen To: freebsd-ppc@freebsd.org Message-id: <20110313215525.b26a6618.torfinn.ingolfsen@broadpark.no> In-reply-to: <4D7D2935.3070903@freebsd.org> References: <20110312151608.b3240f3d.torfinn.ingolfsen@broadpark.no> <4D7BAA4E.4070908@freebsd.org> <20110313212348.a4fd91cb.torfinn.ingolfsen@broadpark.no> <4D7D2935.3070903@freebsd.org> X-Mailer: Sylpheed 3.1.0 (GTK+ 2.22.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: PowerMac G5 Quad - fan control? 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, 13 Mar 2011 20:55:28 -0000 On Sun, 13 Mar 2011 15:29:41 -0500 Nathan Whitehorn wrote: > On 03/13/11 15:23, Torfinn Ingolfsen wrote: > > On Sat, 12 Mar 2011 11:15:58 -0600 > > Nathan Whitehorn wrote: > > > >> Different G5 models have different thermal regulation schemes. On the > >> PCI-Express-based systems (e.g. the Quad), CPU temperatures are read out > >> by the smusat driver, and fan control is done by the smu driver. I wrote > >> a small daemon to manage fans on my dual-core G5 that you may want to > >> adapt that can be found at > >> http://people.freebsd.org/~nwhitehorn/powermac112-fancontrol.c > > Thanks! > > > > I've adapted it, my version is here[1]. How did you figure out the target temperature? > > I made up a number that I decided was safe. :P Ok. It seems my machine stabilizes on temps 53/61 or 53/62 when idle. > I run mine from rc.local like this: > /usr/bin/thermald > /dev/null & Ah, thanks! > > My machine just panic'ed (sleeping thread) but I don't know if that was related to this program. > > Any details on the panic (output of uname -a, 32 or 64 bit kernel, > messages, etc.) would be very interesting to see. Unfortunately, it didn't generate a dump. Is this something new with FreeBSD 8.x - it seems like users have to take explicit action to have dumpdev set up? Before, it used to pick up dumpdev="AUTO" from /etc/defaults/rc.conf and we didn't have to do anything else. Anyway: root@kg-g5# uname -a FreeBSD kg-g5.kg4.no 9.0-CURRENT FreeBSD 9.0-CURRENT #119 r217462M: Sat Jan 15 16:05:38 CST 2011 root@comporellon.tachypleus.net:/usr/obj/powerpc.powerpc/usr/src/sys/GENERIC powerpc I think that is a 32-bit kernel? on the positive side, my machine now runs happily, so I don't think that the fancontrol program had anything to do with the panic. -- Torfinn