USB3 HDD on Alix only detected as Full-Speed (12Mbit/s) device

Status
Not open for further replies.

xOneca

Cadet
Joined
Sep 11, 2012
Messages
3
Hello!

I am trying to make a cheap home NAS. I have an Alix.2 system with two USB 3.0 ADATA CH11 500 Gb portable drives attached. The Alix motherboard supports USB 2.0 as is detected by FreeNAS:

Code:
(...)

ohci0: <OHCI (generic) USB controller> mem 0xefffe000-0xefffefff irq 12 at device 15.4 on pci0
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ehci0: <AMD CS5536 (Geode) USB 2.0 controller> mem 0xefffd000-0xefffdfff irq 12 at device 15.5 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <AMD CS5536 (Geode) USB 2.0 controller> on ehci0

(...)

usbus0: 12Mbps Full Speed USB v1.0
usbus1: 480Mbps High Speed USB v2.0
ugen0.1: <AMD> at usbus0
uhub0: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <AMD> at usbus1
uhub1: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
uhub0: 4 ports with 4 removable, self powered
uhub1: 4 ports with 4 removable, self powered


The problem is that both hard drives are attached as USB 1.1 devices --using OHCI controller, not EHCI:

Code:
ugen0.2: <ADATA> at usbus0
umass0: <ADATA CH11, class 0/0, rev 2.10/1.00, addr 2> on usbus0
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <ADATA CH11 2AR1> Fixed Direct Access SCSI-5 device 
da0: 1.000MB/s transfers
da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)


Everything works fine, but data transfers are way too slow!

I have tried with Debian (same hardware and same USB port) and it attaches as Hi-Speed (and I have checked the speed):

Code:
~ # usb-list 

Bus 01 Device 01: EHCI Host Controller [1d6b:0002]
   Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
   Manufacturer: Linux 2.6.32-5-486 ehci_hcd
   Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub

Bus 01 Device 02: CH11 [125f:a11a]
   Level 01 Parent 01 Port 01  Class 00(>ifc ) Subclass 00 Protocol 00
   Manufacturer: ADATA
   Interface 00: Class 08(mstor) Subclass 06 Protocol 50 Driver usb-storage

Bus 02 Device 01: OHCI Host Controller [1d6b:0001]
   Level 00 Parent 00 Port 00  Class 09(hub  ) Subclass 00 Protocol 00
   Manufacturer: Linux 2.6.32-5-486 ohci_hcd
   Interface 00: Class 09(hub  ) Subclass 00 Protocol 00 Driver hub


I come from Linux, so I have not very much knowledge about FreeBSD. Any clue on how can I force to use EHCI instead?

FreeNAS version: 8.2.0-RELEASE-p1-x86
 

paleoN

Wizard
Joined
Apr 22, 2012
Messages
1,403
I come from Linux, so I have not very much knowledge about FreeBSD. Any clue on how can I force to use EHCI instead?
Plug them into the other USB ports? As you said:
Code:
uhub0: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0


The drive is showing up on the usbus0 which is the USB 1.0 port. Another thought, try disabling legacy USB support in the BIOS if it's on.
 

xOneca

Cadet
Joined
Sep 11, 2012
Messages
3
Thanks for the reply. Sometimes obvious things slip past and leave me very embarrased. (Un)Fortunately, this time I have tested all sort of combinations. If I swap port it also says "on usbus0." Also, supposedly all 4 ports are USB 2.0 capable. (And they are: in Debian the very same port detects HDD as USB 2.0...)

The BIOS won't let me disable nothing: (it's TinyBIOS)

Code:
BIOS setup:

*9* 9600 baud (2) 19200 baud (3) 38400 baud (5) 57600 baud (1) 115200 baud
(C) CHS mode *L* LBA mode (W) HDD wait (V) HDD slave *U* UDMA enable
(M) MFGPT workaround
(P) late PCI init
*R* Serial console enable 
(E) PXE boot enable 
(X) Xmodem upload 
(Q) Quit


(Asterisks mean "enabled")

The only thing I haven't tried is disabling OHCI from FreeNAS, which I don't know how to do.
 

xOneca

Cadet
Joined
Sep 11, 2012
Messages
3
I've been researching and I have more data.

This is the ADATA USB 3.0 HDD when plugged in:

Code:
ugen0.2: <ADATA> at usbus0
umass0: <ADATA CH11, class 0/0, rev 2.10/1.00, addr 2> on usbus0
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <ADATA CH11 2AR1> Fixed Direct Access SCSI-5 device 
da0: 1.000MB/s transfers
da0: 476940MB (976773168 512 byte sectors: 255H 63S/T 60801C)


Unplugged and connected an USB 2.0 HDD case with an old 40 Gb disk on the same port:

Code:
ugen1.2: <Cypress Semiconductor> at usbus1
umass0: <Cypress Semiconductor USB2.0 Storage Device, class 0/0, rev 2.00/0.01, addr 2> on usbus1
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: <ST340014 A \0000\0000> Fixed Direct Access SCSI-0 device 
da0: 40.000MB/s transfers
da0: 38166MB (78165360 512 byte sectors: 255H 63S/T 4865C)


This one is detected as USB 2.0, but still not at Hi-Speed...

This time all tested with a nightly build: FreeNAS-8.3.1-ALPHA-r12395-x86
 
Status
Not open for further replies.
Top