From owner-freebsd-usb@FreeBSD.ORG Tue Oct 7 19:04:44 2014 Return-Path: Delivered-To: freebsd-usb@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 40E7338D for ; Tue, 7 Oct 2014 19:04:44 +0000 (UTC) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [IPv6:2607:f3e0:0:1::12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smarthost.sentex.ca", Issuer "smarthost.sentex.ca" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A220F73 for ; Tue, 7 Oct 2014 19:04:43 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.9/8.14.9) with ESMTP id s97J4fEe056198; Tue, 7 Oct 2014 15:04:42 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <54343944.2040103@sentex.net> Date: Tue, 07 Oct 2014 15:04:36 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Subject: XHCI device probe inconsistency Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.75 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Oct 2014 19:04:44 -0000 Hi, on r272695 AMD64, I have a USB 3.0 CF reader/writer that does not consistently work the same. At bootup time, if I have the reader attached, it connects as a USB 2.0 device. If I disconnect and reconnect it, it attaches and seems to function at the proper speed. after physically disconnecting and reconnecting it shows as usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.3: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) ugen0.5: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (0mA) ugen0.4: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (200mA) ugen0.4: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (200mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0009 idVendor = 0x11b0 idProduct = 0x6348 bcdDevice = 0x0308 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0003 <08735342214972> bNumConfigurations = 0x0001 At bootup time, dmesg shows ugen0.4: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:7:0:-1: Attached to scbus7 da0 at umass-sim0 bus 0 scbus7 target 0 lun 0 da0: < FCR-HS3 -0 1.00> Removable Direct Access SCSI-4 device da0: Serial Number 08735342214972 da0: 40.000MB/s transfers da0: 1919MB (3931200 512 byte sectors: 255H 63S/T 244C) da0: quirks=0x2 da1 at umass-sim0 bus 0 scbus7 target 0 lun 1 da1: < FCR-HS3 -1 1.00> Removable Direct Access SCSI-4 device da1: Serial Number 08735342214972 da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da1: quirks=0x2 da2 at umass-sim0 bus 0 scbus7 target 0 lun 2 da2: < FCR-HS3 -2 1.00> Removable Direct Access SCSI-4 device da2: Serial Number 08735342214972 da2: 40.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da2: quirks=0x2 da3 at umass-sim0 bus 0 scbus7 target 0 lun 3 da3: < FCR-HS3 -3 1.00> Removable Direct Access SCSI-4 device da3: Serial Number 08735342214972 da3: 40.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present da3: quirks=0x2 Root mount waiting for: usbus0 and then disconnect .. (da2:umass-sim0:0:0:2): Periph destroyed (da3:umass-sim0:0:0:3): Periph destroyed ugen0.4: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x4000 umass0:7:0:-1: Attached to scbus7 (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:24,0 (Invalid field in CDB) (probe0:umass-sim0:0:0:0): Error 22, Unretryable error da0 at umass-sim0 bus 0 scbus7 target 0 lun 0 da0: < FCR-HS3 -0 1.00> Removable Direct Access SCSI-6 device da0: Serial Number 08735342214972 da0: 400.000MB/s transfers da0: 1919MB (3931200 512 byte sectors: 255H 63S/T 244C) da0: quirks=0x2 da1 at umass-sim0 bus 0 scbus7 target 0 lun 1 da1: < FCR-HS3 -1 1.00> Removable Direct Access SCSI-6 device da1: Serial Number 08735342214972 da1: 400.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present da1: quirks=0x2 da2 at umass-sim0 bus 0 scbus7 target 0 lun 2 da2: < FCR-HS3 -2 1.00> Removable Direct Access SCSI-6 device da2: Serial Number 08735342214972 da2: 400.000MB/s transfers da2: Attempt to query device size failed: NOT READY, Medium not present da2: quirks=0x2 da3 at umass-sim0 bus 0 scbus7 target 0 lun 3 da3: < FCR-HS3 -3 1.00> Removable Direct Access SCSI-6 device da3: Serial Number 08735342214972 da3: 400.000MB/s transfers da3: Attempt to query device size failed: NOT READY, Medium not present da3: quirks=0x2 and its the proper speed. MB is BIOS Information Vendor: Intel Corp. Version: S1200RP.86B.01.04.0002.011020141517 Release Date: 01/10/2014 Base Board Information Manufacturer: Intel Corporation Product Name: S1200RP_SE Version: G62252-406 xhci0@pci0:0:20:0: class=0x0c0330 card=0x35b78086 chip=0x8c318086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'Lynx Point USB xHCI Host Controller' class = serial bus subclass = USB bar [10] = type Memory, range 64, base 0xc0120000, size 65536, enabled cap 01[70] = powerspec 2 supports D0 D3 current D0 cap 05[80] = MSI supports 8 messages, 64 bit enabled with 1 message ehci0@pci0:0:26:0: class=0x0c0320 card=0x35b78086 chip=0x8c2d8086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'Lynx Point USB Enhanced Host Controller' class = serial bus subclass = USB bar [10] = type Memory, range 32, base 0xc1420000, size 1024, enabled cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] = PCI Advanced Features: FLR TP -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/