Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1012309.1
Update Date:2018-03-06
Keywords:

Solution Type  Problem Resolution Sure

Solution  1012309.1 :   Sun Storage 3310 SCSI Array: Resolving SCSI Bus Resets and Transport Errors When Using the Ultra320 Host Bus Adapter  


Related Items
  • Sun Storage 3310 Array
  •  
Related Categories
  • PLA-Support>Sun Systems>DISK>Arrays>SN-DK: SE31xx_33xx_35xx
  •  

PreviouslyPublishedAs
216984


Applies to:

Sun Storage 3310 Array - Version Not Applicable and later
All Platforms

Symptoms

This document describes how to identify and resolve SCSI bus resets and transfer rate problems on systems connected to a Sun Storage 3310 SCSI Array or Sun Storage 3310 JBOD via an Ultra320 host bus adapter (HBA). Symptoms may include entries in /var/adm/messages such as:

  • ASC: 0x29 (power on, reset, or bus reset occurred)
  • Target x reducing sync transfer rate
  • Target x reverting to async mode


These messages could be accompanied by read/write errors such as:

Jan 16 04:04:21 hostname  scsi: [ID 107833 kern.warning] WARNING: /pci@1f,4000/scsi@4/sd@0,5 (sd76):
Jan 16 04:04:21 hostname     Error for Command: write                   Error Level: Retryable
Jan 16 04:04:21 hostname  scsi: [ID 107833 kern.notice]     Requested Block: 153264                    Error Block: 153264

Jan 16 04:04:21 hostname  scsi: [ID 107833 kern.notice]     Vendor: SUN                               Serial Number: 1ACACDB1-05
Jan 16 04:04:21 hostname  scsi: [ID 107833 kern.notice]     Sense Key: Unit Attention
Jan 16 04:04:21 hostname  scsi: [ID 107833 kern.notice]     ASC: 0x29 (power on, reset, or bus reset occurred), ASCQ: 0x0, FRU: 0x0

 

Cause

The above messages could be the result of a speed negotiation between the Ultra320 HBA, which is capable of 320MB/s, and the array, which is capable of 160MB/s. You can check the speed to each SCSI target using the prtpicl command:

# prtpicl -v | egrep "NAME=|sync-speed" | grep -v spindle
| NAME=ide-controller |
| NAME=mpt0 |
:target0-sync-speed     320000
:target8-sync-speed     320000
:target9-sync-speed     320000
:targeta-sync-speed     320000
:targetb-sync-speed     320000
| NAME=mpt1 |
| NAME=glm0 |
:target0-sync-speed     160000
:target1-sync-speed     160000
| NAME=glm1 |
:target0-sync-speed     160000
:target8-sync-speed     160000
:target9-sync-speed     160000
:targeta-sync-speed     160000
:targetb-sync-speed     160000


In this example the onboard controller of a Sun Fire V240 Server (glm1) is accessing the disks in one array at 160MB/s, while the Ultra320 HBA (mpt0) is using a speed of 320MB/s to the other array.

Solution

This problem can be fixed by throttling the speed of the Ultra320 HBA in the mpt driver configuration file to the maximum speed supported by the Sun Storage 3310 Array and Sun Storage 3310 JBOD. It is also strongly recommended to upgrade controller and SAF-TE firmware to the latest version.

To limit the HBA speed to 160MB/s, create the file /kernel/drv/mpt.conf with the following contents, then reboot the system.

  • For a Sun Storage 3310 Array (There must be exactly 5 spaces between Sun and StorEdge.)

          device-type-scsi-options-list =
              "SUN     StorEdge 3310", "SE3310-scsi-options";
          SE3310-scsi-options = 0x41ff8;


  • For a Sun Storage 3310 JBOD (This example is for a dual-ported HBA with device paths /pci@1e,600000/scsi@3 and /pci@1e,600000/scsi@3,1)

          name="mpt" parent="/pci@1e,600000"
                   unit-address="3"
                   scsi-options=0x1ff8;
          name="mpt" parent="/pci@1e,600000"
                   unit-address="3,1"
                   scsi-options=0x1ff8;

If the problem is not resolved, refer to <Document 1006888.1> Sun Storage 3310 Array Connected with Ultra320 SCSI HBA: Fujitsu (Allegro) Drives Can Cause SCSI Bus Resets and Transport Errors.

 

Additional Resources

Oracle Technology Network page for Sun Storage 3310 Array

Oracle Technology Network page for Sun StorEdge Ultra3 SCSI PCI HBA, Dual port

Sun Storage 3310 Controller and SAF-TE firmware version 4.23C <Patch 113722-18>

Oracle System Handbook page for Sun Storage 3310 Array

<Document 1007761.1> Understanding the scsi_options in the /etc/system File

 

Do you still have questions?  You can use My Oracle Support Communities.  Communities put you in touch with industry professionals like yourself.  They are monitored by Oracle support engineers, so you can expect reliable and correct answers.  Ask questions and see what others are asking about in the Disk Storage 2000, 3000, 6000 RAID Arrays & JBODs Community.

 

Previously Published As
80089

 


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback