Re: Do _any_ USB 3.0 cards actually work?

2014-05-27 Thread Gary Jennejohn
On Mon, 26 May 2014 16:41:33 -0600 (MDT)
Warren Block wbl...@wonkity.com wrote:

 On Mon, 26 May 2014, Julian H. Stacey wrote:
 
  Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
 
  Yes it works. Tue, 12 Jun 2012 I filed a success report:
  http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html
 
 Jeesh, two years ago.  I remember looking it up at the time, and this 
 appears to be the same card from Newegg:
 
 www.newegg.com/Product/Product.aspx?Item=N82E16815158297


I actually have two of these (one under FBSD-11) since Julian
pointed me at it and Conrad is fairly convenient for me (we both
live in or close to Munich).

Beware however.  I had numerous cheap USB3 enclosures-with-disk
fail to work with this card/the USB stack in FBSD.  I ended up
taking the drives out of the enclosures and using them in a
docking station.

I also have two Toshiba v63700-C 1TB 2.5 sealed external drives
which just work with no fuss or muss.

The problem seems to be more with the electronics in the enclosures
than with the card itself.

-- 
Gary Jennejohn
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-27 Thread Warren Block

On Tue, 27 May 2014, Julian H. Stacey wrote:


Warren Block wrote:

On Mon, 26 May 2014, Julian H. Stacey wrote:


Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this


Yes it works. Tue, 12 Jun 2012 I filed a success report:
http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html



I remember looking it up at the time, and this
appears to be the same card from Newegg:

www.newegg.com/Product/Product.aspx?Item=N82E16815158297


Newegg looks similar to Conrad

http://conrad.de/ce/de/product/973583/2-PORT-USB-30-PCI-EXPRESS-CONTROLLER

...

It's not identical.
 The white paint of the silk screen on PCB ends with:
Conrad.de  :  8-00B MADE IN TAIWAN  (no preceeding 1122 )
Newegg.com : 08-00D MADE IN TAIWAN  (+ preceeding 1122 )
Electricaly I don't know.


Those are likely date codes: 2011, week 22.  And possibly 8-00B or 
-00D are board revisions.  They may not be identical, but all the 
components are in the same place and I'd bet software will consider them 
the same thing.



My posting
 http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html
Lists all numbers off top of chips, (it was very hard to read one
chip, even with magnifying glass  good light, I wouldnt want to
try to read pcture on newegg web page, but people have my IC numbers
for Conrad).


The Startech USB chip is the same, a D720200F1.  A much better 
picture of the Vantec version:

http://www.expreview.com/9741-7.html

Newegg does not have the Vantec any more, but they did:
http://www.newegg.com/Product/Product.aspx?Item=N82E16815287007cm_re=ugt-pc302-_-15-287-007-_-Product

Anyway, the eight-pin IC is an Atmel 25F512B, a 512K-bit flash ROM for 
firmware.  It's possible there are firmware updates for these cards, but 
unlikely the vendors have them for end users.



Newegg.com page has:
 With a built-in SATA power connector, each USB port can deliver
 up to 900mA of power
That's too low, should be 1.0 Amp I believe for USB3 spec.



http://www.conrad.com/ce/en/product/973583/ (english page BTW) clicks to
http://www.produktinfo.conrad.com/datenblaetter/95-974999/973583-an-01-ml-2_PORT_USB_3_0_PCI_EXPRESS_C_de_en_fr_nl.pdf
Page 2 says:
each USB port of the plug-in card can deliver a current of up to
1.5A (SATA power unit must be connected to the plug-in card!),


One engineer is honest, the other is optimistic. :)
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Test Results (was: Re: Do _any_ USB 3.0 cards actually work?)

2014-05-26 Thread Daniel O'Connor

On 26 May 2014, at 12:46, Ronald F. Guilmette r...@tristatelogic.com wrote:
 My desktop#1 system contains this dual port USB 3.0 PCIe interface card
 that I've already mentioned (VIA LV800 chipset):
 
   http://www.newegg.com/Product/Product.aspx?Item=17Z-0002-2
 
 My desktop#2 system contains this Anker 2-port USB 3.0 PCIe card:
 
 
 http://www.amazon.com/Anker%C2%AE-Uspeed-Express-20-pin-Connector/dp/B007SJGGAE/ref=pd_cp_pc_2/181-8193670-6916000
 
 I have just now checked that, and the big chip on that has written on
 the top of the chip VL800-Q8, so apparentlty this also contained the
 VIA[tm] VL 800 chipset.

So, this is the same USB3 controller I am using with success, the plot thickens 
:)

 My HTPC system contains whatever the heck kind of USB 3.0 controller
 Foxconn elected in include on the board for this system:
 
   http://www.newegg.com/Product/Product.aspx?Item=N82E16856119070

Your dmesg says it is a ASMedia ASM1042 USB 3.0 controller

 1)  On all three test systems, the current FreeBSD USB driver doesn't
 entirely like the Hitachi Touro Moble 500GB USB 3.0 drive.  In each case,
 connecting this drive results in a set of error messages like the following:
 
(probe0:umass-sim2:2:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 
 00 00 
(probe0:umass-sim2:2:0:0): CAM status: SCSI Status Error
(probe0:umass-sim2:2:0:0): SCSI status: Check Condition
(probe0:umass-sim2:2:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid 
 command operation code)
(probe0:umass-sim2:2:0:0): Error 22, Unretryable error
 
 That last line is clearly incorrect, and at the very least needs to be
 rephrased.  Speaking from personal experience, I can attest to the fact
 that there are no such things, in life or anywhere else, as an error that
 cannot be retried, ad infinitum.  (And I have the scars to priove it!)

You're reading too much into what the SCSI standard says, it wasn't written 
with human beings in mind ;)

It just means there is no point retrying because it isn't a transient error (I 
believe). This is typically caused by devices which reject legal SCSI commands 
hence HPS's suggestion to add a quirk so the SCSI stack doesn't try sending 
that command to the device.

Not sure on the rest of your stuff though, sorry.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Test Results (was: Re: Do _any_ USB 3.0 cards actually work?)

2014-05-26 Thread Warren Block

On Sun, 25 May 2014, Ronald F. Guilmette wrote:


My HTPC system contains whatever the heck kind of USB 3.0 controller
Foxconn elected in include on the board for this system:

  http://www.newegg.com/Product/Product.aspx?Item=N82E16856119070


This article about USB 3.0 controllers from 2011 is interesting in 
general, but specifically because it talks about the USB controller 
integrated in some AMD chipsets:


http://vr-zone.com/articles/usb-3-0-speed-tests-7-way-host-controllers-roundup/13358.html

Hopefully the situation has improved since then.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-26 Thread Julian H. Stacey
 Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this

Yes it works. Tue, 12 Jun 2012 I filed a success report:
http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html

Cheers,
Julian
-- 
Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com
Interleave reply paragraphs like a play script.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-26 Thread Warren Block

On Mon, 26 May 2014, Julian H. Stacey wrote:


Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this


Yes it works. Tue, 12 Jun 2012 I filed a success report:
http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html


Jeesh, two years ago.  I remember looking it up at the time, and this 
appears to be the same card from Newegg:


www.newegg.com/Product/Product.aspx?Item=N82E16815158297
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-26 Thread Ronald F. Guilmette

In message alpine.bsf.2.00.1405261636170.85...@wonkity.com, 
Warren Block wbl...@wonkity.com wrote:

On Mon, 26 May 2014, Julian H. Stacey wrote:

 Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this

 Yes it works. Tue, 12 Jun 2012 I filed a success report:
 http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html

Jeesh, two years ago.  I remember looking it up at the time, and this 
appears to be the same card from Newegg:

www.newegg.com/Product/Product.aspx?Item=N82E16815158297

So are you guys telling me that I just shoulda bought that one?

I can see right off the bat why I didn't.

It looks like even now it still costs about twice as much as the ones
that I did actually buy.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-26 Thread Warren Block

On Mon, 26 May 2014, Ronald F. Guilmette wrote:



In message alpine.bsf.2.00.1405261636170.85...@wonkity.com,
Warren Block wbl...@wonkity.com wrote:


On Mon, 26 May 2014, Julian H. Stacey wrote:


Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this


Yes it works. Tue, 12 Jun 2012 I filed a success report:
http://lists.freebsd.org/pipermail/freebsd-usb/2012-June/011283.html


Jeesh, two years ago.  I remember looking it up at the time, and this
appears to be the same card from Newegg:

www.newegg.com/Product/Product.aspx?Item=N82E16815158297


So are you guys telling me that I just shoulda bought that one?

I can see right off the bat why I didn't.

It looks like even now it still costs about twice as much as the ones
that I did actually buy.


The Startech stuff is usually overpriced.  That card and others with the 
same chipset are all probably based on the same reference design. 
Vantec is more reasonable, and if you watch for sales, can be much less. 
Mine included a SATA power female to Molex adapter, a rare adapter that 
is handy for newer machines with only SATA cables and worth a bit on its 
own.

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-26 Thread Ronald F. Guilmette

I have more than a little reason to be suspicious of the motheboard
in my #2 desktop system, so I swapped the USB 3.0 PCIe add-in cards
that I had here between my two system and then re-ran all of my tests.

So now you can find all my test results in these five files:

  ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop1+anker-varlogmessages.txt
  ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop1+hootoo-varlogmessages.txt
  ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop2+anker-varlogmessages.txt
  ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop2+hootoo-varlogmessages.txt
  ftp://ftp.tristatelogic.com/pub/fbsd-usb3/htpc-varlogmessages.txt

Predictably, perhaps, the problems did in fact follow the (older, and
apparently not so great) Anker[tm] brand controller card, and _did not_
seem at all to depend on the motherboard.

I learned one other thing also.  As I mentioned earlier, the Anker card
(which I purchased over a year ago) apparently contains a VL800-Q8.  On
the other hand I've now looked closely at the HooToo USB 3.0 PCIe card
that I just purchased recently, and it sports a VL805-Q6.

Based on the dates of the following press reports, the VL800 is indeed a
much earlier (and, I am guessing, buggier) incarnation of the VL805:

(VL800 - May 26, 2010)
http://www.legitreviews.com/via-labs-vl800-usb-3-0-4-port-host-controller-announced_8134

(VL805 - November 22nd 2012)
http://www.techpowerup.com/175936/via-labs-announces-two-new-usb-3-0-host-controllers-via-vl805-and-via-vl806.html

So I guess it serves me right for trying to use an old card with an old
version of FreeBSD.

But then again, even a really very fresh version of FreeBSD doesn't seem to
like the old card.

But then again, perhaps that silicon was just plain BUGGY.  Certainly the
fact that it seems to disconnect and then reconnect an unrelated device
when I plug in my Patriot Gaultlet2 would tend to support that view.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-25 Thread Daniel O'Connor

On 25 May 2014, at 12:36, Daniel O'Connor docon...@gsoft.com.au wrote:
 I'll take pictures of them on Monday.

http://imgur.com/a/N8Dto

The non-working one uses an EtronTech EJ188H
The working one uses a VLI VL800 (I think, my photo was pretty hard to read)

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Do _any_ USB 3.0 cards actually work?

2014-05-25 Thread Daniel O'Connor

On 26 May 2014, at 11:59, Daniel O'Connor docon...@gsoft.com.au wrote:
 On 25 May 2014, at 12:36, Daniel O'Connor docon...@gsoft.com.au wrote:
 I'll take pictures of them on Monday.
 
 http://imgur.com/a/N8Dto
 
 The non-working one uses an EtronTech EJ188H
 The working one uses a VLI VL800 (I think, my photo was pretty hard to read)

FWIW the Etron is pretty poorly regarded (many threads about crashes and so on).

Searching Linux shows..
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/usb?id=ded737fe6a2fe5d18005e6e97e40e0d728a6619b
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/host?id=001fd3826f4c736ce292315782d015f768399080
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/usb/host?id=5cb7df2b2d3afee7638b3ef23a5bcb89c6f07bd9

Although I am not sure either are relevant to the symptoms I see.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








signature.asc
Description: Message signed with OpenPGP using GPGMail


Test Results (was: Re: Do _any_ USB 3.0 cards actually work?)

2014-05-25 Thread Ronald F. Guilmette

As a result of Warren Block's suggestion, I decided to try a number of
new and additional tests in order to try to further pin down and/or at
least document the current set of USB 3.0 problems I've been grappling
with.

I have also gathered further information about which chips, specifically
are contained within my various devices and controllers.

I do hope that all of the following information will prove useful.

I am fortunate to have here three (3) different (amd) x86-based systems
which each contain a dual USB 3.0 interface card of one kind or
another.  I am also fortunate to also have several different kinds
of USB 2.0 and USB 3.0 external devices that I can run tests with.

First, in order to make sure that I am reporting _current_ issues
relating tro USB support, today I downloaded the following image
file and installed this onto a USB 2.0 stick I had lying around
(i.e. a SanDisk Switch 8GB):

   FreeBSD-10.0-STABLE-amd64-20140506-r265408-memstick.img

All test results reported below are from systems that were booted to
the above FreeBSD image.

The results I gathered are all in the form of copies of /var/log/messages
files.  (At first I was going to provide just output from dmesg(8), but
then I noticed that those don't have date/time stamps, so I went back and
re-did all of my tests and collected the /var/log/messags files instead.)

The following files show the results of the numerous tests I did on the
three different system I own that contain USB 3.0 interfaces:

ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop1-varlogmessages.txt
ftp://ftp.tristatelogic.com/pub/fbsd-usb3/desktop2-varlogmessages.txt
ftp://ftp.tristatelogic.com/pub/fbsd-usb3/htcp-varlogmessages.txt

Please note that during my tests every time I performed some manual action,
in particular plugging or unplugging a USD device, I used the logger(1)
program to write a line starting with  to the
system log (/var/log/messages).  This helps a lot to see what was really
(physically) going on at each step during the tests.

My desktop#1 system contains this dual port USB 3.0 PCIe interface card
that I've already mentioned (VIA LV800 chipset):

   http://www.newegg.com/Product/Product.aspx?Item=17Z-0002-2

My desktop#2 system contains this Anker 2-port USB 3.0 PCIe card:

 
http://www.amazon.com/Anker%C2%AE-Uspeed-Express-20-pin-Connector/dp/B007SJGGAE/ref=pd_cp_pc_2/181-8193670-6916000

I have just now checked that, and the big chip on that has written on
the top of the chip VL800-Q8, so apparentlty this also contained the
VIA[tm] VL 800 chipset.

My HTPC system contains whatever the heck kind of USB 3.0 controller
Foxconn elected in include on the board for this system:

   http://www.newegg.com/Product/Product.aspx?Item=N82E16856119070

For my tests, I used the following 4 external devices, which I list here
(and which I tested) in what I believed might be incresing levels of
probable non-working-ness:

SanDisk Cruzer Blade 1.20 # USB 2.0 device

http://www.amazon.com/SanDisk-Cruzer-Frustration-Free-Packaging-SDCZ50-004G-AFFP/dp/B007KFAG8O

ADATA USB Flash Drive 1.00  # USB 3.0 device
http://www.newegg.com/Product/Product.aspx?Item=N82E16820211572

http://www.amazon.com/ADATA-Superior-Series-Flash-AS102P-16G-RGY/dp/B005Y8C0H4

HitachiG ST  # USB 3.0 device
http://www.newegg.com/Product/Product.aspx?Item=N82E16822145582

http://www.amazon.com/HGST-Touro-Mobile-External-HTOLMX3NA5001ABB/dp/B0062FZ3PY

Hitachi HTS541010A9E680 JA0O # USB 3.0 device
http://www.newegg.com/Product/Product.aspx?Item=N82E16817826002
http://www.amazon.com/Patriot-PCGTII25S-Gauntlet-2/dp/B006ICNRUO

Please note that the HitachiG ST  device is a PERMANENTLY SEALED
unit, so there is no way for me to find out what sort of interface chip
is inside that.

What I am listing here as Hitachi HTS541010A9E680 JA0O is actually
a rather ordinary 2.5 1TB laptop drive which I have installed inside of
a Patroit[tm] brand Gauntlet 2 external 2.5 USB 3.0 enclosure.  (See
links above for pictures and more technical information.)

In the case of the Patriot[tm] Gauntlet2 2.5 USB 3.0 enclosure (aka
Hitachi HTS541010A9E680 JA0O) I took the time to actually disassemble
that so that I could look and see what sort of chip was in it.  Written 
on the chip that is inside the Gauntlet2 is a set of three designators,
the first of which is GL3310.  Googling that plus up lots of relevant
information.

As a boot device on all 3 test systems I also used a USB 2.0 flash stick
which is identified within the system logs as SanDisk Cruzer Switch 1.26.
That was pulgged into a USB 2.0 port on all three test systems during boot
up.

My test procedure for all three systems was as follows:

1)  Insert the SanDisk Cruzer Blade (USB 2.0) into one of the
two USB 3.0 ports.

2)  Insert the ADATA USB Flash Drive into the second USB 3.0
port and 

Re: Do _any_ USB 3.0 cards actually work?

2014-05-24 Thread Hans Petter Selasky

On 05/24/14 20:43, Ronald F. Guilmette wrote:



I onw a 1TB HGST laptop drive.  This has been installed into a
Patroit[tm] brand Gauntlet II external USB 3.0 enclosure.

This drive has had all built-in diagnostics run on it, and it
is perfectly A-OK.  It works compltely fine with no problems
on multiple Linux systems I have here.

The motherboard on my main FreeBSD system is an ASRock N68C-GC FX,
and to that I have added one of these add-on USB 3.0 cards:

   http://www.newegg.com/Product/Product.aspx?Item=17Z-0002-2

Unfortunately, the drive is not working at all with this system
or this card.  When the device is plugged into one of the USB 3.0
ports I get these messages in /var/log/messages:

May 23 22:45:04 segfault kernel: xhci_do_command: Command timeout!
May 23 22:45:04 segfault kernel: usb_alloc_device: device init 3 failed 
(USB_ERR_TIMEOUT, ignored)
May 23 22:45:04 segfault kernel: ugen2.3: Unknown at usbus2 (disconnected)
May 23 22:45:04 segfault kernel: uhub_reattach_port: could not allocate new 
device

No other messages appear in the log, and quite obviously, the drive
is utterly inaccessible to FreeBSD.

This is extraoordinarily annoying, as I spend good money to buy this
add-in USB 3.0 card in the hopes that it would solve the problems
that I previously had with FreeBSD and a different USB 3.0 card,
and now it is all useless.

Does FreeBSD support the VIA VL800 Chipset that this add-on card
is alleged to contain?

Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
just a far off dream?


P.S.  I know that FreeBSD doesn't have nearly as many people
working on it as Linux does, but I didn't really expect it to
be quite this far behind in terms of driver support for USB 3.0.
I mean how long has USB 3.0 been out now?  Five+ years??


Hi,

What version of FreeBSD are you running. Have you tried -stable?

Yes, USB 3.0 _works_ with FreeBSD.

--HPS

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-24 Thread Daniel O'Connor

On 25 May 2014, at 4:13, Ronald F. Guilmette r...@tristatelogic.com wrote:
 This is extraoordinarily annoying, as I spend good money to buy this
 add-in USB 3.0 card in the hopes that it would solve the problems
 that I previously had with FreeBSD and a different USB 3.0 card,
 and now it is all useless.
 
 Does FreeBSD support the VIA VL800 Chipset that this add-on card
 is alleged to contain?
 
 Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
 just a far off dream?

I have 2 USB3 cards, one works and one doesn't, unfortunately I haven't been 
able to determine why as yet.

 P.S.  I know that FreeBSD doesn't have nearly as many people
 working on it as Linux does, but I didn't really expect it to
 be quite this far behind in terms of driver support for USB 3.0.
 I mean how long has USB 3.0 been out now?  Five+ years??

This isn't a helpful thing to say when you're using a volunteer project.

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Do _any_ USB 3.0 cards actually work?

2014-05-24 Thread Ronald F. Guilmette

In message 5380eb10.9030...@selasky.org, 
Hans Petter Selasky h...@selasky.org wrote:

On 05/24/14 20:43, Ronald F. Guilmette wrote:
 Does FreeBSD support the VIA VL800 Chipset that this add-on card
 is alleged to contain?

 Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
 just a far off dream?

What version of FreeBSD are you running.

9.1-RELEASE

Have you tried -stable?

No, I have not.  I did also try 10.0-RELEASE (LiveCD) and also again
got a bunch of errors and the system refused to see the drive again.

I tried that (10.0-RELEASE) with multiple different motherboard and
multiple different USB 3.0 add-in PCIe controller cards.

All tests failed, all of the time, with both systems.

Yes, USB 3.0 _works_ with FreeBSD.

Please can you be more specific?

What host controller chipsets are supported, exactly?

Please post the list.

And specifically, is the VIA VL800 chipset supported?

What controllers and what external USB 3.0 devices have you yourself
actually _successfully_ tested, and which version of FreeBSD exactly
did you use for those tests?

I'm sorry if I seem to be aseking too many detailed questions about
this, but I've previously also tried using external USB 3.0 hard drives
attached to a totally different system, also running FreeBSD, with
a different motherboard *and* a totally different USB 3.0 card in
it and that experiment also ended in tears and utter failure.

I really would like to know what specific USB 3.0 hardware was properly
tested and qualified as working and fully supported *before* 10.0-RELEASE
went out the door.

Was there any?  Or did USB 3.0 support only begin working properly post
10.0-RELEASE?


P.S.  To be clear, I am interested in finding out if FreeBSD actually has
any support for any kind of *rotating* USB 3.0-attached external storage.
Right at the moment, I don't really care if USB 3.0 flash sticks work.
(Those are quite obviously going to be easier to make work.)


P.P.S.  Not all of use have the luxury of being able to run -STABLE.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-24 Thread Ronald F. Guilmette

In message 8021b607-b94b-4a2d-8b0a-a63a88094...@gsoft.com.au, you wrote:

On 25 May 2014, at 4:13, Ronald F. Guilmette r...@tristatelogic.com =
wrote:
 This is extraoordinarily annoying, as I spend good money to buy this
 add-in USB 3.0 card in the hopes that it would solve the problems
 that I previously had with FreeBSD and a different USB 3.0 card,
 and now it is all useless.
=20
 Does FreeBSD support the VIA VL800 Chipset that this add-on card
 is alleged to contain?
=20
 Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
 just a far off dream?

I have 2 USB3 cards, one works and one doesn't, unfortunately I haven't
been able to determine why as yet.

What is the brand and model number of the one that works?

What is the brand and model number of the one that doesn't?

It would be helpful to know in both cases.

Also, for the one that works, are you able to connect a device to that,
disconnect it and then reconnect it again and have it work after that?
(I had trouble with this in the past with my other 3.0 card, even when
only using external 2.0 devices, if I am recalling correctly.)

 P.S.  I know that FreeBSD doesn't have nearly as many people
 working on it as Linux does, but I didn't really expect it to
 be quite this far behind in terms of driver support for USB 3.0.
 I mean how long has USB 3.0 been out now?  Five+ years??

This isn't a helpful thing to say when you're using a volunteer project.

Sorry.  Having invested in two different USB 3.0 PCIe cards and a couple
of external 3.0 enclosures... all of which I had some hope would work,
by now, on FreeBSD... and all of which *do* in fact work entirely well
on Linux, I do hope that perhaps my level of frustration is understandable.

There are about a thousand or so different ethernet chipsets, so I can
well and truly understand why this or that ethernet controller isn't
supported yet.  But how many different USB chipsets are there?  Maybe
like ten, total, including both 3.0 and 2.0?  And aren't all of these
different USB chipsets *supposed* to present one standard programatic
interface (to the driver) anyway?

Anyway, ignoring the investment in MONEY I've already made... for naught,
apparently... I've also invested at least a little time in trying to make
this stuff work, and in keeping with the volunteer nature of FreeBSD
I *am* willing to try to assist in further testing and debugging, e.g.
of the USB drivers in, e.g. 10.0-STABLE if only someone will instruct
me how how to install that, from scratch, on a fresh empty drive.  I
seriously do not know how to do this.  I've been using FreeBSD for well
over ten+ years and I've always and only used -RELEASE.  The -RELEASE
CDs are obviously quite helpful and make installation so simple that a
cave man could do it.  But at this moment I am sitting here looking at
this directory:

  /pub/FreeBSD/snapshots/amd64/amd64/10.0-STABLE

on one of the FreeBSD mirrors, and I haven't the vaguest idea what to do
with that stuff in order to get it all installed onto an empty drive.

If you or someone else tells me how to do that, then I will be happy to
do so and then see if either of these 3.0 cards I have will work with
that, and if not I'll try to help debug the problem(s).
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-24 Thread Warren Block

On Sat, 24 May 2014, Ronald F. Guilmette wrote:


Does FreeBSD support the VIA VL800 Chipset that this add-on card
is alleged to contain?


Sorry, no idea.


Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
just a far off dream?


I used this card along with a USB 3 drive dock to copy a fair amount of 
data:


http://www.newegg.com/Product/Product.aspx?Item=N82E16815287015

Admittedly, I'm a bit skeptical about USB 3 given how long USB 2 took to 
mature in the industry as a whole.


If possible, I'd prefer SATA/eSATA or Ethernet for transferring large 
amounts of data.

___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-24 Thread Ronald F. Guilmette

In message alpine.bsf.2.00.1405242010430.97...@wonkity.com, you wrote:

On Sat, 24 May 2014, Ronald F. Guilmette wrote:

 Does FreeBSD support the VIA VL800 Chipset that this add-on card
 is alleged to contain?

Sorry, no idea.

 Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
 just a far off dream?

I used this card along with a USB 3 drive dock to copy a fair amount of 
data:

http://www.newegg.com/Product/Product.aspx?Item=N82E16815287015

Thanks Warren!

(I wish I had consulted with you two weeks ago before purchasing the
2+2 port HooToo card.)

Admittedly, I'm a bit skeptical about USB 3 given how long USB 2 took to 
mature in the industry as a whole.

As I've been saying, it all seems to work just fine on Linux.

If possible, I'd prefer SATA/eSATA or Ethernet for transferring large 
amounts of data.

Unfortunately, the HTPC I have in the livingroom doesn't have an eSATA
port.  (And there are no slots for any add-in cards or even space to
put an eSATA socket/connector.)

It does however have two (2) USB 3.0 built-in ports.


P.S.  Somebody on www.newegg.com said that that Vantec card contains a
Renesas D720200A chipset.  So I guess we can check that one off as
supported.

Wish I had known that the VIA VL800 isn't.
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: Do _any_ USB 3.0 cards actually work?

2014-05-24 Thread Daniel O'Connor

On 25 May 2014, at 11:34, Ronald F. Guilmette r...@tristatelogic.com wrote:
 I have 2 USB3 cards, one works and one doesn't, unfortunately I haven't
 been able to determine why as yet.
 
 What is the brand and model number of the one that works?
 
 What is the brand and model number of the one that doesn't?
 
 It would be helpful to know in both cases.

They're both generic OEM ones unfortunately so the amount of useful information 
on them is pretty small.

They show up as..

xhci0@pci0:3:0:0:   class=0x0c0330 card=0x34321106 chip=0x34321106 rev=0x03 
hdr=0x00
xhci1@pci0:5:0:0:   class=0x0c0330 card=0x70521b6f chip=0x70521b6f rev=0x00 
hdr=0x00


xhci0: XHCI (generic) USB 3.0 controller mem 0xfbeff000-0xfbef irq 17 at 
device 0.0 on pci3
xhci0: 32 byte context size.
usbus1 on xhci0

xhci1: XHCI (generic) USB 3.0 controller mem 0xfbcf8000-0xfbcf irq 17 at 
device 0.0 on pci5
xhci1: 64 byte context size.
usbus2 on xhci1

xhci0 works, xhci1 doesn't.

I'll take pictures of them on Monday.

 Also, for the one that works, are you able to connect a device to that,
 disconnect it and then reconnect it again and have it work after that?
 (I had trouble with this in the past with my other 3.0 card, even when
 only using external 2.0 devices, if I am recalling correctly.)

Yes, that works for me.

 This isn't a helpful thing to say when you're using a volunteer project.
 
 Sorry.  Having invested in two different USB 3.0 PCIe cards and a couple
 of external 3.0 enclosures... all of which I had some hope would work,
 by now, on FreeBSD... and all of which *do* in fact work entirely well
 on Linux, I do hope that perhaps my level of frustration is understandable.
 
 There are about a thousand or so different ethernet chipsets, so I can
 well and truly understand why this or that ethernet controller isn't
 supported yet.  But how many different USB chipsets are there?  Maybe
 like ten, total, including both 3.0 and 2.0?  And aren't all of these
 different USB chipsets *supposed* to present one standard programatic
 interface (to the driver) anyway?

Sure they are, but lots of corners are cut - none of the manufacturers test on 
FreeBSD, you'd be lucky if they tested on Linux. The upshot is that if it works 
on Windows then it is considered fine.

That pushes the burden onto FreeBSD developers to work out what the differences 
are and work around them. You can also bet most hardware manufacturers aren't 
going to help either.

You'll note that on the page you posted it says you must install the special 
VIA driver for the card to work - that seems to be a tacit admission that the 
hardware doesn't behave as it should hence the standard driver doesn't work.

 Anyway, ignoring the investment in MONEY I've already made... for naught,

Luckily USB3 PCI cards are pretty cheap.

FWIW this is almost exactly the situation USB2 was in - there were many 
chipsets which did not work very well at the start so for high performance 
applications like SDR (eg using Ettus USRPs) you had to be very choosy about 
which ones to use otherwise it wouldn't work.

  /pub/FreeBSD/snapshots/amd64/amd64/10.0-STABLE
 
 on one of the FreeBSD mirrors, and I haven't the vaguest idea what to do
 with that stuff in order to get it all installed onto an empty drive.
 
 If you or someone else tells me how to do that, then I will be happy to
 do so and then see if either of these 3.0 cards I have will work with
 that, and if not I'll try to help debug the problem(s).

You want an ISO from
http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/11.0/
or
http://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/10.0/

although to be honest I don't believe the USB stack is substantially different 
between stable and head so there's probably not much point.

You could try gathering some debugging using usbdump and sysctl 
hw.usb.uhub.debug=15
(although deciphering it requires knowledge of how USB works and how the stack 
is written..)

--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C








signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Do _any_ USB 3.0 cards actually work?

2014-05-24 Thread Hans Petter Selasky

On 05/25/14 03:34, Ronald F. Guilmette wrote:

In message 5380eb10.9030...@selasky.org,
Hans Petter Selasky h...@selasky.org wrote:


On 05/24/14 20:43, Ronald F. Guilmette wrote:

Does FreeBSD support the VIA VL800 Chipset that this add-on card
is alleged to contain?

Does FreeBSD *ever* work with *any* USB 3.0 equipment?  Or is this
just a far off dream?



What version of FreeBSD are you running.


9.1-RELEASE


Hi Ronald,

You should checkout the kernel sources and build and install a 9-stable 
kernel and try first. The TIMEOUT issue during device enumeration is one 
of those issues which has had patches:



http://svnweb.freebsd.org/base/head/sys/dev/usb/controller/xhci.c?view=log





Have you tried -stable?


No, I have not.  I did also try 10.0-RELEASE (LiveCD) and also again
got a bunch of errors and the system refused to see the drive again.

I tried that (10.0-RELEASE) with multiple different motherboard and
multiple different USB 3.0 add-in PCIe controller cards.

All tests failed, all of the time, with both systems.


Can you read out the CHIP numbers for these devices?




Yes, USB 3.0 _works_ with FreeBSD.


Please can you be more specific?

What host controller chipsets are supported, exactly?

Please post the list.


Various chipsets from Intel, Nec, Renesas, TI, Asmedia are tested and 
supported.




And specifically, is the VIA VL800 chipset supported?


You need to read-out the exact chip number on the board. Possibly yes, 
after you upgrade to -stable.




I really would like to know what specific USB 3.0 hardware was properly
tested and qualified as working and fully supported *before* 10.0-RELEASE
went out the door.


See list above.



Was there any?  Or did USB 3.0 support only begin working properly post
10.0-RELEASE?


USB 3.0 support started in 9.x. What you refer to as begin working 
properly, are enumeration problems. The big difference between EHCI and 
XHCI, is that certain commands like the initial SET address is now a 
high-level command, and some controllers don't provide an ACK on that 
message, leaving you with a TIMEOUT stalling the command queue on the 
host controller:


http://svnweb.freebsd.org/base?view=revisionrevision=264294



P.P.S.  Not all of use have the luxury of being able to run -STABLE.



There are some live images of more recent version of FreeBSD which you 
can try out there, from xxx.freebsd.org


--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org