From owner-freebsd-questions@FreeBSD.ORG Mon Mar 31 00:12:05 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A566FF71 for ; Mon, 31 Mar 2014 00:12:05 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 61771C8A for ; Mon, 31 Mar 2014 00:12:05 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WUPpU-00024s-Gt for freebsd-questions@freebsd.org; Mon, 31 Mar 2014 02:11:56 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginm.net ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Mar 2014 02:11:56 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 31 Mar 2014 02:11:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: CPU Overheating? Date: Mon, 31 Mar 2014 00:11:43 +0000 (UTC) Lines: 17 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginm.net User-Agent: XPN/1.2.6 (Street Spirit ; FreeBSD) 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 00:12:05 -0000 I have a bog-standard Acer laptop with FreeBSD 9.2 (amd64). CPU is AMD Athlon(tm) 64 X2 Dual-Core Processor TK-42 (1596.09-MHz K8-class CPU) per dmsg. >From time to time, it shuts off without warning, as if the power cable has been pulled out. Nothing in any of the logs, and when I power up again it starts normally after replaying the journal. The shut-off is invariably when it is doing a compile of a big port. I therefore suspect that the CPU is overheating and that the BIOS is causing the shutdown. To investigate the problem, I have done a 'kldload coretemp' and am periodically running: 'sysctl hw.acpi.thermal.tz0.temperature'. So far (only 6 runs) this is reporting temperatures between 76C and 84C. Question 1: Is this the canonical way to monitor CPU temperature? Question 2: Is this too hot? Question 3: I plan to load the module in /boot/loader.conf and set up a cron job to run every minute and log the result to a file. Is this sensible, or overkill? Thanks.