From owner-freebsd-stable@FreeBSD.ORG Fri Jan 2 20:35:41 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 88C81644 for ; Fri, 2 Jan 2015 20:35:41 +0000 (UTC) Received: from mout.web.de (mout.web.de [212.227.15.3]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.web.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 23A9264E39 for ; Fri, 2 Jan 2015 20:35:40 +0000 (UTC) Received: from [10.0.0.2] ([91.60.10.216]) by smtp.web.de (mrweb003) with ESMTPSA (Nemesis) id 0MbyJ4-1YN0vq3k6o-00JJCQ for ; Fri, 02 Jan 2015 21:22:37 +0100 Subject: USB3 disk failing on 9.3R From: Marc Santhoff To: freebsd-stable@freebsd.org Content-Type: text/plain; charset="ISO-8859-15" Date: Fri, 02 Jan 2015 21:19:21 +0100 Message-ID: <1420229961.5322.14.camel@puma.das.netz> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:pPpg0NJ9HTY9JH4UtMgB8vqQROJ9q0XQxBxVg53gkG3Um+hnt78 qBdwdTRRzMvvb9J4vusSzsmr5WU1Z0ohQGSoS9k+HiBybg9fGe+56Co/bsCaOnb6V0d6alH TlVYZYeg+GqPns0+ONGNKbVMX58+Q+c1i0+5g+F3AkcNCpcijM35gzHH7msWVOaVpR1nuyU wN5oNZPlQm+ueFiTNNB3A== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Jan 2015 20:35:41 -0000 Hi, when trying to use a brand new 3TB disk in an external case via USB3 that part is doing nasty things. Happening on 9.3 Release. When plugging in after the machine is booted and working the log says: Jan 2 04:06:42 kiwi kernel: umass0: on usbus0 Jan 2 04:06:42 kiwi kernel: umass0: SCSI over Bulk-Only; quirks = 0x0100 Jan 2 04:06:42 kiwi kernel: umass0:6:0:-1: Attached to scbus6 Jan 2 04:06:42 kiwi kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00 Jan 2 04:06:42 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Jan 2 04:06:42 kiwi kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Jan 2 04:06:42 kiwi kernel: (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) Jan 2 04:06:42 kiwi kernel: (probe0:umass-sim0:0:0:0): Error 22, Unretryable error Jan 2 04:07:15 kiwi kernel: ugen0.2: at usbus0 (disconnected) Jan 2 04:07:15 kiwi kernel: umass0: at uhub0, port 2, addr 1 (disconnected) Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): Retrying command Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): Retrying command Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): Retrying command Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): Retrying command Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jan 2 04:07:15 kiwi kernel: (probe0:umass-sim0:0:0:0): Error 5, Retries exhausted Jan 2 04:07:15 kiwi kernel: (da0:umass-sim0:0:0:0): got CAM status 0xa Jan 2 04:07:15 kiwi kernel: (da0:umass-sim0:0:0:0): fatal error, failed to attach to device Jan 2 04:07:16 kiwi kernel: xptioctl: pass driver is not in the kernel Jan 2 04:07:16 kiwi kernel: xptioctl: put "device pass" in your kernel config file In /dev only da0 is visible, the disk is preformatted with FAT32. If the disk is active while booting something similar: Jan 2 04:20:42 kiwi kernel: umass0: on usbus0 Jan 2 04:20:42 kiwi kernel: umass0: SCSI over Bulk-Only; quirks = 0x0100 Jan 2 04:20:42 kiwi kernel: umass0:7:0:-1: Attached to scbus7 Jan 2 04:20:42 kiwi kernel: uhub3: 6 ports with 6 removable, self powered Jan 2 04:20:42 kiwi kernel: uhub6: 6 ports with 6 removable, self powered Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00 Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): Error 22, Unretryable error ... Jan 2 04:20:42 kiwi kernel: run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): Retrying command Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): Retrying command Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): Retrying command Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): Retrying command Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 01 83 00 fc 00 Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error Jan 2 04:20:42 kiwi kernel: (probe0:umass-sim0:0:0:0): Error 5, Retries exhausted Afterwards nothing happens, the device da0 is never appearing ind /dev. In both cases random device are kicked from USB (mouse, keyboard). When shutting down it takes a very long time, some minutes, until the computer is turning off. Other USB3 umass disk are working nicely, the controller is a Dec 30 00:25:00 kiwi kernel: xhci0: mem 0xfeaf0000-0xfeaf7fff irq 19 at device 0.0 on pci2 but the problem does exist on another machine under 9.1 stable having a: xhci0: mem 0xfe7fe000-0xfe7fffff irq 17 at device 0.0 on pci2 Is thre anything I can do? Should I take this qeustion to the usb list? Any data necessary to understand what's going on? Regards, Marc -- Marc Santhoff