From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 17:06:51 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 00F998E6 for ; Mon, 31 Mar 2014 17:06:50 +0000 (UTC) Received: from smtp-vbr9.xs4all.nl (smtp-vbr9.xs4all.nl [194.109.24.29]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 87EC4AD0 for ; Mon, 31 Mar 2014 17:06:50 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr9.xs4all.nl (8.13.8/8.13.8) with ESMTP id s2VH6mCg053795; Mon, 31 Mar 2014 19:06:48 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id 4D14812343; Mon, 31 Mar 2014 19:06:48 +0200 (CEST) Date: Mon, 31 Mar 2014 19:06:48 +0200 From: Roland Smith To: Walter Hurry Subject: Re: CPU Overheating? Message-ID: <20140331170648.GB28635@slackbox.erewhon.home> Mail-Followup-To: Walter Hurry , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Mar 2014 17:06:51 -0000 --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 31, 2014 at 12:11:43AM +0000, Walter Hurry wrote: > I have a bog-standard Acer laptop with FreeBSD 9.2 (amd64). >=20 > CPU is AMD Athlon(tm) 64 X2 Dual-Core Processor TK-42 (1596.09-MHz K8-cl= ass CPU) per dmsg. >=20 > >From time to time, it shuts off without warning, as if the power cable h= as been pulled out. Nothing in any of the logs, and when I power up again i= t starts normally after replaying the journal. >=20 > The shut-off is invariably when it is doing a compile of a big port. I th= erefore suspect that the CPU is overheating and that the BIOS is causing th= e shutdown. >=20 > To investigate the problem, I have done a 'kldload coretemp' and am perio= dically running: > 'sysctl hw.acpi.thermal.tz0.temperature'. So far (only 6 runs) this is r= eporting temperatures between 76C and 84C. >=20 > Question 1: Is this the canonical way to monitor CPU temperature? It's OK. If you want to see all sysctls that are relevant, try: sysctl -a | grep temperature > Question 2: Is this too hot? It is quite hot for a system that is idling. I get around 48-50 =C2=B0C on = an Intel core 2. Check that the CPU fan is running and that the fan and heat-sink are clean. Dust blocking airflow through the heat-sink killed the GPU in my laptop las= t year. :-( > Question 3: I plan to load the module in /boot/loader.conf and set up a c= ron job to run every minute and log the result to a file. Is this sensible,= or overkill? You can also use programs like conky to show the temperature on your desktop (if you're running X11). Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --/NkBOFFp2J2Af1nK Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (FreeBSD) iQIcBAEBAgAGBQJTOaCoAAoJEED21dyjijPg1+oP/Riv2XM1sUGz6r8rkFhXUl75 9UPRPMayp4xhsOtVQQHC486nBAG49L/SiVTluUXzqtDQ5FlEoPuHz2/te3Wg5Qjb /u7+U4Mj77QPFd5mUH1iDlfFCmT8dBq5UUSrLSihjnxodEaePUb1m+1LQfTLM9s8 BxK2OujBjXWFj0QQS5HrHdOFDwHlgRhh0TycxKfd/imzsj/oOz9MSn1A84GJytgf 1zYOxftJLhXrK/30sb7Z053Lna3oHFHWnyOnMVkyKVfbRinn97UmKx8x/9BEfK82 n6eQxxlIiweiPEysj4oECu96KlCSJ1sLk8YdcmBTZE2IvrQTWm4C2G1T+/Y+Pjym HSWjAIgo9QshSHWlp79W6ZhrKmdbP8Fyk/Ay/0vdfoXmyTnAlWGLLFFk9Uk96nwy g/PB0ByOTKB02bpwWm1BeTcp/ATIK6ARx1yhrswamk9bL35y+yvYheKZTC1skas/ ZJBFPIMSyKrpv/ZJ9UljgWN1+W114NIrlvyhA6vTLBEYST5YLhdTiUz6IBAdhT5T SLaVBbMmv2shGloUlRyc3p2Al1cdtHSQJ//I4RH5hIsUzsRoqsBj0LUHSFA19n99 aKW+tSY6mAdfy0feAI6jqrklzWipNayNXNEm8kB+BQYJT5IctVOma1AMpa5pLeqb 1AsT19711Oa05RR3nXZK =2Z59 -----END PGP SIGNATURE----- --/NkBOFFp2J2Af1nK--