Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2008 08:47:47 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-amd64@freebsd.org
Cc:        kevin <kevinxlinuz@163.com>, freebsd-gnats-submit@freebsd.org
Subject:   Re: amd64/121590: powerd may not work correctly
Message-ID:  <200803110847.47972.jhb@freebsd.org>
In-Reply-To: <200803110758.m2B7wNTh068355@www.freebsd.org>
References:  <200803110758.m2B7wNTh068355@www.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 11 March 2008 03:58:23 am kevin wrote:
> >Number:         121590
> >Category:       amd64
> >Synopsis:       powerd may not work correctly
> >Confidential:   no
> >Severity:       non-critical
> >Priority:       low
> >Responsible:    freebsd-amd64
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   current-users
> >Arrival-Date:   Tue Mar 11 08:10:01 UTC 2008
> >Closed-Date:
> >Last-Modified:
> >Originator:     kevin
> >Release:        freebsd 7 release
> >Organization:
>
> 163
>
> >Environment:
>
> FreeBSD xxx-laptop.people.163.org 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Mon
> Mar 10 19:53:14 CST 2008    
> root@xxx-laptop.people.163.org:/usr/obj/usr/src/sys/G7laptop  amd64
>
> >Description:
>
> powerd many not work correctly on intel T7700 cpu.
> #powerd -v
> powerd: using sysctl for AC line status
> powerd: using devd for AC line status
> idle time < 65%, increasing clock speed from 297 MHz to 893 MHz
> powerd: error setting CPU frequency 893: Invalid argument
> idle time < 65%, increasing clock speed from 1488 MHz to 2084 MHz
> idle time > 90%, decreasing clock speed from 2382 MHz to 2084 MHz
> idle time > 90%, decreasing clock speed from 1786 MHz to 1488 MHz
> powerd: error setting CPU frequency 1488: Invalid argument
> idle time > 90%, decreasing clock speed from 1191 MHz to 893 MHz
> powerd: error setting CPU frequency 893: Invalid argument
> idle time < 65%, increasing clock speed from 595 MHz to 1191 MHz
> powerd: error setting CPU frequency 1191: Invalid argument
> idle time < 65%, increasing clock speed from 1786 MHz to 2382 MHz
> powerd: error setting CPU frequency 2382: Invalid argument
> idle time > 90%, decreasing clock speed from 2382 MHz to 2084 MHz
> idle time > 90%, decreasing clock speed from 1786 MHz to 1488 MHz
> powerd: error setting CPU frequency 1488: Invalid argument
> idle time > 90%, decreasing clock speed from 1191 MHz to 893 MHz
> powerd: error setting CPU frequency 893: Invalid argument
> idle time > 90%, decreasing clock speed from 595 MHz to 297 MHz
> powerd: error setting CPU frequency 297: Invalid argument

This has more to do with your cpufreq drivers than with powerd.  Can you 
provide the dmesg lines for your CPU and its cpufreq drivers as well as the 
output of 'sysctl dev.cpu'?

-- 
John Baldwin



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