rd.d/power_profile: dev.cpu.0.cx_supported doesn't exist
Lars Stokholm
lars.stokholm at gmail.com
Sun Jan 28 11:14:47 UTC 2007
Roland Smith wrote:
> On Sun, Jan 28, 2007 at 04:39:29AM +0100, Lars Stokholm wrote:
>> After updating to 6.2-STABLE Sun Jan 28 02:57:55 CET 2007 (GENERIC), I
>> get an error on startup from sysctl, because dev.cpu.0.cx_supported
>> doesn't exist. I think I tracked it down to this update:
Also this error only shows up on startup, it's not in dmesg. Why?
>> http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/rc.d/power_profile.diff?r1=1.9&r2=1.10&f=h
>>
>> I guess it's because I'm not running powerd, but if that's the case,
>> should powerd_enable="NO" be changed to powerd_enable="YES" in
>> /etc/defaults/rc.conf? Or is it some sort of mistake?
>
> On my amd64 system, I've got powerd up and working, but
> 'dev.cpu.0.cx_supported' doesn't exist here either. Do you perhaps mean
> 'hw.acpi.cpu.cx_supported' because that does exists here.
I don't know why I came to that conclusion. I don't think it has
anything to do with powerd. The only mention of cx_supported in the
entire source tree is in power_profile (as linked above) and in acpi_cpu.c:
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/acpica/acpi_cpu.c.diff?r1=1.57.2.1&r2=1.57.2.2&sortby=date&f=h
I don't know if it has anything to do with that.
Anyway power_profile (called by devd afaik) seems to need it, but it
doesn't exist.
More information about the freebsd-stable
mailing list