From owner-freebsd-acpi@FreeBSD.ORG Sat Jun 28 00:16:31 2008 Return-Path: Delivered-To: acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E89F106566B for ; Sat, 28 Jun 2008 00:16:31 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 83A0C8FC16 for ; Sat, 28 Jun 2008 00:16:30 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from bunrab.catwhisker.org (localhost [127.0.0.1]) by bunrab.catwhisker.org (8.13.3/8.13.3) with ESMTP id m5RNrLlb006103 for ; Fri, 27 Jun 2008 16:53:21 -0700 (PDT) (envelope-from david@bunrab.catwhisker.org) Received: (from david@localhost) by bunrab.catwhisker.org (8.13.3/8.13.1/Submit) id m5RNrKFs006102 for acpi@freebsd.org; Fri, 27 Jun 2008 16:53:20 -0700 (PDT) (envelope-from david) Date: Fri, 27 Jun 2008 16:53:19 -0700 From: David Wolfskill To: acpi@freebsd.org Message-ID: <20080627235319.GP70792@bunrab.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="25Rg8jT0ZAcO2h/K" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: How/why would dev.cpu.0.freq_levels change??!? X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 00:16:31 -0000 --25Rg8jT0ZAcO2h/K Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable My laptop is a Dell Inspiron 8200; I (ab)use it moderately heavily: this includes tracking RELENG_6, RELENG_7, & HEAD on it, daily. Lately there have been some times when "make buildworld" for RELENG_6 has taken a lot longer than it used to ... and I noticed that the fans were on, even though it was running fairly cool (around 50C; during a "make buildworld, around 85C is more common) -- and that the machine was typically "topping out" at half speed (1200 MHz). During these times, querying dev.cpu.0.freq_levels would yield a list that did, ini fact, max out at 1200 MHz, when I know that it has gone up to 2400 MHz in the past. When it does this, the only circumvention I've been able to find is a power-cycle. Since I like to minimize disruption, this is annoying. This afternoon, it showed evidence of doing this stunt again, so I carefully logged out, powered the machine off, waited about 5 minutes, then powered it back on. But this time, I decided to fire up a little loop to display a timestamp and the ooutput from "sysctl -n hw.acpi.thermal.tz0.temperature dev.cpu.0.freq dev.cpu.0.freq_levels" every 5 seconds. Here's the interval in question: 1214609737,60.5C,300,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 = 600/0 450/0 300/0 150/0 1214609742,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 = 600/0 450/0 300/0 150/0 1214609748,59.5C,450,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 = 600/0 450/0 300/0 150/0 1214609752,57.5C,150,2400/0 2100/0 1800/0 1500/0 1200/0 1050/0 900/0 750/0 = 600/0 450/0 300/0 150/0 1214609757,57.5C,600,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 1214609762,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 1214609767,56.5C,150,1200/0 1050/0 900/0 750/0 600/0 450/0 300/0 150/0 And from a couple of logs: g1-60(6.3-S)[5] date -r 1214609752 Fri Jun 27 16:35:52 PDT 2008 g1-60(6.3-S)[6] date -r 1214609757 Fri Jun 27 16:35:57 PDT 2008 g1-60(6.3-S)[7] tail -4 /var/log/messages Jun 27 16:01:51 localhost kernel: drm0: [MPSAFE] Jun 27 16:20:57 localhost ntpd[13916]: time reset +1.306598 s Jun 27 16:38:55 localhost sudo: david : TTY=3Dttyp7 ; PWD=3D/common/home= /david ; USER=3Droot ; COMMAND=3D/usr/bin/tail /var/log/console.log Jun 27 16:45:34 localhost ntpd[13916]: kernel time sync enabled 2001 g1-60(6.3-S)[8] sudo tail -4 /var/log/console.log Password: Jun 27 16:01:47 localhost kernel: . Jun 27 16:01:47 localhost kernel: Starting background file system checks in= 60 seconds. Jun 27 16:01:47 localhost kernel:=20 Jun 27 16:01:47 localhost kernel: Fri Jun 27 16:01:47 PDT 2008 g1-60(6.3-S)[9] dmesg | tail -4 info: [drm] Setting GART location based on new memory map info: [drm] Loading R200 Microcode info: [drm] writeback test succeeded in 1 usecs drm0: [MPSAFE] g1-60(6.3-S)[10]=20 So: nothing logged. And I know of no way to change the value, but something did. Any clues? Oh: the machine is presently running: g1-60(6.3-S)[10] uname -a FreeBSD g1-60.catwhisker.org 6.3-STABLE FreeBSD 6.3-STABLE #638: Fri Jun 27= 08:09:17 PDT 2008 root@g1-60.catwhisker.org:/common/S1/obj/usr/src/sys= /CANARY i386 g1-60(6.3-S)[11]=20 Please include me in responses, as I'm not subscribed to -acpi@. Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org I submit that "conspiracy" would be an appropriate collective noun for cats. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --25Rg8jT0ZAcO2h/K Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iEYEARECAAYFAkhlfW4ACgkQmprOCmdXAD0YFgCfRl/Ux279oVionyO3v6Irv1t7 EIsAnAtotd3cMoUxjOewEjp6jfGTVqBb =IxP0 -----END PGP SIGNATURE----- --25Rg8jT0ZAcO2h/K--