Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1012092.1
Update Date:2011-04-20
Keywords:

Solution Type  Technical Instruction Sure

Solution  1012092.1 :   Sun Fire[TM] 12K/15K/E20K/E25K: Decoding Safari bus error CSR to a hardware device  


Related Items
  • Sun Fire E25K Server
  •  
  • Sun Fire E20K Server
  •  
  • Sun Fire 12K Server
  •  
  • Sun Fire 15K Server
  •  
Related Categories
  • GCS>Sun Microsystems>Servers>High-End Servers
  •  

PreviouslyPublishedAs
216624


Applies to:

Sun Fire 12K Server
Sun Fire 15K Server
Sun Fire E20K Server
Sun Fire E25K Server
All Platforms

Goal

Decoding a device from the Safari Control Status Register contained in the following Solaris[TM] message

Safari bus error: CSR=0155555509c00a27 ErrCtrl=fc000000000003e0
IntrCtrl=8000000000000017 ErrLog=0000000000000010 ECC_Ctrl=e000000000000000
UE_AFSR=00000000000fe1ff UE_AFAR=00000f8000000000
CE_AFSR=00000000000fe1ff CE_AFAR=00000f8000000000

Solution

A device location can be decoded using bits 29 - 20 of the CSR field. In this example given that CSR=0155555509c00a27 Bits 29 - 20 can be identified as follows,
01555555      0       9     c     0     0    a    2   7
--------    28-31   24-27 20-23 16-19 12-15 8-11 4-7 0-3

bits 31 - 20 equate to 09c which in it's binary form equals 0000 1001 1100.  We are only concerned with bits 29 - 20 for identifying the hardware location in a given CSR which in this example equals 00 1001 1100 These 10 bits are then split out to show position ( bits 0-1 ), slot ( bits 2-4 ), and expander ( bits 5-9 ). Position 00 slot 111 ( 000 = slot0 and 111 = slot1 ) expander 00100 So this CSR decodes to Expander 4, slot 1, card 0. Note: This doc is for decoding the csr string only. It does not mean the results point to a faulty part.

Previously Published As 73825

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback