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 <[EMAIL PROTECTED]> To: Won De Erick <[EMAIL PROTECTED]> Cc: freeipmi-devel@gnu.org 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 [EMAIL PROTECTED] 925-422-5311 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