Table 5.1 Correspondence Between Bus Addresses And Interface Names - Fujitsu PRIMEQUEST 2000 Series Administration Manual

Primequest 2000 series
Hide thumbs Also See for PRIMEQUEST 2000 Series:
Table of Contents

Advertisement

CHAPTER 5 PCI Card Hot Maintenance in SUSE Linux Enterprise Server 11
5.1 Hot Replacement of PCI Express Cards
2. Confirm the slot number of the PCI Express slot that has the mounted interface.
Confirm the interface mounting location through the configuration file information and the operating
system information. First, confirm the bus address of the PCI Express slot that has the mounted interface
to be replaced.
Example: eth0 interface
# ls -l /sys/class/net/eth0/device
lrwxrwxrwx 1 root root 0 Sep 29 10:17 ¥
/sys/class/net/eth0/device
->../../../0000:00:01.2/0000:08:00.2/0000:0b:01.0
The ¥ at the end of a line indicates that there is no line feed.
Excluding the rest of the directory path, check the part corresponding to the file name in the symbolic link
destination file of the output results. In the above example, the underlined part shows the bus address.
("0000:0b:01" in the example)
Note
You will use the bus address obtained here in steps 3 and 12. Record the bus address so that you can
reference it later.
Next, check the PCI Express slot number for this bus address.
# grep -il 0000:0b:01 /sys/bus/pci/slots/*/address
/sys/bus/pci/slots/20/address
Read the output file path as shown below, and confirm the PCI Express slot number.
/sys/bus/pci/slots/<slot number>/address
Notes
If the above file path is not output, it indicates that the NIC is not mounted in a PCI Express slot (e.g.,
GbE port in the IOU).
With the PCI Express slot number confirmed here, see
Locations and Slot Numbers 'PCI Express slot
Mounting Locations of
Express slot number. You can confirm that it matches the mounting location of the operational target NIC.
3. Collect information about interfaces on the same NIC.
For a NIC that has more than one interface, you will need to deactivate all the interfaces on the NIC. Use
the following procedure to check each interface that has the same bus address as that confirmed in step
2. Then, make a table with information including the interface name, hardware address, and bus address.
Note
Collect the following information even if the NIC has only one interface.
-
Confirm the correspondence between the bus address and interface name.
Execute the following command, and confirm the correspondence between the bus address and
interface name.
Example: The bus address is "0000:0b:01".
# ls -l /sys/class/net/*/device | grep "0000:0b:01"
lrwxrwxrwx 1 root root 0 Sep 29 10:17 ¥
/sys/class/net/eth0/device
->../../../0000:00:01.2/0000:08:00.2/0000:0b:01.0
lrwxrwxrwx 1 root root 0 Sep 29 10:17 ¥
/sys/class/net/eth1/device
->../../../0000:00:01.2/0000:08:00.2/0000:0b:01.1
The ¥ at the end of a line indicates that there is no line feed.
The following table shows the correspondence between the bus addresses and interface names from
the above output example.

TABLE 5.1 Correspondence between bus addresses and interface names

Interface name
eth0
eth1
...
Note
When recording a bus address, include the function number (number after the period).
to check the mounting location, and see also
Components' to identify the physical mounting location corresponding to the PCI
Hardware address
130
'D.2 Correspondence between PCI Slot Mounting
Bus address
Slot number
0000:0b:01.0
20
0000:0b:01.1
20
...
...
'B.1 Physical
C122-E175-02EN

Advertisement

Table of Contents
loading

This manual is also suitable for:

Primequest 2400ePrimequest 2800ePrimequest 2800b

Table of Contents