[Kernel-packages] [Bug 1269883] Re: 0b95:1790 [Asus N55SF] Bad performance of Ethernet-to-USB device on USB3 port, dmesg flooded with errors
gouri, please feel free to fire the e-mail away to all of the following parties: linux-usb mailing list fre...@asix.com.tw ** Summary changed: - 0b95:1790 [Asus N55SF] Bad performance of Ethernet-to-USB device on USB3 port, dmesg flooded with errors + 0b95:1790 [Asus N55SF] Bad performance of Asix Ethernet-to-USB device on USB3 port, dmesg flooded with errors ** Summary changed: - 0b95:1790 [Asus N55SF] Bad performance of Asix Ethernet-to-USB device on USB3 port, dmesg flooded with errors + 0b95:1790 [Asus N55SF] Bad performance of Asix Ethernet-to-USB device on USB3 port -- 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: 0b95:1790 [Asus N55SF] Bad performance of Asix Ethernet-to-USB device on USB3 port Status in “linux” package in Ubuntu: Triaged 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
[Kernel-packages] [Bug 1269883] Re: 0b95:1790 [Asus N55SF] Bad performance of Ethernet-to-USB device on USB3 port, dmesg flooded with errors
Could you please report this problem through the appropriate channel by following the instructions _verbatim_ at https://wiki.ubuntu.com/Bugs/Upstream/kernel ? Thank you for your understanding. Thank you Christopher for your feedback. I've read the instructions, they are clear and I'm convinced that following them exactly indeed makes things more efficient for everyone. Also thank your for having edited this bug title and first sentence they look more in the spirit of the instructions. For added confidence, I'm considering first testing the device on another computer that also has USB3 and USB2 ports and/or another distribution using a live media, then updating here then doing the upstream report. 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: 0b95:1790 [Asus N55SF] Bad performance of Ethernet-to-USB device on USB3 port, dmesg flooded with errors Status in “linux” package in Ubuntu: Triaged 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