Verifying that the hot-plug PCI tools are installed for Linux

In the course of installing, removing, or replacing a PCI adapter with the system power on in Linux operating system you might need to use the hot-plug PCI tools. Learn 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 powerpc-utils. If the command does not list any powerpc-utils 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.



Last updated: Mon, November 12, 2018