From owner-freebsd-acpi@FreeBSD.ORG Sat Feb 25 20:50:39 2006 Return-Path: X-Original-To: freebsd-acpi@freebsd.org 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 2B3DF16A422 for ; Sat, 25 Feb 2006 20:50:39 +0000 (GMT) (envelope-from creep@desk.pl) Received: from hera.desk.pl (hera.desk.pl [195.137.189.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 76C7243D4C for ; Sat, 25 Feb 2006 20:50:34 +0000 (GMT) (envelope-from creep@desk.pl) Received: from localhost (hera.local [127.0.0.1]) by hera.desk.pl (Postfix) with ESMTP id 7598F75C369 for ; Sat, 25 Feb 2006 21:46:59 +0100 (CET) Received: from hera.desk.pl ([127.0.0.1]) by localhost (hera [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17598-08 for ; Sat, 25 Feb 2006 21:46:57 +0100 (CET) Received: from [10.6.14.1] (sifr.dembego6.waw.pl [62.233.200.81]) by hera.desk.pl (Postfix) with ESMTP id 2E6E175C360 for ; Sat, 25 Feb 2006 21:46:57 +0100 (CET) Message-ID: <4400C2FD.7040907@desk.pl> Date: Sat, 25 Feb 2006 21:50:05 +0100 From: Marcin Koziej User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-acpi@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: Skaner Antywirusowy DESK.pl Subject: AMD64 Cool'n'quiet overheating. 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, 25 Feb 2006 20:50:39 -0000 Hello. I have a laptop with AMD Athlon 64 Processor 3700+, I use FreeBSD STABLE (6.1-PRERELEASE) and I have problems with cpu/fan throttling. I used acpi_ppc module by Fukada Nobuhiko's and it served me well when it comes to making the machine cool quickly and shutting down the fan to make it quiet -- unfortunately, it can only use the fan (no cpufreq), and the machine was overheating (hitting _CRT) under high load (eg. big builds), when acpi failed to enter passive cooling. I tried to use cpufreq based solutions: - acpi_cnq module made by Fukada Nabuhiko, but it panic's on kldload in both STABLE and CURRENT - passive-cooling patch / powered-thermal from http://www.imasy.or.jp/~ume/FreeBSD/ and powernow module by Bruno Ducrot, which works, but the fan is not strong enough -- not only it is almost always on (acpi_ppc was quiet most the time), but it sometimes failes to avoid the _CRT temperature, which shutdowns the system -- it tries to keep temp under _PSV, but the fan power used is too weak. Unfortunately, my hw.acpi.thermal looks like this: hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.tz0.temperature: 48.0C hw.acpi.thermal.tz0.active: -1 hw.acpi.thermal.tz0.passive_cooling: 1 hw.acpi.thermal.tz0.thermal_flags: 0 hw.acpi.thermal.tz0._PSV: 75.0C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 80.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz1.temperature: 50.0C hw.acpi.thermal.tz1.active: -1 hw.acpi.thermal.tz1.passive_cooling: 1 hw.acpi.thermal.tz1.thermal_flags: 0 hw.acpi.thermal.tz1._PSV: 90.0C hw.acpi.thermal.tz1._HOT: -1 hw.acpi.thermal.tz1._CRT: 97.0C hw.acpi.thermal.tz1._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 so there are no ACx levels to set -- I have dumped the asl and tried to add _AC0 methods (i'm not sure if it is possible, if they are all -1) and _AL0, but there is no FAN defined to put in _AL0 definition.. :( What can I do? I've searched google, freebsd lists, and even started reading the ACPI 2.0 spec, but i just can't make cpufreq version work as good as acpi_ppc. (Neither I can make acpi_cnq work - and I don't know with what address to add acpi_cnq module symbols in kgdb to get a good backtrace -- it panics fails on bad free()) Best regards Marcin Koziej P.S. I can provide any information requested -- I don't want to bloat this mail with acpidump/dmesg.