Date: Thu, 02 Aug 2007 16:41:16 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: nate@root.org Cc: acpi@freebsd.org, freebsd-hackers@freebsd.org, ume@freebsd.org, gahr@gahr.ch Subject: Re: [patch] enhance powerd(8) to handle max temperature Message-ID: <20070802.164116.-1894448262.imp@bsdimp.com> In-Reply-To: <46B25AD0.70706@root.org> References: <46B20F91.5080709@root.org> <20070802.115713.71149193.imp@bsdimp.com> <46B25AD0.70706@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <46B25AD0.70706@root.org> Nate Lawson <nate@root.org> writes: : Warner Losh wrote: : > From: Nate Lawson <nate@root.org> : > Subject: Re: [patch] enhance powerd(8) to handle max temperature : > Date: Thu, 02 Aug 2007 10:08:33 -0700 : > : >> M. Warner Losh wrote: : >>> I keep getting the system shutting down on my HP by FreeBSD because : >>> the temperature exceeds the _CRT value. Maybe there's something wrong : >>> with my values, since it happens a lot: : >>> : >>> hw.acpi.thermal.min_runtime: 0 : >>> hw.acpi.thermal.polling_rate: 10 : >>> hw.acpi.thermal.user_override: 0 : >>> hw.acpi.thermal.tz0.temperature: 0.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: 90.0C : >>> hw.acpi.thermal.tz0._HOT: -1 : >>> hw.acpi.thermal.tz0._CRT: 94.0C : >>> hw.acpi.thermal.tz0._ACx: 40.0C -1 -1 -1 -1 -1 -1 -1 -1 -1 : >>> : >>> Note: temperature is always 0.0C. : >>> : >>> What can I do to help my situation, if I really want the kernel doing : >>> the cooling? : >> Your embedded controller is timing out. Thus you're getting a bogus : >> value for _TMP. : >> : >> Those settings for _CRT appear correct. It's the "measured" temperature : >> that is wrong. : > : > So how do I track down the problem? I'm tired of the system just : > shutting down when I'm building OOO or even something simpler like : > doing a buildworld... : : You do what's #1 on my list, which is rewrite the EC driver event model : (yet again) and figure out if it's possible to automatically detect : which workarounds are needed. Linux requires you to specify boot-time : flags to select polled or event-driven work. Hmmm. OK. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070802.164116.-1894448262.imp>