From owner-freebsd-stable@FreeBSD.ORG Mon Apr 25 13:21:24 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9ADF5106566C for ; Mon, 25 Apr 2011 13:21:24 +0000 (UTC) (envelope-from freebsd@chillt.de) Received: from dd16434.kasserver.com (dd16434.kasserver.com [85.13.137.111]) by mx1.freebsd.org (Postfix) with ESMTP id 5CDBF8FC17 for ; Mon, 25 Apr 2011 13:21:24 +0000 (UTC) Received: from taiko.lan (ppp-94-44.21-151.libero.it [151.21.44.94]) by dd16434.kasserver.com (Postfix) with ESMTPSA id 0B304188603F; Mon, 25 Apr 2011 15:21:14 +0200 (CEST) Message-ID: <4DB5751B.2050903@chillt.de> Date: Mon, 25 Apr 2011 15:20:27 +0200 From: Bartosz Fabianowski User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110309 Thunderbird/3.1.9 MIME-Version: 1.0 To: Alexandre Kovalenko References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-stable@freebsd.org, Ian Smith , Jeremy Chadwick , John Subject: Re: System extremely slow under light load X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Apr 2011 13:21:24 -0000 > I am not sure tz0 is the real thermal zone, especially given values > of _tc1, _tc2 and _tsp. Temperature value (3001) looks suspicious as > well. I agree. tz0 looks entirely bogus. There is no second fan to control for it and I have no idea what it is supposed to be monitoring. > Can you, by any chance, put your ASL someplace accessible and provide > a description of what you have done to fix the temperature > reporting. Certainly. I have uploaded the files at [1] through [5]. The DSDT source returned by acpidump -d is at [1]. I modified this so that it can be compiled back into AML without errors or warnings. This modified source is at [2]. It contains no functional changes. The thermal zones are still broken. A variant with fixed tz1 is at [3]. For convenience, I have also uploaded diffs between these source files. [4] is the diff required to make the source compile (difference between [1] and [2]). [5] is the actual change I made to fix tz1 (difference between [2] and [3]). As you can see, all I did was to remove a bogus function that ends up always returning 0°C. > As the side note: I have seen and do own pieces of equipment that > use thermal zones to initiate critical shutdown for various and > unrelated reasons. In my case, the thermal zone and its various tripping points do correspond to the actual system fan. It is just that the BIOS enforces power management itself, ignoring ACPI - except for critical shutdown which appears to be triggered by ACPI only. - Bartosz [1] http://www.fabianowski.de/dsdt/decompiled.asl [2] http://www.fabianowski.de/dsdt/compilable.asl [3] http://www.fabianowski.de/dsdt/fixed.asl [4] http://www.fabianowski.de/dsdt/decompile_compilable.diff [5] http://www.fabianowski.de/dsdt/compilable_fixed.diff