RHEL suddenly stopped detecting IBM Tape device.

Solution Unverified - Updated -

Issue

  • RHEL suddenly stopped detecting IBM Tape device.
  • Following errors are present in /var/log/messages
Oct 12 10:53:23 localhost kernel: lin_tape: IBMtape0-----10773 driver_byte 00, host_byte 07, msg_byte 00, status_byte 00
Oct 12 10:53:53 localhost kernel: rport-1:0-2: blocked FC remote port time out: removing target and saving binding
Oct 12 10:53:53 localhost kernel: lin_tape 1:0:0:0: rejecting I/O to offline device
Oct 12 10:53:53 localhost kernel: lpfc 0000:1b:00.1: 1:(0):0203 Devloss timeout on WWPN 20:02:00:0e:11:15:53:5d NPort x011700 Data: x100 x5 x0
Oct 12 10:53:53 localhost kernel: lin_tape: IBMtape0-----10773 tape_modesense_page failed: -5
Oct 12 10:53:53 localhost kernel: lin_tape: IBMtape0 removed.
Oct 12 10:53:53 localhost kernel: lin_tape: changer_open unable to get the device inquiry data.
Oct 12 10:53:53 localhost kernel: lin_tape: IBMchanger0 removed.
Oct 12 10:54:23 localhost kernel: lpfc 0000:1b:00.1: 1:(0):2756 LOGO failure DID:011700 Status:x3/x2
Oct 12 10:55:23 localhost kernel: lpfc 0000:1b:00.1: 1:(0):2753 PLOGI failure DID:011700 Status:x3/x2
Oct 12 10:56:22 localhost kernel: INFO: task dsmserv:16060 blocked for more than 120 seconds.
Oct 12 10:56:22 localhost kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Oct 12 10:56:22 localhost kernel: ffff880c0921f858 0000000000000082 0000000000000000 ffffffffa0098bbb
Oct 12 10:56:22 localhost kernel: ffff880c751b05f8 0000000000000000 ffff880671312000 0000000000000020
Oct 12 10:56:22 localhost kernel: ffff880c751b05f8 ffff880c0921ffd8 000000000000fb88 ffff880c751b05f8
Oct 12 10:56:22 localhost kernel: Call Trace:
Oct 12 10:56:22 localhost kernel: [<ffffffffa0098bbb>] ? lpfc_queuecommand+0x4fb/0x750 [lpfc]
Oct 12 10:56:22 localhost kernel: [<ffffffff8150f035>] schedule_timeout+0x215/0x2e0
Oct 12 10:56:22 localhost kernel: [<ffffffff812793c7>] ? kobject_put+0x27/0x60
Oct 12 10:56:22 localhost kernel: [<ffffffff8135aa67>] ? put_device+0x17/0x20
Oct 12 10:56:22 localhost kernel: [<ffffffff8150ecb3>] wait_for_common+0x123/0x180
Oct 12 10:56:22 localhost kernel: [<ffffffff81063990>] ? default_wake_function+0x0/0x20
Oct 12 10:56:22 localhost kernel: [<ffffffff8150edcd>] wait_for_completion+0x1d/0x20
Oct 12 10:56:22 localhost kernel: [<ffffffff81262c6c>] blk_execute_rq+0x8c/0xf0
Oct 12 10:56:22 localhost kernel: [<ffffffff8125dbbd>] ? __blk_put_request+0x7d/0xd0
Oct 12 10:56:22 localhost kernel: [<ffffffff8125efa6>] ? blk_get_request+0x46/0xa0
Oct 12 10:56:22 localhost kernel: [<ffffffffa03f4dae>] lin_tape_blk_rq+0x3fe/0x560 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffffa03f4f58>] tape_execute_scsi_command+0x48/0xc0 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffff8104c678>] ? flush_tlb_others_ipi+0x128/0x130
Oct 12 10:56:22 localhost kernel: [<ffffffffa04094d0>] changer_send_scsi_io+0x130/0x280 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffffa040965d>] changer_send_scsi_cmd+0x3d/0x150 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffffa040a25a>] changer_move_medium+0xfa/0x160 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffffa03e6d4a>] ? changer_wait_and_set_busy+0xda/0x270 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffffa04106f5>] changer_lbioc_move_medium+0x35/0x60 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffffa03e6c13>] chgioc_exe+0xc3/0x120 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffffa03e835e>] lin_tape_changer_ioctl+0x5fe/0x1710 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffffa04106c0>] ? changer_lbioc_move_medium+0x0/0x60 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffffa03d7ac7>] lin_tape_ioctl_changer+0xf7/0x1d0 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffffa03d82f3>] lin_tape_ioctl+0x63/0x100 [lin_tape]
Oct 12 10:56:22 localhost kernel: [<ffffffff8119537c>] vfs_ioctl+0x7c/0xa0
Oct 12 10:56:22 localhost kernel: [<ffffffff811954c4>] do_vfs_ioctl+0x84/0x580
Oct 12 10:56:22 localhost kernel: [<ffffffff81187063>] ? sys_newfstat+0x33/0x40
Oct 12 10:56:22 localhost kernel: [<ffffffff81195a41>] sys_ioctl+0x81/0xa0
Oct 12 10:56:22 localhost kernel: [<ffffffff8100b072>] system_call_fastpath+0x16/0x1b

Environment

  • Red Hat Enterprise Linux 6
  • 3rd party lin_tape, lpfc driver
  • IBM tape device

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content