Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jun 2012 10:16:40 -0700
From:      Waitman Gobble <gobble.wa@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   USB 3.0 delay in 'detecting' attached drive
Message-ID:  <CAFuo_fwVCJ-0hAKsBcdAiws4fRUgGe=dZT_q61OwHLFEo6K2Ew@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I have a new machine with 2 USB 3.0 ports and 2 USB 2.0 ports. When I plug
a USB 3.0 drive / cable into the USB 3.0 port it takes about 70 seconds for
the drive to show up, on the USB 2.0 port it's instantly. I haven't used
USB 3.0 with FreeBSD so I'm not sure if this is expected or maybe I need to
reconfigure something or look at a different kernel config.


here's my info

$ uname -a
FreeBSD hunny.waitman.net 10.0-CURRENT FreeBSD 10.0-CURRENT #0: Sat Jun 2
01:25:21 PDT 2012 root@:/usr/obj/usr/src/sys/KEYSHIA amd64


Notice the time.. 9:36:49 plugin, 9:37:59 drive shows up.

USB 3.0 connect:
Jun 10 09:36:49 hunny kernel: ugen1.2: <Seagate> at usbus1
Jun 10 09:36:49 hunny kernel: umass0: <Seagate FreeAgent GoFlex, class 0/0,
rev 3.00/1.00, addr 1> on usbus1
Jun 10 09:36:49 hunny kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100
Jun 10 09:36:49 hunny kernel: umass0:4:0:-1: Attached to scbus4
Jun 10 09:37:59 hunny kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0
Jun 10 09:37:59 hunny kernel: da0: < > Fixed Direct Access SCSI-0 device
Jun 10 09:37:59 hunny kernel: da0: 400.000MB/s transfers
Jun 10 09:37:59 hunny kernel: da0: 476940MB (976773167 512 byte sectors:
255H 63S/T 60801C)
Jun 10 09:40:30 hunny ntfs-3g[1098]: Mounted /dev/da0s1 (Read-Write, label
"MUSIC", NTFS 3.1)
Jun 10 09:40:30 hunny ntfs-3g[1098]: Mount options:
allow_other,nonempty,atime,fsname=/dev/da0s1
Jun 10 09:41:43 hunny ntfs-3g[1098]: Unmounting /dev/da0s1 (MUSIC)
Jun 10 09:41:47 hunny kernel: (da0:umass-sim0:0:0:0): lost device - 0
outstanding, 0 refs
Jun 10 09:41:47 hunny kernel: (da0:umass-sim0:0:0:0): removing device entry



USB 2.0 - instantly


Jun 10 09:42:07 hunny kernel: ugen3.2: <Seagate> at usbus3
Jun 10 09:42:07 hunny kernel: umass0: <Seagate FreeAgent GoFlex, class 0/0,
rev 2.10/1.00, addr 2> on usbus3
Jun 10 09:42:07 hunny kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100
Jun 10 09:42:07 hunny kernel: umass0:4:0:-1: Attached to scbus4
Jun 10 09:42:07 hunny kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0
Jun 10 09:42:07 hunny kernel: da0: <Seagate FreeAgent GoFlex 211> Fixed
Direct Access SCSI-0 device
Jun 10 09:42:07 hunny kernel: da0: 40.000MB/s transfers
Jun 10 09:42:07 hunny kernel: da0: 476940MB (976773167 512 byte sectors:
255H 63S/T 60801C)
Jun 10 09:42:24 hunny kernel: (da0:umass-sim0:0:0:0): lost device - 0
outstanding, 0 refs
Jun 10 09:42:24 hunny kernel: (da0:umass-sim0:0:0:0): removing device entry
...





$ dmesg | grep USB
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xf0348000-0xf0349fff irq 18
at device 16.0 on pci0
xhci1: <XHCI (generic) USB 3.0 controller> mem 0xf034a000-0xf034bfff irq 17
at device 16.1 on pci0
ohci0: <OHCI (generic) USB controller> mem 0xf034f000-0xf034ffff irq 18 at
device 18.0 on pci0
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xf034e000-0xf034e0ff irq 17
at device 18.2 on pci0
ohci1: <OHCI (generic) USB controller> mem 0xf034d000-0xf034dfff irq 18 at
device 19.0 on pci0
ehci1: <EHCI (generic) USB 2.0 controller> mem 0xf034c000-0xf034c0ff irq 17
at device 19.2 on pci0
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 5.0Gbps Super Speed USB v3.0
usbus2: 12Mbps Full Speed USB v1.0
usbus3: 480Mbps High Speed USB v2.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
umass1: <Generic USB Storage, class 0/0, rev 2.00/98.33, addr 2> on usbus3

$ pciconfig -lv
xhci0@pci0:0:16:0: class=0x0c0330 card=0x358b103c chip=0x78121022 rev=0x03
hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Hudson USB XHCI Controller'
class = serial bus
subclass = USB
xhci1@pci0:0:16:1: class=0x0c0330 card=0x358b103c chip=0x78121022 rev=0x03
hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Hudson USB XHCI Controller'
class = serial bus
subclass = USB
ehci0@pci0:0:18:2: class=0x0c0320 card=0x358b103c chip=0x78081022 rev=0x11
hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Hudson USB EHCI Controller'
class = serial bus
subclass = USB
ohci1@pci0:0:19:0: class=0x0c0310 card=0x358b103c chip=0x78071022 rev=0x11
hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Hudson USB OHCI Controller'
class = serial bus
subclass = USB
ehci1@pci0:0:19:2: class=0x0c0320 card=0x358b103c chip=0x78081022 rev=0x11
hdr=0x00
vendor = 'Advanced Micro Devices [AMD]'
device = 'Hudson USB EHCI Controller'
class = serial bus
subclass = USB



Thank you,

Waitman Gobble
San Jose California USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFuo_fwVCJ-0hAKsBcdAiws4fRUgGe=dZT_q61OwHLFEo6K2Ew>