subscribe iconSubscribe to this information
POWER7 information

Verifying that the hot-plug PCI tools are installed on the Linux partition

When you install, remove, or replace a PCI adapter in a Linux partition that is powered on, you might need to use the hot-plug PCI tools. Use this procedure to verify that you have the hot-plug PCI tools installed.

  1. Enter the following command to verify that the hot-plug PCI tools are installed:
    rpm -aq | grep rpa-pci-hotplug
    If the command does not list any rpa-pci-hotplug packages, the PCI Hot Plug tools are not installed.
  2. Enter the following command to ensure that the rpaphp driver is loaded:
    ls -l /sys/bus/pci/slots/
    The directory should contain data. If the directory is empty, the driver is not loaded or the system does not contain hot-plug PCI slots. The following is an example of the information displayed by this command:
    drwxr-xr-x 15 root root 0 Feb 16 23:31 . 
    drwxr-xr-x  5 root root 0 Feb 16 23:31 .. 
    drwxr-xr-x  2 root root 0 Feb 16 23:31 0000:00:02.0 
    drwxr-xr-x  2 root root 0 Feb 16 23:31 0000:00:02.2 
    drwxr-xr-x  2 root root 0 Feb 16 23:31 0000:00:02.4 
    drwxr-xr-x  2 root root 0 Feb 16 23:31 0001:00:02.0 
    drwxr-xr-x  2 root root 0 Feb 16 23:31 0001:00:02.2 
    drwxr-xr-x  2 root root 0 Feb 16 23:31 0001:00:02.4 
    drwxr-xr-x  2 root root 0 Feb 16 23:31 0001:00:02.6 
    drwxr-xr-x  2 root root 0 Feb 16 23:31 0002:00:02.0 
    drwxr-xr-x  2 root root 0 Feb 16 23:31 0002:00:02.2 
    drwxr-xr-x  2 root root 0 Feb 16 23:31 0002:00:02.4 
    drwxr-xr-x  2 root root 0 Feb 16 23:31 0002:00:02.6 
    If the directory does not exist, run the following command to mount the filesystem:

    mount -t sysfs sysfs /sys

  3. Ensure the following tools are available in the /usr/sbin directory.
    • lsslot
    • drmgr -c pci
  4. Return to the procedure that sent you here.


Send feedback Rate this page

Last updated: Fri, March 20, 2015