HOME

TheInfoList



OR:

The International Blinking Pattern Interpretation (IBPI) is an internal computer hardware standard. It defines two items: # How
SGPIO Serial general purpose input/output (SGPIO) is a four-signal (or four-wire) bus used between a host bus adapter (HBA) and a backplane. Of the four signals, three are driven by the HBA and one by the backplane. Typically, the HBA is a storage con ...
is interpreted into states for drives or slots on a backplane. # How
light emitting diode A light-emitting diode (LED) is a semiconductor device that emits light when current flows through it. Electrons in the semiconductor recombine with electron holes, releasing energy in the form of photons. The color of the light (cor ...
s (LEDs) on a backplane should represent these states. IBPI was defined by the SFF-8489 specification of the
Small Form Factor Special Interest Group The Small Form Factor Special Interest Group (SFF-SIG, pronounced ''ess-eff-eff-sig'') is an international non-profit standards body focused on modular computer hardware technologies used in embedded and small form factor computers and controller ...
in 2011. SGPIO has been adopted across the storage industry, and has in large replaced
proprietary protocol In telecommunications, a proprietary protocol is a communications protocol owned by a single organization or individual. Intellectual property rights and enforcement Ownership by a single organization gives the owner the ability to place restricti ...
s such as
SCSI Enclosure Services SCSI Enclosure Services (SES) is a protocol for more modern SCSI enclosure products. An initiator can communicate with the enclosure using a specialized set of SCSI commands to access power, cooling, and other non-data characteristics. SES device ...
(SES) and
SAF-TE In computer storage, SAF-TE (abbreviated from SCSI Accessed Fault-Tolerant Enclosure) is an industry standard to interface an enclosure in-band to a (parallel) SCSI subsystem in order to gain access to information or control for various elements ...
. ''States'' for drives or slots can be, for example, ''empty'', ''failed'', ''rebuilding'', etc. The ''state'' of a drive or slot is determined by the
host bus adapter In computer hardware, a host controller, host adapter, or host bus adapter (HBA), connects a computer system bus, which acts as the host system, to other computer network, network and computer storage, storage devices. The terms are primarily ...
, and is typically transmitted to the backplane through SGPIO-signals on a cable.


Typical system architecture

In a typical system architecture, the
host bus adapter In computer hardware, a host controller, host adapter, or host bus adapter (HBA), connects a computer system bus, which acts as the host system, to other computer network, network and computer storage, storage devices. The terms are primarily ...
(HBA) connects to a backplane through a 4× iPass cable. The SGPIO-signals run inside this cable. The backplane may then optionally connect to the
baseboard management controller The Intelligent Platform Management Interface (IPMI) is a set of computer interface specifications for an autonomous computer subsystem that provides management and monitoring capabilities independently of the host system's CPU, firmware (BIOS or ...
of a
motherboard A motherboard (also called mainboard, main circuit board, mb, mboard, backplane board, base board, system board, logic board (only in Apple computers) or mobo) is the main printed circuit board (PCB) in general-purpose computers and other expand ...
through an
I²C I2C (Inter-Integrated Circuit, ), alternatively known as I2C or IIC, is a synchronous, multi-controller/multi-target (master/slave), packet switched, single-ended, serial communication bus invented in 1982 by Philips Semiconductors. It is wide ...
or
SMBus The System Management Bus (abbreviated to SMBus or SMB) is a single-ended simple two-wire bus for the purpose of lightweight communication. Most commonly it is found in computer motherboards for communication with the power source for ON/OFF instru ...
. The SGPIO bus consists of 4 electrical signals. It ''originates'' (or is driven by) an ''initiator'', typically a host bus adapter or SAS Expander, and arrives at a ''target'', typically a backplane. SGPIO is typically used in conjunction with SAS or SATA cables, where each physical port is attached to a single disk drive.


SGPIO bit definitions

The figure below shows the relationship between SClock, SLoad and the two data bits named SDataOut and SDataIn. An SGPIO frame is started after SLoad has been low for at least 5 SClock cycles. Following the start of a new SGPIO frame, 3 bits per drive are driven from the initiator on to the SDataOut line. Simultaneously, the target drives 3 bits on the SDataIn line. The initiator and target both use the rising edge clock to transmit changes in the SLoad, SDataOut, and SDataIn. The figure shows SGPIO for 4 drive slots (12 clocks), which is the minimum allowed. The SGPIO stream can be larger and it is not uncommon for the stream to consist of slot data for 12, 24 or 36 drives/slots in the case of an expander.


Definition of the 3 bits

The 3 bits per drive is illustrated and interpreted as follows: The first bit (ODn.0) is exclusively used to represent Activity. The second and third bits; Locate (ODn.1) and Fail (ODn.2) are directly used to represent a locate and fail state of the drive.


Shortcomings in SGPIO

The original SGPIO stream was intended for a low-cost implementation, and is limited to the capability of representing ''activity'', ''locate'', and ''fail'' LEDs. SGPIO became popular and adopted by HBA backplane and backplane vendors in 2004, and increasingly popular after the support by hardware manufacturers. With the advent of SAS/SATA hard drives, backplanes typically do not vary much from low to high end systems, except the addition of an extra physical port in the case of SAS. Since it is not economical for systems vendors to design separate backplanes for high and low end systems, the SGPIO standard became popular also in mid-range and higher end systems. In higher end systems initiators are capable of providing additional useful status information, such as rebuilding drives and predicted failures of drives. There was no standard for representing these conditions in the original SGPIO specification, at the same time as efforts were being made to elaborate a variety of additions to the standard by component vendors. This resulted in the IBPI specification, which uses blinking frequencies of bits in the SGPIO stream to represent additional states of drives.


SGPIO interpretation

There are 3 bits per slot (or hard drive) in the SGPIO specification. This section describes how each of these bits are interpreted according to the IBPI specification. Only the ''activity bit'' is interpreted independently of the two other bits. The two other bits (''locate'' and ''fail'') may be interpreted in combination with each other in the special case when both bits are driven ''solid on''. In any other case, the locate and fail bits are interpreted independently. Note that the interpreted conditions described in this section is only used to determine the condition of bits, and does not describe how LEDs are driven based on these conditions.


Hard drive presence (slot mated status) and valid states

When the hard drive for a particular slot is not present or has been removed, activity for that slot has no meaning, and should not be interpreted. Since it could still be desirable to locate the slot or indicate a failure, the Locate and Fail bits may have meaning for a particular slot, even if the physical drive is not present.


Activity bit (ODn.0) interpretation

The following section describes how the Activity Bit should be interpreted according to the IBPI specification.


Locate bit (ODn.1) and fail bit (ODn.2) interpretation

The following section shows how the Locate and Fail bits should be interpreted according to the IBPI specification.


LED blinking pattern interpretation

The IBPI standard defines interpretations for both 2 and 3 LED implementations as shown in Figure 3.


Summary table

This table summarizes the individual tables defined earlier into one table for clarity.


History

A draft specification was first published on August 5, 2008, based on the article on
Wikipedia Wikipedia is a multilingual free online encyclopedia written and maintained by a community of volunteers, known as Wikipedians, through open collaboration and using a wiki-based editing system. Wikipedia is the largest and most-read refer ...
at the time.
American Megatrends AMI (American Megatrends International LLC, formerly American Megatrends Inc.) is an international hardware and software company, specializing in PC hardware and firmware. The company was founded in 1985 by Pat Sarma and Subramonian Shankar. It ...
(AMI) announced a product implementing IBPI in January 2009. After a few revisions in 2011, such as identifying IBPI as just one alternative, revision 0.4 was adopted in November 2011. Four companies voted for the standard: AMI,
Hewlett-Packard The Hewlett-Packard Company, commonly shortened to Hewlett-Packard ( ) or HP, was an American multinational information technology company headquartered in Palo Alto, California. HP developed and provided a wide variety of hardware components ...
,
Molex Molex LLC is a manufacturer of electronic, electrical, and fiber optic connectivity systems. Molex offers over 100,000 products across a variety of industries, including data communications, medical, industrial, automotive and consumer electroni ...
, and
Sandisk SanDisk is a brand for flash memory products, including memory cards and readers, USB flash drives, solid-state drives, and digital audio players, manufactured and marketed by Western Digital. The original company, SanDisk Corporation was acquire ...
. All others abstained.


References

{{Reflist Computer buses Communications protocols SCSI