openhpi2 / Open-HPI-base

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
0 stars 1 forks source link

MicroTCA: Query IPMI device ID for AMC and Intelligent RMT #659

Open openhpi2 opened 13 years ago

openhpi2 commented 13 years ago

The fields in the SaHpiResourceInfoT are filled only for the MCH (MicroTCA Carrier Hub) and not for other FRUs (all fields are 0). This can be observed below:

  1. Partial output from hpitree:

Entity Path: {ADVANCEDTCA_CHASSIS,1}{SHELF_MANAGER,0}{SWITCH_BLADE,0}

EntryId: 55 ResourceId: 55 Resource Information: Resource Revision: 2 Device Support: 3e Manufacturer ID: Gesellschaft f<FC>r Netzwerk- und Automatisierungs-Technologie GmbH Product ID: 2819 Firmware Major Revision: 2 Firmware Minor Revision: 10 Entity Path: {ADVANCEDTCA_CHASSIS,1}{SHELF_MANAGER,0}{SWITCH_BLADE,0} ....

Entity Path: {ADVANCEDTCA_CHASSIS,1}{SUBBOARD_CARRIER_BLADE,1}{AMC,1}

EntryId: 58 ResourceId: 58 Resource Information: None Entity Path: {ADVANCEDTCA_CHASSIS,1}{SUBBOARD_CARRIER_BLADE,1}{AMC,1} Capabilities: CONTROL | FRU | INVENTORY_DATA | RDR | RESET | RESOURCE | SENSOR HotSwap Capabilities: None Resource Severity: OK ResourceFailed: FALSE ResourceTag: Data Type: TEXT Language: ENGLISH Data Length: 16 Data: A1:AM4020

...

  1. Output from my test utility.

Entity: {SWITCH_BLADE(65543)/0}{SHELF_MANAGER(65554)/0}{ADVANCEDTCA_CHASSIS(65539)/1} ResourceInfo: rev: 2 dev sup: 62 man-id: 0x6c78 prod-id: 0xb03 fw-rev: 2.a aux-rev: 0 guid: 00000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Entity: {AMC(65561)/1}{SUBBOARD_CARRIER_BLADE(65556)/1}{ADVANCEDTCA_CHASSIS(65539)/1} ResourceInfo: rev: 0 dev sup: 0 man-id: 0x0 prod-id: 0x0 fw-rev: 0.0 aux-rev: 0 guid: 00000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

  1. Output from ipmitool

ipmitool -I lan -H 10.0.3.105 -P "nat" -T 0x82 -t 0x72 -b 7 mc info

Device ID : 16 Device Revision : 0 Firmware Revision : 5.24 IPMI Version : 1.5 Manufacturer ID : 15000 Manufacturer Name : Kontron Product ID : 45824 (0xb300) Product Name : Unknown (0xB300) Device Available : yes Provides Device SDRs : yes Additional Device Support : Sensor Device FRU Inventory Device IPMB Event Receiver IPMB Event Generator Chassis Device Aux Firmware Rev Info : 0x16 0x01 0x00 0x00

Reported by: matejk72

openhpi2 commented 13 years ago

I will take a look at the latest code on trunk and try to implement the solution for this functionality.

Original comment by: matejk72