Document fins/I0889-1


FIN #: I0889-1

SYNOPSIS: A potential for data loss exists with SBus Fibre Channel Adapters
          (6757A) attached to Sun StorEdge 99xx arrays or to Fibre Channel Tape
          drives in specific configurations

DATE: Oct/31/02

KEYWORDS: A potential for data loss exists with SBus Fibre Channel Adapters
          (6757A) attached to Sun StorEdge 99xx arrays or to Fibre Channel Tape
          drives in specific configurations


---------------------------------------------------------------------
- Sun Proprietary/Confidential: Internal Use Only -
---------------------------------------------------------------------  
                            FIELD INFORMATION NOTICE
                  (For Authorized Distribution by SunService)



SYNOPSIS: A potential for data loss exists with SBus Fibre Channel Adapters
	  (6757A) attached to Sun StorEdge 99xx arrays or to Fibre Channel
	  Tape drives in specific configurations.


SunAlert:           No

TOP FIN/FCO REPORT: Yes 
  
PRODUCT_REFERENCE:  StorEdge 99xx Array
 
PRODUCT CATEGORY:   Storage / SW Admin


PRODUCTS AFFECTED:

Systems Affected:
-----------------  
Mkt_ID    Platform    Model    Description                  Serial Number
------    --------    -----    -----------                  -------------
  -        Anysys       -      System Platform Independent        -	


X-Options Affected:
-------------------
Mkt_ID    Platform    Model     Description                   Serial Number
------    --------    -----     -----------                   -------------
X6757A       -          -       SBus Dual FC Network Adapter        -
  -        SE99XX      ALL      StorEdge 99XX Array                 -


PART NUMBERS AFFECTED:

Part Number     Description                               Model
-----------     -----------                               -----
375-3048-01     SBus Dual FC Network Adapter                -


REFERENCES:

BugId:     4719105 - data miscompare with X6757A attached to SE99xx.

PatchId:   112244: Hardware/FCode: SBus Dual Fibre Channel Host  
                      Adapter.

ECO:       WO_25016

ESC:       540371 - 6757 HBAs not working with E10K andHitachi 9980 bug 
                    4719105.

HDS Alert: 001A - Potential Data Integrity Problem with SUN X6757A and 
                  QLogic QLA2202FS SBus HBAs.
            

PROBLEM DESCRIPTION:

Customer configurations with SBus Dual Fibre Channel Adapters (6757A)
attached to either Sun StorEdge 99xx Arrays with 2Gb Fibre Channel
cards, or to Fibre Channel Tape drives, may experience data loss when
data is written to disk or tape.

This issue affects SBus Dual Fibre Channel Adapters with FCode 1.13.06
or lower, in one of the following scenarios:

1. 6757A with SE9900 arrays with the HS (High Speed) Fibre Channel port
   (2Gbit) cards in FC/AL or switched FC/AL mode (TL, QL, etc.).  
   Switched fabric Point- To-Point configurations are not affected.  The 
   channel port cards affected are Sun P/N T8-DKC-F410I-8HSE and
   T9-DKC-F460I-8HSE.

2. 6757A with Fibre Channel tape drives if running an application that
   transfers blocksizes which are not a multiple of 512 bytes.  This may 
   include the 'cpio' command with the '-C' option, or a customer's own
   developed tool.  Standard tape ISV  backup applications and UNIX
   applications are not at risk as they use blocksizes which are
   multiples of 512.  The 'dd' command is not  at risk because of the
   way it manages data flow.  This FC tape scenario is considered to be
   very low risk.


NOTES:

1. 6757A cards connected to A3500FC, A5x00, or T3/T3+ arrays are not at 
   risk.

2. No system error messages are generated when this issue occurs.
        
To determine the FCode version for a 6757A adapter, run 'luxadm qlgc' as 
shown below:
   	
hba2-41# luxadm qlgc

   Found Path to 4 FC100/P, ISP2200, ISP23xx Devices

   Opening Device: /devices/sbus@2,0/SUNW,qlc@1,30000/fp@0,0:devctl
   Detected FCode Version: ISP2200 Sbus FC-AL Host Adapter Driver: 1.13.06
                           10/31/01

   Opening Device: /devices/sbus@2,0/SUNW,qlc@1,30400/fp@0,0:devctl
   Detected FCode Version: ISP2200 Sbus FC-AL Host Adapter Driver: 1.13.06 
                           10/31/01

   Opening Device: /devices/pci@a,2000/SUNW,qlc@2/fp@0,0:devctl
   Detected FCode Version: ISP2300 FC-AL Host Adapter Driver: 1.13.08 
                           04/10/02

   Opening Device: /devices/pci@b,2000/SUNW,qlc@2/fp@0,0:devctl
   Detected FCode Version: ISP2300 FC-AL Host Adapter Driver: 1.13.08 
                           04/10/02
   
   Complete

hba2-41# 

In the above output, "ISP2200 Sbus FC-AL Host Adapter" indicates the
presence of the 6757A adapter.  Since it is a dual channel board,
luxadm prints two instances of the driver/FCode attached.  The 6757A
board in the above example has Rev. 1.13.06 FCode.
   
To identify a 99XX array which contains a 2Gb High Speed Fibre Channel 
port, use one of these methods:
   	
Use the Hitrack tool to check the P/N and revision of the CHA boards.  In 
addition, this information is provided in the installation manual:

   9910/60         DKC-F410I-8HSE   is 2G CHA    p/n WP411-C,SH261A
   9970/80         DKC-F460I-4HSE          "     p/n WP461-E,SH481A
      "            DKC-F460I-8HSE          "     p/n WP461-B,SH481A
      "            DKC-F460I-8HLE          "     p/n WP461-C,SH481A

The SVP may also be used to check P/N's:

  Go to Modify mode - select Install - select PCB Revision Display.
  Reference page SVP02-1020 in the maintenance manual.

The 6757A uses a Field Programmable Gate Array (FPGA) to provide the
internal SBus to PCI interface.  The FPGA controls all data movement,
including those resulting from DMA requests.  The FPGA maintains
pointers used for data access, data alignment on writes and it also
provides flow control for data transfer to insure SBus address
boundaries are not exceeded.

Most DMA data transfers through the FPGA will be initiated in 64 bit
PCI mode and will transition to 32 bit transfer mode when the residual
byte count is equal to or less than 8 bytes.  Under certain conditions
logic in the FPGA fails to align the data correctly and the last 4
bytes in a data stream are overlaid by the previous 4 bytes.

Use of frame size or block size that is not a multiple of 512 bytes can
trigger an error condition in FPGA.  With the SE9900 and the 2Gbit
channel port cards attached to 6757A HBA in FC/AL or switched FC/AL
mode, the HBA and channel port card will negotiate to a frame size that
is not a multiple of 512 bytes.

CPRE has contacted all SE99XX customers with the 6757A adapter
installed.  None of the customers contacted utilize the 2Gb SE9900 in
FC/AL or switched FC/AL mode.  No Sun customer has reportedly
encountered this data integrity problem.

This issue has been addressed with FCode 1.13.07 which is available in
Patch 112244.  All new 6757A adapters (P/N 375-3048-02) shipped from
the supplier will contain FCode 1.13.07 and FPGA 2.3, which corrects
the problem.


IMPLEMENTATION:

           ---
          |   |   MANDATORY (Fully Proactive)
           ---


           ---
          | X |   CONTROLLED PROACTIVE (per Sun Geo Plan)
           ---


           ---
          |   |   REACTIVE (As Required)
           ---


CORRECTIVE ACTION:

The following recommendation is provided as a guideline for authorized
Sun Services Field Representatives who may encounter the above
mentioned problem.

All 6757A adapter cards with FCode 1.13.06 attached to Sun StorEdge
99XX arrays or attached to Fibre Channel Tape drives should be upgraded
to FCode version 1.13.07 with Patch 112244.   Please follow the
installation instructions provided in the README file.


COMMENTS:

None

============================================================================

Implementation Footnote:

i)   In case of MANDATORY FINs, Sun Services will attempt to    
     contact all affected customers to recommend implementation of 
     the FIN. 
   
ii)  For CONTROLLED PROACTIVE FINs, Sun Services mission critical    
     support teams will recommend implementation of the FIN  (to their  
     respective accounts), at the convenience of the customer. 

iii) For REACTIVE FINs, Sun Services will implement the FIN as the   
     need arises.
----------------------------------------------------------------------------
All released FINs and FCOs can be accessed using your favorite network 
browser as follows:
 
SunWeb Access:
-------------- 
* Access the top level URL of http://sdpsweb.ebay/FIN_FCO/

* From there, select the appropriate link to query or browse the FIN and
  FCO Homepage collections.
 
SunSolve Online Access:
-----------------------
* Access the SunSolve Online URL at http://sunsolve.Corp/

* From there, select the appropriate link to browse the FIN or FCO index.

Internet Access:
----------------
* Access the top level URL of https://infoserver.Sun.COM
--------------------------------------------------------------------------
General:
--------
* Send questions or comments to finfco-manager@Sun.COM
--------------------------------------------------------------------------


Copyright (c) 1997-2003 Sun Microsystems, Inc.