LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-29-2010, 06:48 PM   #1
Deimoz
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Question High temperature and fan speed


Greetings,

I'm relatively new to the wondrous world of Linux and I've been having a few issues with it recently. I have both Linux and Windows installed in a dual boot system and I've noticed the problem by comparing the fan noise and computer temperature while running them. To make sure this wasn't a distribution-specific problem I've tried quite a few. These are pretty much all of them: Ubuntu, Debian, Fedora, Arch, Zenwalk, Salix and Absolute. I've noticed the problem in all of these. I could say that the noise the fan makes while running Linux in idle is close to the noise it would make on Windows while running any recent game. Same goes for the temperature. I've tried using the BIOS' fan control features (toggling the "Silent" mode in both the Chasis and CPU fans) which made the fan almost inaudible in Windows (while in idle) but in Linux it still made quite a little bit of noise. I guess the above comparison would remain valid. The specifications of my computer are as it follows:

CPU: AMD Athlon x2 5200+
Graphics: ATi HD4890 1Gb
RAM: 3Gb Kingston DDR2-800
PSU: Corsair Tx650 650W

If you need the output of any Linux command, please let me know and I'll post it. Right now I have Debian installed. I suspect it might have something to do with some kernel modules that aren't being loaded (or perhaps are loaded and shouldn't be), but since I don't know all that much about Linux's insides your help would be gladly appreciated.

Thanks in advance,
Deimoz

Last edited by Deimoz; 07-29-2010 at 06:50 PM.
 
Old 07-29-2010, 07:52 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,337

Rep: Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380
Double-check that CPU frequency scaling is enabled and set to OnDemand.

The following directories should exist:

/sys/devices/system/cpu/cpu0/cpufreq/
/sys/devices/system/cpu/cpu1/cpufreq/

If they don't exist, enter modprobe powernow-k8 as root to enable CPU frequency scaling on your AMD CPU.

Then enter:

Code:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
cat /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
Each time, the output should be "ondemand." If it's not, enter:

Code:
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
Put the echo commands, and the modprobe command if needed, in your startup files.

Last edited by dugan; 07-29-2010 at 07:55 PM.
 
Old 08-02-2010, 05:05 AM   #3
Deimoz
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
First of all, thanks for your reply.

Ok, I've enabled CPU frequency scaling and it's set to OnDemand.

The frequency scaling is working: I've used
Code:
grep '^cpu MHz' /proc/cpuinfo
which returns 1000 while in idle (my CPU's frequency is 2600MHz).
There is no more excessive heating but the fan noise remains the same. Could another kernel module be necessary to control the fan speed?
 
Old 08-02-2010, 11:05 AM   #4
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,337

Rep: Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380Reputation: 5380
Try modprobe fan and modprobe thermal.
 
Old 08-03-2010, 09:14 AM   #5
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,957

Rep: Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434Reputation: 2434
Another useful bodge is to run sensors-detect, which will arrange for whatever needed modules to be loaded on boot up.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to read CPU temperature and fan speed using c++ anu_123 Linux - Newbie 3 05-09-2010 11:26 PM
Fan running at high speed gmartin Slackware 1 09-15-2009 12:30 AM
ACPI can't detect temperature and fan speed madonion87 Linux - Laptop and Netbook 1 11-21-2007 09:13 PM
Controlling fan speed according to temperature in Kubuntu 7.04 pashabear Linux - Laptop and Netbook 3 05-09-2007 01:00 PM
howto: control CPU fan speed and Northbridge fan speed? hedpe Linux - Software 2 04-18-2005 02:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration