[Kernel-packages] [Bug 1269883] Re: Bad performance of Ethernet on USB3 port, dmesg flooded with errors

2014-01-22 Thread gouri
Hello Christopher,

> 1) Could you please plug your ASIX device in, execute the following in a 
> terminal and post it to this report:
> usb-devices

Please see attached file
usb-devices_output_with_0b95_1790_ASIX_Electronics_Corp_USB2_port.txt

Currently, other than the device, only a mouse is physically plugged to
an external USB port. Oher hardware listed (card reader, wifi, hubs,
webcam) is permanently part of the laptop.

In case it matters, I haven't rebooted since last post, so still running
Linux n55sf-l 3.12.0-031200rc7-generic #201310271935 SMP Sun Oct 27 23:37:06 
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

> 2) Are you using a default install drivers (i.e. provided by supported
> Ubuntu repositories), the following PPA driver
> https://launchpad.net/~qji/+archive/ax88179 , something else?

I haven't done anything about the device at any time : no PPA, no manual driver 
install, no user-space tool install, no nothing.
Just plug the device (and an Ethernet cable).

Only kernel-side maneuver was to install bumblebee (from regular package
else machine draws a lot of power, heats and makes a loud fan noise, all
cleanly fixed by bumblebee).

Regards,

** Attachment added: 
"usb-devices_output_with_0b95_1790_ASIX_Electronics_Corp_USB2_port.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1269883/+attachment/3954132/+files/usb-devices_output_with_0b95_1790_ASIX_Electronics_Corp_USB2_port.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1269883

Title:
  Bad performance of Ethernet on USB3 port, dmesg flooded with errors

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Plugging USB-to-ethernet device ID 0b95:1790 ASIX Electronics Corp. in
  USB3 port yields slow performance, dmesg flooded with errors. Plugging
  on USB2 port, exact same situation otherwise, works well. This is
  reproducible 3 out of 4 attempts. Machine has 2 USB3 ports on the
  left, 2 USB2 ports on the right.

  ### When working (USB2 port)
  * ethernet auto-negociation is fast
  * mii-tool is fast (typical 0.05s)
  * few lines in dmesg
  * good performance

  ### When failing :
  * ethernet auto-negociation fails, then sometimes eventually works
  * mii-tool is slow (10s of seconds instead of 0.05s)

  time sudo mii-tool
  eth0: no link
  eth1: 10 Mbit, half duplex, no link
  real  0m40.014s
  user  0m0.013s
  sys   0m0.006s

  time sudo mii-tool
  eth0: no link
  eth1: 10 Mbit, half duplex, no link
  real  0m50.015s
  user  0m0.011s
  sys   0m0.011s

  time sudo mii-tool
  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok
  real  0m10.051s
  user  0m0.000s
  sys   0m0.012s

  But on some attempts mii-tool is fast...
  time sudo mii-tool
  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok
  real  0m0.057s
  user  0m0.011s
  sys   0m0.012s

  * DHCP eventually completes (after about 30 seconds) then ethernet works.
  * whole system behaviour feels a little sluggish (not very clear, though)
  * mii-tool still slow (10s of seconds instead of 0.05s)

  ## dmesg when failing

  Full dmesg attached.

  Specific lines with occurrence count at random point (obtained with
  "dmesg | sed 's/^//' | sort | uniq -c | sort -n" ).

   50 ei_me :00:16.0: reset: wrong host start response
   51 ei_me :00:16.0: reset: unexpected enumeration response hbm.
   60 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  100 ei_me :00:16.0: unexpected reset: dev_state = RESETTING
  141 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  214 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  Another attempt

   11 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
   61 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
   61 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
  925 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD

    5 IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0001: -110
    6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0009: -110
    6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x000a: -110
    6 net_ratelimit: 31 callbacks suppressed
    9 IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
   10 net_ratelimit: 30 callbacks suppressed
   14 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  232 xhci_hcd :04:00.0: A Set TR Deq Ptr c

[Kernel-packages] [Bug 1269883] Re: Bad performance of Ethernet on USB3 port, dmesg flooded with errors

2014-01-21 Thread Christopher M. Penalver
gouri, just to clarify:
1) Could you please plug your ASIX device in, execute the following in a 
terminal and post it to this report:
usb-devices

2) Are you using a default install drivers (i.e. provided by supported
Ubuntu repositories), the following PPA driver
https://launchpad.net/~qji/+archive/ax88179 , something else?

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1269883

Title:
  Bad performance of Ethernet on USB3 port, dmesg flooded with errors

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Plugging USB-to-ethernet device ID 0b95:1790 ASIX Electronics Corp. in
  USB3 port yields slow performance, dmesg flooded with errors. Plugging
  on USB2 port, exact same situation otherwise, works well. This is
  reproducible 3 out of 4 attempts. Machine has 2 USB3 ports on the
  left, 2 USB2 ports on the right.

  ### When working (USB2 port)
  * ethernet auto-negociation is fast
  * mii-tool is fast (typical 0.05s)
  * few lines in dmesg
  * good performance

  ### When failing :
  * ethernet auto-negociation fails, then sometimes eventually works
  * mii-tool is slow (10s of seconds instead of 0.05s)

  time sudo mii-tool
  eth0: no link
  eth1: 10 Mbit, half duplex, no link
  real  0m40.014s
  user  0m0.013s
  sys   0m0.006s

  time sudo mii-tool
  eth0: no link
  eth1: 10 Mbit, half duplex, no link
  real  0m50.015s
  user  0m0.011s
  sys   0m0.011s

  time sudo mii-tool
  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok
  real  0m10.051s
  user  0m0.000s
  sys   0m0.012s

  But on some attempts mii-tool is fast...
  time sudo mii-tool
  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok
  real  0m0.057s
  user  0m0.011s
  sys   0m0.012s

  * DHCP eventually completes (after about 30 seconds) then ethernet works.
  * whole system behaviour feels a little sluggish (not very clear, though)
  * mii-tool still slow (10s of seconds instead of 0.05s)

  ## dmesg when failing

  Full dmesg attached.

  Specific lines with occurrence count at random point (obtained with
  "dmesg | sed 's/^//' | sort | uniq -c | sort -n" ).

   50 ei_me :00:16.0: reset: wrong host start response
   51 ei_me :00:16.0: reset: unexpected enumeration response hbm.
   60 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  100 ei_me :00:16.0: unexpected reset: dev_state = RESETTING
  141 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  214 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  Another attempt

   11 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
   61 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
   61 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
  925 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD

    5 IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0001: -110
    6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0009: -110
    6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x000a: -110
    6 net_ratelimit: 31 callbacks suppressed
    9 IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
   10 net_ratelimit: 30 callbacks suppressed
   14 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  232 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
  232 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  610 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  Jan 16 18:39:35 n55sf-l kernel: [203181.206451] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203181.578841] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203181.578854] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203182.075350] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203182.075364] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203182.199491] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203182.199504] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pe

[Kernel-packages] [Bug 1269883] Re: Bad performance of Ethernet on USB3 port, dmesg flooded with errors

2014-01-21 Thread Christopher M. Penalver
** Description changed:

- Hello,
- 
- # Summary
- 
- 
- Plugging on USB3 port an USB-to-ethernet device yields slow performance, 
dmesg flooded with errors.
- Plugging on USB2 port, exact same situation otherwise, works well.
- Reproducible : not always, about 3 out of 4 attempts.
- 
- # Details
- 
- Observed on Asus n55s laptop with 64-bit Intel(R) Core(TM) i7-2670QM CPU @ 
2.20GHz and 64-bit kernel 3.11.0-15-generic #23-Ubuntu.
- Machine has 2 USB3 ports on the left, 2 USB2 ports on the right.
- 
- Device USB ID is ID 0b95:1790 ASIX Electronics Corp.
+ Plugging USB-to-ethernet device ID 0b95:1790 ASIX Electronics Corp. in
+ USB3 port yields slow performance, dmesg flooded with errors. Plugging
+ on USB2 port, exact same situation otherwise, works well. This is
+ reproducible 3 out of 4 attempts. Machine has 2 USB3 ports on the left,
+ 2 USB2 ports on the right.
  
  ### When working (USB2 port)
- 
  * ethernet auto-negociation is fast
  * mii-tool is fast (typical 0.05s)
  * few lines in dmesg
  * good performance
  
  ### When failing :
- 
  * ethernet auto-negociation fails, then sometimes eventually works
  * mii-tool is slow (10s of seconds instead of 0.05s)
  
  time sudo mii-tool
- 
  eth0: no link
  eth1: 10 Mbit, half duplex, no link
  real  0m40.014s
  user  0m0.013s
  sys   0m0.006s
  
  time sudo mii-tool
- 
  eth0: no link
  eth1: 10 Mbit, half duplex, no link
- 
  real  0m50.015s
  user  0m0.011s
  sys   0m0.011s
  
  time sudo mii-tool
- 
  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok
- 
  real  0m10.051s
  user  0m0.000s
  sys   0m0.012s
  
  But on some attempts mii-tool is fast...
- 
- time sudo mii-tool
- 
+ time sudo mii-tool
  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok
- 
  real  0m0.057s
  user  0m0.011s
  sys   0m0.012s
  
- 
  * DHCP eventually completes (after about 30 seconds) then ethernet works.
  * whole system behaviour feels a little sluggish (not very clear, though)
  * mii-tool still slow (10s of seconds instead of 0.05s)
  
  ## dmesg when failing
  
  Full dmesg attached.
  
  Specific lines with occurrence count at random point (obtained with
  "dmesg | sed 's/^//' | sort | uniq -c | sort -n" ).
  
- 
-  50 ei_me :00:16.0: reset: wrong host start response
-  51 ei_me :00:16.0: reset: unexpected enumeration response hbm.
-  60 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
- 100 ei_me :00:16.0: unexpected reset: dev_state = RESETTING
- 141 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
- 214 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
+  50 ei_me :00:16.0: reset: wrong host start response
+  51 ei_me :00:16.0: reset: unexpected enumeration response hbm.
+  60 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
+ 100 ei_me :00:16.0: unexpected reset: dev_state = RESETTING
+ 141 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
+ 214 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
  
  Another attempt
  
-  11 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
-  14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
-  61 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
-  61 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
- 209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
- 809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
- 925 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
- 
- 
-   5 IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
-   6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0001: -110
-   6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0009: -110
-   6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x000a: -110
-   6 net_ratelimit: 31 callbacks suppressed
-   9 IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
-  10 net_ratelimit: 30 callbacks suppressed
-  14 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
-  14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
- 209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
- 232 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
- 232 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
- 610 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
- 809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
- 
- 
- Jan 16 18:39:35 n55sf-l kernel: [203181.206451] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
- Jan 16 18:39:36 n55sf-l kernel: [203181.578841] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
- Jan 16 18:39:36 n55sf-l kernel: [203181.578854] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
- Jan 16 18:39:36 n55sf-l kernel: [203182.075350] xhci_hcd :04:00.

[Kernel-packages] [Bug 1269883] Re: Bad performance of Ethernet on USB3 port, dmesg flooded with errors

2014-01-18 Thread gouri
Oops, finger slip caused posting too early.

On upstream kernel 3.12.0-031200rc7-generic #201310271935 bug **still
occurs** with same characteristics including probability of happening on
any test (about 75% probability).

12.10 kernel was 
Linux version 3.5.0-42-generic (buildd@lamiak) (gcc version 4.7.2 
(Ubuntu/Linaro 4.7.2-2ubuntu1) ) #65-Ubuntu SMP Tue Oct 1 23:38:22 UTC 2013 
(Ubuntu 3.5.0-42.65-generic 3.5.7.21)

13.04 kernel was
Linux version 3.8.0-27-generic (buildd@roseapple) (gcc version 4.7.3 
(Ubuntu/Linaro 4.7.3-1ubuntu1) ) #40-Ubuntu SMP Tue Jul 9 00:17:05 UTC 2013 
(Ubuntu 3.8.0-27.40-generic 3.8.13.4)

Regards,

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1269883

Title:
  Bad performance of Ethernet on USB3 port, dmesg flooded with errors

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Hello,

  # Summary

  
  Plugging on USB3 port an USB-to-ethernet device yields slow performance, 
dmesg flooded with errors.
  Plugging on USB2 port, exact same situation otherwise, works well.
  Reproducible : not always, about 3 out of 4 attempts.

  # Details

  Observed on Asus n55s laptop with 64-bit Intel(R) Core(TM) i7-2670QM CPU @ 
2.20GHz and 64-bit kernel 3.11.0-15-generic #23-Ubuntu.
  Machine has 2 USB3 ports on the left, 2 USB2 ports on the right.

  Device USB ID is ID 0b95:1790 ASIX Electronics Corp.

  ### When working (USB2 port)

  * ethernet auto-negociation is fast
  * mii-tool is fast (typical 0.05s)
  * few lines in dmesg
  * good performance

  ### When failing :

  * ethernet auto-negociation fails, then sometimes eventually works
  * mii-tool is slow (10s of seconds instead of 0.05s)

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link
  real  0m40.014s
  user  0m0.013s
  sys   0m0.006s

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link

  real  0m50.015s
  user  0m0.011s
  sys   0m0.011s

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m10.051s
  user  0m0.000s
  sys   0m0.012s

  But on some attempts mii-tool is fast...

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m0.057s
  user  0m0.011s
  sys   0m0.012s

  
  * DHCP eventually completes (after about 30 seconds) then ethernet works.
  * whole system behaviour feels a little sluggish (not very clear, though)
  * mii-tool still slow (10s of seconds instead of 0.05s)

  ## dmesg when failing

  Full dmesg attached.

  Specific lines with occurrence count at random point (obtained with
  "dmesg | sed 's/^//' | sort | uniq -c | sort -n" ).

  
   50 ei_me :00:16.0: reset: wrong host start response
   51 ei_me :00:16.0: reset: unexpected enumeration response hbm.
   60 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  100 ei_me :00:16.0: unexpected reset: dev_state = RESETTING
  141 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  214 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  Another attempt

   11 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
   61 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
   61 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
  925 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD

  
5 IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0001: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0009: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x000a: -110
6 net_ratelimit: 31 callbacks suppressed
9 IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
   10 net_ratelimit: 30 callbacks suppressed
   14 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  232 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
  232 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  610 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  
  Jan 16 18:39:35 n55sf-l kernel: [203181.206451] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203181.578841] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203181.578854] xhci_hcd :04:00.0: A 
Set TR Deq Ptr 

[Kernel-packages] [Bug 1269883] Re: Bad performance of Ethernet on USB3 port, dmesg flooded with errors

2014-01-18 Thread gouri
According to https://launchpad.net/ax88179 the driver is in mainline
kernel since 3.9 which explains why older Ubuntu releases did not
recognize the device.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1269883

Title:
  Bad performance of Ethernet on USB3 port, dmesg flooded with errors

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Hello,

  # Summary

  
  Plugging on USB3 port an USB-to-ethernet device yields slow performance, 
dmesg flooded with errors.
  Plugging on USB2 port, exact same situation otherwise, works well.
  Reproducible : not always, about 3 out of 4 attempts.

  # Details

  Observed on Asus n55s laptop with 64-bit Intel(R) Core(TM) i7-2670QM CPU @ 
2.20GHz and 64-bit kernel 3.11.0-15-generic #23-Ubuntu.
  Machine has 2 USB3 ports on the left, 2 USB2 ports on the right.

  Device USB ID is ID 0b95:1790 ASIX Electronics Corp.

  ### When working (USB2 port)

  * ethernet auto-negociation is fast
  * mii-tool is fast (typical 0.05s)
  * few lines in dmesg
  * good performance

  ### When failing :

  * ethernet auto-negociation fails, then sometimes eventually works
  * mii-tool is slow (10s of seconds instead of 0.05s)

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link
  real  0m40.014s
  user  0m0.013s
  sys   0m0.006s

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link

  real  0m50.015s
  user  0m0.011s
  sys   0m0.011s

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m10.051s
  user  0m0.000s
  sys   0m0.012s

  But on some attempts mii-tool is fast...

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m0.057s
  user  0m0.011s
  sys   0m0.012s

  
  * DHCP eventually completes (after about 30 seconds) then ethernet works.
  * whole system behaviour feels a little sluggish (not very clear, though)
  * mii-tool still slow (10s of seconds instead of 0.05s)

  ## dmesg when failing

  Full dmesg attached.

  Specific lines with occurrence count at random point (obtained with
  "dmesg | sed 's/^//' | sort | uniq -c | sort -n" ).

  
   50 ei_me :00:16.0: reset: wrong host start response
   51 ei_me :00:16.0: reset: unexpected enumeration response hbm.
   60 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  100 ei_me :00:16.0: unexpected reset: dev_state = RESETTING
  141 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  214 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  Another attempt

   11 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
   61 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
   61 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
  925 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD

  
5 IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0001: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0009: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x000a: -110
6 net_ratelimit: 31 callbacks suppressed
9 IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
   10 net_ratelimit: 30 callbacks suppressed
   14 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  232 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
  232 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  610 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  
  Jan 16 18:39:35 n55sf-l kernel: [203181.206451] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203181.578841] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203181.578854] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203182.075350] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203182.075364] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203182.199491] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203182.199504] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
 

[Kernel-packages] [Bug 1269883] Re: Bad performance of Ethernet on USB3 port, dmesg flooded with errors

2014-01-18 Thread gouri
Hello @jsalisbury,

Thank you for your reply.
For old releases I booted old versions of Ubuntu that I used before upgrading 
to 13.10 and are still lying 
For new kernel, I followed your link and used URL 
http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.12-rc7-saucy/

Here's the summary of my tests :
* On Ubuntu 12.10 device is not recognized as an Ethernet device.
* On Ubuntu 13.04 device is not recognized as an Ethernet device.
* On upstream kernel 3.12.0-031200rc7-generic #201310271935

Linux n55sf-l 3.12.0-031200rc7-generic #201310271935 SMP Sun Oct 27
23:37:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

LC_ALL=C apt-cache policy linux-image-3.12.0-031200rc7-generic

linux-image-3.12.0-031200rc7-generic:
  Installed: 3.12.0-031200rc7.201310271935
  Candidate: 3.12.0-031200rc7.201310271935
  Version table:
 *** 3.12.0-031200rc7.201310271935 0
100 /var/lib/dpkg/status

Do you want kernel logs for these 3 tests or any sort of extra details ?


** Tags added: kernel-bug-exists-upstream

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1269883

Title:
  Bad performance of Ethernet on USB3 port, dmesg flooded with errors

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Hello,

  # Summary

  
  Plugging on USB3 port an USB-to-ethernet device yields slow performance, 
dmesg flooded with errors.
  Plugging on USB2 port, exact same situation otherwise, works well.
  Reproducible : not always, about 3 out of 4 attempts.

  # Details

  Observed on Asus n55s laptop with 64-bit Intel(R) Core(TM) i7-2670QM CPU @ 
2.20GHz and 64-bit kernel 3.11.0-15-generic #23-Ubuntu.
  Machine has 2 USB3 ports on the left, 2 USB2 ports on the right.

  Device USB ID is ID 0b95:1790 ASIX Electronics Corp.

  ### When working (USB2 port)

  * ethernet auto-negociation is fast
  * mii-tool is fast (typical 0.05s)
  * few lines in dmesg
  * good performance

  ### When failing :

  * ethernet auto-negociation fails, then sometimes eventually works
  * mii-tool is slow (10s of seconds instead of 0.05s)

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link
  real  0m40.014s
  user  0m0.013s
  sys   0m0.006s

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link

  real  0m50.015s
  user  0m0.011s
  sys   0m0.011s

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m10.051s
  user  0m0.000s
  sys   0m0.012s

  But on some attempts mii-tool is fast...

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m0.057s
  user  0m0.011s
  sys   0m0.012s

  
  * DHCP eventually completes (after about 30 seconds) then ethernet works.
  * whole system behaviour feels a little sluggish (not very clear, though)
  * mii-tool still slow (10s of seconds instead of 0.05s)

  ## dmesg when failing

  Full dmesg attached.

  Specific lines with occurrence count at random point (obtained with
  "dmesg | sed 's/^//' | sort | uniq -c | sort -n" ).

  
   50 ei_me :00:16.0: reset: wrong host start response
   51 ei_me :00:16.0: reset: unexpected enumeration response hbm.
   60 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  100 ei_me :00:16.0: unexpected reset: dev_state = RESETTING
  141 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  214 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  Another attempt

   11 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
   61 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
   61 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
  925 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD

  
5 IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0001: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0009: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x000a: -110
6 net_ratelimit: 31 callbacks suppressed
9 IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
   10 net_ratelimit: 30 callbacks suppressed
   14 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  232 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
  232 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  610 xhci_hcd :04:00.0: ERROR T

[Kernel-packages] [Bug 1269883] Re: Bad performance of Ethernet on USB3 port, dmesg flooded with errors

2014-01-16 Thread Joseph Salisbury
Did this issue occur in a previous version of Ubuntu, or is this a new
issue?

Would it be possible for you to test the latest upstream kernel? Refer
to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest
v3.13 kernel[0].

If this bug is fixed in the mainline kernel, please add the following
tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag:
'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, 
please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as 
"Confirmed".


Thanks in advance.


[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.13-rc8-trusty/

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
   Status: Confirmed => Incomplete

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1269883

Title:
  Bad performance of Ethernet on USB3 port, dmesg flooded with errors

Status in “linux” package in Ubuntu:
  Incomplete

Bug description:
  Hello,

  # Summary

  
  Plugging on USB3 port an USB-to-ethernet device yields slow performance, 
dmesg flooded with errors.
  Plugging on USB2 port, exact same situation otherwise, works well.
  Reproducible : not always, about 3 out of 4 attempts.

  # Details

  Observed on Asus n55s laptop with 64-bit Intel(R) Core(TM) i7-2670QM CPU @ 
2.20GHz and 64-bit kernel 3.11.0-15-generic #23-Ubuntu.
  Machine has 2 USB3 ports on the left, 2 USB2 ports on the right.

  Device USB ID is ID 0b95:1790 ASIX Electronics Corp.

  ### When working (USB2 port)

  * ethernet auto-negociation is fast
  * mii-tool is fast (typical 0.05s)
  * few lines in dmesg
  * good performance

  ### When failing :

  * ethernet auto-negociation fails, then sometimes eventually works
  * mii-tool is slow (10s of seconds instead of 0.05s)

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link
  real  0m40.014s
  user  0m0.013s
  sys   0m0.006s

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link

  real  0m50.015s
  user  0m0.011s
  sys   0m0.011s

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m10.051s
  user  0m0.000s
  sys   0m0.012s

  But on some attempts mii-tool is fast...

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m0.057s
  user  0m0.011s
  sys   0m0.012s

  
  * DHCP eventually completes (after about 30 seconds) then ethernet works.
  * whole system behaviour feels a little sluggish (not very clear, though)
  * mii-tool still slow (10s of seconds instead of 0.05s)

  ## dmesg when failing

  Full dmesg attached.

  Specific lines with occurrence count at random point (obtained with
  "dmesg | sed 's/^//' | sort | uniq -c | sort -n" ).

  
   50 ei_me :00:16.0: reset: wrong host start response
   51 ei_me :00:16.0: reset: unexpected enumeration response hbm.
   60 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  100 ei_me :00:16.0: unexpected reset: dev_state = RESETTING
  141 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  214 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  Another attempt

   11 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
   61 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
   61 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
  925 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD

  
5 IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0001: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0009: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x000a: -110
6 net_ratelimit: 31 callbacks suppressed
9 IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
   10 net_ratelimit: 30 callbacks suppressed
   14 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  232 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
  232 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  610 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  
  Jan 16 18:39:35 n55sf-l kernel: [203181.206451] xhci_hcd :04:00

[Kernel-packages] [Bug 1269883] Re: Bad performance of Ethernet on USB3 port, dmesg flooded with errors

2014-01-16 Thread gouri
** Attachment added: "dmesg of another attempt, also reproducing the bug"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1269883/+attachment/3950210/+files/kern.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1269883

Title:
  Bad performance of Ethernet on USB3 port, dmesg flooded with errors

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Hello,

  # Summary

  
  Plugging on USB3 port an USB-to-ethernet device yields slow performance, 
dmesg flooded with errors.
  Plugging on USB2 port, exact same situation otherwise, works well.
  Reproducible : not always, about 3 out of 4 attempts.

  # Details

  Observed on Asus n55s laptop with 64-bit Intel(R) Core(TM) i7-2670QM CPU @ 
2.20GHz and 64-bit kernel 3.11.0-15-generic #23-Ubuntu.
  Machine has 2 USB3 ports on the left, 2 USB2 ports on the right.

  Device USB ID is ID 0b95:1790 ASIX Electronics Corp.

  ### When working (USB2 port)

  * ethernet auto-negociation is fast
  * mii-tool is fast (typical 0.05s)
  * few lines in dmesg
  * good performance

  ### When failing :

  * ethernet auto-negociation fails, then sometimes eventually works
  * mii-tool is slow (10s of seconds instead of 0.05s)

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link
  real  0m40.014s
  user  0m0.013s
  sys   0m0.006s

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link

  real  0m50.015s
  user  0m0.011s
  sys   0m0.011s

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m10.051s
  user  0m0.000s
  sys   0m0.012s

  But on some attempts mii-tool is fast...

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m0.057s
  user  0m0.011s
  sys   0m0.012s

  
  * DHCP eventually completes (after about 30 seconds) then ethernet works.
  * whole system behaviour feels a little sluggish (not very clear, though)
  * mii-tool still slow (10s of seconds instead of 0.05s)

  ## dmesg when failing

  Full dmesg attached.

  Specific lines with occurrence count at random point (obtained with
  "dmesg | sed 's/^//' | sort | uniq -c | sort -n" ).

  
   50 ei_me :00:16.0: reset: wrong host start response
   51 ei_me :00:16.0: reset: unexpected enumeration response hbm.
   60 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  100 ei_me :00:16.0: unexpected reset: dev_state = RESETTING
  141 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  214 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  Another attempt

   11 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
   61 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
   61 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
  925 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD

  
5 IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0001: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0009: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x000a: -110
6 net_ratelimit: 31 callbacks suppressed
9 IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
   10 net_ratelimit: 30 callbacks suppressed
   14 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  232 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
  232 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  610 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  
  Jan 16 18:39:35 n55sf-l kernel: [203181.206451] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203181.578841] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203181.578854] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203182.075350] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203182.075364] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203182.199491] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203182.199504] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command

[Kernel-packages] [Bug 1269883] Re: Bad performance of Ethernet on USB3 port, dmesg flooded with errors

2014-01-16 Thread gouri
dmesg of one attempt

** Attachment added: "dmesg of one attempt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1269883/+attachment/3950209/+files/dmesg.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1269883

Title:
  Bad performance of Ethernet on USB3 port, dmesg flooded with errors

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  Hello,

  # Summary

  
  Plugging on USB3 port an USB-to-ethernet device yields slow performance, 
dmesg flooded with errors.
  Plugging on USB2 port, exact same situation otherwise, works well.
  Reproducible : not always, about 3 out of 4 attempts.

  # Details

  Observed on Asus n55s laptop with 64-bit Intel(R) Core(TM) i7-2670QM CPU @ 
2.20GHz and 64-bit kernel 3.11.0-15-generic #23-Ubuntu.
  Machine has 2 USB3 ports on the left, 2 USB2 ports on the right.

  Device USB ID is ID 0b95:1790 ASIX Electronics Corp.

  ### When working (USB2 port)

  * ethernet auto-negociation is fast
  * mii-tool is fast (typical 0.05s)
  * few lines in dmesg
  * good performance

  ### When failing :

  * ethernet auto-negociation fails, then sometimes eventually works
  * mii-tool is slow (10s of seconds instead of 0.05s)

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link
  real  0m40.014s
  user  0m0.013s
  sys   0m0.006s

  time sudo mii-tool

  eth0: no link
  eth1: 10 Mbit, half duplex, no link

  real  0m50.015s
  user  0m0.011s
  sys   0m0.011s

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m10.051s
  user  0m0.000s
  sys   0m0.012s

  But on some attempts mii-tool is fast...

  time sudo mii-tool

  eth0: no link
  eth1: negotiated 100baseTx-FD, link ok

  real  0m0.057s
  user  0m0.011s
  sys   0m0.012s

  
  * DHCP eventually completes (after about 30 seconds) then ethernet works.
  * whole system behaviour feels a little sluggish (not very clear, though)
  * mii-tool still slow (10s of seconds instead of 0.05s)

  ## dmesg when failing

  Full dmesg attached.

  Specific lines with occurrence count at random point (obtained with
  "dmesg | sed 's/^//' | sort | uniq -c | sort -n" ).

  
   50 ei_me :00:16.0: reset: wrong host start response
   51 ei_me :00:16.0: reset: unexpected enumeration response hbm.
   60 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  100 ei_me :00:16.0: unexpected reset: dev_state = RESETTING
  141 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  214 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  Another attempt

   11 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
   61 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
   61 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1
  925 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD

  
5 IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0001: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0009: -110
6 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x000a: -110
6 net_ratelimit: 31 callbacks suppressed
9 IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
   10 net_ratelimit: 30 callbacks suppressed
   14 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x: -110
   14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
  209 ax88179_178a 4-1:1.0 eth1: kevent 4 may have been dropped
  232 xhci_hcd :04:00.0: A Set TR Deq Ptr command is pending.
  232 xhci_hcd :04:00.0: WARN Cannot submit Set TR Deq Ptr
  610 xhci_hcd :04:00.0: ERROR Transfer event TRB DMA ptr not part of 
current TD
  809 ax88179_178a 4-1:1.0 eth1: ax88179 - Link status is: 1

  
  Jan 16 18:39:35 n55sf-l kernel: [203181.206451] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203181.578841] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203181.578854] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203182.075350] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203182.075364] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pending.
  Jan 16 18:39:36 n55sf-l kernel: [203182.199491] xhci_hcd :04:00.0: 
WARN Cannot submit Set TR Deq Ptr
  Jan 16 18:39:36 n55sf-l kernel: [203182.199504] xhci_hcd :04:00.0: A 
Set TR Deq Ptr command is pen