freeipmi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Al Chu
Subject: Re: [Freeipmi-devel] Last digit of threshold values, can't be changed?
Date: Wed, 10 Dec 2008 15:26:42 -0500

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
> address@hidden
> http:// lists.gnu.org/mailman/listinfo/freeipmi-devel
> 
-- 
Albert Chu
address@hidden
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory





reply via email to

[Prev in Thread] Current Thread [Next in Thread]