From owner-freebsd-sparc64@FreeBSD.ORG Mon Jan 7 15:50:39 2013 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D9A9915E; Mon, 7 Jan 2013 15:50:39 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id B589C22D; Mon, 7 Jan 2013 15:50:39 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0MG90031SIOEMT00@smtpauth1.wiscmail.wisc.edu>; Mon, 07 Jan 2013 09:50:38 -0600 (CST) Received: from wanderer.tachypleus.net (216-75-226-134.static.wiline.com [216.75.226.134]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0MG900GGNIOBCG50@smtpauth1.wiscmail.wisc.edu>; Mon, 07 Jan 2013 09:50:36 -0600 (CST) Date: Mon, 07 Jan 2013 07:50:34 -0800 From: Nathan Whitehorn Subject: Re: powerd(8), cpufreq(4) only available on amd64/i386? In-reply-to: <201301070923.r079NfRm035001@mech-cluster241.men.bris.ac.uk> Sender: whitehorn@wisc.edu To: mexas@bristol.ac.uk Message-id: <50EAEECA.9050508@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=216.75.226.134 X-Spam-PmxInfo: Server=avs-15, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2013.1.7.154215, SenderIP=216.75.226.134 References: <201301070923.r079NfRm035001@mech-cluster241.men.bris.ac.uk> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 Cc: freebsd-questions@freebsd.org, freebsd-sparc64@freebsd.org X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jan 2013 15:50:39 -0000 On 01/07/13 01:23, Anton Shterenlikht wrote: > I recently installed 9.1-release on a sparc64 box. > One of the options in bsdinstall was to use the > cpu power control. I chose to use it. So I've got > > # grep power /etc/rc.conf > powerd_enable="YES" > # > > which doesn't seem to work: > > root: /etc/rc: WARNING: failed to start powerd > > Is the following dmesg line relevant? > > # dmesg|grep "power management" > jbusppm0: mem 0x4000f000000-0x4000f000007,0x4000f410050-0x4000f41005f on nexus0 > # > > Anyway, I wonder if powerd is only for amd64/i386 > and is not supposed to work on sparc64. > cpufreq(4) is not listed in sparc64 GENERIC kernel. > > If that's the case, then maybe it's best to > remove powerd option from bsdinstall? > It does work at least on powerpc[64], but I don't think we have any sparc systems with dynamic frequency control. It's very hard for bsdinstall to know whether it will work or not in advance, since it supports installing to disk images, but I can add a note (if supported by hardware) or something. -Nathan