Hot-Plug/Swap Procedure For Linux - Magma EB7-X8G2 User Manual

Pcie to pcie
Table of Contents

Advertisement

Hot-Plug/Swap Procedure for Linux

Set up a console as super user and run: "tail ..." to receive messages.
1.
sudo –f /var/log/messages
Open another console as super user and run: "modprobe pciehp"
2.
sudo /sbin/modprobe pciehp
If there are any error messages in the first console run: "modprobe pciehp pciehp_force=1"
3.
sudo /sbin/modprobe pciehp pciehp_force=1
Verify that there are entries in the /sys/bus/pci/slots directory and determine which slot corresponds to the
4.
chassis.
this verification is required.
cd /sys/bus/pci/slots/
Note:
For SUSE 11, slots may be reported as 1,2,3...
For SUSE 10 sp2, slots may be reported as:
Segement:Bus:Device:Function.
In order to determine whether power is applied to a slot run:
5.
cat <./slot filename>/power
1 – Means the slot is powered;
0 – Means the slot does not have power
In order to turn off power to a slot run:
6.
echo 0 > <./slot filename>/power
After the PCIe card has been removed and replaced, turning on the power to the slot is done by running:
echo 1 > <./slot filename>/power
Note: Different Linux versions and platforms may perform differently. Also, older versions, such as Redhat ver. 4 or
(2.4.x do not support this feature).
The entries shown may not correspond to the slot numbers labeled on the chassis, therefore
EB7-X8G2 | Chapter 4 Install PCIe Cards
Magma
45

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents