lm-sensors
hardware (CPU temp, fan rpm...) monitoring tool. It can control maximun fan rpm.
Concerned post
Setting in UbuntuLinux
$ sudo apt-get install sensord $ sensors-detect $ sudo modprobe XXX (previous results) $ sensors
or http://ubuntuforums.org/showthread.php?t=2780