Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2004 09:24:15 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        freebsd-acpi@freebsd.org
Subject:   acpi_thermal consuming all CPU
Message-ID:  <20040816162415.GA16807@odin.ac.hmc.edu>

next in thread | raw e-mail | index | archive | help

--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--



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