From owner-freebsd-usb@FreeBSD.ORG Thu Jul 4 18:58:31 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C5B354A4; Thu, 4 Jul 2013 18:58:31 +0000 (UTC) (envelope-from bsd.gaijin@gmail.com) Received: from mail-yh0-x22d.google.com (mail-yh0-x22d.google.com [IPv6:2607:f8b0:4002:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF8B1911; Thu, 4 Jul 2013 18:58:31 +0000 (UTC) Received: by mail-yh0-f45.google.com with SMTP id b20so586137yha.18 for ; Thu, 04 Jul 2013 11:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:subject:date:message-id:cc:to:mime-version :x-mailer; bh=Xa2Cq9i8XmW8iCiQMoHSDPkhluFAHQkuoxJCml/vcT8=; b=Kk7A1sTG9vt7yVrCsql+X08n6/jHWfjEjg0Vz4vE1X5HRg7hx44vWvlVjjJ91PLMdK Lrvvrfsr2IigWrFS8EgbDV4vv7fIWXp20VMUzwE2Fr/vhgCJJP5U0NC7LixPUeaVQGdV vnEW3m1SH+D4OTpVnGhmBPST6o1MAX9Jauz/Lb1LYWaxrfou0/qAUHpbqB9XI8nciDeL nXafMvIq1sM+cnoeT8/Oh5P536g51WdVdUpSZewFgizGLwD4yzbEplWppO5wkCKLvXre CzHLwSA286zkuOf9BmKvtKmMlglqjMHHcPS3ajEgLsXTkBoYZsnXilxdEyFNc/FFIZa3 6zuQ== X-Received: by 10.236.207.2 with SMTP id m2mr3804459yho.214.1372964311049; Thu, 04 Jul 2013 11:58:31 -0700 (PDT) Received: from [10.0.3.5] (pool-96-242-215-113.nwrknj.fios.verizon.net. [96.242.215.113]) by mx.google.com with ESMTPSA id s29sm6729097yhf.6.2013.07.04.11.58.29 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 04 Jul 2013 11:58:30 -0700 (PDT) From: Alexandre Kovalenko Subject: XHCI umass support breaks between r248085 and r252560 on 9-STABLE Date: Thu, 4 Jul 2013 14:58:30 -0400 Message-Id: <94A3DD2E-F2E2-4302-8197-BAB213641E2F@gmail.com> To: freebsd-usb@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) X-Mailer: Apple Mail (2.1508) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Jul 2013 18:58:31 -0000 Three different external hard drives (Seagate, Western Digital and = noname USB 3.0 enclosure) refused to be recognized as the umass devices. = Reverting /usr/src/sys/dev/bsd/controller to r248085, building and = loading just xhci module makes drives appear again. Below are snippets = from the log in both cases: Non working: Jul 4 14:35:17 twinhead kernel: xhci0: mem 0xfddfe000-0xfddfffff irq 16 at device 0.0 on pci2 Jul 4 14:35:17 twinhead kernel: xhci0: 64 byte context size. Jul 4 14:35:17 twinhead kernel: usbus0 on xhci0 Jul 4 14:35:17 twinhead kernel: usbus0: 5.0Gbps Super Speed USB v3.0 Jul 4 14:35:17 twinhead kernel: ugen0.1: <0x1912> at usbus0 Jul 4 14:35:17 twinhead kernel: uhub0: <0x1912 XHCI root HUB, class = 9/0, rev 3.00/1.00, addr 1> on usbus0 Jul 4 14:35:17 twinhead kernel: uhub0: 8 ports with 8 removable, self = powered Jul 4 14:35:24 twinhead kernel: ugen0.2: at usbus0 Jul 4 14:35:24 twinhead kernel: umass0: on usbus0 Jul 4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. = CDB: 12 00 00 00 24 00=20 Jul 4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: = CCB request completed with an error Jul 4 14:35:29 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying = command Jul 4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. = CDB: 12 00 00 00 24 00=20 Jul 4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: = CCB request completed with an error Jul 4 14:35:30 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying = command Jul 4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. = CDB: 12 00 00 00 24 00=20 Jul 4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: = CCB request completed with an error Jul 4 14:35:35 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying = command Jul 4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. = CDB: 12 00 00 00 24 00=20 Jul 4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: = CCB request completed with an error Jul 4 14:35:36 twinhead kernel: (probe0:umass-sim0:0:0:0): Retrying = command Jul 4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): INQUIRY. = CDB: 12 00 00 00 24 00=20 Jul 4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: = CCB request completed with an error Jul 4 14:35:41 twinhead kernel: (probe0:umass-sim0:0:0:0): Error 5, = Retries exhausted Working: Jul 4 14:40:20 twinhead kernel: ugen0.2: at usbus0 = (disconnected) Jul 4 14:40:20 twinhead kernel: umass0: at uhub0, port 2, addr 1 = (disconnected) Jul 4 14:40:27 twinhead kernel: ugen0.2: at usbus0 Jul 4 14:40:27 twinhead kernel: umass0: on usbus0 Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. = CDB: a0 00 00 00 00 00 00 00 00 10 00 00=20 Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): CAM status: = SCSI Status Error Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): SCSI status: = Check Condition Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): SCSI sense: = ILLEGAL REQUEST asc:20,0 (Invalid command operation code) Jul 4 14:40:27 twinhead kernel: (probe0:umass-sim0:0:0:0): Error 22, = Unretryable error Jul 4 14:40:27 twinhead kernel: da0 at umass-sim0 bus 0 scbus4 target 0 = lun 0 Jul 4 14:40:27 twinhead kernel: da0: = Fixed Direct Access SCSI-5 device=20 Jul 4 14:40:27 twinhead kernel: da0: 400.000MB/s transfers Jul 4 14:40:27 twinhead kernel: da0: 190782MB (390721968 512 byte = sectors: 255H 63S/T 24321C) Jul 4 14:40:27 twinhead kernel: da0: quirks=3D0x2 I can provide additional information or try patches as necessary. Alexandre "Sunny" Kovalenko (=D0=9E=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0= =B4=D1=80 =D0=9A=D0=BE=D0=B2=D0=B0=D0=BB=D0=B5=D0=BD=D0=BA=D0=BE)