From owner-freebsd-bugs@FreeBSD.ORG Fri Sep 28 23:10:06 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01CB31065674 for ; Fri, 28 Sep 2012 23:10:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CC7528FC15 for ; Fri, 28 Sep 2012 23:10:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q8SNA5Z4092772 for ; Fri, 28 Sep 2012 23:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q8SNA5fa092771; Fri, 28 Sep 2012 23:10:05 GMT (envelope-from gnats) Resent-Date: Fri, 28 Sep 2012 23:10:05 GMT Resent-Message-Id: <201209282310.q8SNA5fa092771@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Wollman Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41C4D106564A for ; Fri, 28 Sep 2012 23:06:51 +0000 (UTC) (envelope-from wollman@nfs-prod-0.csail.mit.edu) Received: from nfs-prod-0.csail.mit.edu (nfs-prod-0.csail.mit.edu [128.30.113.117]) by mx1.freebsd.org (Postfix) with ESMTP id 05CE88FC14 for ; Fri, 28 Sep 2012 23:06:50 +0000 (UTC) Received: from nfs-prod-0.csail.mit.edu (localhost [127.0.0.1]) by nfs-prod-0.csail.mit.edu (8.14.5/8.14.5) with ESMTP id q8SN4Hko057136 for ; Fri, 28 Sep 2012 19:04:17 -0400 (EDT) (envelope-from wollman@nfs-prod-0.csail.mit.edu) Received: (from wollman@localhost) by nfs-prod-0.csail.mit.edu (8.14.5/8.14.5/Submit) id q8SN4G6Q057135; Fri, 28 Sep 2012 19:04:16 -0400 (EDT) (envelope-from wollman) Message-Id: <201209282304.q8SN4G6Q057135@nfs-prod-0.csail.mit.edu> Date: Fri, 28 Sep 2012 19:04:16 -0400 (EDT) From: Garrett Wollman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: kern/172150: SCSI bus scan on mps(4) spews thousands of lines on console X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Garrett Wollman List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Sep 2012 23:10:06 -0000 >Number: 172150 >Category: kern >Synopsis: SCSI bus scan on mps(4) spews thousands of lines on console >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 28 23:10:04 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Garrett Wollman >Release: FreeBSD 9.0-STABLE amd64 >Organization: MIT Computer Science & Artificial Intelligence Laboratory >Environment: System: FreeBSD nfs-prod-0.csail.mit.edu 9.0-STABLE FreeBSD 9.0-STABLE #7 r237562M: Tue Jun 26 22:14:57 EDT 2012 wollman@xyz.csail.mit.edu:/usr/obj/usr/src/sys/CSAIL amd64 >Description: Anything that causes a bus scan on mps(4) devices results in many thousands of lines of junk being spewed to the console, with the system unresponsive. The junk looks like this: (probe719:mps1:0:720:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe719:mps1:0:720:0): CAM status: Invalid Target ID (probe719:mps1:0:720:0): Error 22, Unretryable error (probe720:mps1:0:721:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe720:mps1:0:721:0): CAM status: Invalid Target ID (probe720:mps1:0:721:0): Error 22, Unretryable error (probe721:mps1:0:722:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe721:mps1:0:722:0): CAM status: Invalid Target ID (probe721:mps1:0:722:0): Error 22, Unretryable error (probe722:mps1:0:723:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe722:mps1:0:723:0): CAM status: Invalid Target ID (probe722:mps1:0:723:0): Error 22, Unretryable error (probe723:mps1:0:724:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe723:mps1:0:724:0): CAM status: Invalid Target ID (probe723:mps1:0:724:0): Error 22, Unretryable error (probe724:mps1:0:725:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe724:mps1:0:725:0): CAM status: Invalid Target ID (probe724:mps1:0:725:0): Error 22, Unretryable error (probe725:mps1:0:726:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe725:mps1:0:726:0): CAM status: Invalid Target ID (probe725:mps1:0:726:0): Error 22, Unretryable error (probe726:mps1:0:727:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe726:mps1:0:727:0): CAM status: Invalid Target ID (probe726:mps1:0:727:0): Error 22, Unretryable error (probe727:mps1:0:728:0): INQUIRY. CDB: 12 0 0 0 24 0 (probe727:mps1:0:728:0): CAM status: Invalid Target ID This sequence is repeated many times (I haven't tried to count) until eventually it gives up. >How-To-Repeat: Build a fileserver with a pair of SAS2116 cards. Plug something in. Wait fifteen minutes for the new device to finally get attached. >Fix: 1) Don't output these messages unless debugging is turned on. 2) If CAM already knows that they target ID is invalid, then it should terminate the probe for that target rather than retrying a huge number of times. >Release-Note: >Audit-Trail: >Unformatted: