Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jan 2007 12:14:40 +0100
From:      Lars Stokholm <lars.stokholm@gmail.com>
To:        Roland Smith <rsmith@xs4all.nl>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: rd.d/power_profile: dev.cpu.0.cx_supported doesn't exist
Message-ID:  <45BC85A0.1000809@gmail.com>
In-Reply-To: <20070128102805.GA26802@slackbox.xs4all.nl>
References:  <45BC1AF1.8070208@gmail.com> <20070128102805.GA26802@slackbox.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45BC85A0.1000809>