[issue2025] CPU P-States not available to powerd(8)

Sepherosa Ziehau sepherosa at gmail.com
Wed Mar 16 01:14:08 PDT 2011


On Wed, Mar 16, 2011 at 1:29 AM, Max Herrgard (via DragonFly issue
tracker) <sinknull at leaf.dragonflybsd.org> wrote:
>
> New submission from Max Herrgard <herrgard at gmail.com>:
>
> Hi,
>
> My box shows the P-States in dmesg:
>
> cpu_pst0.cpu0.acpi0.nexus0.root0
> cpu_pst0: <ACPI CPU P-State> [tentative] on cpu0
> cpu_pst0: control reg 127 0
> cpu_pst0: status reg 127 0
> cpu_pst0: freq 1800, pwr 67000, xlat 100, blat 9, cv e020298a, sv 0000018a
> cpu_pst0: freq 1000, pwr 21000, xlat 100, blat 9, cv e0202c82, sv 00000482
> cpu_pst0: _PPC 0
> cpu_pst0: <ACPI CPU P-State> [attached!] on cpu0
>
> But powerd(8) won't start:
>
>> sudo rcforce powerd
> Running /etc/rc.d/powerd forcestart
> Starting powerd.
> hw.acpi.cpu.px_dom* sysctl not available
> powerd has failed to start
>
> hw.acpi:
>
>> sysctl hw.acpi
> hw.acpi.supported_sleep_state: S3 S4 S5
> hw.acpi.power_button_state: S5
> hw.acpi.sleep_button_state: S3
> hw.acpi.lid_switch_state: NONE
> hw.acpi.standby_state: S1
> hw.acpi.suspend_state: S3
> hw.acpi.sleep_delay: 1
> hw.acpi.s4bios: 0
> hw.acpi.verbose: 1
> hw.acpi.disable_on_reboot: 0
> hw.acpi.handle_reboot: 0
> hw.acpi.reset_video: 1
> hw.acpi.cpu.cx_lowest: C1
> hw.acpi.cpu0.cx_supported: C1/0
> hw.acpi.cpu0.cx_lowest: C1
> hw.acpi.cpu0.cx_usage: 100.00% last 5000us
>
> Verbose dmesg attached.

Invalid FID is detected (later in the dmesg):
cpu0: Invalid FID 0x2 [0xa, 0xa]
ACPI: domain0 P-State configuration check failed

Well, the check logic for the max/min P-states probably should be
different from the check logic for intermediate P-states.  I will push
a fix tonight.

Best Regards,
sephe

-- 
Tomorrow Will Never Die





More information about the Bugs mailing list