From owner-freebsd-stable@FreeBSD.ORG Tue Aug 11 07:24:12 2009 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F07E1065675 for ; Tue, 11 Aug 2009 07:24:12 +0000 (UTC) (envelope-from nakal@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id B97338FC3F for ; Tue, 11 Aug 2009 07:24:11 +0000 (UTC) Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate02.web.de (Postfix) with ESMTP id C5617112A1CFF; Tue, 11 Aug 2009 08:53:58 +0200 (CEST) Received: from [217.236.33.145] (helo=zelda.local) by smtp08.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.110 #314) id 1MalF8-0006rc-00; Tue, 11 Aug 2009 08:53:58 +0200 Date: Tue, 11 Aug 2009 08:53:55 +0200 From: Martin To: Christian Walther Message-ID: <20090811085355.79e428a7@zelda.local> In-Reply-To: <14989d6e0908101453i635bbf8fhf26094c3ad896c9c@mail.gmail.com> References: <14989d6e0908101453i635bbf8fhf26094c3ad896c9c@mail.gmail.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.5; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: nakal@web.de X-Sender: nakal@web.de X-Provags-ID: V01U2FsdGVkX19W2r42Ay+1wqvtmbPHsoCpv1inu1Ir+zcW9T9N g8u+TfvcWIO/HqL+EfzaqEE0S2G64ZdOGcxf26ZIG2mX4shJbJ nKAQxPpPM= Cc: stable@freebsd.org Subject: Re: Problem with IBM Thinkpad T30 shutting down due to high temperatures 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: Tue, 11 Aug 2009 07:24:12 -0000 Am Mon, 10 Aug 2009 23:53:10 +0200 schrieb Christian Walther : > What could I try next to prevent this from happening again? I guess > it's needless to say that rebuilding ports (for example after the jpeg > version bump) is next to impossible because it would require manual > intervention everytime the temperature reaches the limit... >=20 > I'm happy about any help I can get on this issue. Hi Christian, I've had this too with my T60p. The temperature when it shut down was 101=C2=B0C. Also while compiling ports on FreeBSD. Other OSes were fine on this laptop (around 90=C2=B0C when on high load). This seems to happen when using ATI based Thinkpads. The fan is for both CPU and GPU and the GPU runs idle at over 70=C2=B0C, because FreeBSD is missing any power saving modes that tune down the GPU voltage (this is the only way to keep the GPU cool). Also idle temperature with FreeBSD is very high, at around 70=C2=B0C instead of 50=C2=B0C on OSes that can use= power management for ATI mobile adapters. What to do? - check the fan and look if there is dust (clean it, but don't touch the fan too hard, because it will break!) - when compiling ports/world, make sure you have your laptop near fresh air - use a script that tunes down the frequency when temperature is above a sane level (it should tune up again, when it's sinking too far) and use it while doing some heavy things on FreeBSD I don't have the laptop anymore, because of this problem, but I still have the script. You have to check if it still works and tune the values for the temperatures and sysctls. I really don't care to make it an universal solution. http://bsdforen.pastebin.com/f331d2357 The perl script keeps a history of the temperature in last few seconds and tunes it according to the average, afair. It also prints the CPU temperature and the CPU speed. Have fun with it. ;) -- Martin