Vous êtes sur la page 1sur 2

AIX location codes

The basic formats of the AIX location codes are as follows:


򐂰 For non-SCSI devices/drives:
AB-CD-EF-GH
򐂰 For SCSI devices/drives:
AB-CD-EF-G,H

Non-SCSI devices
For planars (backplanes), cards, and non-SCSI devices, the location code is
defined as follows:
AB-CD-EF-GH
| | | |
| | | Device/FRU/Port ID
| | Connector ID
| devfunc Number, Adapter Number or Physical Location
Bus Type or PCI Parent Bus

Where:
򐂰 The AB value identifies a bus type or PCI parent bus as assigned by the
firmware.
򐂰 The CD value identifies the adapter number, devfunc number, or physical
location. The devfunc number is defined as the PCI device number times 8,
plus the function number.
򐂰 The EF value identifies a connector.
򐂰 The GH value identifies a port, address, device, or FRU.

Adapters and cards are identified only with AB-CD.

The possible values for CD depend on the adapter and card. For pluggable PCI
adapters and cards, CD is the device’s devfunc number (the PCI device number
times 8, plus the function number). The C and D are characters in the range of 0
to 9 and A to F (hex numbers). The location codes, therefore, uniquely identify
multiple adapters on individual PCI cards.

EF is the connector ID used to identify the adapter’s connector to which a


resource is attached.

404 The Complete Partitioning Guide for IBM Eserver pSeries Servers
GH is used to identify a port, device, or FRU; for example:
򐂰 For asynchronous devices, GH defines the port on the fanout box. The values
are 00 to 15.
򐂰 For a diskette drive, H identifies either diskette drive 1 or 2. G is always 0.
򐂰 For all other devices, GH is equal to 00.

For an integrated adapter, EF-GH is the same as the definition for a pluggable
adapter. For example, the location code for a diskette drive is 01-D1-00-00. A
second diskette drive is 01-D1-00-01.

SCSI devices
For SCSI devices, the location code is defined as follows:
AB-CD-EF-G,H
| | | | |
| | | | Logical Unit address of the SCSI Device
| | | Control Unit Address of the SCSI Device
| | Connector ID
| devfunc Number, Adapter Number or Physical Location
Bus Type or PCI Parent Bus

Where:
򐂰 AB-CD-EF are the same as non-SCSI devices.
򐂰 G defines the control unit address of the device. Values of 0 to 15 are valid.
򐂰 H defines the logical unit address of the device. Values of 0 to 255 are valid.

A bus location code is also generated as 00-XXXXXXXX, where XXXXXXXX is


equivalent to the node’s unit address.

Examples of physical location codes and AIX location codes are as follows:
򐂰 PCI adapter in first I/O subsystem, slot 1 (primary rack):
– Physical location code U1.9-P1-I1
– AIX location code 2V-08
򐂰 PCI adapter in fifth I/O subsystem, slot 1 (secondary rack):
– Location code U2.1-P1-I1
– AIX location code 8V-08

Appendix A. Test environment 405

Vous aimerez peut-être aussi