Hello there,

Firstly let me say that this is just user problem in that I dont know
how i should use ipmitool.

I would like to use ipmitool to send a uTCA "power channel control"
message to a power unit via the MCH, followed by a "get power channel
status" message. As far as I can tell the MCH is essentially a BMC.

So I know that by sending the following I am able to control the power channels.
eg to enable maintanence power to channel 0x05

0x24 = power channel control cmd
0x00 = picmg
0x05 = channel 5
0x01 = enable maintainence power
0x00 = current limit 00 if not used
0x03 = primary power unit
0x00 = redundant power unit 00 if not used

ipmitool -t 0x82 -H 192.168.0.253 -I lan -A NONE raw 0x06 0x34 0x47
0xc6 0xb0 0x8a 0x81 0x10 0x24 0x00 0x05 0x01 0x00 0x03 0x00

then I would like to issue the get power status command to see if it
was successfull
ipmitool -t 0x82 -H 192.168.0.253 -I lan -A NONE raw 0x06 0x34 0x47
0xc6 0xb0 0x8a 0x81 0x10 0x25 0x00 0x05 0x01 0x00


Get power channel status format
1      PICMG Identifier. Indicates that this is a PICMG-defined group extension
command. A value of 00h shall be used.
2      Starting Power Channel Number.
This field specifies the first Power Channel number for which to return status.
3      Power Channel Count.
This field specifies the number of Power Channels for which to return status.

------------------------------------------------------
Response data
1      Completion Code.
2      PICMG Identifier. Indicates that this is a PICMG-defined group extension
       command. A value of 00h shall be used.
3       Max Power Channel Number.
This field indicates the max Power Channel number supported by the PM.
4       Global Status. Bit Field: This field indicates the global
status of the PM.
       [7:4] - Reserved, write as 0h.
       [3] - Unidentified Fault.
               1b = Redundant PM is providing Payload Power current
               0b = Redundant PM is not providing Payload Power current
       [2] - Payload Power Good.
               1b = Payload Power is good
               0b = Payload Power is not good to one or more Power
Channels supplied
      [ 1] - Management Power Good.
              1b = Management Power is good
              0b = Management Power is not good Power Channels
supplied by the PM
      [0] - Role.
             1b = Primary
             0b = Redundant
Power Channel Status. This field indicates the status of the given Power
Channel for this PM.

For Each channel =
[7] - Reserved, write as 0b.
[6] - PWR_ON.
1b = PWR_ON is asserted
0b = PWR_ON is not asserted or not supported by this Power Channel
[5] - Payload Power Overcurrent.
1b = A Payload Power overcurrent condition has been detected
0b = A Payload Power overcurrent condition has not been detected
[4] - Payload Power.
1b = Payload Power is enabled
0b = Payload Power is disabled
[3] - Enable.
1b = ENABLE# is asserted
0b = ENABLE# is not asserted
[2] - Management Power Overcurrent.
1b = A Management Power overcurrent condition has been detected
0b = A Management Power overcurrent condition has not been detected
[1] - Management Power.
1b = Management Power is enabled
0b = Management Power is not enabled
[0] - Present.
1b = PS1# is asserted
0b = PS1# is not asserted

------------------------------------------------------------
My question is what do I have to do to get the actual response data, I
have tried get message but  ipmitool changes my   get message cmd 0x34
for a send message command.

I have tried putting these commands in a text file and "exec"ing them
so that they have the same session number.
Also it seems strange that I am bridging the get message command
shouldnt it be directed directly to the MCH/BMC?

Any suggestions or comments would be appreciated.

Many thanks
Peter Scott

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to