freeipmi-devel
[Top][All Lists]
Advanced

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

[Freeipmi-devel] Re: Obtain an error when changing a threshold value...


From: Won De Erick
Subject: [Freeipmi-devel] Re: Obtain an error when changing a threshold value... but "echo $" returns "0" value
Date: Mon, 6 Oct 2008 04:14:14 -0700 (PDT)

Hi All,

With FBSD6.2 + FreeIPMIv0.6.9 on IBM x3650, I was trying to change the Lower_Non_Recoverable_Threshold for a fan. No error message was displayed but the intended value was not reflected on the new config. See the results below.


# ipmi-sensors-config -o -S 4_Fan_1_Tach
Section 4_Fan_1_Tach
        ## Give valid input for sensor type = Fan; units = RPM
        Lower_Non_Critical_Threshold                 660.000000
        ## Give valid input for sensor type = Fan; units = RPM
        Lower_Critical_Threshold                     660.000000
        ## Give valid input for sensor type = Fan; units = RPM
        Lower_Non_Recoverable_Threshold              660.000000
EndSection

# ipmi-sensors-config -c -e 4_Fan_1_Tach:Lower_Non_Recoverable_Threshold=670

# echo $?
0

# ipmi-sensors-config -o -S 4_Fan_1_Tach
Section 4_Fan_1_Tach
        ## Give valid input for sensor type = Fan; units = RPM
        Lower_Non_Critical_Threshold                 660.000000
        ## Give valid input for sensor type = Fan; units = RPM
        Lower_Critical_Threshold                     660.000000
        ## Give valid input for sensor type = Fan; units = RPM
        Lower_Non_Recoverable_Threshold              660.000000
EndSection

Thanks,

Won




----- Original Message ----
From: Al Chu <address@hidden>
To: Won De Erick <address@hidden>
Cc: address@hidden
Sent: Tuesday, September 23, 2008 12:04:37 AM
Subject: Re: Obtain an error when changing a threshold value... but "echo $" returns "0" value

Hey Won,

Ahhh, good catch.  I see the corner case on this one.  I'll fix it up.

Thanks,
Al

On Sun, 2008-09-21 at 23:26 -0700, Won De Erick wrote:
> Hi Al,
>
> Box/Platform: IBM x3650, freebsd 6.2, freeipmiv0.6.6
>
> I was trying to change the threshold value for a fan (see below), but
> got an error.
> This is OK. However, what I was expecting to receive is a non-zero
> return value to distinguish it from the one without an error message.
>
> ~# ipmi-sensors-config -o -S 16_Fan_9_Tach
> Section 16_Fan_9_Tach
>        ## Give valid input for sensor type = Fan; units = RPM
>        ## Lower_Critical_Threshold                  750.000000
> EndSection
>
> ~# echo $?
> 0
>
> ~# ipmi-sensors-config -c -e
> 16_Fan_9_Tach:Lower_Critical_Threshold=760.00000
> ERROR: `16_Fan_9_Tach:Lower_Critical_Threshold' is not writeable
>
> ~# echo $?
> 0
>
> Thanks again,
>
> Won
>
>
--
Albert Chu
address@hidden
925-422-5311
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory



reply via email to

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