From owner-freebsd-current@freebsd.org Thu Jun 2 14:38:23 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 84127B60B3B for ; Thu, 2 Jun 2016 14:38:23 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4EF631748 for ; Thu, 2 Jun 2016 14:38:22 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 5DFAA1FE024; Thu, 2 Jun 2016 16:38:20 +0200 (CEST) Subject: Re: Suddenly poweroff in 11-Current r300097 To: RayCherng Yu , freebsd-current@freebsd.org References: From: Hans Petter Selasky Message-ID: <0448c751-8608-51ce-f47e-76280ebf14f2@selasky.org> Date: Thu, 2 Jun 2016 16:41:43 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Jun 2016 14:38:23 -0000 On 06/02/16 03:07, RayCherng Yu wrote: > I got a suddenly poweroff in r300097 (and previous revision in April and > May) when I built textproc/docproj. > My machine is Macbook Pro 13 2011 early. I have checked the Apple website. > My bios is the latest version. > Actually it also happened in 10.3-STABLE. > It happened when the machine load was heavy. Before it shutdown, the fan > started to run very loudly. After several seconds (20 or 30 seconds), my > laptop shutdown (poweroff directly) suddenly. It seems not happen with the > AC power supply connected. > > I installed both Mac OSX and FreeBSD (dual boot). It never happened in Mac > OSX. > > My dmesg: > http://pastebin.com/QjZmbGCB > > My sysctl hw.acpi: > > hw.acpi.acline: 0 > hw.acpi.battery.info_expire: 5 > hw.acpi.battery.units: 1 > hw.acpi.battery.state: 1 > hw.acpi.battery.time: 87 > hw.acpi.battery.life: 59 > hw.acpi.cpu.cx_lowest: C8 > hw.acpi.reset_video: 0 > hw.acpi.handle_reboot: 1 > hw.acpi.disable_on_reboot: 0 > hw.acpi.verbose: 0 > hw.acpi.s4bios: 0 > hw.acpi.sleep_delay: 1 > hw.acpi.suspend_state: S3 > hw.acpi.standby_state: NONE > hw.acpi.lid_switch_state: NONE > hw.acpi.sleep_button_state: S3 > hw.acpi.power_button_state: S5 > hw.acpi.supported_sleep_state: S3 S4 S5 > Hi, Do you have a temperature sysctl? Usually FreeBSD will shutdown the system if the ACPI temperature exceeds some value. Maybe it would be better to reduce the CPU load when the temperature goes up instead of facing a shutdown? --HPS