Bug 1389548

Summary: AX88179 - connection freezes after large send
Product: [Fedora] Fedora Reporter: maverick.pt
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 24CC: gansalmon, ichavero, itamar, jonathan, kernel-maint, labbott, madhu.chinakonda, maverick.pt, mchehab
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-24 18:49:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description maverick.pt 2016-10-27 20:41:22 UTC
Hi, 

every time i do a big network transfer my connection just freezes.

Ex: send file to nfs share
    test with iperf

The interface doesn't go down, it stays up but drops all packets

I can't see anything on logs.

Hardware/Software:

HP Omen 15-5100np
AX88179 USB 3.0 (0b95:1790 ASIX Electronics Corp. AX88179 Gigabit Ethernet) 
Kernel 4.7.9-200.fc24.x86_64


Tests:

[root@ghost ~]# iperf -f M -i 5 -t 15 -c 192.168.0.10
------------------------------------------------------------
Client connecting to 192.168.0.10, TCP port 5001
TCP window size: 0.08 MByte (default)
------------------------------------------------------------
[  3] local 192.168.0.69 port 60188 connected with 192.168.0.10 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 5.0 sec   549 MBytes   110 MBytes/sec
[  3]  5.0-10.0 sec   549 MBytes   110 MBytes/sec
[  3] 10.0-15.0 sec   549 MBytes   110 MBytes/sec
[  3]  0.0-15.0 sec  1647 MBytes   110 MBytes/sec

[root@ghost ~]# iperf -f M -i 5 -t 15 -c 192.168.0.10
------------------------------------------------------------
Client connecting to 192.168.0.10, TCP port 5001
TCP window size: 0.08 MByte (default)
------------------------------------------------------------
[  3] local 192.168.0.69 port 60196 connected with 192.168.0.10 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 5.0 sec  6.28 MBytes  1.26 MBytes/sec
[  3]  5.0-10.0 sec  0.00 MBytes  0.00 MBytes/sec
[  3] 10.0-15.0 sec  0.00 MBytes  0.00 MBytes/sec
[  3]  0.0-15.1 sec  6.28 MBytes  0.42 MBytes/sec

[root@ghost ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
20 packets transmitted, 0 received, 100% packet loss, time 18999ms

[root@ghost ~]# rmmod ax88179_178a; modprobe ax88179_178a
[root@ghost ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=9.93 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=56 time=10.0 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=56 time=10.4 ms
^C
--- 8.8.8.8 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 9.934/10.141/10.474/0.237 ms

During the pings i see the dropped packets increasing:

[root@ghost ~]# ifconfig enp0s20u5
enp0s20u5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.69  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::213:3bff:fe9a:3ba3  prefixlen 64  scopeid 0x20<link>
        ether 00:13:3b:9a:3b:a3  txqueuelen 1000  (Ethernet)
        RX packets 87926  bytes 5316161 (5.0 MiB)
        RX errors 1  dropped 0  overruns 0  frame 0
        TX packets 1198343  bytes 1822134718 (1.6 GiB)
        TX errors 739  dropped 0 overruns 0  carrier 0  collisions 0

[root@ghost ~]# ifconfig enp0s20u5
enp0s20u5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.69  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::213:3bff:fe9a:3ba3  prefixlen 64  scopeid 0x20<link>
        ether 00:13:3b:9a:3b:a3  txqueuelen 1000  (Ethernet)
        RX packets 87926  bytes 5316161 (5.0 MiB)
        RX errors 1  dropped 0  overruns 0  frame 0
        TX packets 1198343  bytes 1822134718 (1.6 GiB)
        TX errors 749  dropped 0 overruns 0  carrier 0  collisions 0

[root@ghost ~]# ifconfig enp0s20u5
enp0s20u5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.69  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::213:3bff:fe9a:3ba3  prefixlen 64  scopeid 0x20<link>
        ether 00:13:3b:9a:3b:a3  txqueuelen 1000  (Ethernet)
        RX packets 87926  bytes 5316161 (5.0 MiB)
        RX errors 1  dropped 0  overruns 0  frame 0
        TX packets 1198343  bytes 1822134718 (1.6 GiB)
        TX errors 750  dropped 0 overruns 0  carrier 0  collisions 0

Comment 1 maverick.pt 2016-10-27 21:43:08 UTC
One other thing, it seems the problem only occurs when sending data, when receiving i doesn't seem to hang, i runned iperf for 120s using my laptop as server and was ok:

[root@san ~]# iperf -f M -i 5 -t 120 -c 192.168.0.69
------------------------------------------------------------
Client connecting to 192.168.0.69, TCP port 5001
TCP window size: 0.08 MByte (default)
------------------------------------------------------------
[  3] local 192.168.0.10 port 57792 connected with 192.168.0.69 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 5.0 sec   563 MBytes   113 MBytes/sec
[  3]  5.0-10.0 sec   559 MBytes   112 MBytes/sec
[  3] 10.0-15.0 sec   561 MBytes   112 MBytes/sec
[  3] 15.0-20.0 sec   560 MBytes   112 MBytes/sec
[  3] 20.0-25.0 sec   560 MBytes   112 MBytes/sec
[  3] 25.0-30.0 sec   560 MBytes   112 MBytes/sec
[  3] 30.0-35.0 sec   561 MBytes   112 MBytes/sec
[  3] 35.0-40.0 sec   562 MBytes   112 MBytes/sec
[  3] 40.0-45.0 sec   562 MBytes   112 MBytes/sec
[  3] 45.0-50.0 sec   560 MBytes   112 MBytes/sec
[  3] 50.0-55.0 sec   559 MBytes   112 MBytes/sec
[  3] 55.0-60.0 sec   561 MBytes   112 MBytes/sec
[  3] 60.0-65.0 sec   561 MBytes   112 MBytes/sec
[  3] 65.0-70.0 sec   561 MBytes   112 MBytes/sec
[  3] 70.0-75.0 sec   561 MBytes   112 MBytes/sec
[  3] 75.0-80.0 sec   561 MBytes   112 MBytes/sec
[  3] 80.0-85.0 sec   561 MBytes   112 MBytes/sec
[  3] 85.0-90.0 sec   560 MBytes   112 MBytes/sec
[  3] 90.0-95.0 sec   561 MBytes   112 MBytes/sec
[  3] 95.0-100.0 sec   561 MBytes   112 MBytes/sec
[  3] 100.0-105.0 sec   560 MBytes   112 MBytes/sec
[  3] 105.0-110.0 sec   561 MBytes   112 MBytes/sec
[  3] 110.0-115.0 sec   561 MBytes   112 MBytes/sec
[  3] 115.0-120.0 sec   561 MBytes   112 MBytes/sec
[  3]  0.0-120.0 sec  13457 MBytes   112 MBytes/sec

Comment 2 maverick.pt 2016-12-12 19:01:26 UTC
Hi,

I just updated to F25, and now i don't have crashes, but the speed went down by half, i can't have more then 41 MB/s:

[root@ghost ~]# iperf -f M -i 5 -t 120 -c 192.168.0.10
------------------------------------------------------------
Client connecting to 192.168.0.10, TCP port 5001
TCP window size: 0.08 MByte (default)
------------------------------------------------------------
[  3] local 192.168.0.69 port 52302 connected with 192.168.0.10 port 5001
[ ID] Interval       Transfer     Bandwidth
[  3]  0.0- 5.0 sec   209 MBytes  41.8 MBytes/sec
[  3]  5.0-10.0 sec   210 MBytes  41.9 MBytes/sec
[  3] 10.0-15.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 15.0-20.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 20.0-25.0 sec   209 MBytes  41.9 MBytes/sec
[  3] 25.0-30.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 30.0-35.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 35.0-40.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 40.0-45.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 45.0-50.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 50.0-55.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 55.0-60.0 sec   209 MBytes  41.9 MBytes/sec
[  3] 60.0-65.0 sec   211 MBytes  42.1 MBytes/sec
[  3] 65.0-70.0 sec   209 MBytes  41.9 MBytes/sec
[  3] 70.0-75.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 75.0-80.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 80.0-85.0 sec   210 MBytes  41.9 MBytes/sec
[  3] 85.0-90.0 sec   210 MBytes  42.0 MBytes/sec
[  3] 90.0-95.0 sec   210 MBytes  42.0 MBytes/sec
[  3] 95.0-100.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 100.0-105.0 sec   210 MBytes  41.9 MBytes/sec
[  3] 105.0-110.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 110.0-115.0 sec   209 MBytes  41.8 MBytes/sec
[  3] 115.0-120.0 sec   209 MBytes  41.8 MBytes/sec
[  3]  0.0-120.0 sec  5022 MBytes  41.8 MBytes/sec

Comment 3 maverick.pt 2017-01-23 18:52:27 UTC
Hi, the problem still exists in F25 after all, on previous comment i mentioned it didn't freeze anymore but the speed has cut by half, but this happened because i enabled "Legacy Boot Mode" in my BIOS.

Now with legacy mode disabled, i get the same problem again, it freezes.

Comment 4 maverick.pt 2017-01-23 18:57:25 UTC
Another information, i start to think the problem maybe with the USB controller and not the USB network card.

I just tried with another card:

Bus 002 Device 003: ID 0bda:8153 Realtek Semiconductor Corp. (r8152)

And the connection also freezes after some intense data sending.

Comment 5 maverick.pt 2017-01-23 21:22:42 UTC
Hi,

Happy to inform that the problem is fixed with update of BIOS to latest version (F.38 Rev.A)

Comment 6 Laura Abbott 2017-01-24 18:49:26 UTC
Thank you for letting us know. I'm going to close the bug now. Please reopen if you see the problem.