Re: [Freeipmi-devel] Last digit of threshold values, can't be changed?

2008-12-10 Thread Al Chu
Hey Won,

Yeah, it is.  The problem lies in the fact that the floating point
numbers must be mapped into their non-floating point equivalents when
being written to firmware and some accuracy can be lost b/c of the
reality of the range of numbers that can realistically be represented.

I have a note in the manpage about this.  Do you think I should make it
more clear?  Or perhaps I need to put something in the tool to make it
more apparent this can/will happen?

Al

On Tue, 2008-12-09 at 22:40 -0800, Won De Erick wrote:
 Hi,
 
 I noticed that when I changed the last digit of a threshold value, the new 
 value was not reflected when checking it out. 
 I did this to other sensor threshold values (those with a 0 or 00 last), and 
 same thing happened. Is this normal?
 
 # ipmi-sensors-config -c -e 
 24_Processor1_Temp:Upper_Non_Critical_Threshold=75.01
 # ipmi-sensors-config -o -S 24_Processor1_Temp
 Section 24_Processor1_Temp
 ## Give valid input for sensor type = Temperature; units = degrees C
 Lower_Non_Critical_Threshold -5.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Lower_Critical_Threshold -10.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Upper_Non_Critical_Threshold 75.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Upper_Critical_Threshold 80.00
 EndSection
 
 # ipmi-sensors-config -c -e 
 24_Processor1_Temp:Upper_Non_Critical_Threshold=75.10
 # ipmi-sensors-config -o -S 24_Processor1_Temp
 Section 24_Processor1_Temp
 ## Give valid input for sensor type = Temperature; units = degrees C
 Lower_Non_Critical_Threshold -5.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Lower_Critical_Threshold -10.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Upper_Non_Critical_Threshold 75.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Upper_Critical_Threshold 80.00
 EndSection
 
 # ipmi-sensors-config -c -e 
 24_Processor1_Temp:Upper_Non_Critical_Threshold=75.10
 # ipmi-sensors-config -o -S 24_Processor1_Temp
 Section 24_Processor1_Temp
 ## Give valid input for sensor type = Temperature; units = degrees C
 Lower_Non_Critical_Threshold -5.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Lower_Critical_Threshold -10.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Upper_Non_Critical_Threshold 75.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Upper_Critical_Threshold 80.00
 EndSection
 
 # ipmi-sensors-config -c -e 
 24_Processor1_Temp:Upper_Non_Critical_Threshold=76.10
 # ipmi-sensors-config -o -S 24_Processor1_Temp
 Section 24_Processor1_Temp
 ## Give valid input for sensor type = Temperature; units = degrees C
 Lower_Non_Critical_Threshold -5.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Lower_Critical_Threshold -10.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Upper_Non_Critical_Threshold 76.00
 ## Give valid input for sensor type = Temperature; units = degrees C
 Upper_Critical_Threshold 80.00
 EndSection
 
 
 
 Thanks,
 
 Won
 
 
 
   
 
 
 
 ___
 Freeipmi-devel mailing list
 Freeipmi-devel@gnu.org
 http:// lists.gnu.org/mailman/listinfo/freeipmi-devel
 
-- 
Albert Chu
[EMAIL PROTECTED]
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory



___
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/freeipmi-devel


[Freeipmi-devel] Last digit of threshold values, can't be changed?

2008-12-09 Thread Won De Erick
Hi,

I noticed that when I changed the last digit of a threshold value, the new 
value was not reflected when checking it out. I did this to other sensor 
threshold values (those with a 0 or 00 last), and same thing happened. Is this 
normal?

# ipmi-sensors-config -c -e 
24_Processor1_Temp:Upper_Non_Critical_Threshold=75.01
# ipmi-sensors-config -o -S 24_Processor1_Temp
Section 24_Processor1_Temp
## Give valid input for sensor type = Temperature; units = degrees C
Lower_Non_Critical_Threshold -5.00
## Give valid input for sensor type = Temperature; units = degrees C
Lower_Critical_Threshold -10.00
## Give valid input for sensor type = Temperature; units = degrees C
Upper_Non_Critical_Threshold 75.00
## Give valid input for sensor type = Temperature; units = degrees C
Upper_Critical_Threshold 80.00
EndSection

# ipmi-sensors-config -c -e 
24_Processor1_Temp:Upper_Non_Critical_Threshold=75.10
# ipmi-sensors-config -o -S 24_Processor1_Temp
Section 24_Processor1_Temp
## Give valid input for sensor type = Temperature; units = degrees C
Lower_Non_Critical_Threshold -5.00
## Give valid input for sensor type = Temperature; units = degrees C
Lower_Critical_Threshold -10.00
## Give valid input for sensor type = Temperature; units = degrees C
Upper_Non_Critical_Threshold 75.00
## Give valid input for sensor type = Temperature; units = degrees C
Upper_Critical_Threshold 80.00
EndSection

# ipmi-sensors-config -c -e 
24_Processor1_Temp:Upper_Non_Critical_Threshold=75.10
# ipmi-sensors-config -o -S 24_Processor1_Temp
Section 24_Processor1_Temp
## Give valid input for sensor type = Temperature; units = degrees C
Lower_Non_Critical_Threshold -5.00
## Give valid input for sensor type = Temperature; units = degrees C
Lower_Critical_Threshold -10.00
## Give valid input for sensor type = Temperature; units = degrees C
Upper_Non_Critical_Threshold 75.00
## Give valid input for sensor type = Temperature; units = degrees C
Upper_Critical_Threshold 80.00
EndSection

# ipmi-sensors-config -c -e 
24_Processor1_Temp:Upper_Non_Critical_Threshold=76.10
# ipmi-sensors-config -o -S 24_Processor1_Temp
Section 24_Processor1_Temp
## Give valid input for sensor type = Temperature; units = degrees C
Lower_Non_Critical_Threshold -5.00
## Give valid input for sensor type = Temperature; units = degrees C
Lower_Critical_Threshold -10.00
## Give valid input for sensor type = Temperature; units = degrees C
Upper_Non_Critical_Threshold 76.00
## Give valid input for sensor type = Temperature; units = degrees C
Upper_Critical_Threshold 80.00
EndSection



Thanks,

Won



  



___
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/freeipmi-devel