r8168 keeps dropping connection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
r8168 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I swapped from the r8169 driver to r8168 for stability, but as time has passed stability has suffered here too. Now it's unreliable.
[199994.968070] r8168: enp2s0: link up
[199994.968427] br0: port 1(enp2s0) entered blocking state
[199994.968433] br0: port 1(enp2s0) entered forwarding state
[199997.991834] NFSD: client 192.168.0.15 testing state ID with incorrect client ID
[200087.242816] rpc-srv/tcp: nfsd: sent only 89460 when sending 131180 bytes - shutting down socket
[200206.806526] br0: port 1(enp2s0) entered disabled state
[200211.034700] r8168: enp2s0: link up
[200211.035035] br0: port 1(enp2s0) entered blocking state
[200211.035038] br0: port 1(enp2s0) entered forwarding state
[200212.081447] NFSD: client 192.168.0.15 testing state ID with incorrect client ID
[200212.082268] NFSD: client 192.168.0.15 testing state ID with incorrect client ID
[200458.713617] br0: port 1(enp2s0) entered disabled state
And so on. Occurs when the network interface is busy with multiple connections. With a single busy connection it seems to work fine. Multiple connections work fine when things are not busy.
[176460.408437] ------------[ cut here ]------------
[176460.408480] NETDEV WATCHDOG: enp2s0 (r8168): transmit queue 0 timed out
[176460.408546] WARNING: CPU: 1 PID: 0 at /build/
[176460.408549] Modules linked in: tcp_diag inet_diag rpcsec_gss_krb5 cpuid twofish_generic twofish_x86_64 twofish_common serpent_sse2_x86_64 serpent_generic blowfish_generic blowfish_common cast5_generic cast_common des_generic libdes algif_skcipher camellia_generic crypto_simd cryptd glue_helper xcbc md4 algif_hash af_alg xfrm_user xfrm4_tunnel tunnel4 ipcomp xfrm_ipcomp esp4 ah4 af_key xfrm_algo xt_CHECKSUM iptable_mangle xt_MASQUERADE iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 xt_tcpudp iptable_filter bpfilter bridge stp llc gpio_ich dcdbas intel_powerclamp pcspkr serio_raw lpc_ich mac_hid binfmt_misc sch_fq_codel cmdlinepart slram mtdblock nfsd mtd_blkdevs mtd auth_rpcgss nfs_acl lockd grace sunrpc ip_tables x_tables autofs4 btrfs xor zstd_compress raid6_pq libcrc32c i915 uas video i2c_algo_bit drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops psmouse ahci usb_storage drm libahci e100 r8168(OE) mii pata_acpi z3fold lz4hc lz4hc_compress
[176460.408629] CPU: 1 PID: 0 Comm: swapper/1 Tainted: G OE 5.4.0-52-generic #57~18.04.1-Ubuntu
[176460.408633] Hardware name: Dell Inc. Dell DV051 /0JC474, BIOS A04 04/04/2006
[176460.408638] RIP: 0010:dev_
[176460.408641] Code: 48 85 c0 75 e6 eb a0 4c 89 ef c6 05 42 c0 e7 00 01 e8 e0 b6 fa ff 89 d9 48 89 c2 4c 89 ee 48 c7 c7 f8 06 23 b7 e8 4c 30 71 ff <0f> 0b eb 82 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41
[176460.408644] RSP: 0000:ffffb56540
[176460.408647] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[176460.408649] RDX: ffff88dcbd867740 RSI: 00000000000000f6 RDI: 0000000000000300
[176460.408651] RBP: ffffb565400ece78 R08: 0000000000000374 R09: 0000000000000004
[176460.408653] R10: ffffb565400ecc68 R11: 0000000000000001 R12: 0000000000000001
[176460.408655] R13: ffff88dc73470000 R14: ffff88dc73470480 R15: ffff88dc73c0f480
[176460.408658] FS: 000000000000000
[176460.408660] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[176460.408662] CR2: ffffffffff600000 CR3: 0000000047aae000 CR4: 00000000000006e0
[176460.408665] Call Trace:
[176460.408668] <IRQ>
[176460.408678] ? pfifo_fast_
[176460.408683] call_timer_
[176460.408686] run_timer_
[176460.408689] ? tick_sched_
[176460.408692] ? ktime_get+0x43/0xa0
[176460.408696] ? lapic_next_
[176460.408700] __do_softirq+
[176460.408703] irq_exit+0xae/0xb0
[176460.408706] smp_apic_
[176460.408708] apic_timer_
[176460.408710] </IRQ>
[176460.408713] RIP: 0010:mwait_
[176460.408715] Code: c0 6b 01 00 48 89 d1 0f 01 c8 48 8b 00 a8 08 0f 85 46 01 00 00 e9 07 00 00 00 0f 00 2d b7 30 53 00 31 c0 48 89 c1 fb 0f 01 c9 <65> 44 8b 25 d4 c9 73 49 0f 1f 44 00 00 eb 07 fb 66 0f 1f 44 00 00
[176460.408717] RSP: 0000:ffffb56540
[176460.408719] RAX: 0000000000000000 RBX: 0000000000000001 RCX: 0000000000000000
[176460.408721] RDX: 0000000000000000 RSI: 0000a07cd6a88d44 RDI: 0000000000000000
[176460.408722] RBP: ffffb5654007fea0 R08: 000000000001df80 R09: 0000a07cd816c344
[176460.408723] R10: ffffb5654007fe78 R11: 0000000000000001 R12: 0000000000000001
[176460.408724] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
[176460.408730] arch_cpu_
[176460.408732] default_
[176460.408736] do_idle+0x1bd/0x270
[176460.408739] cpu_startup_
[176460.408741] start_secondary
[176460.408745] secondary_
[176460.408748] ---[ end trace 90422affc07d8b17 ]---
I can't find an updated Linux driver to test. I've downloaded an updated WinXP driver and will try it with ndiswrapper, and see if that makes any difference. Will update when I can take the server down to test.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: r8168-dkms 8.045.08-2ubuntu1
ProcVersionSign
Uname: Linux 5.4.0-52-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.20
Architecture: amd64
Date: Thu Nov 19 04:00:06 2020
PackageArchitec
SourcePackage: r8168
UpgradeStatus: Upgraded to bionic on 2018-09-28 (782 days ago)