[lm-sensors] CPU fan with full speed

Philipp Kraus philipp.kraus at flashpixx.de
Sat Jun 30 16:37:28 CEST 2012


On 2012-06-30 16:21:25 +0200, Guenter Roeck said:

> On Sat, Jun 30, 2012 at 04:06:39PM +0200, Philipp Kraus wrote:
>> On 2012-06-30 15:41:06 +0200, Guenter Roeck said:
>> 
>>> On Sat, Jun 30, 2012 at 07:52:06AM +0200, Philipp Kraus wrote:
>>>> Hello,
>>>> 
>>>> I'm using on a dual xeon system lmsensors and pwmconfig for listing
>>>> and controlling the fan speed.
>>>> Lmsensors is configurated and checks the temperature of the CPUs,
>>>> but the fans rotate every time with
>>>> full speed:
>>>> 
>>>> CPU1 Fan:    5555 RPM  (min = 2000 RPM)
>>>> CPU2 Fan:    5895 RPM  (min = 2000 RPM)
>>>> 
>>>> CPU 1 Temp:   +50.0 C  (high = +75.0 C, hyst = +60.0 C)  sensor = Intel PECI
>>>> CPU 2 Temp:   +53.0 C  (high = +75.0 C, hyst = +60.0 C)  sensor = Intel PECI
>>>> 
>>>> On booting up the fans have got around 2000 RPMs but some minuts the
>>>> system speeds up on idle status
>>>> Can you help me please to configure the options correctly, that the
>>>> RPMs are only gown up if needed?
>>>> 
>>> Hi Phil,
>>> 
>>> imagine you are an expert in the area. Then imagine someone sends you this
>>> e-mail. Do you think you would be able to help based on the information in the
>>> e-mail ?
>>> 
>>> Or, in other words, please provide sufficient information for
>>> people to actually
>>> be able to help. Kernel version, lm-sensors version, complete sensors command
>>> output, and all relevant configuration (including pwm configuration) would be
>>> a start.
>> 
>> 
>> Sorry my mistake, I have forgot to past the full data (it was a
>> little bit early on this morning and I was tired):
>> 
>> kernel version 3.2.11
>> lm sensors 3.3.1
>> Gentoo Linux 64 Bit
>> 
>> pmwconfig found this devices
>> hwmon0/device is i5k_amb
>> hwmon1/device is w83793
>> 
>> which are also used on lm sensors. The sensors config has stored
>> only the min/max values (the min values on the CPUs are set to 2000
>> RPM),
>> labels and some ignore values
>> 
>> Only the two kernel modules are build
>> CONFIG_SENSORS_I5K_AMB=m
>> CONFIG_SENSORS_W83793=m
>> all other are disabled
>> 
>> I hope this additional kernel modules are helpful:
>> CONFIG_THERMAL=m
>> CONFIG_THERMAL_HWMON=y
>> CONFIG_X86_THERMAL_VECTOR=y
>> CONFIG_ACPI_THERMAL=m
>> 
>> I don't know which option can be modifies to change this settings
>> and where I can start my search to find the problem. If I boot up
>> the system the CPU
>> fans do some "pulse", so the speed rises up and slows down, rise up, .......
>> If I run only once sensors the pulse is gone away, but the RPM increses
>> 
> Do you have "fancontrol" running ? If yes, pelase provide the configuration
> file. Also, please provide output of "grep . /sys/class/hwmon/hwmon1/device/*"
> and the output of the "sensors" command.

sensors shows:

i5k_amb-isa-0000
Adapter: ISA adapter
Ch. 0 DIMM 0:  +71.5 C  (low  = +92.0 C, high = +124.0 C)
Ch. 0 DIMM 1:  +72.0 C  (low  = +102.0 C, high = +124.0 C)
Ch. 1 DIMM 0:  +73.5 C  (low  = +92.0 C, high = +124.0 C)
Ch. 1 DIMM 1:  +65.0 C  (low  = +102.0 C, high = +124.0 C)

w83793-i2c-0-2f
Adapter: SMBus I801 adapter at 1100
VcoreA:       +1.07 V  (min =  +0.93 V, max =  +1.49 V)
VcoreB:       +1.07 V  (min =  +0.93 V, max =  +1.49 V)
in2:          +1.01 V  (min =  +1.00 V, max =  +1.33 V)
in3:          +0.53 V  (min =  +0.38 V, max =  +0.69 V)
in4:          +0.56 V  (min =  +0.50 V, max =  +1.65 V)
in5:          +3.41 V  (min =  +2.96 V, max =  +3.63 V)
in6:          +0.99 V  (min =  +0.90 V, max =  +1.10 V)
+5V:          +5.07 V  (min =  +4.52 V, max =  +5.50 V)
5VSB:         +5.12 V  (min =  +4.52 V, max =  +5.50 V)
Vbat:         +3.23 V  (min =  +2.70 V, max =  +3.30 V)
Front Fan1:  1914 RPM  (min = 1500 RPM)
Front Fan2:  2076 RPM  (min = 1500 RPM)
Rear Fan1:   1277 RPM  (min =  900 RPM)
CPU1 Fan:    6250 RPM  (min = 2000 RPM)
CPU2 Fan:    6221 RPM  (min = 2000 RPM)
CPU 1 Temp:   +52.0 C  (high = +75.0 C, hyst = +60.0 C)  sensor = Intel PECI
CPU 2 Temp:   +54.0 C  (high = +75.0 C, hyst = +60.0 C)  sensor = Intel PECI
RAM 1 Temp:   +75.2 C  (high = +87.0 C, hyst = +82.0 C)  sensor = Intel PECI
RAM 2 Temp:   +78.0 C  (high = +87.0 C, hyst = +82.0 C)  sensor = Intel PECI
System Temp:  +47.0 C  (high = +75.0 C, hyst = +70.0 C)  sensor = thermistor
cpu0_vid:    +2.050 V
intrusion0:  OK
beep_enable: disabled

the grep command shows
grep: /sys/class/hwmon/hwmon1/device/driver: Is a directory
grep: /sys/class/hwmon/hwmon1/device/hwmon: Is a directory
grep: /sys/class/hwmon/hwmon1/device/power: Is a directory
grep: /sys/class/hwmon/hwmon1/device/subsystem: Is a directory

and within the directory are the in*, pwm* temp* files

I have only configures lm sensors and setup the values with pwmconfig, 
that has create the /etc/fancontrol file with this content
INTERVAL=10
DEVPATH=hwmon1=devices/pci0000:00/0000:00:1f.3/i2c-0/0-002f
DEVNAME=hwmon1=w83793
FCTEMPS=
FCFANS=hwmon1/device/pwm2=
MINTEMP=
MAXTEMP=
MINSTART=
MINSTOP=

Thanks

Phil






More information about the lm-sensors mailing list