From owner-freebsd-bugs@freebsd.org Sun Jun 28 07:21:48 2015 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F91F98E06A for ; Sun, 28 Jun 2015 07:21:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3FD0B1891 for ; Sun, 28 Jun 2015 07:21:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t5S7LmCC074735 for ; Sun, 28 Jun 2015 07:21:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 201157] [cam] mpt stuck in loop attempting to abort Date: Sun, 28 Jun 2015 07:21:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: p-fbsd-bugs@ziemba.us X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jun 2015 07:21:48 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201157 Bug ID: 201157 Summary: [cam] mpt stuck in loop attempting to abort Product: Base System Version: 10.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: p-fbsd-bugs@ziemba.us % uname -vm FreeBSD 10.1-STABLE #1 r280974M: Thu Apr 2 23:07:57 PDT 2015 root@hairball:/usr/obj/usr/src/sys/GPZ-280974 amd64 % pciconf -lv mpt0 mpt0@pci0:16:8:0: class=0x010000 card=0x50c01000 chip=0x00301000 rev=0xc1 hdr=0x00 vendor = 'LSI Logic / Symbios Logic' device = '53c1030 PCI-X Fusion-MPT Dual Ultra320 SCSI' class = mass storage subclass = SCSI DMESG output: mpt0: port 0xa000-0xa0ff mem 0xf3720000-0xf373ffff,0xf3700000-0xf371ffff irq 16 at device 8.0 on pci16 mpt0: MPI Version=1.2.14.0 Attached via SCSI is a Dell Powervault 122T (LTO2) tape library which contains: sa1: ch1: After powering on the tape library and waiting two minutes, I ran "camcontrol rescan 1" which got stuck. The following syslog messages appeared: Jun 27 23:37:01 hairball kernel: sa1 at mpt0 bus 0 scbus1 target 4 lun 0 Jun 27 23:37:01 hairball kernel: sa1: Removable Sequential Access SCSI-3 device Jun 27 23:37:01 hairball kernel: sa1: Serial Number 1110289184 Jun 27 23:37:01 hairball kernel: sa1: 160.000MB/s transfers Jun 27 23:37:01 hairball kernel: (80.000MHz DT, offset 31, 16bit) Jun 27 23:37:02 hairball kernel: (probe0:mpt0:0:9:0): INQUIRY. CDB: 12 00 00 00 24 00 Jun 27 23:37:02 hairball kernel: (probe0:mpt0:0:9:0): CAM status: Target Bus Phase Sequence Failure Jun 27 23:37:02 hairball kernel: (probe0:mpt0:0:9:0): Retrying command Jun 27 23:37:07 hairball kernel: mpt0: request 0xfffffe0000fe1148:1120 timed out for ccb 0xfffff80186f8f800 (req->ccb 0xfffff80186f8f800) Jun 27 23:37:07 hairball kernel: mpt0: attempting to abort req 0xfffffe0000fe1148:1120 function 0 Jun 27 23:37:07 hairball kernel: mpt0: abort of req 0xfffffe0000fe1148:1120 completed The last two lines (attempting to abort; abort completed) repeated endlessly. After 30 minutes, I powered off the the tape library. The camcontrol command completed, and the final syslog messages were: Jun 28 00:07:17 hairball kernel: mpt0: attempting to abort req 0xfffffe0000fe2020:1145 function 0 Jun 28 00:07:17 hairball kernel: mpt0: completing timedout/aborted req 0xfffffe0000fe2020:1145 Jun 28 00:07:17 hairball kernel: mpt0: abort of req 0xfffffe0000fe2020:0 completed This behavior is inconsistent. Sometimes everything works as expected; other times the system behaves as described above. -- You are receiving this mail because: You are the assignee for the bug.