Go to main content

Sun Storage 16 Gb Fibre Channel ExpressModule Host Bus Adapter, Emulex Installation Guide For HBA Model 7101690

Exit Print View

Updated: August 2018
 
 

System Hangs When Performing a Hot Plug Operation

Bug 15811563

Conditions:

  • System Platform: All supported systems using the Oracle Unbreakable Linux operating system

  • Operating Protocol Mode of HBA: FC, CNA

  • Environment: HBA connected directly to supported storage

Issue:

If you are attempting a hot plug operation, and the HBA is installed in a system that is running the Oracle Unbreakable Linux OS, you might encounter a system hang. This is due to the method in which you are performing the hot plug operation.

Workaround:

Perform hot plug procedures for the Linux OS as follows:

  1. At a terminal window, issue the modprobe fakephp command to load the hot plug driver on your system.

    After you load the hot plug driver on your system, you will see slots listed in the /sys/bus/pci/slots directory.

  2. Review the available Emulex PCI device IDs by issuing the lspci command.

    This command lists the devices that are available for hot plugging.

    # lspci |grep -i Emulex
    08:00.0 Fibre Channel: Emulex Corporation Lancer-X: LightPulse Fibre Channel Host Adapter (rev 10)
    08:00.1 Fibre Channel: Emulex Corporation Lancer-X: LightPulse Fibre Channel Host Adapter (rev 10)
    
  3. Use the cd command to navigate to the directory where slots are listed, and issue the ls command to review the available PCI devices.

    # cd /sys/bus/pci/slots
    # ls
    
  4. From the slots that are displayed, map the listed slots to the device IDs that were listed in Step 2.

  5. Verify the power status of the slots by issuing the cat slot-device-ID/power command for each available slot.

    # cat 0000\:08\:00.0/power
    # 1
    # cat 0000\:08\:00.1/power
    # 1
    

    In this example, the output of 1 indicates the slots are powered up.

  6. Issue the echo 0 > slot-device-ID /power command to power down the slot that you want to use for hot plugging.

  7. Verify that you have powered down the slot by issuing the ls command.

    # ls
    0000:08:00.1
    

    In this example, you can see the first slot is powered down, because only the second slot is listed.

  8. Perform the hot plug operation by inserting the card into the slot that you powered down.

  9. Issue the cd command to navigate to the directory of the powered down slot, and then issue the echo 1 > slot-device-ID /power command to power up the slot.

    # echo 1 > 0000\:08\:00.0/power
    
  10. To verify that the slot is powered up, issue the ls command.

    # ls
    0000:08:00.0
    0000:08:00.1
    

    The hot plug procedure is completed without a system hang.

As an alternative, you can also use the Attention button to perform hot plug/hot unplug operations as follows:

  • To perform a hot unplug operation – Press the Attention button on the HBA and wait. The OK LED will blink for 5 seconds, and then remain off.

  • To perform a hot plug operation – Press the Attention button on the HBA and wait. The OK LED will blink for 5 seconds, and and then remain on.

In the event you would like to cancel an Attentionn button hot plug/hot unplug operation, press the Attention button again, after pressing the button to initiate the operation.