10ec:8168 r8169 ethernet stops working after a while

Bug #1459985 reported by Ville Ranki
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
High
Unassigned

Bug Description

I have a lenovoE540 laptop with a r8169 wired onboard ethernet. When the computer is started, ethernet works fine for about 20-30 minutes. After that network stops working.

dmesg shows that initially the link is up and stays up:

[ 41.806656] r8169 0000:04:00.0 eth0: link up

There are no other networking related messages. Networking starts working again if I disconnect and connect again the cable. After this networking works until computer is shut down.

This is reproducible and happens to me every day. There are also other reports on r8169 issues but I didn't find a matching bug report on launchpad. This happens only to this computer on network, so I doubt it's a DHCP or other network misconfiguration issue.

http://askubuntu.com/questions/615423/ethernet-connection-randomly-disconnects-after-transmit-queue-0-timed-out

http://forums.linuxmint.com/viewtopic.php?f=90&t=177544

https://bugs.launchpad.net/ubuntu/+source/linux-backports-modules-3.0.0/+bug/839393

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-18-generic 3.19.0-18.18
ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
Uname: Linux 3.19.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: vranki 2683 F.... pulseaudio
CurrentDesktop: X-Cinnamon
Date: Fri May 29 12:48:08 2015
EcryptfsInUse: Yes
HibernationDevice: RESUME=UUID=71d76087-3fdf-4f57-a0f4-0b128be4d386
InstallationDate: Installed on 2015-02-12 (105 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
MachineType: LENOVO 20C600LLMS
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.19.0-18-generic root=UUID=e114ca99-f1c7-450f-a4a5-553075d92b7c ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-18-generic N/A
 linux-backports-modules-3.19.0-18-generic N/A
 linux-firmware 1.143.1
SourcePackage: linux
UpgradeStatus: Upgraded to vivid on 2015-05-12 (16 days ago)
dmi.bios.date: 03/04/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: J9ET98WW (2.18 )
dmi.board.asset.tag: Not Available
dmi.board.name: 20C600LLMS
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50510 WIN
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvrJ9ET98WW(2.18):bd03/04/2015:svnLENOVO:pn20C600LLMS:pvrThinkPadEdgeE540:rvnLENOVO:rn20C600LLMS:rvrSDK0E50510WIN:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 20C600LLMS
dmi.product.version: ThinkPad Edge E540
dmi.sys.vendor: LENOVO

Revision history for this message
Ville Ranki (ville-ranki) wrote :
penalvch (penalvch)
tags: added: bios-outdated-2.19
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Ville Ranki (ville-ranki) wrote :

I updated the bios to latest provided by Lenovo, but the problem persists.

output of dmidecode -s bios-version && sudo dmidecode -s bios-release-date:
J9ET99WW (2.19 )
05/05/2015

This may also be a NetworkManager issue - i've filed bug #1461015 on nm with a error message in journal.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
tags: removed: bios-outdated-2.19
Revision history for this message
penalvch (penalvch) wrote :

Ville Ranki, could you please test the latest upstream kernel available from the very top line at the top of the page (the release names are irrelevant for testing, and please do not test the daily folder) following https://wiki.ubuntu.com/Kernel/MainlineBuilds ? It will allow additional upstream developers to examine the issue.

If the test did not allow you to test to the issue (ex. you couldn't boot into the OS) please make a comment in your report about this, and continue to test the next most recent kernel version until you can test to the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags by clicking on the yellow circle with a black pencil icon, next to the word Tags, located at the bottom of the report description:
kernel-fixed-upstream
kernel-fixed-upstream-X.Y-rcZ

Where XY and Z are numbers corresponding to the kernel version.

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-X.Y-rcZ

Please note, an error to install the kernel does not fit the criteria of kernel-bug-exists-upstream.

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results.

Thank you for your understanding.

tags: added: latest-bios-2.19
Changed in linux (Ubuntu):
importance: Low → Medium
status: Confirmed → Incomplete
Revision history for this message
Ville Ranki (ville-ranki) wrote :

Tested with linux-image-4.1.0-040100rc6-generic and the bug still persists.

tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-4.1.0-rc6
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Ville Ranki, the issue you are reporting is an upstream one. Could you please report this problem to the appropriate mailing list (netdev) by following the instructions verbatim at https://wiki.ubuntu.com/Bugs/Upstream/kernel ?

Please provide a direct URL to your e-mail to the mailing list once you have made it so that it may be tracked via http://vger.kernel.org/vger-lists.html . It can take a day for the new e-mail to show up in the respective archive.

Thank you for your understanding.

Changed in linux (Ubuntu):
importance: Medium → High
status: Confirmed → Triaged
summary: - r8169 ethernet stops working after a while
+ 10ec:8168 r8169 ethernet stops working after a while
Revision history for this message
SOORAJ S (surajfotonix) wrote :

I am having the same problem as I have stated here, `http://askubuntu.com/questions/615423/ethernet-connection-randomly-disconnects-after-transmit-queue-0-timed-out`.

I tried to replace kernel with an older one, `3.2.0-83-generic` now the ethernet connection is perfect.

Other kernels in which ethernet connection is stable: 3.2.0-98-generic, 3.2.0-83-generic
Other kernels in which ethernet connection is not stable: 4.2.0-27-generic, 4.2.0-30-generic, 3.13.0-33-generic, 3.13.0-36-generic, 3.5.0-27-generic

Revision history for this message
penalvch (penalvch) wrote :

SOORAJ S, given you have different hardware than the original reporter, it will help immensely if you filed a new report with the Ubuntu repository kernel (not mainline/upstream) via a terminal:
ubuntu-bug linux

Please feel free to subscribe me to it.

For more on why this is helpful, please see https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
SOORAJ S (surajfotonix) wrote :

Thank u @Christopher M. Penalver (penalvch),

I have reported the bug, would be very helpful if u could look into it. `https://bugs.launchpad.net/ubuntu/+source/linux-lts-wily/+bug/1553044`

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.