From owner-freebsd-acpi@FreeBSD.ORG Mon Aug 16 16:24:12 2004 Return-Path: Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09FB016A4CE for ; Mon, 16 Aug 2004 16:24:12 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id DF53E43D41 for ; Mon, 16 Aug 2004 16:24:11 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id i7GGOFeP018142 for ; Mon, 16 Aug 2004 09:24:15 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i7GGOFft018141 for freebsd-acpi@freebsd.org; Mon, 16 Aug 2004 09:24:15 -0700 Date: Mon, 16 Aug 2004 09:24:15 -0700 From: Brooks Davis To: freebsd-acpi@freebsd.org Message-ID: <20040816162415.GA16807@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vkogqOf2sHV7VnPd" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Subject: acpi_thermal consuming all CPU X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 16:24:12 -0000 --vkogqOf2sHV7VnPd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Some time between ~July 29 and August 15th, something changed that causes acpi_thermal is get stuck in the ecpoll state when my laptop is under load. The basic symptom is that I start a build and after a bit, system peformance gets lousy (the mouse moves ever few seconds, nothing updates, etc). When I managed to get top running on the console, I found that acpi_thermal was consuming >98% of the CPU and was constantly in the ecpoll state. The fans do not run and the system gets very hot (90C). Booting an old kernel or booting with acpi disabled seems to fix the problem. In case it's relevent, prior to Nate's fixes at Usenix, I couldn't reliably get termperature or power state out of acpi. The system is an HP Omnibook 500. I believe I'm running the latest BIOS. Here's the sysctl hw.acpi output: [9:14am] brooks@minya (~): sysctl hw.acpi hw.acpi.supported_sleep_state: S1 S3 S4 S5=20 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S1 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: 0 hw.acpi.reset_video: 1 hw.acpi.cpu.throttle_max: 8 hw.acpi.cpu.throttle_state: 8 hw.acpi.cpu.cx_supported: C1/0 C2/10 hw.acpi.cpu.cx_lowest: C2 hw.acpi.cpu.cx_usage: 0.01% 99.98% hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 3202 hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 3582 hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 3782 hw.acpi.thermal.tz0._ACx: 3432 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.acline: 1 hw.acpi.battery.life: 100 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 3 hw.acpi.battery.info_expire: 5 The AML is here: http://people.freebsd.org/~brooks/debug/brooks-HPOmnibook500.asl -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --vkogqOf2sHV7VnPd Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBIN+vXY6L6fI4GtQRAlPAAJ94r3vDHn3QKCRkQReV62/BWKc7cACgwmk1 nIMO1jmLk2bCpcjtjCDzRP0= =oIN3 -----END PGP SIGNATURE----- --vkogqOf2sHV7VnPd--