A7V8X-X and lm sensors
Hi
I have a A7V8X-X motherboard and I'm running kernel 2.4.21. I downloaded and tried the lm sensors 2.8.0.
I get the same wrong results as I saw somebody had reported already. However I played a bit with the temp_type setting of it87.
I'm ignoring Temp3:
If it do:
modprobe it87 temp_type=0x1c
or
modprobe it87 temp_type=0x38
I get:
sensors
eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at e800
Algorithm: Non-I2C SMBus adapter
Memory type: DDR SDRAM DIMM SPD
Memory size (MB): 256
it87-isa-0290
Adapter: ISA adapter
Algorithm: ISA algorithm
VCore 1: +1.68 V (min = +1.53 V, max = +1.87 V) VCore 2: +0.00 V (min = +2.25 V, max = +2.75 V) ALARM +3.3V: +6.58 V (min = +2.96 V, max = +3.60 V) ALARM +5V: +4.77 V (min = +4.50 V, max = +5.48 V) +12V: +12.32 V (min = +11.36 V, max = +13.80 V) -12V: -27.36 V (min = -15.86 V, max = -13.40 V) ALARM -5V: -13.64 V (min = -10.13 V, max = -9.44 V) ALARM Stdby: +4.99 V (min = +4.50 V, max = +5.48 V) VBat: +4.08 V fan1: 2800 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 Temp1/MB: +49?C (min = +20?C, max = +60?C) Temp2/CPU: +30?C (min = +20?C, max = +60?C) Temp3: +127?C (min = +20?C, max = +60?C)
BIOS reports that my MB temperature is about 30C and that the CPU is about 59C. So here is actually looks like Temp1 and Temp2 should be swapped. I don't know if this makes sense though. But when I tested I first checked with sensors some times and I saw it gave a stable temperature. Then I ran glxgears as this uses 100% cpu more or less. I could see that the temperature rose. Then I stopped it and opened the window as it was only 14C outside. I could now see that the Temperature was dropping again. After some time I saw that Temp2 dropped a couple of degrees too which makes sense as I hace also seen in the BIOS that the MB temp drops a bit when I open the window and air out well.
So what is looks like is that the temperature are swappend and that the CPU temperature needs adjustment to fit with the BIOS readings.
The fan1 speed looks right to me. I think the Voltage readings are correct too except for the +3.3V.
Hope this helps. If there is anything I can do to give you more information please let me know. I would like to be able to monitor the CPU temp on my computer form linux :-)
Keep up the good work.
Preben Randhol
Quoting Preben Randhol <[email protected]>:
Quoted 11 lines
Jean Delvare <[email protected]> wrote on 19/09/2003 (09:58) :
Quoted 2 lines
Anyway, you're always free to edit
/etc/sensors.confand use your favorite formula here, as long as it works for you.I understand. I have one tiny problem though. I want to use this formula:
compute temp1 (19.222-0.064912*@+0.017212*@*@),however I cannot compute this number back to @ as there is no sqrt function.
We introduced the exp and ln functions some months ago, so you could use them. The exp function is written ^ while the ln function is written . Since sqrt(x) is x at the power 1/2, and x at the power y is exp(y*ln(x)), you can use the forumla ^((@)/2) for sqrt (not sure how many levels of parenthesis are needed).
Quoted 2 lines
Why do one need to convert this number back? Can I only use @ after the comma?
The first part is used when reading values from the chip, while the second is used when writting to it. This is done each time you set a limit, so yes, this is required.
However, if the ^((`@)/2) trick above doesn't work, you could consider using the linear formula you were proposing the other time, instead of the more complex 2nd degree polynom, and get rid of the problem. It's unusual to have different (well, non-reciprocal) formulae on a given line, but that's one case were we could consider doing so.
Quoted 1 line
Thanks in advance.
You're welcome. Let us know when you come to a "definitive" formula, and we'll consider adding it to the default config file, or somewhere in our docs.
Signature · 5 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/ ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/
Quoted 10 lines
Ah good, because I can fit my data with an exp function (have some more
measurments now).13.71*(^(0.029116*@))
and back should be
((
@)-((13.71)))/0.029116
I suspect that (`(@/13.71))/0.029116 will be faster (untested).
Quoted 1 line
Oh? Something is written on the chip? Not dangerous I hope?
Same as when you write bytes to your hard disk drive. Not dangerous as long as what you do is really what you think you do. Monitoring chipsets are meant to be configured that way, and most of the time it works OK. Problems arise if you misdetected a chipset and then try writing a value, because the chipset will interpret the write in a different manner. More important problems come with chipsets that get corrupted when you write to them in a way they don't like, but this is not that frequent (or we would have stopped the project times ago).
So, to make it short, writing the limits to the chipset is OK, that's the way they are designed to work.
Quoted 11 lines
The formula above should fit with what the other person reported about at 40C. However it doesn't fit with his 8C observation when the BIOS reported 30C. Perhaps you could supply me with his e-mail address and I could ask him how his setup is and what temperatures he is measuring if he runs the CPU to different temperatures and then go fast to BIOS to read what it says there. Would also be nice to know what BIOS version he is using as there was a temperature tuning in on of the later BIOSes that I have flashed. I guess the reason why I have higher temperatures is that I use a controlled fan which will run faster as the temperature get higher whereas he might have a fan that is doing a fixed speed.
The (very short) relevant threads are here:
http://archives.andrew.net.au/lm-sensors/msg02813.html
http://archives.andrew.net.au/lm-sensors/msg02850.html
You'll find Gary's address in the first post.
Please CC: the list if your discussion is of public interest (and I believe it will be).
Quoted 3 lines
Another quick question. The BIOS reports VCORE at 1.63 while lm-sensors report 1.69. Should I leave it or should I adjust this value too?
Strange, never seen that before. You may tweak in0 if you want to. That's not very important though, as long as it's near enough of the nominal value. Maybe you could ask Gary about that too.
Signature · 5 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/ ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/
Preben Randhol <[email protected]> wrote on 18/09/2003 (17:36) :
Quoted 1 line
CPU temperature needs adjustment to fit with the BIOS readings.
I did some fast reboots after driving the T of the CPU up to certain temperatures measured by lm sensors. I then went into BIOS and checked it's temperature. I made a graph and I fitted the data. I have attached the graph if it can be helpful to you.
Best wishes,
Preben Randhol
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lm-sensors-a7v8x-x.ps
Type: application/postscript
Size: 125774 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20030918/2b3c9c6e/lm-sensors-a7v8x-x.ps
Quoted 8 lines
I have a A7V8X-X motherboard and I'm running kernel 2.4.21. I downloaded and tried the lm sensors 2.8.0.
I get the same wrong results as I saw somebody had reported already. However I played a bit with the
temp_typesetting of it87.I'm ignoring Temp3:
Yes, you have to.
Quoted 4 lines
If it do:
modprobe it87 temp_type=0x1c
or
modprobe it87 temp_type=0x38
(which is the same once temp3 is ignored)
Quoted 6 lines
I get:
it87-isa-0290 Adapter: ISA adapter Algorithm: ISA algorithm VCore 1: +1.68 V (min = +1.53 V, max = +1.87 V) VCore 2: +0.00 V (min = +2.25 V, max = +2.75 V) ALARM
I believe you should ignore VCore 2 (i.e. in1).
Quoted 1 line
+3.3V: +6.58 V (min = +2.96 V, max = +3.60 V) ALARM
This is a FAQ, there's a line to comment out in /etc/sensors.conf.
Quoted 4 lines
+5V: +4.77 V (min = +4.50 V, max = +5.48 V) +12V: +12.32 V (min = +11.36 V, max = +13.80 V) -12V: -27.36 V (min = -15.86 V, max = -13.40 V) ALARM -5V: -13.64 V (min = -10.13 V, max = -9.44 V) ALARM
We have an alternate formula in /etc/sensors.conf for in5 and in6, you could give them a try.
Quoted 9 lines
Stdby: +4.99 V (min = +4.50 V, max = +5.48 V) VBat: +4.08 V fan1: 2800 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 Temp1/MB: +49?C (min = +20?C, max = +60?C) Temp2/CPU: +30?C (min = +20?C, max = +60?C) Temp3: +127?C (min = +20?C, max = +60?C)
Quoted 3 lines
BIOS reports that my MB temperature is about 30C and that the CPU is about 59C. So here is actually looks like Temp1 and Temp2 should be swapped. I don't know if this makes sense though.
It does, and it is known to be true for the A7V8X-X. Motherboard manufacturers are free to link whichever sensor input to whatever they want (although we consider it a Bad Practice (TM)).
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 7 lines
Quoted 2 lines
CPU temperature needs adjustment to fit with the BIOS readings.
I did some fast reboots after driving the T of the CPU up to certain temperatures measured by lm sensors. I then went into BIOS and checked it's temperature. I made a graph and I fitted the data. I have attached the graph if it can be helpful to you.
One user with the same motherboard reported: "When running cpuburn or setiathome the cpu runs a bit hot and does agree with bios/setup at about 40 degrees C, when the cpu is idling sensors reports 8 degrees C while bios/setup reports about 30 degrees C." These values don't match either forula you were proposing.
Anyway, you're always free to edit /etc/sensors.conf and use your favorite formula here, as long as it works for you.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Jean Delvare <[email protected]> wrote on 19/09/2003 (09:58) :
Quoted 2 lines
Anyway, you're always free to edit
/etc/sensors.confand use your favorite formula here, as long as it works for you.
I understand. I have one tiny problem though. I want to use this formula:
compute temp1 (19.222-0.064912*@+0.017212*@*@),
however I cannot compute this number back to @ as there is no sqrt function. Why do one need to convert this number back? Can I only use @ after the comma?
Thanks in advance.
Signature · 2 lines
Preben Randhol ------------- http://www.pvv.org/~randhol/vim --
"Vim : simply the best text editor out there."Jean Delvare <[email protected]> wrote on 19/09/2003 (16:53) :
Quoted 5 lines
Quoted 5 lines
Ah good, because I can fit my data with an exp function (have some more
measurments now).
Quoted 7 lines
Quoted 5 lines
13.71*(^(0.029116*@))
and back should be
((
@)-((13.71)))/0.029116I suspect that (`(@/13.71))/0.029116 will be faster (untested).
Probably but it gives rounding errors. Tested in gnumeric.
Quoted 4 lines
The (very short) relevant threads are here:
http://archives.andrew.net.au/lm-sensors/msg02813.html
http://archives.andrew.net.au/lm-sensors/msg02850.html
You'll find Gary's address in the first post.
Thanks I'll contact him.
Quoted 2 lines
Please CC: the list if your discussion is of public interest (and I believe it will be).
Will keep you updated.
Signature · 2 lines
Preben Randhol ------------- http://www.pvv.org/~randhol/vim --
"Vim : simply the best text editor out there."Quoted 4 lines
Another thing. If the fan drops below 2500-2600 RPMs I only get 0 RPM with lm sensors. Why is that? Is that why my chassie fan (fan2) is constantly 0 RPM? It runs normally at around 1600
This is a FAQ, you need to increase the fan divisor.
--- 8< ---
4.1.1 Fans sometimes/always read 0!!
------------------------------------
You may not have a three-wire fan, which is required.
You may need to increase the 'fan divisor'. See `doc/fan-divisors'
in our package for further information.
--- 8< ---
Quoted 6 lines
I'm trying now to find other people her in scandinavia that uses the same motherboard and are willing to do tests to find the temperatures. have you had any experience that the temperature can be dependant of the CPU? I mean if somebody has a P4 or a AMD 2800+ XP etc would that influence the difference in the BIOS and lm sensors temperature reading?
Could be. That's uncommon, but Alex van Kaam (Motherboard Monitor's author) wrote to me this morning saying just this:
"I finally have the correct info for the EPIA M10000 temps, which uses the VT1211 sensor chip, they use a diffrent calculation per CPUID !!"
So, yes, some chips report different results depending on which CPU is plugged in. As a side effect, the differences with LM Sensors could be altered (although they do not have to be). I believe that the differences (between CPUs) are introduced to match their internal temperature sensor at best.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/
Quoted 8 lines
I got some temperatures from a couple of others. One had a bad case so he actually managed to run the CPU up to 84C (cpuburn). Told him to not do that and see to his computer.
Another had a fan running at 4000RPM so his temperature was 48. So my function is now:compute temp1 (-15.096+1.4893*@), (@+15.096)/1.4893
OK, I added the formula to our default configuration file.
Quoted 1 line
I can send you a plot showing how it fits with the data if you want.
No need for that, I trust you.
Quoted 2 lines
I haven't managed to find a new address of Gary. All traces stop in June. But I think that the 8C in BIOS must have been a typo of 28C.
That was in sensors, not BIOS. Possible that it was a typo however, and we can't confirm that now. Anyway, if your formula doesn't work for others, I guess we'll have feedback.
Quoted 1 line
HTH
Sure it did, thanks a lot.
Signature · 2 lines
Jean Delvare http://www.ensicaen.ismra.fr/~delvare/