LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 9645|回复: 18

CPU温度过高,自动关机,如何解决?

[复制链接]
发表于 2006-2-15 10:59:33 | 显示全部楼层 |阅读模式
PC : IBM Thinkpad A22e + Debian Sarge

现在编译大一点的软件编译到一半就自动关机,关机前提示CPU温度过高,达到97C。
请问如何禁止这一功能,是哪个模块控制的?Debian下如何解决,(不考虑温度造成的负面影响)
主要代表就是编译LFS,mencoder DVD时都会因为温度过高而自动关机。。
发表于 2006-2-15 11:05:59 | 显示全部楼层
On Fri, Jun 27, 2003 at 10:36:49AM +0100, Paulo Lopes wrote:
> Hi,
>
> I've a debian woody system and although my system load is low, (i make a
> top and the i get arround 99.3% idle) my laptop burns my legs...

You don't mention which hardware, so I can't tell if that's normal (a
desktop chip being used in a mobile chassis, perhaps?) or an immediate
warning to seek out a laptop repair center.

They do make lap pillows with little raised feet to pluck your laptop
down on, though, so what your legs get is a pillow on top, and what your
laptop gets is slightlu raised so there's some airflow under it.

> I've enabled APM and the options Make Idle calls when Idle in the kernel
> but that doesn't seam to do anything... I runned windows on the laptop in
> the past and back then it didn't get so hot like with linux...

Windows doesn't run as much of a system as Linux does, on the average.
You could try using less energy drawing apps, e.g. Fvwm or another
middleweight WM instead of a full K or Gnome desktop, learning if
console mode runs cooler, etc.

APM on most *really* modern hardware is basically untested, since modern
MSwin flavors use custom ACPI drivers.

> Any tips for cooling it down? I've a P3 (not mobile)

Oh, that might do it.

Is this "I can heat my lunch iunder there" warm or "I had to get treated for
welts" hot?

> and i've tryed ACPI
> and i got the same issue...

ACPI requires each piece of equipment in your system to be involved,
toning down their usage for any of (I think it's 4) levels of operation.
As such, you'll have to keep an eue on the acpi4linux project to learn
how much you can do about it.  Then, you need to tone it down to the
level you want, when you need that.

> Is there any daemon or whatever app to force the CPU to idle and cool down?
>
> Thanks.
> Paulo Lopes

If it's an Intel you might be able to get it to speedstep down to its
slower mode.

If you don't use the console much you can edit a few of the extra getty
entires out of your /etc/inittab.  And you can set up one of the runlevels
to have a lot less running than your normal "plugged into the LAN" mode
where you have more going on.  Read the man page on update-rc.d to tune
that to your taste; I usually use either runlevel 4, or runlevels 7
through 9 (after creating them) for that.

Sorry but I can't offer a lot more than that without knowing what
hardware is involved.  Nonetheless I hope it helps somewhat.

* Heather Stern * star@ many places...
                * Starshine Technical Services -*- 800 938 407
回复 支持 反对

使用道具 举报

发表于 2006-2-15 11:09:29 | 显示全部楼层
你用的是什么CUP? Intel or AMD?

Athcool on Debian Sarge            Print             E-mail
I just upgraded my processor from an AMD Athlon XP 2000+ to an AMD Athlon XP 2700+. One mistake I made was in NOT ordering Arctic Silver at the same time. Also, I decided to get a new heatsink/fan, again, after I ordered the chip and that's not here yet either. However, things are ok. CPU came, 2 days later and sure enough it's a lot hotter. Runs like a dream but idles at 51°C. What the hell was I thinking?

When I changed the chips out I also scraped that layer of gook from the bottom of my current heatsink. I never had grease before so I just kept the pad of gook on when I got my last heatsink. It didn't run very hot, idling at 45°C. My Arctic Silver hasn't arrived yet so I'm running hot right now, well not really but I'll get to why in a moment.

When I cleaned the gook off of my heatsink I had nothing to replace it with - no Silver for my chip either. SO right now I've my new processor in, naked, with a smooth heatsink as well. Hence my idle temperatures. Under load it can get quite hot so I looked for a temporary solution. Fire up Synaptic...

The Debian software repository is terrific. If I decide I want to try or need to install a particular software application I can simply open Synaptic and either search for the package's name (huh - good luck) or by description. I searched to power down the processor and cool CPU. Each time I found athcool among the listed results.

A quick search on the web for athcool led me to a couple of forums and private sites. Among many of them was a warning about the program; this may happen, blah, blah, blah. I don't mean to make whimsy of a program's warning, just don't want to type it.

Anyway I installed and ran athcool. Cool, my computer didn't immediately explode. Great. *sigh*

Here's a list of supported chipsets:

athcool version 0.3.11
Supported Chipsets:
        [Reg ID]  chipsets name
        [ 0x00 ]  AMD-751
        [ 0x00 ]  AMD-761
        [ 0x01 ]  AMD-762
        [ 0x10 ]  VIA KX133
        [ 0x10 ]  VIA KX133
        [ 0x10 ]  VIA KLE133
        [ 0x10 ]  VIA KT133/KM133/KL133/KN133[A]
        [ 0x11 ]  VIA KT266/333[A]
        [ 0x11 ]  VIA KM266[A]/KL266/KM333
        [ 0x11 ]  VIA KN266
        [ 0x12 ]  VIA KT400[A]/KT600
        [ 0x12 ]  VIA KM400[A]
        [ 0x13 ]  VIA KT880
        [ 0x20 ]  SiS 730
        [ 0x20 ]  SiS 733
        [ 0x21 ]  SiS 735
        [ 0x21 ]  SiS 740
        [ 0x21 ]  SiS 741/741GX/M741
        [ 0x21 ]  SiS 745
        [ 0x21 ]  SiS 755
        [ 0x22 ]  SiS 746[FX]
        [ 0x22 ]  SiS 748
        [ 0x30 ]  nVIDIA nForce
        [ 0x31 ]  nVIDIA nForce2

Quick look up at xsensors revealed my CPU temp to be 48°C and dropping.

Woohoo!

But the joy was shortlived. Athcool caused my machine to lock up. Nothing short of a physical reset from the button on the front of my box would release my desktop. This locking was happening frequently.

I tried to force locking but that was erratic at best The only thing or event that was common to all the locks was quick mouse movement while Firefox was rendering a page, for example. As well, quick action in and between open programs produced locks. I lost at least 1 DVD because of this.

What I have found is that if I pace my behavior on the keyboard and while using the mouse I can prevent lock-ups. (knocks wood)

Thus far today I have been working all day with athcool on and cooling. Today I have suffered no lockups to this point.

But the point is that I'd be running a lot hotter right now without athcool and I'm glad that I installed it. It will do until I get some heat-grease to apply (geek love) to my processor.

Maybe athcool is for you maybe not. What do I know? It works for me and I'm sweating less for a while - idling at 51°C isn't where I want to be at. Right now, with athcool running, I'm at 40.0°C.

Then again who wants to run a machine subject to lockups?

Baaaa hahahahaha.

machiner - 17 sep 2005

Last Updated ( Sunday, 12 February 2006 )
回复 支持 反对

使用道具 举报

发表于 2006-2-15 11:12:13 | 显示全部楼层
呵呵,又一个同样命苦的……
如果你没有使用cpufreq实现频率自动调节,你可以查看一下cpufreq+powernowd实现speedstep。虽然在普通使用时能降低CPU温度,但是实际上在编译时CPU始终运行在最高频率上,speedstep是没什么用的。
如果你不嫌慢的话,可以强制cpufreq使用powersave规则,即始终运行在最低频率,一般就不会过热了。但是还是建议到维修部门修理下风扇,从根本解决。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-15 11:14:42 | 显示全部楼层
thanks skamedia,
1、In the BIOS ,i can low down the CPU speed, but i still wonder if there is a way for me to FORCE the thinkpad to work with max CPU speed and without concerning about the CPU temperature....
2、I remember when i compile the kernel before ,when config the kernel ,there're some FLAG for the temperature detection...and I think the temperature is something controled by a KERNEL MODULE , i just guess, so if someone know what the module is ,please let me know
3、appretiate for any anwsers...thanks a lot
回复 支持 反对

使用道具 举报

发表于 2006-2-15 11:16:49 | 显示全部楼层
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-15 11:20:12 | 显示全部楼层
To manphiz:
谢谢,你说的这种方法,就是在BIOS中设置使其强制降频,对吗?以前就听说了SpeedStep实际上是没什么用的。。
(ps:我的电脑从2米高的地方掉下来过,从那以后,风扇噪声就变大了,维修应该是根本。。)
To skamedia:
the CPU is Intel P3 mobile 900MHz SpeedStep
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-15 11:22:28 | 显示全部楼层
To:sikamedia
Thanks for your thread. now I see it more clear..:-)
=============
Thermal Management Support
=============
don't mark the above flag can make the kernel ignore the temperature?
if someone can tell me ?  :-?
回复 支持 反对

使用道具 举报

发表于 2006-2-15 11:25:21 | 显示全部楼层
Post by zwithersir
To manphiz:

(ps:我的电脑从2米高的地方掉下来过,从那以后,风扇噪声就变大了,维修应该是根本。。)
To skamedia:
the CPU is Intel P3 mobile 900MHz SpeedStep


我看,机箱整体都变形了。你的电脑还健在,里面没有摔得稀里哗啦,实在是不错。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-2-15 11:29:28 | 显示全部楼层
to: Wallace.lee
笔记本有一个角有一条很深的裂痕,风扇声音变的像洗衣机,光驱要多次按才能弹出来,其他还没什么。。。中途有一个凳子缓冲,好像是平着落地,当时我在上铺。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表