In the course of installing, removing, or replacing a PCI
adapter with the system power on in Linux operating system
you might need use the hot-plug PCI tools. Use the procedure in this
section to verify that you have the hot-plug PCI tools installed.
- 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.
- 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
- Ensure the following tools are available in the /usr/sbin
directory.
- Return to the procedure that sent you here.