Flooded syslog "link up-link down" with Realtek r8169 network card 1Gbps

Bug #1234896 reported by Radoslav Petrov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

1) Ubuntu release that I'm using:
~$ lsb_release -rd
Description: Ubuntu 12.04.3 LTS
Release: 12.04
~$ uname -r
3.8.0-31-generic
2) The problem is in the network card driver that is bundled in the kernel
3) Stable operation of the network interface adapter without errors in the log about link instability
4) When the adapter is enabled to work on a 1Gbps speed it fulls the syslog with the following (MAC address is cleared from the log):
Sep 30 23:18:59 zloster-P5L-MX kernel: [ 0.731667] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
Sep 30 23:18:59 zloster-P5L-MX kernel: [ 0.731710] r8169 0000:01:01.0 (unregistered net_device): not PCI Express
Sep 30 23:18:59 zloster-P5L-MX kernel: [ 0.732842] r8169 0000:01:01.0 eth0: RTL8110s at 0xffffc90000636c00, **:**:**:**:**:**, XID 04000000 IRQ 21
Sep 30 23:18:59 zloster-P5L-MX kernel: [ 0.732846] r8169 0000:01:01.0 eth0: jumbo features [frames: 7152 bytes, tx checksumming: ok]
Sep 30 23:19:00 zloster-P5L-MX NetworkManager[951]: <info> (eth0): new Ethernet device (driver: 'r8169' ifindex: 2)
Sep 30 23:19:00 zloster-P5L-MX kernel: [ 2.512648] r8169 0000:01:01.0 eth0: link down
Sep 30 23:19:00 zloster-P5L-MX kernel: [ 2.512658] r8169 0000:01:01.0 eth0: link down
Sep 30 23:19:02 zloster-P5L-MX kernel: [ 4.493310] r8169 0000:01:01.0 eth0: link up
Sep 30 23:19:54 zloster-P5L-MX kernel: [ 56.039959] r8169 0000:01:01.0 eth0: link down
Sep 30 23:19:56 zloster-P5L-MX kernel: [ 58.407322] r8169 0000:01:01.0 eth0: link up
Sep 30 23:20:17 zloster-P5L-MX kernel: [ 79.923411] r8169 0000:01:01.0 eth0: link down
Sep 30 23:20:20 zloster-P5L-MX kernel: [ 82.280077] r8169 0000:01:01.0 eth0: link up
Sep 30 23:20:36 zloster-P5L-MX kernel: [ 98.569342] r8169 0000:01:01.0 eth0: link down
Sep 30 23:20:38 zloster-P5L-MX kernel: [ 100.900203] r8169 0000:01:01.0 eth0: link up
Sep 30 23:21:00 zloster-P5L-MX kernel: [ 122.717599] r8169 0000:01:01.0 eth0: link down
Sep 30 23:21:03 zloster-P5L-MX kernel: [ 125.171832] r8169 0000:01:01.0 eth0: link up
Sep 30 23:21:20 zloster-P5L-MX kernel: [ 142.910065] r8169 0000:01:01.0 eth0: link down
Sep 30 23:21:23 zloster-P5L-MX kernel: [ 145.332603] r8169 0000:01:01.0 eth0: link up
Sep 30 23:21:38 zloster-P5L-MX kernel: [ 160.536365] r8169 0000:01:01.0 eth0: link down
Sep 30 23:21:40 zloster-P5L-MX kernel: [ 162.882715] r8169 0000:01:01.0 eth0: link up
Sep 30 23:22:04 zloster-P5L-MX kernel: [ 186.944243] r8169 0000:01:01.0 eth0: link down
Sep 30 23:22:07 zloster-P5L-MX kernel: [ 189.303738] r8169 0000:01:01.0 eth0: link up
Sep 30 23:22:28 zloster-P5L-MX kernel: [ 210.167120] r8169 0000:01:01.0 eth0: link down
Sep 30 23:22:30 zloster-P5L-MX kernel: [ 212.494430] r8169 0000:01:01.0 eth0: link up
Sep 30 23:22:42 zloster-P5L-MX kernel: [ 224.707970] r8169 0000:01:01.0 eth0: link down
Sep 30 23:22:45 zloster-P5L-MX kernel: [ 227.047190] r8169 0000:01:01.0 eth0: link up
Sep 30 23:22:57 zloster-P5L-MX kernel: [ 239.573836] r8169 0000:01:01.0 eth0: link down
Sep 30 23:22:59 zloster-P5L-MX kernel: [ 241.892899] r8169 0000:01:01.0 eth0: link up
Sep 30 23:23:13 zloster-P5L-MX kernel: [ 255.034770] r8169 0000:01:01.0 eth0: link down
Sep 30 23:23:15 zloster-P5L-MX kernel: [ 257.367732] r8169 0000:01:01.0 eth0: link up
Sep 30 23:23:34 zloster-P5L-MX kernel: [ 275.987496] r8169 0000:01:01.0 eth0: link down
Sep 30 23:23:36 zloster-P5L-MX kernel: [ 278.294405] r8169 0000:01:01.0 eth0: link up
Sep 30 23:23:46 zloster-P5L-MX kernel: [ 288.813960] r8169 0000:01:01.0 eth0: link down
Sep 30 23:23:49 zloster-P5L-MX kernel: [ 291.127126] r8169 0000:01:01.0 eth0: link up
Sep 30 23:24:01 zloster-P5L-MX kernel: [ 303.003612] r8169 0000:01:01.0 eth0: link down
Sep 30 23:24:03 zloster-P5L-MX kernel: [ 305.395800] r8169 0000:01:01.0 eth0: link up
Sep 30 23:24:15 zloster-P5L-MX kernel: [ 317.568056] r8169 0000:01:01.0 eth0: link down
Sep 30 23:24:18 zloster-P5L-MX kernel: [ 320.095280] r8169 0000:01:01.0 eth0: link up
Sep 30 23:24:32 zloster-P5L-MX kernel: [ 334.837762] r8169 0000:01:01.0 eth0: link down
Sep 30 23:24:35 zloster-P5L-MX kernel: [ 337.226631] r8169 0000:01:01.0 eth0: link up
Sep 30 23:24:46 zloster-P5L-MX kernel: [ 348.395596] r8169 0000:01:01.0 eth0: link down
Sep 30 23:24:48 zloster-P5L-MX kernel: [ 350.678414] r8169 0000:01:01.0 eth0: link up
Sep 30 23:25:02 zloster-P5L-MX kernel: [ 364.414896] r8169 0000:01:01.0 eth0: link down
Sep 30 23:25:04 zloster-P5L-MX kernel: [ 366.729921] r8169 0000:01:01.0 eth0: link up
Sep 30 23:25:16 zloster-P5L-MX kernel: [ 378.245265] r8169 0000:01:01.0 eth0: link down
Sep 30 23:25:18 zloster-P5L-MX kernel: [ 380.656621] r8169 0000:01:01.0 eth0: link up
Sep 30 23:25:30 zloster-P5L-MX kernel: [ 392.605235] r8169 0000:01:01.0 eth0: link down
Sep 30 23:25:32 zloster-P5L-MX kernel: [ 394.486987] r8169 0000:01:01.0 eth0: link up
Sep 30 23:25:42 zloster-P5L-MX kernel: [ 403.968975] r8169 0000:01:01.0 eth0: link down
Sep 30 23:25:44 zloster-P5L-MX kernel: [ 406.360043] r8169 0000:01:01.0 eth0: link up
Sep 30 23:25:55 zloster-P5L-MX kernel: [ 417.946284] r8169 0000:01:01.0 eth0: link down
Sep 30 23:25:58 zloster-P5L-MX kernel: [ 420.430015] r8169 0000:01:01.0 eth0: link up
Sep 30 23:26:11 zloster-P5L-MX kernel: [ 433.108400] r8169 0000:01:01.0 eth0: link down
Sep 30 23:26:13 zloster-P5L-MX kernel: [ 435.496057] r8169 0000:01:01.0 eth0: link up
Sep 30 23:26:24 zloster-P5L-MX kernel: [ 446.587595] r8169 0000:01:01.0 eth0: link down
Sep 30 23:26:26 zloster-P5L-MX kernel: [ 448.894864] r8169 0000:01:01.0 eth0: link up
Sep 30 23:26:39 zloster-P5L-MX kernel: [ 461.859804] r8169 0000:01:01.0 eth0: link down
Sep 30 23:26:42 zloster-P5L-MX kernel: [ 464.159959] r8169 0000:01:01.0 eth0: link up
Sep 30 23:26:52 zloster-P5L-MX kernel: [ 474.022965] r8169 0000:01:01.0 eth0: link down
Sep 30 23:26:54 zloster-P5L-MX kernel: [ 476.363662] r8169 0000:01:01.0 eth0: link up
Sep 30 23:27:08 zloster-P5L-MX kernel: [ 490.375274] r8169 0000:01:01.0 eth0: link down
Sep 30 23:27:10 zloster-P5L-MX kernel: [ 492.676155] r8169 0000:01:01.0 eth0: link up
Sep 30 23:27:22 zloster-P5L-MX kernel: [ 503.990731] r8169 0000:01:01.0 eth0: link down
Sep 30 23:27:24 zloster-P5L-MX kernel: [ 506.505544] r8169 0000:01:01.0 eth0: link up
Sep 30 23:27:35 zloster-P5L-MX kernel: [ 517.789758] r8169 0000:01:01.0 eth0: link down
Sep 30 23:27:38 zloster-P5L-MX kernel: [ 520.104166] r8169 0000:01:01.0 eth0: link up
Sep 30 23:27:50 zloster-P5L-MX kernel: [ 532.023903] r8169 0000:01:01.0 eth0: link down
Sep 30 23:27:52 zloster-P5L-MX kernel: [ 534.375422] r8169 0000:01:01.0 eth0: link up
Sep 30 23:28:03 zloster-P5L-MX kernel: [ 545.293333] r8169 0000:01:01.0 eth0: link down
Sep 30 23:28:05 zloster-P5L-MX kernel: [ 547.614996] r8169 0000:01:01.0 eth0: link up
Sep 30 23:28:17 zloster-P5L-MX kernel: [ 559.933853] r8169 0000:01:01.0 eth0: link down
Sep 30 23:28:20 zloster-P5L-MX kernel: [ 562.412652] r8169 0000:01:01.0 eth0: link up
Sep 30 23:28:32 zloster-P5L-MX kernel: [ 574.736776] r8169 0000:01:01.0 eth0: link down
Sep 30 23:28:35 zloster-P5L-MX kernel: [ 577.002394] r8169 0000:01:01.0 eth0: link up
Sep 30 23:28:46 zloster-P5L-MX kernel: [ 588.706122] r8169 0000:01:01.0 eth0: link down
Sep 30 23:28:48 zloster-P5L-MX kernel: [ 590.799223] r8169 0000:01:01.0 eth0: link up
Sep 30 23:29:12 zloster-P5L-MX kernel: [ 614.503294] r8169 0000:01:01.0 eth0: link down
Sep 30 23:29:14 zloster-P5L-MX kernel: [ 616.927674] r8169 0000:01:01.0 eth0: link up
Sep 30 23:29:30 zloster-P5L-MX kernel: [ 632.897590] r8169 0000:01:01.0 eth0: link down
Sep 30 23:29:33 zloster-P5L-MX kernel: [ 635.221694] r8169 0000:01:01.0 eth0: link up
Sep 30 23:29:51 zloster-P5L-MX kernel: [ 652.982673] r8169 0000:01:01.0 eth0: link down
Sep 30 23:29:52 zloster-P5L-MX kernel: [ 654.916429] r8169 0000:01:01.0 eth0: link up

The output of lspci -k is:
44:01:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8169 PCI Gigabit Ethernet Controller (rev 10)
45- Subsystem: CNet Technology Inc ProG-2000L
46: Kernel driver in use: r8169
47: Kernel modules: r8169

There is a workaround if I explicitly set the link speed to 100Mbps. (sudo ethtool -s eth0 speed 100 duplex full autoneg on wol d). Then the syslog is clear and everything is working as expected. Also on 3.2 and 3.5 kernels there is no such a problem.

Revision history for this message
Radoslav Petrov (zloster12) wrote :

Error when filling report

affects: alsa-driver (Ubuntu) → linux-lts-raring (Ubuntu)
Revision history for this message
penalvch (penalvch) wrote :

Radoslav Petrov, given the Raring enablement kernel is EoL as per https://wiki.ubuntu.com/Kernel/LTSEnablementStack#Kernel.2BAC8-Support.A12.04.x_Ubuntu_Kernel_Support , have you had a chance to test a later kernel version?

tags: added: raring regression-release
affects: linux-lts-raring (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.