All of lore.kernel.org
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] Whats wrong with LM-Sensors
Date: Sun, 08 Sep 2013 23:01:05 +0000	[thread overview]
Message-ID: <522D01B1.2090408@roeck-us.net> (raw)
In-Reply-To: <!&!AAAAAAAAAAAYAAAAAAAAAGE4UvMgtwJIpJJKF65P6VPCgAAAEAAAAEchc8MJx35LlZC8CEJITyEBAAAAAA==@tlec.se>

On 09/08/2013 02:47 PM, Tomas Larsson wrote:
>> -----Original Message-----
>> From: Guenter Roeck [mailto:linux@roeck-us.net]
>> Sent: Sunday, September 08, 2013 11:41 PM
>> To: Tomas Larsson; LM Sensors
>> Subject: Re: [lm-sensors] Whats wrong with LM-Sensors
>>
>> On 09/08/2013 02:27 PM, Tomas Larsson wrote:
>>>> -----Original Message-----
>>>> From: Guenter Roeck [mailto:linux@roeck-us.net]
>>>> Sent: Sunday, September 08, 2013 11:20 PM
>>>> To: Tomas Larsson
>>>> Cc: 'Jean Delvare'; lm-sensors@lm-sensors.org
>>>> Subject: Re: [lm-sensors] Whats wrong with LM-Sensors
>>>>
>>>> On 09/08/2013 01:01 PM, Tomas Larsson wrote:
>>>>>> -----Original Message-----
>>>>>> From: Jean Delvare [mailto:khali@linux-fr.org]
>>>>>> Sent: Sunday, September 08, 2013 9:10 PM
>>>>>> To: Guenter Roeck
>>>>>> Cc: Tomas Larsson; lm-sensors@lm-sensors.org
>>>>>> Subject: Re: [lm-sensors] Whats wrong with LM-Sensors
>>>>>>
>>>>>> On Sun, 08 Sep 2013 11:58:39 -0700, Guenter Roeck wrote:
>>>>>>> Different driver. Centos 6.4 uses the coretemp driver which gets
>>>>>>> the temperature from the CPU directly. Unfortunately, Centos 6.4
>>>>>>> is quite old when it comes to kernel version, and so is its
>>>>>>> coretemp
>>> driver.
>>>>>>> The displayed temperatures in your version are all wrong; the
>>>>>>> maximum
>>>>>> temperature for Atom 330 is 125 degrees C, not 90 degrees C.
>>>>>>> You'll have to add 35 degrees C to the displayed temperature.
>>>>>>>
>>>>>>> You could either update the coretemp driver to a later version to
>>>>>>> fix this, or add the offset to /etc/sensors3.conf.
>>>>>>>
>>>>>>> Note that CPU temperatures are notoriously unreliable.
>>>>>>
>>>>>> "Inaccurate in the low temperature range" is a better way to
>>>>>> describe the situation IMHO. The coretemp values are reliably
>>>>>> telling the user when the temperature gets too close to the high
> limit.
>>>>>>
>>>>>> --
>>>>>> Jean Delvare
>>>>>
>>>>> Well, I'm aware of that, what I want to know is when the fan fails,
>>>>> these 40mm fans are not that reliable, unfortunately.
>>>>
>>>> Not sure if you can use the cpu temperature to predict if the fans
>>>> are
>>> working
>>>> or not. The CPU can get pretty hot under load, even with the fans
> working.
>>>>
>>>> Your initial e-mail showed the fan speeds as 0. Are they broken or
>>>> turned
>>> off
>>>> or not connected to the fan speed sensors ?
>>>>
>>>> Guenter
>>>
>>> Haven't got a clue why it says that they are 0, they definitely work
>>> now (changed the fans today), They are 3-pins and connected to the
>>> correct header.
>>>
>>
>> Do you get a non-zero speed reported after replacing the fans ? If the
>> reported speed is still 0, I am not sure I understand what is going on.
>>
>> Guenter
>
> Yes.
> Haven't checked what BIOS reports though, if it reports any fan-speeds.
>

Number of possibilities. Looks like the chip doesn't monitor fan speeds if pwm is 0.
So you should check for that. File should be /sys/class/hwmon/hwmonX/pwmY,
where X is either 0 or 1 and Y is 1 and 2.

Second, it may be that the fan divisor value (same directory) is too low or too high.
Try setting it to different values. 1, 2. 4, and 8 are permitted.

Third, it may be that the preload value is off. It is controlled with the "fanX_min"
attribute. Try setting a lower minimum speed (eg 500). If that doesn't work,
set the minimum speed to something really high.

In other words, play with the _div and _min attributes to see if you can get
a speed output.

But of course checking the BIOS would be a really good idea.

Guenter


_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

  parent reply	other threads:[~2013-09-08 23:01 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-08 14:07 [lm-sensors] Whats wrong with LM-Sensors Tomas Larsson
2013-09-08 15:56 ` Guenter Roeck
2013-09-08 16:33 ` Tomas Larsson
2013-09-08 16:55 ` Guenter Roeck
2013-09-08 17:15 ` Tomas Larsson
2013-09-08 17:47 ` Guenter Roeck
2013-09-08 18:36 ` Tomas Larsson
2013-09-08 18:58 ` Guenter Roeck
2013-09-08 19:09 ` Jean Delvare
2013-09-08 20:01 ` Tomas Larsson
2013-09-08 21:19 ` Guenter Roeck
2013-09-08 21:28 ` Tomas Larsson
2013-09-08 21:40 ` Guenter Roeck
2013-09-08 21:47 ` Tomas Larsson
2013-09-08 23:01 ` Guenter Roeck [this message]
2013-09-09  6:44 ` Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=522D01B1.2090408@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.