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.000001
> # 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.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Lower_Critical_Threshold                     -10.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Upper_Non_Critical_Threshold                 75.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Upper_Critical_Threshold                     80.000000
> EndSection
> 
> # ipmi-sensors-config -c -e 
> 24_Processor1_Temp:Upper_Non_Critical_Threshold=75.000010
> # 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.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Lower_Critical_Threshold                     -10.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Upper_Non_Critical_Threshold                 75.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Upper_Critical_Threshold                     80.000000
> EndSection
> 
> # ipmi-sensors-config -c -e 
> 24_Processor1_Temp:Upper_Non_Critical_Threshold=75.000010
> # 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.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Lower_Critical_Threshold                     -10.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Upper_Non_Critical_Threshold                 75.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Upper_Critical_Threshold                     80.000000
> EndSection
> 
> # ipmi-sensors-config -c -e 
> 24_Processor1_Temp:Upper_Non_Critical_Threshold=76.000010
> # 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.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Lower_Critical_Threshold                     -10.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Upper_Non_Critical_Threshold                 76.000000
>         ## Give valid input for sensor type = Temperature; units = degrees C
>         Upper_Critical_Threshold                     80.000000
> 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

Reply via email to