Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2012 16:29:29 -0500
From:      Mike Tancsa <mike@sentex.net>
To:        freebsd-usb@freebsd.org
Subject:   USB3 SATA enclosure
Message-ID:  <50C65439.8010408@sentex.net>

next in thread | raw e-mail | index | archive | help
I picked up a USB3 sata enclosure and was surprised at the low speeds I
was getting.  I should probably just stick with eSata instead, but has
anyone got any decent throughput on USB3 drives ?

This one seems to be coming up USB2 speeds


ugen0.5: <USB 3.0 SATA Bridge VIA Labs, Inc.> at usbus0, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0210
  bDeviceClass = 0x0000
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x2109
  idProduct = 0x0700
  bcdDevice = 0x0005
  iManufacturer = 0x0001  <VIA Labs, Inc.>
  iProduct = 0x0002  <USB 3.0 SATA Bridge>
  iSerialNumber = 0x0003  <0000000000006121>
  bNumConfigurations = 0x0001

ugen0.5: <USB 3.0 SATA Bridge VIA Labs, Inc.> at usbus0, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=ON


 Configuration index 0

    bLength = 0x0009
    bDescriptorType = 0x0002
    wTotalLength = 0x0020
    bNumInterfaces = 0x0001
    bConfigurationValue = 0x0001
    iConfiguration = 0x0000  <no string>
    bmAttributes = 0x00c0
    bMaxPower = 0x0001

    Interface 0
      bLength = 0x0009
      bDescriptorType = 0x0004
      bInterfaceNumber = 0x0000
      bAlternateSetting = 0x0000
      bNumEndpoints = 0x0002
      bInterfaceClass = 0x0008
      bInterfaceSubClass = 0x0002
      bInterfaceProtocol = 0x0050
      iInterface = 0x0000  <no string>

     Endpoint 0
        bLength = 0x0007
        bDescriptorType = 0x0005
        bEndpointAddress = 0x0081  <IN>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200
        bInterval = 0x0001
        bRefresh = 0x0000
        bSynchAddress = 0x0000

     Endpoint 1
        bLength = 0x0007
        bDescriptorType = 0x0005
        bEndpointAddress = 0x0002  <OUT>
        bmAttributes = 0x0002  <BULK>
        wMaxPacketSize = 0x0200
        bInterval = 0x0001
        bRefresh = 0x0000
        bSynchAddress = 0x0000




xhci0@pci0:4:0:0:       class=0x0c0330 card=0x20088086 chip=0x01941033
rev=0x04 hdr=0x00
    vendor     = 'NEC Corporation'
    device     = 'uPD720200 USB 3.0 Host Controller'
    class      = serial bus
    subclass   = USB
    bar   [10] = type Memory, range 64, base 0xfb900000, size 8192, enabled
    cap 01[50] = powerspec 3  supports D0 D3  current D0
    cap 05[70] = MSI supports 8 messages, 64 bit
    cap 11[90] = MSI-X supports 8 messages in map 0x10
    cap 10[a0] = PCI-Express 2 endpoint max data 128(128) link x1(x1)
                 speed 5.0(5.0)
ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected
ecap 0003[140] = Serial 1 ffffffffffffffff
ecap 0018[150] = unknown 1
  PCI-e errors = Correctable Error Detected
                 Unsupported Request Detected
     Corrected = Advisory Non-Fatal Error

RELENG_9 from yesterday.

When connected, it comes up
ugen0.5: <VIA Labs, Inc.> at usbus0
umass0: <VIA Labs, Inc. USB 3.0 SATA Bridge, class 0/0, rev 2.10/0.05,
addr 5> on usbus0
umass0:  8070i (ATAPI) over Bulk-Only; quirks = 0x4000
umass0:13:0:-1: Attached to scbus13
(probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0
(probe0:umass-sim0:0:0:0): CAM status: CCB request completed with an error
(probe0:umass-sim0:0:0:0): Retrying command
da1 at umass-sim0 bus 0 scbus13 target 0 lun 0
da1: <ST2000DM 001-1CH164 CC24> Fixed Direct Access SCSI-2 device
da1: 40.000MB/s transfers
da1: 1907729MB (3907029165 512 byte sectors: 255H 63S/T 243201C)

1(cage)# camcontrol inquiry 13:0:0
pass6: <ST2000DM 001-1CH164 CC24> Fixed Direct Access SCSI-2 device
pass6: Serial Number 0000000000006121
pass6: 40.000MB/s transfers
0(cage)#


	---Mike


-- 
-------------------
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50C65439.8010408>