Solved Problem with USB3?

I recently had to get a new motherboard, processor, and memory when my old socket 939 bought the farm. The mother board is a Gigabyte GA-990FXA-UD5. I also decided to do a clean install of version 9.1. I can connect any device on the USB 1/2 ports without any problems. It is the USB 3 ports that are giving me grief. The chipset for the USB 3 is "2 x Etron EJ168"and the other USB ports use a South Bridge.

I can not find any information in the motherboard manual that would allow any CMOS changes to the USB hubs or ports. The only information in the manual about the USB 3 port is this, "The USB 3.0 port supports the USB 3.0 specification and is compatible to the USB 2.0/1.1 specification. Use this for USB devices such as a USB keyboard/mouse, USB printer, UBS flash drive, and etc."

Here is my enviroment;
Code:
Copyright (c) 1992-2012 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 2012
    root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
CPU: AMD FX(tm)-4130 Quad-Core Processor             (3817.48-MHz K8-class CPU)
  Origin = "AuthenticAMD"  Id = 0x600f12  Family = 15  Model = 1  Stepping = 2
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x1e98220b<SSE3,PCLMULQDQ,MON,SSSE3,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD Features2=0x1c9bfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,NodeId,Topology,<b23>,<b24>>
  TSC: P-state invariant, performance statistics
real memory  = 8589934592 (8192 MB)
avail memory = 8189804544 (7810 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID: 16
 cpu1 (AP): APIC ID: 17
 cpu2 (AP): APIC ID: 18
 cpu3 (AP): APIC ID: 19

Here is the USB information.

Code:
usbus0: 5.0Gbps Super Speed USB v3.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 480Mbps High Speed USB v2.0
usbus5: 12Mbps Full Speed USB v1.0
usbus6: 5.0Gbps Super Speed USB v3.0
usbus7: 12Mbps Full Speed USB v1.0
usbus8: 480Mbps High Speed USB v2.0
ugen0.1: <0x1b6f> at usbus0
uhub0: <0x1b6f XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen2.1: <ATI> at usbus2
uhub2: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen3.1: <ATI> at usbus3
uhub3: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen4.1: <ATI> at usbus4
uhub4: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen6.1: <0x1b6f> at usbus6
uhub6: <0x1b6f XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus6
ugen7.1: <ATI> at usbus7
uhub7: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus7
ugen8.1: <ATI> at usbus8
uhub8: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus8
uhub5: 2 ports with 2 removable, self powered
uhub7: 4 ports with 4 removable, self powered
uhub1: 5 ports with 5 removable, self powered
uhub3: 5 ports with 5 removable, self powered
uhub0: 4 ports with 4 removable, self powered
uhub6: 4 ports with 4 removable, self powered
uhub8: 4 ports with 4 removable, self powered
uhub2: 5 ports with 5 removable, self powered
uhub4: 5 ports with 5 removable, self powered

If I connect a mouse it shows a cursor for about 2 seconds and then disappears. If I connect a card reader I get nothing. If I connect a flash drive to a USB 3 port I get this:

Code:
ugen6.2: <USB 2.0> at usbus6
Phaedra kernel: umass0: <USB 2.0 USB Flash Drive, class 0/0, rev 2.00/1.00, addr 1> on usbus6
Phaedra kernel: umass0:  SCSI over Bulk-Only; quirks = 0x0100
Phaedra kernel: umass0:13:0:-1: Attached to scbus13
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
(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
(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
(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
(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): Error 5, Retries exhausted
ugen6.2: <USB 2.0> at usbus6 (disconnected)
umass0: at uhub6, port 1, addr 1 (disconnected)
Does anyone know why: Does Ver 9.1 support USB 3?

This not a critical problem as I have more USB ports than I could ever use. I would think that the latest version of FreeBSD would support the USB 3 specification. Just wonder why?

Keith
 
Crotalus said:
Does anyone know why: Does Ver 9.1 support USB 3?
It should be supported by FreeBSD 9.1. But USB 3.0 is still quite new and I've noticed some weird quirks with boards that have an early adaptation of USB 3.0.
 
You cut out the part of the boot log that would show exactly how FreeBSD identified the USB 3 controller. For example, on this system I get:
Code:
xhci0: <ASMedia ASM1042 USB 3.0 controller> mem 0xfb200000-0xfb207fff irq 16 at device 0.0 on pci5
xhci0: 32 byte context size.
usbus1 on xhci0
pcib6: <ACPI PCI-PCI bridge> irq 16 at device 28.5 on pci0
pci6: <ACPI PCI bus> on pcib6
xhci1: <ASMedia ASM1042 USB 3.0 controller> mem 0xfb100000-0xfb107fff irq 17 at device 0.0 on pci6
xhci1: 32 byte context size.
usbus2 on xhci1

There have been updates to some of the USB 3 chipset drivers in 9-STABLE (which means they are in 9.2-BETA1). I'm not sure if the updated drivers would make any difference to your system, but it might be worth trying.
 
Here is the detection of the USB controllers in order.
Code:
xhci0: <XHCI (generic) USB 3.0 controller> mem 0xf7600000-0xf7607fff irq 48 at device 0.0 on pci2
xhci0: 64 byte context size.
usbus0 on xhci0
pcib3: <ACPI PCI-PCI bridge> irq 54 at device 10.0 on pci0

ohci0: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xf770a000-0xf770afff irq 18 at device 18.0 on pci0
usbus1 on ohci0
ehci0: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xf7709000-0xf77090ff irq 17 at device 18.2 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci0
ohci1: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xf7708000-0xf7708fff irq 18 at device 19.0 on pci0
usbus3 on ohci1
ehci1: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xf7707000-0xf77070ff irq 17 at device 19.2 on pci0
usbus4: EHCI version 1.0
usbus4 on ehci1
pci0: <serial bus, SMBus> at device 20.0 (no driver attached)
hdac0: <ATI SB600 HDA Controller> mem 0xf7700000-0xf7703fff irq 16 at device 20.2 on pci0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0

ohci2: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xf7706000-0xf7706fff irq 18 at device 20.5 on pci0
usbus5 on ohci2

xhci1: <XHCI (generic) USB 3.0 controller> mem 0xf7200000-0xf7207fff irq 17 at device 0.0 on pci7
xhci1: 64 byte context size.
usbus6 on xhci1
Here is a piece of the boot log and it identifies the USB3 controllers as "generic". The motherboard manual identifies them as "2 x Etron EJ168". It would appear that FreeBSD 9.1 does not recognize the chip set. Maybe sometime in future releases.

Thanks!

Keith

P.S. There was a CD in the package with drivers, but they are all for MS Windows of different flavors.
 
If it makes you feel any better, I spent a good 6 months wrestling with driver issues in Windows for USB3 support on the company SOE.
 
A little update. I obtained a USB3 device to try it in an UBS3 port and I got the same type of an error. It does recognize it as a USB3 device. It also works on the slower USB ports.
Code:
ugen6.2: <USB 3.0> at usbus6
umass0: <USB 3.0 USB Flash Drive, class 0/0, rev 2.10/10.75, addr 2> on usbus6
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:14:0:-1: Attached to scbus14
(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
(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
(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
(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
(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): Error 5, Retries exhausted

What is weird is that it shows as an USB2 speed.
Code:
root@Phaedra:/ # usbconfig
ugen0.1: <XHCI root HUB 0x1b6f> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE
ugen1.1: <OHCI root HUB ATI> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen2.1: <EHCI root HUB ATI> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen3.1: <OHCI root HUB ATI> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen4.1: <EHCI root HUB ATI> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen5.1: <OHCI root HUB ATI> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen6.1: <XHCI root HUB 0x1b6f> at usbus6, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE
ugen7.1: <OHCI root HUB ATI> at usbus7, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE
ugen8.1: <EHCI root HUB ATI> at usbus8, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
ugen3.2: <Back-UPS RS 1500 FW8.g9 .D USB FWg9 American Power Conversion> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON
ugen1.2: <USB Receiver Logitech> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen6.2: <USB Flash Drive USB 3.0> at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
 
A little update if anybody is out there.

I am now on version 9.3-RELEASE-p2 #0 and am getting the same results.
 
I now know what the problem is. My Gigabyte GA-990FXA-UD5 motherboard with the Etron EJ168 USB3 chipset does not work. That is FreeBSD does not support it at least in Version 9.*. I could not find any information on the chipsets in the hardware compatibility and if it's there I missed it.

I bought a Vantec 4-port UBS3 add on card, UGT-PC345 that has one 20 pin internal and 2 external ports. It has the Renesas uDP720201 chipset. It works fine in my system. I now have access to the USB3 speed with those devices for UBS3. The SIIG JU-P40511-S1 and the Vantec UGT-PC345 are clones of each other with the same chipset. The difference is the cost and warranty period.

Vantec - One year warranty and cheaper.
Siig - Lifetime warranty and more expensive.

I have disabled the UBS3 ports in the CMOS on the motherboard as I can't use them.

There is joy in Mudville!
 
Back
Top