From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 11 14:10:02 2008 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF35B1065672 for ; Tue, 11 Mar 2008 14:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9533B8FC17 for ; Tue, 11 Mar 2008 14:10:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m2BEA2xC027528 for ; Tue, 11 Mar 2008 14:10:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m2BEA2Fb027521; Tue, 11 Mar 2008 14:10:02 GMT (envelope-from gnats) Date: Tue, 11 Mar 2008 14:10:02 GMT Message-Id: <200803111410.m2BEA2Fb027521@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: John Baldwin Cc: Subject: Re: amd64/121590: powerd may not work correctly X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Baldwin List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Mar 2008 14:10:02 -0000 The following reply was made to PR amd64/121590; it has been noted by GNATS. From: John Baldwin To: freebsd-amd64@freebsd.org Cc: kevin , freebsd-gnats-submit@freebsd.org Subject: Re: amd64/121590: powerd may not work correctly Date: Tue, 11 Mar 2008 08:47:47 -0400 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