IBM Support

Determining the DRC Index for a Card Slot

Troubleshooting


Problem

Some HMC commands (for example, chlwres) require that a physical I/O card slot be identified by a Dynamic Reconfiguration Connector index. The HMC system manager I/O panel shows only the card slot location codes rather than the DRC index. To determine the DRC index for a specific slot, use the lshwres command. This command allows the user to determine the DRC index for a slot by showing the slot location code, feature type, description, and DRC index.

Resolving The Problem

Some HMC commands (for example, CHLWRES) require that a physical I/O card slot be identified by a Dynamic Reconfiguration Connector index. The HMC system manager I/O panel shows only the card slot location codes rather than the DRC index. To determine the DRC index for a specific slot, use the lshwres command. This command allows the user to determine the DRC index for a slot by showing the slot location code, feature type, description, and DRC index.

Run the lshwres command by specifying the following parameters:

-mThis can be the managed system name or the managed system machine type serial number in the format of 9406-5x0*SSSSSSS where 5x0 is the model (520, 550, 570, and so on), and SSSSSSS is the serial number.
-r io
--rsubtype slotThis will output a large amount of information (every card in the system). The amount of information can be limited by applying a filter or specifying what information to return. See the lshwres manual pages for more information on the syntax of the command. To access the manual pages, use the man lshwres command.

Example: List all cards currently assigned to LPAR 1.
lshwres -m CS6520 -r io --rsubtype slot --filter "lpar_ids=1"

The output will include one entry for each card as shown below:
unit_phys_loc=U787A.001.DNZ0BWF,bus_id=3,phys_loc=C6,drc_index=21050003,
lpar_name=RCHASC6A,lpar_id=1,slot_io_pool_id=none,description=PCI I/O Processor,feature_codes=none,
pci_vendor_id=0000,pci_device_id=0000,pci_subs_vendor_id=0000,pci_subs_device_id=0000,pci_class=0000,pci_revision_id=00,bus_grouping=0,iop=1,vpd_stale=0,vpd_type=2844,vpd_model=001,vpd_serial_num=53-4234875,parent_slot_drc_index=21050003,
drc_name=U787A.001.DNZ0BWF-P1-C6

Example: List only the location code information and description for all cards on bus 2.
lshwres -m CS6520 -r io --rsubtype slot --filter "buses=2" -F drc_index,description,feature_codes,drc_name
21010002,Universal Serial Bus UHC Spec,none,U787A.001.DNZ0BWF-P1-T7
21020002,PCI 10/100/1000Mbps Ethernet UTP 2-port,"5706,643,643",U787A.001.DNZ0BWF-P1-T5
21030002,PCI I/O Processor,none,U787A.001.DNZ0BWF-P1-C1
21040002,PCI Twinaxial Workstation,"4746,4745,2772,2773,9771,608,609,610",U787A.001.DNZ0BWF-P1-C2
21050002,Empty slot,"0,0,0",U787A.001.DNZ0BWF-P1-C4

[{"Product":{"code":"SSB6AA","label":"Power System Hardware Management Console Physical Appliance"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"HMC","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"5.4.0;5.4.5;6.1.0;6.1.1","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Historical Number

396657801

Document Information

Modified date:
22 September 2021

UID

nas8N1015233