You are not logged in.

#1 2016-06-09 10:09:08

ryazor
Member
From: Berlin
Registered: 2010-05-18
Posts: 8

Random Ethernet disconnects (Qualcomm Atheros Killer E220x)

Hello community,

Since some weeks, I encounter random connection drops of my wired Ethernet adapter (Qualcomm Atheros Killer E220x) for about 10 seconds each. The router is working correctly since I have no connection drops on other wired devices. Also I tried other Ethernet cables, same result.

$ dmesg | tail
...
[ 2203.626077] alx 0000:04:00.0 enp4s0: Link Down
[ 2205.753244] alx 0000:04:00.0 enp4s0: NIC Up: 1 Gbps Full
[ 2206.337340] alx 0000:04:00.0 enp4s0: Link Down
[ 2208.497509] alx 0000:04:00.0 enp4s0: NIC Up: 1 Gbps Full
$ lspci -vnn | grep Ethernet
04:00.0 Ethernet controller [0200]: Qualcomm Atheros Killer E220x Gigabit Ethernet Controller [1969:e091] (rev 13)
$ systemctl status netctl-ifplugd@enp4s0.service
● netctl-ifplugd@enp4s0.service - Automatic wired network connection using netctl profiles
   Loaded: loaded (/usr/lib/systemd/system/netctl-ifplugd@.service; enabled; vendor preset: disabled)
   Active: active (running) since Thu 2016-06-09 11:15:39 CEST; 47min ago
     Docs: man:netctl.special(7)
 Main PID: 621 (ifplugd)
   CGroup: /system.slice/system-netctl\x2difplugd.slice/netctl-ifplugd@enp4s0.service
           └─621 /usr/bin/ifplugd -i enp4s0 -r /etc/ifplugd/netctl.action -bfIns

Jun 09 11:16:34 gs70 ifplugd[621]: Link beat lost.
Jun 09 11:16:36 gs70 ifplugd[621]: Link beat detected.
Jun 09 11:24:07 gs70 ifplugd[621]: Link beat lost.
Jun 09 11:24:12 gs70 ifplugd[621]: Link beat detected.
Jun 09 11:38:40 gs70 ifplugd[621]: Link beat lost.
Jun 09 11:38:42 gs70 ifplugd[621]: Link beat detected.
Jun 09 11:52:19 gs70 ifplugd[621]: Link beat lost.
Jun 09 11:52:21 gs70 ifplugd[621]: Link beat detected.
Jun 09 11:52:22 gs70 ifplugd[621]: Link beat lost.
Jun 09 11:52:24 gs70 ifplugd[621]: Link beat detected.

Any help is appreciated!

Kind regards,
R.

Offline

#2 2016-06-09 23:59:14

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: Random Ethernet disconnects (Qualcomm Atheros Killer E220x)

What kernel are you using?

uname -a

  I have a patched version of the alx module source code on my github site based on Ubuntu's 4.4 kernel that may fix but I have no idea how to install some of the packages needed on arch.  The github link is https://github.com/jeremyb31/alx and one of the patches added was http://git.kernel.org/cgit/linux/kernel … 560e8c2f5b

Offline

#3 2016-06-10 06:38:14

ryazor
Member
From: Berlin
Registered: 2010-05-18
Posts: 8

Re: Random Ethernet disconnects (Qualcomm Atheros Killer E220x)

Hello jeremy31,

thank you very much for your reply. My current kernel is:

$ uname -a
Linux gs70 4.5.4-1-ARCH #1 SMP PREEMPT Wed May 11 22:21:28 CEST 2016 x86_64 GNU/Linux

If I understand correctly, you have a patched version of alx for Ubuntu that uses DKMS?
When I find the time, I'll try to dig deeper into your solution and may adapt the code for an Arch installation. But at least, you confirmed that it's a bug in the driver, which will be probably fixed in the next few kernel updates smile

Thank you very much so far!

Offline

#4 2016-06-11 11:19:26

jeremy31
Member
Registered: 2015-11-01
Posts: 149

Re: Random Ethernet disconnects (Qualcomm Atheros Killer E220x)

The latest patches for alx can be found http://git.kernel.org/cgit/linux/kernel … theros/alx
The two newest patches wouldn't compile for me so I removed them from my source at github

Offline

Board footer

Powered by FluxBB