Cstm and gsp conflict on power status

Hello all,
I have a case where the power supply in slot 1 was replaced last week as it had failed. Prior to that it was showing failed in cstm:

Cabinet 0 Hardware Inventory:
   Component                        Present   Failure    State
   ---------                        -------   -------   -------
   Cabinet Fans (blowers)               8         0     unknown
   Cabinet Power Supplies               3         1     unknown
   I/O Power Supplies                   0
   BackPlane Power Supplies             0

   unknown - Firmware is unable to determine the state of the hardware.

Cabinet 0 Slot Locations:
                   Hardware Component Map (locations 00-31)
       -----------------------------------------------------------------
       |0|0|0|0|0|0|0|0|0|0|1|1|1|1|1|1|1|1|1|1|2|2|2|2|2|2|2|2|2|2|3|3|
       |0|1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0|1|
       |-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
cf(b)  |p|p|p|p|p|p|p|p| | | | | | | | | | | | | | | | | | | | | | | | |
cps    |p|F|p| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
       -----------------------------------------------------------------
       s - Slot available for the hardware component.
       p - Component present at the marked location.
       F - Component failed at the marked location.
cf(b)- Cabinet Fan (blower)
cps  - Cabinet Power Supply

as well as from the GSP:

GSP> ps
PS
Power Monitor Status:
Firmware Revision : 3
System Power state: On            Power Switch      : On         
Temperature       : Normal        Selected fan state: Normal      

          Power supplies          |  Fan                          
 #  State          Type           |  States        
-----------------------------------------------------------
0  Normal          Type 0         | Normal         
1  Fault           Type 0         | Normal        
2  Normal          Type 0         | Normal         
3    -                -           | Normal        
4    -                -           | Normal        
5    -                -           | Normal         
6    -                -           | Normal         
7    -                -           | Normal         

After the replacement (the server has since been rebooted), the GSP shows slot 1 as normal:

GSP> ps
PS
Power Monitor Status:
Firmware Revision : 3
System Power state: On            Power Switch      : On
Temperature       : Normal        Selected fan state: Normal

          Power supplies          |  Fan
 #  State          Type           |  States
-----------------------------------------------------------
0  Normal          Type 0         | Normal
1  Normal          Type 0         | Normal
2  Normal          Type 0         | Normal
3    -                -           | Normal
4    -                -           | Normal
5    -                -           | Normal
6    -                -           | Normal
7    -                -           | Normal

but cstm still shows slot 1 as failed:

Cabinet 0

Cabinet 0 Hardware Inventory:
   Component                        Present   Failure    State
   ---------                        -------   -------   -------
   Cabinet Fans (blowers)               8         0     unknown
   Cabinet Power Supplies               3         1     unknown
   I/O Power Supplies                   0
   BackPlane Power Supplies             0

   unknown - Firmware is unable to determine the state of the hardware.

Cabinet 0 Slot Locations:
                   Hardware Component Map (locations 00-31)
       -----------------------------------------------------------------
       |0|0|0|0|0|0|0|0|0|0|1|1|1|1|1|1|1|1|1|1|2|2|2|2|2|2|2|2|2|2|3|3|
       |0|1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0|1|
       |-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|
cf(b)  |p|p|p|p|p|p|p|p| | | | | | | | | | | | | | | | | | | | | | | | |
cps    |p|F|p| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
       -----------------------------------------------------------------
       s - Slot available for the hardware component.
       p - Component present at the marked location.
       F - Component failed at the marked location.
cf(b)- Cabinet Fan (blower)
cps  - Cabinet Power Supply

What am I supposed to clear to correct this conflict?

Thank you for your attention.

What system is this and OS version? Reminds me of old 11.11 issue... where cstm could not get update from GSM...

Sorry I left that out; you are correct, it is a very old HP-UX B.11.11 U 9000/800

Try:

stty +resetGSP </dev/GSPdiag1

And see if it changes something

The GSP shows, correctly, that slot 1 is "Normal" because the power supply has been replaced. Resetting the GSP with that command did nothing for the status in cstm which shows "component failed" (which it should not be).

Unfortunately I have no more HP boxes to look at... but I would suggest you look in /usr/sbin/stm/ui/config/.stmrc and see there if you have clues...

Good Luck

This was a misunderstanding on my part. I was under the assumption that cstm queried the system and generated its output at that time. This is not true.

When the status of a device changes, a log is generated at that time and cstm is used to read those logs.

Had I bothered to notice, the date that was at the very top of my cstm output was the date that the power supply failed and, therefore, it will always show as failed until another device changes state causing a new log generation OR I remove the logs.