powerd(8), cpufreq(4) only available on amd64/i386?

Nathan Whitehorn nwhitehorn at freebsd.org
Mon Jan 7 15:50:39 UTC 2013


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: <JBus power management> 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



More information about the freebsd-questions mailing list