Skip to main content
  1. Home >
  2. Products >
  3. Computing Products >
  4. Servers >
  5. Fujitsu SPARC servers >
  6. Downloads >
  7. User Manuals >
  8. Fujitsu SPARC M12-2/M12-2S Service Manual >
  9. 9.4.1 Dynamically Releasing a PCIe Card From a Logical Domain

9.4.1 Dynamically Releasing a PCIe Card From a Logical Domain


9.4.1 Dynamically Releasing a PCIe Card From a Logical Domain
This section describes the procedure for enabling the removal of a PCIe card from the SPARC M12 by using the PCI Hot Plug function.
When using the PCI Hot Plug function for a PCIe card mounted in the PCI expansion unit, confirm that the direct I/O function is disabled for the PCI slot that houses the target PCIe card. For details on the direct I/O function for the PCI expansion unit, see "Chapter 15 Expanding the System Configuration" in the Fujitsu SPARC M12 and Fujitsu M10/SPARC M10 System Operation and Administration Guide.
Table 9-9 lists the procedure for dynamically releasing a PCIe card.
Table 9-9  Procedure for Dynamically Releasing a PCIe Card
Step Operation Description Execution Location Command Used
1 Checking the mounting location of the target PCIe card (Ap_Id) Control domain
Root domain
# cfgadm -a
2 Releasing the target PCIe card from the Oracle Solaris device configuration Control domain
Root domain
# cfgadm -c unconfigure <‌Ap_Id>‌
3 Powering off the PCIe card slot that houses the PCIe card released from the device configuration Control domain
Root domain
# cfgadm -c disconnect <‌Ap_Id>‌
4 Confirming that you can remove the target PCIe card Control domain
Root domain
# cfgadm -a
5 (*1)
Having the ATTENTION LED (amber) of the PCIe card slot housing the target PCIe card blink Control domain
Root domain
# cfgadm -x led=attn,mode=blink <‌Ap_Id>‌
6 (*2)
Turning off the ATTENTION LED on the PCIe card slot by mounting the PCICS from which the PCIe card was removed Control domain
Root domain
# cfadm -x led=attn,mode=off <‌Ap_Id>‌
*1 Before removing the PCICS from the PCI slot, check the PCIe card slot to see that the POWER LED is off and that the ATTENTION LED (amber) is blinking.
*2 When replacing a PCIe card, incorporate the PCIe card into the Oracle Solaris device configuration and then turn off the ATTENTION LED. For details, see "Dynamically Configuring Devices" in the Managing Devices in Oracle Solaris for the Oracle Solaris version used, and the man page of the cfgadm_pci command.
Note - For the locations of the LEDs on PCIe card slots, see "PCIe card slot" in "2.4.3 LEDs of Each Unit."
The following example executes the commands for enabling the removal of the PCIe card mounted in PCI slot #0 of the SPARC M12 by using the PCI Hot Plug function.
  1. Check the status of the PCIe card to be removed.
    The following example confirms that the PCIe card to be removed using the control domain is incorporated in the Oracle Solaris device configuration.
primary# cfgadm -a
Ap_Id Type Receptable Occupant Condition
BB#0-PCI#0 pci-pci/hp connected configured ok
(Omitted)
  1. Release the target PCIe card from the Oracle Solaris device configuration.
    The following example releases the PCIe card mounted in PCI slot #0 from the Oracle Solaris device configuration by using the control domain.
primary# cfgadm -c unconfigure BB#0-PCI#0
  1. Power off the PCIe card released from the Oracle Solaris device configuration.
    The following example powers off the PCIe card mounted in PCI slot #0 by using the control domain.
primary# cfgadm -c disconnect BB#0-PCI#0
  1. Confirm that you can remove the PCIe card.
    The following example confirms that the PCIe card mounted in PCI slot #0 was released from the Oracle Solaris device configuration and powered off by using the control domain.
primary# cfgadm -a
Ap_Id Type Receptable Occupant Condition
BB#0-PCI#0 unknown disconnected unconfigured unknown
(Omitted)
  1. Have the ATTENTION LED (amber) of the PCIe card slot housing the PCIe card to be removed blink.
    The following example turns off the POWER LED on the PCIe card slot and blinks the ATTENTION LED (amber) before removing the PCIe card by using the control domain. Before removing the PCIe card, check the LEDs on that card.
primary# cfgadm -x led=attn,mode=blink BB#0-PCI#0