Managing Devices in Oracle® Solaris 11.2

Exit Print View

Updated: July 2014
 
 

Displaying PCI Slot Configuration Information

This section provides examples for display the status of PCI hot pluggable devices and slots on the system.


Note -  You must have the appropriate administrator rights to run these commands.
  • Displaying PCI slot configuration information.

    # cfgadm
    Ap_Id                Type         Receptacle   Occupant     Condition
    pci1:hpc0_slot0      unknown      empty        unconfigured unknown
    pci1:hpc0_slot1      unknown      empty        unconfigured unknown
    pci1:hpc0_slot2      unknown      empty        unconfigured unknown
    pci1:hpc0_slot3      ethernet/hp  connected    configured   ok
    pci1:hpc0_slot4      unknown      empty        unconfigured unknown
  • Displaying specific PCI device information.

    # cfgadm -s "cols=ap_id:type:info" pci
    Ap_Id                Type         Information
    pci1:hpc0_slot0      unknown      Slot 7
    pci1:hpc0_slot1      unknown      Slot 8
    pci1:hpc0_slot2      unknown      Slot 9
    pci1:hpc0_slot3      ethernet/hp  Slot 10
    pci1:hpc0_slot4      unknown      Slot 11

    From the output, pci1:hpc0_slot0 is the logical Ap_Id for the hot-pluggable slot, Slot 7. The component hpc0 indicates the hot-pluggable adapter card for this slot, and pci1 indicates the PCI bus instance. The Type field indicates the type of PCI adapter card that is present in the slot.

  • Displaying PCIe slot configuration information.

    # cfgadm pci
    Ap_Id                Type         Receptacle   Occupant     Condition
    pcie1                unknown      empty        unconfigured unknown
    pcie2                unknown      empty        unconfigured unknown
    pcie3                unknown      empty        unconfigured unknown
    pcie4                etherne/hp   connected    configured   ok
    pcie5                pci-pci/hp   connected    configured   ok
    pcie6                unknown      disconnected unconfigured unknown
  • Displaying specific PCIe device information.

    # cfgadm -s "cols=ap_id:busy:o_state" pci
    Ap_Id               Busy     Occupant
    pcie1               n        unconfigured
    pcie2               n        unconfigured
    pcie3               n        unconfigured
    pcie4               n        configured
    pcie5               n        configured
    pcie6               n        configured

    Note -  The logical Ap_Id in most cases should match the slot label that is silk-screened on the system chassis. Refer to your platform guide for the cfgadm output of the hot-pluggable slots. The Busy field can be displayed to ensure that the Ap_Id is not transitioning to another state before a hot-plug operation is attempted.