Re: usb3 fails to write when using usb3 hub in usb3 port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Sep 25, 2012 at 9:26 AM, Adrian Sandu <dexter@xxxxxxxxxxx> wrote:
> On Tue, Sep 25, 2012 at 12:38 AM, Sarah Sharp
> <sarah.a.sharp@xxxxxxxxxxxxxxx> wrote:
>> Ok, so 3.4.11 doesn't work, and the log file was from 3.5.
>
> If you want I can provide a 3.4 log...
>
>> If it's not LPM, I'm really out of ideas.  I would suggest getting
>> another USB 3.0 hub, but I know that basically the VIA chipset is the
>> one out there, so that wouldn't be likely to help.
>>
>> You might go see if your USB 3.0 hub has a firmware update for it.  I
>> know other people were having problems with storage devices that stopped
>> responding to a Set Address command after the USB storage driver tried
>> to reset it.  Maybe your issue would also go away after a firmware
>> update?
>
> I got a gembird and a  manhatan..none show firmware updaes on their
> websites (both seem to be using the same via chipset)... manhattan
> even mailed replied to my mail:
> "Dear sirs, as this hub is not designed for Linux-OS, you may
> encounter such driver issues. If you want, you can test it on a
> Windows-PC. If you are still experiencing problems, let us know."

I did some more tests.  Just to make sure that I wasn't imagining things ...

The file I'm trying to copy is a msdn iso of about 1.7G ( don't know
if this matters as I've tried with a dd if=/dev/urandom of=/root/en
bs=1024 count=2GB )

just a reminder .. my laptop is a vaio vpcf13m1e ( which seems to work
every time ) .. the one with the problems is an asrock 152d .. Both
seem to share the usb3 root hub chipset ( a nec uPD720200 )

the tests are done using a gembird usb3 hub ( which reports
idVendor=2109, idProduct=0810 VIA Labs, Inc. 4-Port USB 3.0 HUB  ..
idVendor=2109, idProduct=3431 .. USB2.0 Hub )
I have another hub, a manhattan ( which reports the same 2 stuff at lsusb )

sda3 is my local drive in the asrock ( a 2.5" normal hdd which does
its job just fine for > 1 year now 24/7 )

1) Copy to/from the drive directly from/to my laptop 2 times ( in each
dirrection )
WORKS
2) Copy to/from and from/to 1 drive in/through the hub on my laptop 2
times ( in each dirrection ).
WORKS
3) Copy to/from the drive directly from/to the asrock 2 times ( in
each dirrection )
WORKS
4) Copy to/from and from/to 1 drive in/through the hub on my asrock 2
times ( in each dirrection ).

I have /dev/sdb1 mounted in /media/sdg1 .. (sdg because I usually have
more drives)
cp /media/sdg1/en2 ~/en2
try1 copy from sdb1 to sda3 .. seems to succeed ?! cp didn't say
anything .. but /var/log/messages shows some stuff
try2 copy from sdb1 to sda3 .. seems to succeed ?! cp didn't say
anything .. just as above

cp ~/en2 /media/sdg1/en2
try3 copy from sda3 to sdb1 .. seems to succeed .. cp didn't say
anything .. nor anything weird in /var/log/messages
try4 .. just plugging in the drive caused some messages .. didn't have
the cat on 9u started though and couldn't reproduce it ..
try5 copy from sda3 to sdb1 .. seems to succeed .. cp didn't say
anything .. nor anything weird in /var/log/messages

copy using mc from /media/sdg1/en2 to ~/en2
try6 .. copy from sdb1 to sda3 .. seems to succeed .. but I see
messages in /var/log/messages ..
try7 .. same ..

copy using mc from ~/en2 to /media/sdg1/en2
try8 .. copy from sda3 to sdb1 .. succedes just fine .. no messages no
nothing ..
try9 .. same ..

adding a new drive in the hub ! :)
copy using mc from sdb to sdc
try10 .. there's some weird thing going in my /var/log/messages ..

plugging out and back in the hub with all drives :) ( along with some
rmmod xhci_hcd .. usb_storage and modprobe-ing them again ) fails ..
try11 .. 2012-09-26T00:02:38.810382+03:00 d3xt3r01 kernel:
[93320.454212] xhci_hcd 0000:04:00.0: Host not halted after 16000
microseconds.
2012-09-26T00:02:38.810393+03:00 d3xt3r01 kernel: [93320.454212]
xhci_hcd 0000:04:00.0: Host controller not halted, aborting reset.
2012-09-26T00:02:38.815117+03:00 d3xt3r01 kernel: [93320.496220]
xhci_hcd 0000:04:00.0: USB bus 1 deregistered
2012-09-26T00:02:41.416854+03:00 d3xt3r01 kernel: [93323.097171]
xhci_hcd 0000:04:00.0: xHCI Host Controller
2012-09-26T00:02:41.416932+03:00 d3xt3r01 kernel: [93323.097927]
xhci_hcd 0000:04:00.0: new USB bus registered, assigned bus number 1
2012-09-26T00:02:41.463589+03:00 d3xt3r01 kernel: [93323.143244]
xhci_hcd 0000:04:00.0: Host not halted after 16000 microseconds.
2012-09-26T00:02:41.463629+03:00 d3xt3r01 kernel: [93323.143366]
xhci_hcd 0000:04:00.0: can't setup
2012-09-26T00:02:41.463636+03:00 d3xt3r01 kernel: [93323.143381]
xhci_hcd 0000:04:00.0: USB bus 1 deregistered
2012-09-26T00:02:41.463647+03:00 d3xt3r01 kernel: [93323.143836]
xhci_hcd 0000:04:00.0: init 0000:04:00.0 fail, -110
2012-09-26T00:02:41.463698+03:00 d3xt3r01 kernel: [93323.143852]
xhci_hcd: probe of 0000:04:00.0 failed with error -110
2012-09-26T00:02:48.399042+03:00 d3xt3r01 kernel: [93330.080709] usb
3-2: USB disconnect, device number 13
2012-09-26T00:02:50.344948+03:00 d3xt3r01 kernel: [93332.026075] usb
3-1: new high-speed USB device number 18 using ehci_hcd
2012-09-26T00:02:50.460032+03:00 d3xt3r01 kernel: [93332.141141] usb
3-1: New USB device found, idVendor=2109, idProduct=3431
2012-09-26T00:02:50.460041+03:00 d3xt3r01 kernel: [93332.141146] usb
3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
2012-09-26T00:02:50.460067+03:00 d3xt3r01 kernel: [93332.141152] usb
3-1: Product: USB2.0 Hub
2012-09-26T00:02:50.460095+03:00 d3xt3r01 kernel: [93332.141646] hub
3-1:1.0: USB hub found
2012-09-26T00:02:50.460100+03:00 d3xt3r01 kernel: [93332.141895] hub
3-1:1.0: 4 ports detected
2012-09-26T00:02:50.732921+03:00 d3xt3r01 kernel: [93332.414276] usb
3-1.2: new high-speed USB device number 19 using ehci_hcd
2012-09-26T00:02:51.204932+03:00 d3xt3r01 kernel: [93332.886035] usb
3-1.2: device not accepting address 19, error -71
2012-09-26T00:02:51.215940+03:00 d3xt3r01 kernel: [93332.897641] hub
3-1:1.0: unable to enumerate USB device on port 2
2012-09-26T00:02:51.227932+03:00 d3xt3r01 kernel: [93332.909636] hub
3-1:1.0: unable to enumerate USB device on port 3
2012-09-26T00:02:51.291054+03:00 d3xt3r01 kernel: [93332.972259] usb
3-1.4: new high-speed USB device number 22 using ehci_hcd
2012-09-26T00:02:51.313950+03:00 d3xt3r01 kernel: [93332.995654] hub
3-1:1.0: unable to enumerate USB device on port 4

now I need to reboot ..

After each test I've only plugged ou the drive from the hub ( the hub
remained connected to the computer )
Results: Directory indexing enabled .. http://d3xt3r01.tk/~dexter/usbmon/

The kernel used was vanilla 3.4.11 on a gentoo system ..
After all these tests .. I think the drive is ok .. at least .. the
hub might have some problems ( both the gembird and the one in the
asrock .. or at least one of them .. )  but I don't get what as .. it
seems to work on my laptop :|

Please let me know how I can be of more assistance / help :|
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux