* [lm-sensors] w83627ehf reporting ghost fan?
@ 2007-04-11 1:21 Ankit Chaturvedi
2007-04-11 1:48 ` David Hubbard
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Ankit Chaturvedi @ 2007-04-11 1:21 UTC (permalink / raw)
To: lm-sensors
Hi,
I am having this message repeated in my kernel log over and over again :
------
[100817.346197] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
[100822.343770] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
[100827.339333] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
[100830.901327] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
[100832.334967] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
[100837.332900] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
------
I tried adding "ignore fanx" to sensors.conf, as I have only one 3 wire fan(CPU Fan) but the message still shows up. The relevent portion of my sensors.conf file is:
-------
label fan1 "Case Fan"
label fan2 "CPU Fan"
label fan3 "Aux Fan"
ignore fan3
ignore fan1
ignore fan4
ignore fan5
----
And the corresponding sensors output goes like this:
-----
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:
+35 C
Core1 Temp:
+37 C
w83627ehf-isa-0a10
Adapter: ISA adapter
VCore: +1.31 V (min = +0.00 V, max = +1.74 V)
in1: +12.46 V (min = +13.36 V, max = +6.49 V) ALARM
AVCC: +3.36 V (min = +3.06 V, max = +1.20 V) ALARM
3VCC: +3.36 V (min = +3.79 V, max = +2.80 V) ALARM
in4: +1.62 V (min = +0.91 V, max = +1.49 V) ALARM
in5: +1.62 V (min = +2.04 V, max = +1.51 V) ALARM
in6: +5.20 V (min = +6.53 V, max = +0.54 V) ALARM
VSB: +3.28 V (min = +1.90 V, max = +2.90 V) ALARM
VBAT: +3.04 V (min = +3.90 V, max = +3.68 V) ALARM
in9: +1.45 V (min = +1.26 V, max = +1.23 V) ALARM
CPU Fan: 4218 RPM (min = 892 RPM, div = 8)
Sys Temp: +38 C (high = -83 C, hyst = +105 C)
CPU Temp: +40.0 C (high = +80.0 C, hyst = +75.0 C)
AUX Temp: +41.0 C (high = +80.0 C, hyst = +75.0 C)
-------
Here only one fan(CPU Fan) is being listed. Earlier another fan(fan4) was also listed with div\x128 (probably the one referred to in kernel logs) which stopped showing up after adding "ignore fanx" to sensors.conf. But that did not stop printing the line in dmesg output. The sensors are working good otherwise, but it is really annoying as it fills up my whole kernel log, and after 30-40 mins of uptime, I don't have anything else remaining in dmesg output. Any ideas?
Also, any specific reason why the min and max values are interchanged? Should I set those manually in sensors.conf? Thanks in advance.
Regards,
Ankit Chaturvedi
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [lm-sensors] w83627ehf reporting ghost fan?
2007-04-11 1:21 [lm-sensors] w83627ehf reporting ghost fan? Ankit Chaturvedi
@ 2007-04-11 1:48 ` David Hubbard
2007-04-11 2:54 ` Ankit Chaturvedi
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: David Hubbard @ 2007-04-11 1:48 UTC (permalink / raw)
To: lm-sensors
Hi Ankit,
Thank you for reporting this. This issue has been reported before, and
I was unable to reproduce the error. I would like to track this down,
although it might be a little difficult. Can you please provide the
following information? (I am looking for the root cause)
Motherboard info: manufacturer, model number
CPU: manufacturer, model, speed
RAM installed
Graphics Card
How often have you seen this problem? Is it reproducible?
Would you also be able to sign on to irc.freenode.net #linux-sensors
on Saturday? (And if yes, what times?)
I have an Asus A8N-VM/CSM, with an AMD Athlon 64 X2 4400+, 1 Gb RAM,
and no graphics card (I use the integrated nVidia 6150 on the
A8N-VM/CSM).
Thanks,
David
On 4/10/07, Ankit Chaturvedi <ankit.chaturvedi@gmail.com> wrote:
> Hi,
> I am having this message repeated in my kernel log over and over again :
>
> ------
> [100817.346197] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
> [100822.343770] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
> [100827.339333] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
> [100830.901327] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
> [100832.334967] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
> [100837.332900] w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
> ------
> I tried adding "ignore fanx" to sensors.conf, as I have only one 3 wire fan(CPU Fan) but the message still shows up. The relevent portion of my sensors.conf file is:
>
> -------
> label fan1 "Case Fan"
> label fan2 "CPU Fan"
> label fan3 "Aux Fan"
> ignore fan3
> ignore fan1
> ignore fan4
> ignore fan5
> ----
> And the corresponding sensors output goes like this:
>
> -----
> k8temp-pci-00c3
> Adapter: PCI adapter
> Core0 Temp:
> +35 C
> Core1 Temp:
> +37 C
>
> w83627ehf-isa-0a10
> Adapter: ISA adapter
> VCore: +1.31 V (min = +0.00 V, max = +1.74 V)
> in1: +12.46 V (min = +13.36 V, max = +6.49 V) ALARM
> AVCC: +3.36 V (min = +3.06 V, max = +1.20 V) ALARM
> 3VCC: +3.36 V (min = +3.79 V, max = +2.80 V) ALARM
> in4: +1.62 V (min = +0.91 V, max = +1.49 V) ALARM
> in5: +1.62 V (min = +2.04 V, max = +1.51 V) ALARM
> in6: +5.20 V (min = +6.53 V, max = +0.54 V) ALARM
> VSB: +3.28 V (min = +1.90 V, max = +2.90 V) ALARM
> VBAT: +3.04 V (min = +3.90 V, max = +3.68 V) ALARM
> in9: +1.45 V (min = +1.26 V, max = +1.23 V) ALARM
> CPU Fan: 4218 RPM (min = 892 RPM, div = 8)
> Sys Temp: +38 C (high = -83 C, hyst = +105 C)
> CPU Temp: +40.0 C (high = +80.0 C, hyst = +75.0 C)
> AUX Temp: +41.0 C (high = +80.0 C, hyst = +75.0 C)
> -------
>
> Here only one fan(CPU Fan) is being listed. Earlier another fan(fan4) was also listed with div\x128 (probably the one referred to in kernel logs) which stopped showing up after adding "ignore fanx" to sensors.conf. But that did not stop printing the line in dmesg output. The sensors are working good otherwise, but it is really annoying as it fills up my whole kernel log, and after 30-40 mins of uptime, I don't have anything else remaining in dmesg output. Any ideas?
>
> Also, any specific reason why the min and max values are interchanged? Should I set those manually in sensors.conf? Thanks in advance.
>
> Regards,
> Ankit Chaturvedi
>
> _______________________________________________
> lm-sensors mailing list
> lm-sensors@lm-sensors.org
> http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
>
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [lm-sensors] w83627ehf reporting ghost fan?
2007-04-11 1:21 [lm-sensors] w83627ehf reporting ghost fan? Ankit Chaturvedi
2007-04-11 1:48 ` David Hubbard
@ 2007-04-11 2:54 ` Ankit Chaturvedi
2007-04-11 6:32 ` Jean Delvare
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Ankit Chaturvedi @ 2007-04-11 2:54 UTC (permalink / raw)
To: lm-sensors
David Hubbard wrote:
> Hi Ankit,
>
> Thank you for reporting this. This issue has been reported before, and
> I was unable to reproduce the error. I would like to track this down,
> although it might be a little difficult. Can you please provide the
> following information? (I am looking for the root cause)
>
> Motherboard info: manufacturer, model number
> CPU: manufacturer, model, speed
> RAM installed
> Graphics Card
>
> How often have you seen this problem? Is it reproducible?
>
> Would you also be able to sign on to irc.freenode.net #linux-sensors
> on Saturday? (And if yes, what times?)
>
> I have an Asus A8N-VM/CSM, with an AMD Athlon 64 X2 4400+, 1 Gb RAM,
> and no graphics card (I use the integrated nVidia 6150 on the
> A8N-VM/CSM).
>
> Thanks,
> David
>
---------------snip----------
Hi David,
I have this problem as soon as w83627ehf module gets loaded at boot and
it occurs every time. My system specs are:
Motherboard: MSI K8NGM2-IL (link:
http://global.msi.com.tw/index.php?func=proddesc&prod_no"4)
CPU: AMD Athlon 3500+ (2.2GHz)
RAM: 1GB (256 MB shared video mem)
Graphics Card: Geforce 6100 Integrated
OS: Gentoo Linux
On my earlier Mandriva setup with lm-sensors on the same system, this
problem never appeared. It has started out with Gentoo only. I am
attaching the sensors-detect log at the end. I will be on #linux-sensors
on Saturday since midnight(UTC) the whole time, I want to get to the
root at this too :) . Or you can decide a more favorable timeand let me
know.
sensors-detect log:
hunter ankit # sensors-detect
# sensors-detect revision 4171 (2006-09-24 03:37:01 -0700)
This program will help you determine which kernel modules you need
to load to use lm_sensors most effectively. It is generally safe
and recommended to accept the default answers to all questions,
unless you know what you're doing.
We can start with probing for (PCI) I2C or SMBus adapters.
Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-nforce2' for device 0000:00:0a.1: nVidia Corporation
nForce4 SMBus (MCP51)
We will now try to load each adapter module in turn.
Load `i2c-nforce2' (say NO if built into your kernel)? (YES/no):
FATAL: Module i2c_nforce2 not found.
Loading failed... skipping.
If you have undetectable or unsupported adapters, you can have them
scanned by manually loading the modules before running this script.
We are now going to do the I2C/SMBus adapter probings. Some chips may
be double detected; we choose the one with the highest confidence
value in that case.
If you found that the adapter hung after probing a certain address,
you can specify that address to remain unprobed.
Next adapter: NVIDIA i2c adapter 2 at 0:05.0
Do you want to scan it? (YES/no/selectively):
Next adapter: NVIDIA i2c adapter 1 at 0:05.0
Do you want to scan it? (YES/no/selectively):
Next adapter: NVIDIA i2c adapter 0 at 0:05.0
Do you want to scan it? (YES/no/selectively):
Client found at address 0x37
Client found at address 0x50
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Success!
(confidence 1, driver `eeprom')
Probing for `EDID EEPROM'... Success!
(confidence 8, driver `eeprom'), other addresses: 0x51 0x52 0x53
0x54 0x55 0x56 0x57
Probing for `Maxim MAX6900'... No
Client found at address 0x51
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Success!
(confidence 1, driver `eeprom')
Client found at address 0x52
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Success!
(confidence 1, driver `eeprom')
Client found at address 0x53
Probing for `Analog Devices ADM1033'... No
Probing for `Analog Devices ADM1034'... No
Probing for `SPD EEPROM'... Success!
(confidence 1, driver `eeprom')
Client found at address 0x54
Probing for `SPD EEPROM'... Success!
(confidence 1, driver `eeprom')
Client found at address 0x55
Probing for `SPD EEPROM'... Success!
(confidence 1, driver `eeprom')
Client found at address 0x56
Probing for `SPD EEPROM'... Success!
(confidence 1, driver `eeprom')
Client found at address 0x57
Probing for `SPD EEPROM'... Success!
(confidence 1, driver `eeprom')
Probing for `Sony Vaio EEPROM'... No
Next adapter: SMBus nForce2 adapter at 6000
Do you want to scan it? (YES/no/selectively):
Client found at address 0x08
Client found at address 0x2f
Probing for `National Semiconductor LM78'... No
Probing for `National Semiconductor LM78-J'... No
Probing for `National Semiconductor LM79'... No
Probing for `National Semiconductor LM80'... No
Probing for `Analog Devices ADT7470'... No
Probing for `Winbond W83781D'... No
Probing for `Winbond W83782D'... No
Probing for `Winbond W83792D'... No
Probing for `Winbond W83793R/G'... No
Probing for `Winbond W83791SD'... No
Probing for `Winbond W83627HF'... No
Probing for `Winbond W83627EHF'... No
Probing for `Winbond W83627DHG'... No
Probing for `Asus AS99127F (rev.1)'... No
Probing for `Asus AS99127F (rev.2)'... No
Probing for `Asus ASB100 Bach'... No
Probing for `Analog Devices ADM9240'... No
Probing for `Dallas Semiconductor DS1780'... No
Probing for `National Semiconductor LM81'... No
Probing for `Analog Devices ADM1029'... No
Probing for `ITE IT8712F'... No
Probing for `Fintek custom power control IC'... No
Probing for `Winbond W83791D'... No
Next adapter: SMBus nForce2 adapter at 5000
Do you want to scan it? (YES/no/selectively):
Client found at address 0x08
Client found at address 0x50
Handled by driver `eeprom' (already loaded), chip type `eeprom'
Next adapter: saa7133[0]
Do you want to scan it? (YES/no/selectively):
Client found at address 0x47
Handled by driver `ir-kbd-i2c' (already loaded), chip type `Pinnacle PCTV'
(note: this is probably NOT a sensor chip!)
Client found at address 0x4b
Handled by driver `tuner' (already loaded), chip type `tda8290+75a'
(note: this is probably NOT a sensor chip!)
Client found at address 0x50
Handled by driver `eeprom' (already loaded), chip type `eeprom'
Some chips are also accessible through the ISA I/O ports. We have to
write to arbitrary I/O ports to probe them. This is usually safe though.
Yes, you do have ISA I/O ports even if you do not have any ISA slots!
Do you want to scan the ISA I/O ports? (YES/no):
Probing for `National Semiconductor LM78' at 0x290... No
Probing for `National Semiconductor LM78-J' at 0x290... No
Probing for `National Semiconductor LM79' at 0x290... No
Probing for `Winbond W83781D' at 0x290... No
Probing for `Winbond W83782D' at 0x290... No
Probing for `Winbond W83627HF' at 0x290... No
Probing for `Silicon Integrated Systems SIS5595'... No
Probing for `VIA VT82C686 Integrated Sensors'... No
Probing for `VIA VT8231 Integrated Sensors'... No
Probing for `AMD K8 thermal sensors'... Success!
(confidence 9, driver `k8temp')
Probing for `IPMI BMC KCS' at 0xca0... No
Probing for `IPMI BMC SMIC' at 0xca8... No
Some Super I/O chips may also contain sensors. We have to write to
standard I/O ports to probe them. This is usually safe.
Do you want to scan for Super I/O sensors? (YES/no):
Probing for Super-I/O at 0x2e/0x2f
Trying family `ITE'... No
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... No
Probing for Super-I/O at 0x4e/0x4f
Trying family `ITE'... No
Trying family `National Semiconductor'... No
Trying family `SMSC'... No
Trying family `VIA/Winbond/Fintek'... Yes
Found `Winbond W83627EHF/EHG Super IO Sensors' Success!
(address 0xa10, driver `w83627ehf')
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `eeprom' (should be inserted):
Detects correctly:
* Bus `NVIDIA i2c adapter 0 at 0:05.0'
Busdriver `UNKNOWN', I2C address 0x50 (and 0x51 0x52 0x53 0x54 0x55
0x56 0x57)
Chip `EDID EEPROM' (confidence: 8)
* Bus `SMBus nForce2 adapter at 5000'
Busdriver `i2c-nforce2', I2C address 0x50
Chip `eeprom' (confidence: 6)
* Bus `saa7133[0]'
Busdriver `UNKNOWN', I2C address 0x50
Chip `eeprom' (confidence: 6)
EEPROMs are *NOT* sensors! They are data storage chips commonly
found on memory modules (SPD), in monitors (EDID), or in some
laptops, for example.
Driver `k8temp' (should be inserted):
Detects correctly:
* ISA bus, undetermined address (Busdriver `i2c-isa')
Chip `AMD K8 thermal sensors' (confidence: 9)
Driver `w83627ehf' (should be inserted):
Detects correctly:
* ISA bus address 0x0a10 (Busdriver `i2c-isa')
Chip `Winbond W83627EHF/EHG Super IO Sensors' (confidence: 9)
I will now generate the commands needed to load the required modules.
Just press ENTER to continue:
If you want to load the modules at startup, generate a config file
below and make sure lm_sensors gets started at boot time; e.g
$ rc-update add lm_sensors default
To make the sensors modules behave correctly, add these lines to
/etc/modules.d/lm_sensors and run modules-update:
#----cut here----
# I2C module options
alias char-major-89 i2c-dev
#----cut here----
If you have some drivers built into your kernel, the list above will
contain too many modules. Skip the appropriate ones! You really
should try these commands right now to make sure everything is
working properly. Monitoring programs won't work until the needed
modules are loaded.
To load everything that is needed, execute the commands below...
#----cut here----
# I2C adapter drivers
# modprobe unknown adapter saa7133[0]
# modprobe unknown adapter NVIDIA i2c adapter 0 at 0:05.0
# modprobe unknown adapter NVIDIA i2c adapter 1 at 0:05.0
# modprobe unknown adapter NVIDIA i2c adapter 2 at 0:05.0
modprobe i2c-nforce2
# Chip drivers
# Warning: the required module eeprom is not currently installed
# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe eeprom
# Warning: the required module k8temp is not currently installed
# on your system. For status of 2.6 kernel ports check
# http://www.lm-sensors.org/wiki/Devices. If driver is built
# into the kernel, or unavailable, comment out the following line.
modprobe k8temp
modprobe w83627ehf
# sleep 2 # optional
/usr/bin/sensors -s # recommended
#----end cut here----
Do you want to overwrite /etc/conf.d/lm_sensors? Enter s to specify
other file name?
(yes/NO/s):
----
Feel free to contact if you need any information from my side.
Regards,
Ankit Chaturvedi
(PS: Sorry for the ill formatted last post :) )
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [lm-sensors] w83627ehf reporting ghost fan?
2007-04-11 1:21 [lm-sensors] w83627ehf reporting ghost fan? Ankit Chaturvedi
2007-04-11 1:48 ` David Hubbard
2007-04-11 2:54 ` Ankit Chaturvedi
@ 2007-04-11 6:32 ` Jean Delvare
2007-04-11 13:40 ` Ankit Chaturvedi
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2007-04-11 6:32 UTC (permalink / raw)
To: lm-sensors
Hi Ankit, David,
On Wed, 11 Apr 2007 08:12:21 +0530, Ankit Chaturvedi wrote:
> David Hubbard wrote:
> > Thank you for reporting this. This issue has been reported before, and
> > I was unable to reproduce the error. I would like to track this down,
> > although it might be a little difficult. Can you please provide the
> > following information? (I am looking for the root cause)
> >
> > Motherboard info: manufacturer, model number
> > CPU: manufacturer, model, speed
> > RAM installed
> > Graphics Card
> >
> > How often have you seen this problem? Is it reproducible?
> >
> > Would you also be able to sign on to irc.freenode.net #linux-sensors
> > on Saturday? (And if yes, what times?)
> >
> > I have an Asus A8N-VM/CSM, with an AMD Athlon 64 X2 4400+, 1 Gb RAM,
> > and no graphics card (I use the integrated nVidia 6150 on the
> > A8N-VM/CSM).
>
> I have this problem as soon as w83627ehf module gets loaded at boot and
> it occurs every time. My system specs are:
>
> Motherboard: MSI K8NGM2-IL (link:
> http://global.msi.com.tw/index.php?func=proddesc&prod_no"4)
> CPU: AMD Athlon 3500+ (2.2GHz)
> RAM: 1GB (256 MB shared video mem)
> Graphics Card: Geforce 6100 Integrated
> OS: Gentoo Linux
>
> On my earlier Mandriva setup with lm-sensors on the same system, this
> problem never appeared. It has started out with Gentoo only. I am
> attaching the sensors-detect log at the end. I will be on #linux-sensors
> on Saturday since midnight(UTC) the whole time, I want to get to the
> root at this too :) . Or you can decide a more favorable timeand let me
> know.
The bug is probably mine, sorry about that. The following patch should
fix it. Ankit, can you please apply it to your kernel and report?
David, please review and comment.
[PATCH] hwmon/w83627ehf: Fix the fan5 clock divider write
Users have been complaining about the w83627ehf driver flooding their
logs with messages like:
w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
or:
w83627ehf 9191-0290: Increasing fan 4 clock divider from 4 to 8
The reason is that we failed to actually write the LSB of the encoded
clock divider value for that fan, causing the next read to report the
same old value again and again.
Additionally, the fan number was improperly reported, making the bug
harder to find.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
---
drivers/hwmon/w83627ehf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- linux-2.6.21-rc6.orig/drivers/hwmon/w83627ehf.c 2007-04-08 11:00:57.000000000 +0200
+++ linux-2.6.21-rc6/drivers/hwmon/w83627ehf.c 2007-04-11 08:12:02.000000000 +0200
@@ -407,7 +407,7 @@ static void w83627ehf_write_fan_div(stru
break;
case 4:
reg = (w83627ehf_read_value(client, W83627EHF_REG_DIODE) & 0x73)
- | ((data->fan_div[4] & 0x03) << 3)
+ | ((data->fan_div[4] & 0x03) << 2)
| ((data->fan_div[4] & 0x04) << 5);
w83627ehf_write_value(client, W83627EHF_REG_DIODE, reg);
break;
@@ -471,9 +471,9 @@ static struct w83627ehf_data *w83627ehf_
time */
if (data->fan[i] = 0xff
&& data->fan_div[i] < 0x07) {
- dev_dbg(&client->dev, "Increasing fan %d "
+ dev_dbg(&client->dev, "Increasing fan%d "
"clock divider from %u to %u\n",
- i, div_from_reg(data->fan_div[i]),
+ i + 1, div_from_reg(data->fan_div[i]),
div_from_reg(data->fan_div[i] + 1));
data->fan_div[i]++;
w83627ehf_write_fan_div(client, i);
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [lm-sensors] w83627ehf reporting ghost fan?
2007-04-11 1:21 [lm-sensors] w83627ehf reporting ghost fan? Ankit Chaturvedi
` (2 preceding siblings ...)
2007-04-11 6:32 ` Jean Delvare
@ 2007-04-11 13:40 ` Ankit Chaturvedi
2007-04-11 13:56 ` Jean Delvare
2007-04-11 15:46 ` Ankit Chaturvedi
5 siblings, 0 replies; 7+ messages in thread
From: Ankit Chaturvedi @ 2007-04-11 13:40 UTC (permalink / raw)
To: lm-sensors
Hi Jean, Deavid
Jean Delvare wrote:
> ---------snip
> The bug is probably mine, sorry about that. The following patch should
> fix it. Ankit, can you please apply it to your kernel and report?
> David, please review and comment.
>
> [PATCH] hwmon/w83627ehf: Fix the fan5 clock divider write
>
> Users have been complaining about the w83627ehf driver flooding their
> logs with messages like:
>
> w83627ehf 9191-0a10: Increasing fan 4 clock divider from 64 to 128
>
> or:
>
> w83627ehf 9191-0290: Increasing fan 4 clock divider from 4 to 8
>
> The reason is that we failed to actually write the LSB of the encoded
> clock divider value for that fan, causing the next read to report the
> same old value again and again.
>
> Additionally, the fan number was improperly reported, making the bug
> harder to find.
>
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
---snip
The patch did solve the problem, but not completely though. Fan4
messages are gone but there are similar new messages relating to
(inexistent) fan5 in the kernel log, as here:
ankit@hunter ~ $ dmesg |grep w83627ehf
[ 49.974556] w83627ehf 9191-0a10: Increasing fan5 clock divider from 8
to 16
[ 432.453209] w83627ehf 9191-0a10: Increasing fan5 clock divider from
16 to 32
[ 437.021310] w83627ehf 9191-0a10: Increasing fan5 clock divider from
32 to 64
[ 442.016396] w83627ehf 9191-0a10: Increasing fan5 clock divider from
64 to 128
I have "ignore fan5" set in sensors.conf, so I am guessing this is same
as the previous problem. But the messages are not flooding now. So far
so good. Thank you for the help. Any ideas about this new issue?
Regards,
Ankit Chaturvedi
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [lm-sensors] w83627ehf reporting ghost fan?
2007-04-11 1:21 [lm-sensors] w83627ehf reporting ghost fan? Ankit Chaturvedi
` (3 preceding siblings ...)
2007-04-11 13:40 ` Ankit Chaturvedi
@ 2007-04-11 13:56 ` Jean Delvare
2007-04-11 15:46 ` Ankit Chaturvedi
5 siblings, 0 replies; 7+ messages in thread
From: Jean Delvare @ 2007-04-11 13:56 UTC (permalink / raw)
To: lm-sensors
Hi Ankit,
On Wed, 11 Apr 2007 18:58:04 +0530, Ankit Chaturvedi wrote:
> The patch did solve the problem, but not completely though. Fan4
> messages are gone but there are similar new messages relating to
> (inexistent) fan5 in the kernel log, as here:
>
> ankit@hunter ~ $ dmesg |grep w83627ehf
> [ 49.974556] w83627ehf 9191-0a10: Increasing fan5 clock divider from 8
> to 16
> [ 432.453209] w83627ehf 9191-0a10: Increasing fan5 clock divider from
> 16 to 32
> [ 437.021310] w83627ehf 9191-0a10: Increasing fan5 clock divider from
> 32 to 64
> [ 442.016396] w83627ehf 9191-0a10: Increasing fan5 clock divider from
> 64 to 128
>
>
> I have "ignore fan5" set in sensors.conf, so I am guessing this is same
> as the previous problem. But the messages are not flooding now. So far
> so good. Thank you for the help. Any ideas about this new issue?
This isn't an issue, it works as designed. The ignore statement in your
configuration file is a user-space thing, the driver doesn't know about
it. The driver attempts to get a valid reading from the fan input,
until the clock divider hits the max (128), it cannot differentiate
between a very slow fan and no fan at all.
BTW, you get these messages in your logs because you asked for them.
These are debugging messages, normally not printed.
Thanks for testing and reporting, I'll push the patch upstream.
--
Jean Delvare
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [lm-sensors] w83627ehf reporting ghost fan?
2007-04-11 1:21 [lm-sensors] w83627ehf reporting ghost fan? Ankit Chaturvedi
` (4 preceding siblings ...)
2007-04-11 13:56 ` Jean Delvare
@ 2007-04-11 15:46 ` Ankit Chaturvedi
5 siblings, 0 replies; 7+ messages in thread
From: Ankit Chaturvedi @ 2007-04-11 15:46 UTC (permalink / raw)
To: lm-sensors
Hi Jean,
Jean Delvare wrote:
---snip
>
> This isn't an issue, it works as designed. The ignore statement in your
> configuration file is a user-space thing, the driver doesn't know about
> it. The driver attempts to get a valid reading from the fan input,
> until the clock divider hits the max (128), it cannot differentiate
> between a very slow fan and no fan at all.
Thanks for bringing this to light.
>
> BTW, you get these messages in your logs because you asked for them.
> These are debugging messages, normally not printed.
True. I enabled debug to get my CPU fan sensor to get the correct
divisor. On my earlier Mandriva(kernel 2.6.17-mdv) setup, it always set
the divisor to 4 and my monitors would go berserk. Back then I changed
the sensors.conf to correct that but this time (with kernel 2.6.19) it
just worked so I got interested.
>
> Thanks for testing and reporting, I'll push the patch upstream.
>
Great.
Regards,
Ankit Chaturvedi
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-04-11 15:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-11 1:21 [lm-sensors] w83627ehf reporting ghost fan? Ankit Chaturvedi
2007-04-11 1:48 ` David Hubbard
2007-04-11 2:54 ` Ankit Chaturvedi
2007-04-11 6:32 ` Jean Delvare
2007-04-11 13:40 ` Ankit Chaturvedi
2007-04-11 13:56 ` Jean Delvare
2007-04-11 15:46 ` Ankit Chaturvedi
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.