HP StorageWorks Ultrium Tape Drives - Failing Backups when Connected to LSI SCSI HBA and Using Storport Driver Versions Later than 5.2.3790.3959

Version 1

    From HP Knowledgecenter Document: http://bizsupport1.austin.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=110&prodSeriesId=327382&prodTypeId=12169&objectID=c01655150

    Problem:
    Random backup failures when HP StorageWorks Ultrium Tape Drive is connected to a LSI-based Host Bus Adapter and Storport driver version installed on the system is later than 5.2.3790.3959, due to Insight Manager Storage Agent timeout if the driver returns SCSI status BUSY and Storport driver retries the command unlimited times. In most of the cases, the tape drive will be discovered properly by the Operative System and will work fine when tested with HP Library And Tape Tools. Even if all possible polling to the tape drive is already prevented, the drive will fail backups randomly. System Event Log will not show any data that can be related to a drive or HBA failure (Event IDs 7, 9, 11 or 15).
    Issue could appear on both Microsoft Windows Server 2003/2008, both 32bit and 64bit editions and with HP Insight Management Agents installed.


    Solution
    1. Click on Run, type regedit.
    2. Open the path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SCSI\[device identifier name for the tape LTO-3 tape device]\[numeric device instance id for the LTO-3 tape device]\Device Parameters\
    3. Right Click Device Parameters, click New> Key and rename it as Storport.
    4. Right Click Storport key> New> DWORD and rename it as BusyRetryCount and the value should be set to 250 decimal.
    5. Exit regedit.
    6. Reboot the server.
    This registry settings are documented on Microsoft public article http://support.microsoft.com/kb/932755 under "Update to modify the behavior of the BUSY status and the Task Set Full status in the Storport driver", in our case, the default value of 20 has been changed to 250.

    See attachment for a copy of the original document