Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490680 - ALX kernel (3.10.17, 3.12.0) module with Qualcomm Atheros AR8161 Gigabit Ethernet card stops wired network communication after some minutes
Summary: ALX kernel (3.10.17, 3.12.0) module with Qualcomm Atheros AR8161 Gigabit Ethe...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-07 10:54 UTC by cyrtonyx
Modified: 2014-11-16 22:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cyrtonyx 2013-11-07 10:54:01 UTC
After some minutes the ALX kernel module stops working, i.e. there is no internet connection. (I have a Qualcomm Atheros AR8161 Gigabit Ethernet card).

To recover internet connection I have to:
- disconnect / reconnect the cable or
- rmmod alx; modprobe alx
These commands recover internet connection, but after some time it terminates again. It is also interesting that RX/TX packets/errors are all 0 in the ifconfig output, even after loading a previously not loaded webpage.

3.5.7 was the last working kernel, where I installed the module from the compat-wireless package (downloadable from the internet). Latest gentoo kernels (3.10.17, 3.12.0) include the module, but it produces the error described above.

I use default genkernel config plus:
- CONFIG_DRM_I915_KMS=y
- CONFIG_TASK_IO_ACCOUNTING=y
- CONFIG_ALX=m

Reproducible: Always

Steps to Reproduce:
It happens every time with these newer kernels, however I do not know what triggers the error. I also didn't find anything about it in the logs.
Comment 1 Mike Pagano gentoo-dev 2014-01-30 17:28:56 UTC
Still an issue? Anything in dmesg during the disconnect?
Comment 2 cyrtonyx 2014-02-03 12:32:04 UTC
Yes, it still exists with up-to-date gentoo and kernel:
3.10.25-gentoo #2 SMP Fri Jan 31 20:16:38 CET 2014 x86_64 Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz GenuineIntel GNU/Linux

So far I couldn't find anything in messages / dmesg, the connections simply time out. However the KDE nm tray icon (version: 0.9.0.10 (nm09 20131128)) shows a plugged-in cable status. The bug occurs frequently (sometimes after hours, sometimes after less than a minute). but I do not know what triggers it.

If I plug out the cable and use WiFi only, the computer always works.
Comment 3 Mike Pagano gentoo-dev 2014-02-03 16:22:25 UTC
Can you please test the latest 3.13 kernel which is 3.13.1 as of this writing.
Comment 4 cyrtonyx 2014-02-18 15:38:54 UTC
Now, with kernel 3.13.1-gentoo, I only experienced this, after starting the vmware service. (Maybe with older kernels also the ALX<->vmware caused the "connection drop".)

After stopping the vmware service, the connection was still "dropped", however NetworkManager showed the cable plugged in. After unplugging and replugging the cable physically, the connection worked again with the same routing table.

Kernel 3.13.1-gentoo without a started vmware seems to be working and stable, vmware+WiFi also works, only vmware+ALX seems to interfere with each other.
Comment 5 René Marten 2014-07-15 11:53:46 UTC
same here with Qualcomm AR8171 (ASRock B85-ITX).
It was working fine for some days but suddenly the system hangs
while watching an internet tv stream.

After the next reboot, the wired ethernet stopped working after a while.
Unplugging/repluggung the cable didn't work.
Removing and reloading the alx module leads to a crash.
Only rebooting solves the problem for a while.

When this appeares, the log is flooded by the following message.

 alx 0000:02:00.0 eth1: fatal interrupt 0x4019607, resetting


This happens with the following kernels:

3.15.5-gentoo
3.16.-rc5
Comment 6 René Marten 2014-07-15 11:55:15 UTC
+M
Comment 7 René Marten 2014-07-16 10:04:28 UTC
the problem is gone by disableing pci-e aspm (BIOS, kernel).
Enabeling it , will disable the network card after a whie and the driver couldn't
enable it in this situation.
Comment 8 Mike Pagano gentoo-dev 2014-11-16 22:21:35 UTC
Closing as workaround found.