Date: Mon, 02 Jan 2012 13:00:11 +0900 From: Hajimu UMEMOTO <ume@freebsd.org> To: "Julian H. Stacey" <jhs@berklix.com> Cc: mav@freebsd.org, Gary Jennejohn <gljennjohn@googlemail.com>, "Clive Ashbolt \(Work\)" <clive.ashbolt@t-systems.com>, Boris Kochergin <spawk@acm.poly.edu>, mobile@freebsd.org, brucec@freebsd.org Subject: Re: powerd to use sysctl to import temps to drop freq to avoid heat crash Message-ID: <ygek45abvp0.wl%ume@mahoroba.org> In-Reply-To: <201201020313.q023DdG2051231@fire.js.berklix.net> References: <201201020313.q023DdG2051231@fire.js.berklix.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, >>>>> On Mon, 02 Jan 2012 04:13:38 +0100 >>>>> "Julian H. Stacey" <jhs@berklix.com> said: jhs> I propose to hack src/usr.sbin/powerd/powerd.c jhs> To import temperatures via sysctl, & if too high, to forcibly jhs> reduce CPU frequency, even if CPU load is high, jhs> because my new HP Pavillion notebook keeps over heating & crashing. jhs> dmesg & sysctl etc diagnostics at jhs> http://berklix.com/~jhs/hardware/hp/pavilion/dm3-1155ea/ jhs> CPU: AMD Athlon(tm) Neo X2 Dual Core Processor L335 (1595.96-MHz K8-class CPU) jhs> Origin = "AuthenticAMD" Id = 0x60fb2 Family = f Model = 6b Stepping = 2 jhs> Is this re-inventing the wheel ? jhs> Anyone else out there working on or know of similar code ? Yes, it is implemented already in the kernel, and it should be done by the ACPI passive cooling. It seems to me that your ACPI BIOS has it, and when the temperature of your CPU become over 90.0C, it will effect. hw.acpi.thermal.tz0.temperature: 67.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: 95.0C hw.acpi.thermal.tz0._CRT: 100.0C hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1 hw.acpi.thermal.tz0._TC1: 2 hw.acpi.thermal.tz0._TC2: 3 hw.acpi.thermal.tz0._TSP: 40 However, I'm not sure why your notebook keeps over heating & crashing. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ygek45abvp0.wl%ume>