From owner-freebsd-amd64@FreeBSD.ORG Tue Mar 11 14:04:15 2008 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EFE41065681; Tue, 11 Mar 2008 14:04:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 62C4F8FC24; Tue, 11 Mar 2008 14:04:15 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by elvis.mu.org (Postfix) with ESMTP id 949961A4D86; Tue, 11 Mar 2008 07:03:27 -0700 (PDT) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Tue, 11 Mar 2008 08:47:47 -0400 User-Agent: KMail/1.9.7 References: <200803110758.m2B7wNTh068355@www.freebsd.org> In-Reply-To: <200803110758.m2B7wNTh068355@www.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803110847.47972.jhb@freebsd.org> Cc: kevin , freebsd-gnats-submit@freebsd.org Subject: Re: amd64/121590: powerd may not work correctly X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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:04:15 -0000 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