kernel-packages team mailing list archive
-
kernel-packages team
-
Mailing list archive
-
Message #71029
[Bug 1269883] Re: 0b95:1790 [Asus N55SF] Bad performance of Asix Ethernet-to-USB device on USB3 port
Summary: (1) bug also occurs on Trusty 14.04 (2) we need you (yes, you,
affected by the bug) to help cure it
## Bug reproduced on Trusty
Just tested the same hardware again on kernel 3.13.0-30-generic
#55-Ubuntu SMP Fri Jul 4 21:40:53 UTC 2014 x86_64 x86_64 x86_64
GNU/Linux.
Same behavior as already described.
Here's part of lsusb -t
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
|__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=ax88179_178a, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
situation above (device working in USB3 condition) reproduces the bug
situation below (device working in USB2 condition) works
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
|__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=ax88179_178a, 480M
## Contacting upstream
No reply to my e-mail to linux-usb and Freddy Xin dated january 2014:
Sujet: 0b95:1790 [Asus N55SF] Bad performance of Asix Ethernet-to-USB device on USB3 port
Date : Thu, 30 Jan 2014 06:20:01 +0100
De : Stéphane Gourichon <...@...>
Pour : linux-usb (address mangled on purpose) vger.kernel.org, Freddy Xin <...@...>
It would be a good thing to write again politely. I'm overwhelmed with work, so if someone affected by the bug may knock again at the list and developer to establish contact that would be great. For a good start read [Ask a kernel developer, part 2 [LWN.net]](http://lwn.net/Articles/356890/). It's short and simple.
Thank you for your attention.
--
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 0000:00:16.0: reset: wrong host start response
51 ei_me 0000: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 0000:00:16.0: unexpected reset: dev_state = RESETTING
141 xhci_hcd 0000: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 0x0000: -110
14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
61 xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
61 xhci_hcd 0000: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 0000: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 0x0000: -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 0000:04:00.0: A Set TR Deq Ptr command is pending.
232 xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
610 xhci_hcd 0000: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 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:36 n55sf-l kernel: [203181.578841] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
Jan 16 18:39:36 n55sf-l kernel: [203181.578854] xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:36 n55sf-l kernel: [203182.075350] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
Jan 16 18:39:36 n55sf-l kernel: [203182.075364] xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:36 n55sf-l kernel: [203182.199491] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
Jan 16 18:39:36 n55sf-l kernel: [203182.199504] xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:37 n55sf-l kernel: [203182.944174] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
Jan 16 18:39:37 n55sf-l kernel: [203182.944178] xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:37 n55sf-l kernel: [203183.068300] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
Jan 16 18:39:37 n55sf-l kernel: [203183.068305] xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:37 n55sf-l kernel: [203183.192433] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
## On USB2 port everything fine.
Jan 16 18:26:44 n55sf-l kernel: [202408.897761] usb 2-1.4: new high-speed USB device number 18 using ehci-pci
Jan 16 18:26:44 n55sf-l kernel: [202408.996745] usb 2-1.4: New USB device found, idVendor=0b95, idProduct=1790
Jan 16 18:26:44 n55sf-l kernel: [202408.996757] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 16 18:26:44 n55sf-l kernel: [202408.996763] usb 2-1.4: Product: AX88179
Jan 16 18:26:44 n55sf-l kernel: [202408.996769] usb 2-1.4: Manufacturer: ASIX Elec. Corp.
Jan 16 18:26:44 n55sf-l kernel: [202408.996774] usb 2-1.4: SerialNumber: 00000000000116
Jan 16 18:26:44 n55sf-l kernel: [202409.325222] ax88179_178a 2-1.4:1.0 eth1: register 'ax88179_178a' at usb-0000:00:1d.0-1.4, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:05:1b:a3:37:f6
Jan 16 18:26:45 n55sf-l kernel: [202409.681691] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Jan 16 18:26:45 n55sf-l kernel: [202409.685338] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Jan 16 18:26:47 n55sf-l kernel: [202411.782132] ax88179_178a 2-1.4:1.0 eth1: ax88179 - Link status is: 1
Jan 16 18:26:47 n55sf-l kernel: [202411.785044] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
## Once things went fine on a USB3 port
Jan 16 18:27:45 n55sf-l kernel: [202470.636671] usb 3-2: new high-speed USB device number 12 using xhci_hcd
Jan 16 18:27:46 n55sf-l kernel: [202470.689067] usb 3-2: New USB device found, idVendor=0b95, idProduct=1790
Jan 16 18:27:46 n55sf-l kernel: [202470.689079] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 16 18:27:46 n55sf-l kernel: [202470.689085] usb 3-2: Product: AX88179
Jan 16 18:27:46 n55sf-l kernel: [202470.689090] usb 3-2: Manufacturer: ASIX Elec. Corp.
Jan 16 18:27:46 n55sf-l kernel: [202470.689095] usb 3-2: SerialNumber: 00000000000116
Jan 16 18:27:46 n55sf-l kernel: [202471.012136] ax88179_178a 3-2:1.0 eth1: register 'ax88179_178a' at usb-0000:04:00.0-2, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:05:1b:a3:37:f6
Jan 16 18:27:46 n55sf-l kernel: [202471.367771] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Jan 16 18:27:46 n55sf-l kernel: [202471.371383] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Jan 16 18:27:48 n55sf-l kernel: [202473.414584] ax88179_178a 3-2:1.0 eth1: ax88179 - Link status is: 1
Jan 16 18:27:48 n55sf-l kernel: [202473.416586] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
## Then bad again on next attempt on USB3 port with different infinite loop of error messages:
11 ax88179_178a 4-1:1.0 eth1: Failed to read reg index 0x0000: -110
14 ax88179_178a 4-1:1.0 eth1: Failed to write reg index 0x0002: -110
61 xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
61 xhci_hcd 0000: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 0000: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 0x0000: -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 0000:04:00.0: A Set TR Deq Ptr command is pending.
232 xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
610 xhci_hcd 0000: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 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:36 n55sf-l kernel: [203181.578841] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
Jan 16 18:39:36 n55sf-l kernel: [203181.578854] xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:36 n55sf-l kernel: [203182.075350] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
Jan 16 18:39:36 n55sf-l kernel: [203182.075364] xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:36 n55sf-l kernel: [203182.199491] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
Jan 16 18:39:36 n55sf-l kernel: [203182.199504] xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:37 n55sf-l kernel: [203182.944174] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
Jan 16 18:39:37 n55sf-l kernel: [203182.944178] xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:37 n55sf-l kernel: [203183.068300] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
Jan 16 18:39:37 n55sf-l kernel: [203183.068305] xhci_hcd 0000:04:00.0: A Set TR Deq Ptr command is pending.
Jan 16 18:39:37 n55sf-l kernel: [203183.192433] xhci_hcd 0000:04:00.0: WARN Cannot submit Set TR Deq Ptr
## Additional attempts on USB2 port went fine.
https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.4.10
Re: ERROR transfer event TRB DMA ptr not part of current TD -- Linux USB http://www.spinics.net/lists/linux-usb/msg85388.html
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: linux-image-3.11.0-15-generic 3.11.0-15.23
ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/controlC0: stephane 1815 F.... pulseaudio
Date: Thu Jan 16 18:34:32 2014
HibernationDevice: RESUME=UUID=d05e8def-662d-4d3a-b3b3-4d9d2997966d
MachineType: ASUSTeK Computer Inc. N55SF
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-15-generic root=UUID=12f862a8-f6b9-4c9e-8bf7-030b86b75241 ro quiet splash vt.handoff=7
RelatedPackageVersions:
linux-restricted-modules-3.11.0-15-generic N/A
linux-backports-modules-3.11.0-15-generic N/A
linux-firmware 1.116
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 08/29/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: N55SF.207
dmi.board.asset.tag: ATN12345678901234567
dmi.board.name: N55SF
dmi.board.vendor: ASUSTeK Computer Inc.
dmi.board.version: 1.0
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 10
dmi.chassis.vendor: ASUSTeK Computer Inc.
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrN55SF.207:bd08/29/2011:svnASUSTeKComputerInc.:pnN55SF:pvr1.0:rvnASUSTeKComputerInc.:rnN55SF:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
dmi.product.name: N55SF
dmi.product.version: 1.0
dmi.sys.vendor: ASUSTeK Computer Inc.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1269883/+subscriptions
References