From owner-freebsd-mobile@FreeBSD.ORG Mon Oct 8 10:36:04 2007 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66E8D16A419 for ; Mon, 8 Oct 2007 10:36:04 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 200EF13C481 for ; Mon, 8 Oct 2007 10:36:03 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 1516 invoked from network); 8 Oct 2007 05:36:03 -0500 Received: from 124-170-228-57.dyn.iinet.net.au (HELO localhost) (124.170.228.57) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 8 Oct 2007 05:36:02 -0500 Date: Mon, 8 Oct 2007 20:35:58 +1000 From: Norberto Meijome To: Lars Engels Message-ID: <20071008203558.022fd258@meijome.net> In-Reply-To: <20071008111601.kfrb6qt8isw4owc0@0x20.net> References: <20071008172756.2aed69e7@meijome.net> <20071008173604.1e449ca2@meijome.net> <20071008111601.kfrb6qt8isw4owc0@0x20.net> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mobile ML Subject: Re: Management of Thermal X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2007 10:36:04 -0000 On Mon, 08 Oct 2007 11:16:01 +0200 Lars Engels wrote: > your temperature values are a little bit too high. On my Notebook > (model name : Intel(R) Pentium(R) M processor 1.73GHz) the CPU is =20 > at between 50=B0C - 60=B0C when I use normal desktop applications and up = =20 > to 80=B0C when I compile something. hi again, Lars, No luck. I commented out: cpufreq_load=3D"YES" from /boot/loader.conf.local and added=20 powerd_flags=3D"-a adaptive -b adaptive" to my rc.conf (I already had powerd_enable=3D"YES". I rebooted the computer and went to the garage to get something. I came back after what must have been less than 5 minutes. I saw GDM close and the lapt= op shut down with CRIT temperature alert.: Oct 8 20:14:30 ayiin root: WARNING: system temperature too high, shutting = down soon! Oct 8 20:14:40 ayiin kernel: acpi_tz0: WARNING - current temperature (99.0= C) exceeds safe limits There were a couple of lines about something to do with _thermal, but it wa= s in full shutdown mode and couldn't catch them. they are not showing in the log= s. /var/log/messages shows the machine was up for under 2 minutes. I don't run anything on boot that will burn CPU (seti,etc... only on request, it was definitely not running) > You could open your case and look if there's dust in the airflow so =20 > the fans cannot blow out all the hot air. well, i can barely hear the fans at all. I am not sure if this is how it's supposed to be for Thinkpads... I will check regardles... but it seems to w= ork somewhat (i'm down to 57C now...) > I only use the powerd with "-a adaptive -b adaptive" flags. There =20 > should be no need for the cpufreq module. I am running it now again with cpufreq and powerd, with the flags as you sh= ow. my current sysctl reports $ sysctl hw.acpi hw.acpi.supported_sleep_state: S3 S4 S5 hw.acpi.power_button_state: S5 hw.acpi.sleep_button_state: S3 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.disable_on_reboot: 0 hw.acpi.handle_reboot: 0 hw.acpi.reset_video: 1 hw.acpi.cpu.cx_lowest: C1 hw.acpi.thermal.min_runtime: 0 hw.acpi.thermal.polling_rate: 10 hw.acpi.thermal.user_override: 0 hw.acpi.thermal.tz0.temperature: 60.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: 94.5C hw.acpi.thermal.tz0._HOT: -1 hw.acpi.thermal.tz0._CRT: 99.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.battery.life: 98 hw.acpi.battery.time: -1 hw.acpi.battery.state: 0 hw.acpi.battery.units: 1 hw.acpi.battery.info_expire: 5 hw.acpi.acline: 1 $ sysctl dev.cpu =20 dev.cpu.0.%desc: ACPI CPU dev.cpu.0.%driver: cpu dev.cpu.0.%location: handle=3D\_PR_.CPU_ dev.cpu.0.%pnpinfo: _HID=3Dnone _UID=3D0 dev.cpu.0.%parent: acpi0 dev.cpu.0.freq: 500 dev.cpu.0.freq_levels: 2000/27000 1750/23625 1600/22600 1400/19775 1333/196= 66 1166/17207 1066/16733 932/14641 800/13800 700/12075 600/10350 500/8625 4= 00/6900 300/5175 200/3450 100/1725 dev.cpu.0.cx_supported: C1/1 C2/1 C3/85 dev.cpu.0.cx_lowest: C1 dev.cpu.0.cx_usage: 100.00% 0.00% 0.00% related parts from dmesg: Oct 8 20:18:28 ayiin kernel: CPU: Intel(R) Pentium(R) M processor 2.00GHz = (1995.01-MHz 686-class CPU) Oct 8 20:18:28 ayiin kernel: Origin =3D "GenuineIntel" Id =3D 0x6d8 Step= ping =3D 8 Oct 8 20:18:28 ayiin kernel: Features=3D0xafe9fbff Oct 8 20:18:28 ayiin kernel: Features2=3D0x180 Oct 8 20:18:28 ayiin kernel: real memory =3D 1609433088 (1534 MB) Oct 8 20:18:28 ayiin kernel: avail memory =3D 1567961088 (1495 MB) Oct 8 20:18:28 ayiin kernel: wlan: mac acl policy registered Oct 8 20:18:28 ayiin kernel: kqemu version 0x00010300 Oct 8 20:18:28 ayiin kernel: kqemu: KQEMU installed, max_locked_mem=3D7814= 88kB. Oct 8 20:18:28 ayiin kernel: acpi0: on motherboard Oct 8 20:18:28 ayiin kernel: acpi_ec0: port 0x62,0x66 on acpi0 Oct 8 20:18:28 ayiin kernel: acpi0: Power Button (fixed) Oct 8 20:18:28 ayiin kernel: Timecounter "ACPI-fast" frequency 3579545 Hz = quality 1000 Oct 8 20:18:28 ayiin kernel: acpi_timer0: <24-bit timer at 3.579545MHz> po= rt 0x1008-0x100b on acpi0 Oct 8 20:18:28 ayiin kernel: cpu0: on acpi0 Oct 8 20:18:28 ayiin kernel: est0: = on cpu0 Oct 8 20:18:28 ayiin kernel: p4tcc0: on cp= u0 Oct 8 20:18:28 ayiin kernel: acpi_lid0: on acp= i0 Oct 8 20:18:28 ayiin kernel: acpi_button0: on acpi0 Oct 8 20:18:28 ayiin kernel: pcib0: port 0xcf8-0xcf= f on acpi0 Oct 8 20:18:28 ayiin kernel: pci0: on pcib0 Oct 8 20:18:28 ayiin kernel: pcib1: irq 11 at device= 1.0 on pci0 Oct 8 20:18:28 ayiin kernel: pci1: on pcib1 Oct 8 20:18:28 ayiin kernel: drm0: port 0x2= 000-0x20ff mem 0xc8000000-0xcfffffff,0xb0100000-0xb010ffff irq 11 at device= 0.0 on pci1 Oct 8 20:18:28 ayiin kernel: info: [drm] Initialized radeon 1.25.0 20060524 I am happy to keep trying / digging / getting some logging happening of temperature and... system load/cpu frequency? not sure what would be useful. Things i was thinking could help with this is tweaking of the _ACx and C1 values... but i'm not sure how to go about them... Not sure if it's relevant, but i have APIC disabled (ACPI is on, APIC is of= f). I'm happy to RTFM....but i don't know where that is :) cheers, B _________________________ {Beto|Norberto|Numard} Meijome "Any society that would give up a little liberty to gain a little security = will deserve neither and lose both." Benjamin Franklin I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.