Asset ID: |
1-71-1001879.1 |
Update Date: | 2017-11-14 |
Keywords: | |
Solution Type
Technical Instruction Sure
Solution
1001879.1
:
Sun Fire[TM] 12K, 15K, E20K, and E25K: Determining slot numbers from I/O device paths
Related Items |
- Sun Fire 15K Server
- Sun Fire E20K Server
- Sun Fire E25K Server
- Sun Fire 12K Server
|
Related Categories |
- PLA-Support>Sun Systems>SPARC>Enterprise>SN-SPARC: SF-Exxk
- _Old GCS Categories>Sun Microsystems>Servers>High-End Servers
|
PreviouslyPublishedAs
202571
Applies to:
Sun Fire E20K Server - Version All Versions and later
Sun Fire E25K Server - Version All Versions and later
Sun Fire 12K Server - Version All Versions and later
Sun Fire 15K Server - Version All Versions and later
All Platforms
Goal
This document describes how to decode a Solaris[TM] Operating System device path to a physical location or slot, in an I/O board on a Sun Fire[TM] 12K/15K/E20K/E25K platform.
Solution
Here is an example of an I/O device path as reported by Solaris OS:
/pci@5c,700000/pci@1/SUNW, isptwo@4/sd@5,0
/\ /\ /\
Agent ID Offset Slot
- The "5c" represents an Agent ID. Agent IDs will always end in a "c" or a "d".A "c" represents IOC 0, while "d" represents IOC 1.
- 700000 represents the Offset. Each IOC supports two PCI buses, an 'A' and a 'B' bus. Bus A is represented by an Offset of 600000, while Bus B is represented by an Offset of 700000.
- "pci@1" represents the Slot Number. The slot number on a SF15K will always be pci@1.
So, to map the Solaris device path to a physical location, take the following steps:
- Determine the Agent ID, and map that ID to a Expander and IOC. Here is the Agent ID Table. Using this table, we can determine from the Agent ID which expander and which IOC the device is located on. In the table below, the Agent ID is outside of the parenthesis (also known as the hexadecimal number), while the number in the parenthesis is the decimal IOC number:
- Use the "Offset" in addition to the IOC determined in step 1 to map the device path to a specific slot number/location. Using the table below, the offset can be matched to the specific slot:
- Put steps 1 and 2 together and identify the slot location: Step 1 produces a Expander number and IOC number, while Step 2 produces the physical slot location, based on the Offset number and IOC from step 1.
Below is a diagram of the I/O board, labeling the IO slots:
____________
| | |
| | |
| slot|slot | <--- This is IOC Bus "B".
| 3 | 1 |
| | |
| | |
|-----|-----|
| | |
| | |
| slot|slot | <--- This is IOC Bus "A".
| 2 | 0 |
| | |
|_____|_____|
Example:
/pci@11d,600000/pci@1/SUNW...
11d is the Agent ID. Using the table in step 1, 11d maps to Expander 8, IOC 1.
In step 2, the offset is 600000. Using the step 2 table, an offset of 600000 with an IOC of 1 maps to slot 2.
Finally, referencing the slot diagrams, this device path equates to a card located on EXB 8, slot 2, the bottom left IO slot on the board.
Warning: the hsPCI+ IO-board has an extra PCI bridge-chip to get to slot1. See Document 1006575.1 for details on what this means for your device path.
References:
Document 1017493.1 Sun Fire[TM] 12K/15K/E20K/E25K: Cheat Sheet: hsPCI and hsPCI+ Cartridge Locations
Document 1006575.1 After upgrading hsPCI to hsPCI+ domain fails to boot
Internal section
Keywords: hsPCI, hsPCI+, upgrade, starcat, IO, I/O, IO Board, device path, decode, device decode, slot, IO slot, I/O slot
Previously Published As 54540
References
<NOTE:1006575.1> - Sun Fire[TM] 12K/15K/E20K/E25K: After upgrading hsPCI to hsPCI+ domain fails to boot
<NOTE:1017493.1> - Sun Fire[TM] 12K/15K/E20K/E25K: Cheat Sheet: hsPCI, hsPCI+ and hsPCI-X Cartridge Locations
Attachments
This solution has no attachment