IBM Support

Linux crash with lin_tape driver

Troubleshooting


Problem

An IBM Spectrum Protect server running on RedHat 6.5 is configured with a Data Domain Virtual Tape Library, which emulates an IBM 3584 L32 library with LTO4 tape drives. The Linux system crashes with soft lockup errors with the lin_tape driver.

Symptom

The /var/log/messages file shows the following error at the time of the crash :

BUG: soft lockup - CPU#3 stuck for 67s! [dsmserv:817]

The Linux dmesg command shows the following messages prior to the crash :

lin_tape: unable to reserve the device
lin_tape 7:0:0:6: reservation conflict

Cause

The lin_tape driver needs to be upgraded and persistent reserve needs to be disabled on the IBM Spectrum Protect server and the lin_tape driver.

Diagnosing The Problem

Verify the level of the lin_tape driver with the following command :

rpm -qi lin_tape

In this case, the lin_tape driver level was 2.9.5.
Verify the library configuration with the following IBM Spectrum Protect server administrative command :

q library <library-name> F=D

In this case, the library was defined with "Reset Drives : Yes".

Resolving The Problem

Upgrade the lin_tape driver to minimum level 3.0.1.0, which fixes known issues with soft lock errors on Linux. The lin_tape driver is available from the Fix Central site.
Disable persistent reserve with the library with the following IBM Spectrum Protect server administrative command :

update library <library-name> resetdrives=no

Follow the directions in the IBM Tape Device Drivers Installation and User's Guide to disable persistent reserve with the lin_tape driver.

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21972277