Skip to contentSkip to conversation

as99127f bug?

DISCUSSION Jean Delvare 2 participants 9 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 16 lines

as99127f-i2c-1-2d

Adapter: SMBus nForce2 adapter at 5500
Algorithm: Unavailable from sysfs
VCore 1:   +1.70 V  (min =  +1.49 V, max =  +1.81 V)              
VCore 2:   +1.70 V  (min =  +1.49 V, max =  +1.81 V)              
+3.3V:     +3.39 V  (min =  +2.98 V, max =  +3.63 V)              
+5V:       +4.95 V  (min =  +4.52 V, max =  +5.48 V)              
+12V:     +11.55 V  (min = +10.82 V, max = +13.13 V)              
-12V:     -12.14 V  (min =  -0.00 V, max =  -0.00 V)              
-5V:       -4.60 V  (min =  -0.00 V, max =  -0.00 V)              
fan1:     4927 RPM  (min = 3000 RPM, div = 2)              ALARM  
fan2:        0 RPM  (min = 3000 RPM, div = 2)              ALARM  
fan3:        0 RPM  (min = 3000 RPM, div = 2)              ALARM  
M/B Temp:    +39?C  (high =  +127?C, hyst =   +60?C)          
CPU Temp:  +28.0?C  (high =  +120?C, hyst =  +100?C)          
temp3:    +255.4?C  (high =  +100?C, hyst =  +100?C)          
Quoted 6 lines

vid: +1.650 V
alarms:
beep_enable:
Sound alarm enabled

M/B and CPU temp are swapped. CPU is 39 and MB 28

I doubt it. It would be physically difficult to do this, unless the monitoring chip is hardly tied to the CPU. This was never seen. temp1 (here displayed as "M/B Temp") is the monitoring chipset internal temperature. 39 degrees is exactly what I have for a similar chip here.

CPU Temp (temp2) is probably wrong. Take a look at the configuration file, there are three different formulae for temp2. Maybe you're using one that doesn't work for your motherboard. Try the other two.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#1 lore raw

Il dom, 2003-11-30 alle 13:45, Jean Delvare ha scritto:

Quoted 21 lines
Quoted 21 lines

as99127f-i2c-1-2d

Adapter: SMBus nForce2 adapter at 5500
Algorithm: Unavailable from sysfs
VCore 1:   +1.70 V  (min =  +1.49 V, max =  +1.81 V)              
VCore 2:   +1.70 V  (min =  +1.49 V, max =  +1.81 V)              
+3.3V:     +3.39 V  (min =  +2.98 V, max =  +3.63 V)              
+5V:       +4.95 V  (min =  +4.52 V, max =  +5.48 V)              
+12V:     +11.55 V  (min = +10.82 V, max = +13.13 V)              
-12V:     -12.14 V  (min =  -0.00 V, max =  -0.00 V)              
-5V:       -4.60 V  (min =  -0.00 V, max =  -0.00 V)              
fan1:     4927 RPM  (min = 3000 RPM, div = 2)              ALARM  
fan2:        0 RPM  (min = 3000 RPM, div = 2)              ALARM  
fan3:        0 RPM  (min = 3000 RPM, div = 2)              ALARM  
M/B Temp:    +39?C  (high =  +127?C, hyst =   +60?C)          
CPU Temp:  +28.0?C  (high =  +120?C, hyst =  +100?C)          
temp3:    +255.4?C  (high =  +100?C, hyst =  +100?C)          

vid: +1.650 V
alarms:
beep_enable:
Sound alarm enabled

Quoted 7 lines
Quoted 1 line

M/B and CPU temp are swapped. CPU is 39 and MB 28

I doubt it. It would be physically difficult to do this, unless the monitoring chip is hardly tied to the CPU. This was never seen. temp1 (here displayed as "M/B Temp") is the monitoring chipset internal temperature. 39 degrees is exactly what I have for a similar chip here.

No, the BIOS shows the temperatures *exactly* swapped
Also, fan1 is wrong. I use a thermaltake silent boost, it never reaches 3000 RPM

Quoted 3 lines

CPU Temp (temp2) is probably wrong. Take a look at the configuration file, there are three different formulae for temp2. Maybe you're using one that doesn't work for your motherboard. Try the other two.

I'm not using a configuration file (2.6 kernel if that matters)

Signature · 8 lines
Roberto Sebastiano <[email protected]>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?è?= firmata
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20031130/37230c9b/attachment.bin
#2 lore raw
In reply to Jean Delvare

Il dom, 2003-11-30 alle 15:24, Jean Delvare ha scritto:

Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 1 line

M/B and CPU temp are swapped. CPU is 39 and MB 28

I doubt it. It would be physically difficult to do this, unless the monitoring chip is hardly tied to the CPU. This was never seen. temp1(here displayed as "M/B Temp") is the monitoring chipset internal temperature. 39 degrees is exactly what I have for a similar chip here.

Quoted 6 lines
Quoted 1 line

No, the BIOS shows the temperatures *exactly* swapped

Strange. I'd be tempted to affirm that your BIOS is wrong. Please run some CPU-intensive task (kernel compilation, cpuburn, whatever) and see which temperature is raising. This is CPU temp.

I ran Folding@home, the temperature raising after a few minutes is M/B temp (temp1) (+6 C?), while temp2 is +0,5 C?

Quoted 5 lines

BTW, which motherboard is that? The more I learn about Asus, the more I think they are the worst brand when it comes to hardware monitoring. Not releasing data sheets is a first thing, using the chipsets in a completely wrong way is another. My next motherboard won't be an Asus.

A common Asus a7n8x-x

Quoted 4 lines
Quoted 2 lines

Also, fan1 is wrong. I use a thermaltake silent boost, it never reaches 3000 RPM

I'm clueless. What does the BIOS say about it?

That the fan spins at about 2300-2400 RPM (maybe num/2 ?)

Quoted 8 lines
Quoted 2 lines

I'm not using a configuration file (2.6 kernel if that matters)

I seriously doubt it. You wouldn't have labels such as "M/B Temp". Take a look, you probably have some (possibly old) /etc/sensors.conf file (or wherever that is on your system). If you don't believe me, try "sensors -c /dev/null" and you'll see what it really looks like without a configuration file.

You're right. Make user_install installed /etc/sensors.conf I reviewed the config file.
As stated for the a7n8x-deluxe motherboard, the a7n8x-x needs:

label temp1 "CPU Temp"
label temp2 "M/B Temp"

It also needs:
ignore temp3
label in0 "VCore"
ignore in1

Now, what it still doesn't work is fan speed
I tried setting fan1_div 4 *before* set fan1_min but I still see
"fan1: 5000 RPM (min = 3000 RPM, div = 2)"

What I don't understand is why you don't make smaller config files based on motherboards instead of one huge config file with all the chipsets configured. As more than one motherboard can use a chipset differently, this only huge config file will be surely wrong for some users

Having a 30 line sensors.asus_a7n8x-x.conf nicely preconfigured is better than a -probably wrong for my motherboard- 400 lines sensors.conf Also, this would incourage users to submit more config files

IMHO,

Signature · 8 lines
Roberto Sebastiano <[email protected]>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?è?= firmata
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20031130/041bdbde/attachment.bin
#3 lore raw
In reply to Jean Delvare

Il dom, 2003-11-30 alle 15:24, Jean Delvare ha scritto:

Quoted 4 lines
Quoted 2 lines

Also, fan1 is wrong. I use a thermaltake silent boost, it never reaches 3000 RPM

I'm clueless. What does the BIOS say about it?

For a7n8x-x fan1_div is surely 4
But:

with fan1_div 2 in /etc/sensors.conf

  newdeal:/home/robs# sensors -s
  newdeal:/home/robs# sensors
  ...
  as99127f-i2c-1-2d
  ...
  fan1:     5000 RPM  (min = 2657 RPM, div = 2)                     

with fan1_div 4 in /etc/sensors.conf

  newdeal:/home/robs# sensors -s
  newdeal:/home/robs# sensors
  eeprom-i2c-0-51
  ...
  as99127f-i2c-1-2d
  ...
  fan1:     2463 RPM  (min = 1328 RPM, div = 4)                     

(second run with no pause and no change in sensors.conf)

  newdeal:/home/robs# sensors
  ...
  as99127f-i2c-1-2d
  ...
  fan1:     4963 RPM  (min = 1328 RPM, div = 4)                     
Signature · 8 lines
Roberto Sebastiano <[email protected]>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?è?= firmata
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20031130/8613d573/attachment.bin
#4 lore raw
In reply to Jean Delvare

Il dom, 2003-11-30 alle 18:41, Jean Delvare ha scritto:

Quoted 5 lines

If you want sensors to match your BIOS readings, don't use fan divisors, use the following line in your configuration file instead:

   compute fan1  @/2,  2*@

Make a note to use that for a7n8x-x also

Thanks for the support,

Signature · 8 lines
Roberto Sebastiano <[email protected]>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Questa parte del messaggio =?ISO-8859-1?Q?è?= firmata
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20031130/56c8d1ed/attachment.bin
#5 lore raw
In reply to Jean Delvare
Quoted 9 lines
Quoted 7 lines
Quoted 1 line

M/B and CPU temp are swapped. CPU is 39 and MB 28

I doubt it. It would be physically difficult to do this, unless the monitoring chip is hardly tied to the CPU. This was never seen. temp1(here displayed as "M/B Temp") is the monitoring chipset internal temperature. 39 degrees is exactly what I have for a similar chip here.

No, the BIOS shows the temperatures *exactly* swapped

Strange. I'd be tempted to affirm that your BIOS is wrong. Please run some CPU-intensive task (kernel compilation, cpuburn, whatever) and see which temperature is raising. This is CPU temp.

BTW, which motherboard is that? The more I learn about Asus, the more I think they are the worst brand when it comes to hardware monitoring. Not releasing data sheets is a first thing, using the chipsets in a completely wrong way is another. My next motherboard won't be an Asus.

Quoted 2 lines

Also, fan1 is wrong. I use a thermaltake silent boost, it never reaches 3000 RPM

I'm clueless. What does the BIOS say about it?

Quoted 1 line

I'm not using a configuration file (2.6 kernel if that matters)

I seriously doubt it. You wouldn't have labels such as "M/B Temp". Take a look, you probably have some (possibly old) /etc/sensors.conf file (or wherever that is on your system). If you don't believe me, try "sensors -c /dev/null" and you'll see what it really looks like without a configuration file.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#6 lore raw
In reply to Jean Delvare
Quoted 3 lines

You're right. Make user_install installed /etc/sensors.conf I reviewed the config file.
As stated for the a7n8x-deluxe motherboard, the a7n8x-x needs:

Ha ha, that's funny. I think I'me the one who added this note some months ago, and I wouldn't remember that now. I've added the A7N8X-X to the list.

Quoted 10 lines

What I don't understand is why you don't make smaller config files based on motherboards instead of one huge config file with all the chipsets configured. As more than one motherboard can use a chipset differently, this only huge config file will be surely wrong for some users

Having a 30 line sensors.asus_a7n8x-x.conf nicely preconfigured is better than a -probably wrong for my motherboard- 400 lines sensors.conf Also, this would incourage users to submit more config files

You're perfectly right. Everybody agrees on that. What not everybody agrees on is how to solve the problem. Attempts have been made to set a database up, where people could submit their configuration files, but these projects never got completed.

You must understand that if we were to distribute individual configuration files, we would soon be flooded by people sending their configuration file or wanting us to update them. There are about 150 different motherboards available in my country at the moment. What's more, the configuration does not only depend on the motherboard name. It depends on the motherboard revision, additional thermal sensors, and fans. We just can't handle that many configuration files in our main package. When we add or modify a feature for a given chipset, we don't want to have twenty different files to modify. I think this is why the solution of a database was prefered, but that too requires time and hardware.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#7 lore raw
In reply to Jean Delvare
Quoted 1 line

For a7n8x-x fan1_div is surely 4

Depends on the fan itself, not the motherboard.

Quoted 18 lines

with fan1_div 2 in /etc/sensors.conf

  newdeal:/home/robs# sensors -s
  newdeal:/home/robs# sensors
  ...
  as99127f-i2c-1-2d
  ...
  fan1:     5000 RPM  (min = 2657 RPM, div = 2)                     

with fan1_div 4 in /etc/sensors.conf

  newdeal:/home/robs# sensors -s
  newdeal:/home/robs# sensors
  eeprom-i2c-0-51
  ...
  as99127f-i2c-1-2d
  ...
  fan1:     2463 RPM  (min = 1328 RPM, div = 4)                     
Quoted 6 lines

(second run with no pause and no change in sensors.conf)

  newdeal:/home/robs# sensors
  ...
  as99127f-i2c-1-2d
  ...
  fan1:     4963 RPM  (min = 1328 RPM, div = 4)                     

This is the expected behavior. When you set the divisor, you change a range vs. accuracy setting. You do *not* change the reported value. This might seem strange at first, but that's the way it goes. You might want to read doc/fan-divisors for more information. As you change the divisor from 2 to 4, you say to the chip: "instead of reporting 1 revolution every 2, now report 1 every 4 [1]". But this doesn't change the value stored in the register. You have to wait that the chipset writes a value there again, taking the new fan divisor into account. In your example above, the second time you run sensors, the chipset has been filling the register while divisor was set to 2, but the sensors program sees the divisor at 4, so it computes the value from the register as if the chipset has filled it with divisor 4, thus the bad value.

If you want sensors to match your BIOS readings, don't use fan divisors, use the following line in your configuration file instead:

compute fan1 @/2, 2*@

[1] Actually, most fans return two pulses for one rotation, thus the default divisor of 2.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#8 lore raw
In reply to Jean Delvare
Quoted 6 lines
Quoted 4 lines

If you want sensors to match your BIOS readings, don't use fan divisors, use the following line in your configuration file instead:

   compute fan1  @/2,  2*@

Make a note to use that for a7n8x-x also

Good idea, will do.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/