kernel 4.18.5 Realtek 8111G network adapter stops responding under high system load
From: David Arendt
Date: Tue Sep 04 2018 - 02:44:15 EST
Hi,
When using kernel 4.18.5 the Realtek 8111G network adapter stops
responding under high system load.
Dmesg is showing no errors.
Sometimes an ifconfig enp3s0 down followed by an ifconfig enp3s0 up is
enough for the network adapter to restart responding. Sometimes a reboot
is necessary.
When copying r8169.c from 4.17.14 to the 4.18.5 kernel, networking works
perfectly stable on 4.18.5 so the problem seems r8169.c related.
Here the output from lshw:
ÂÂÂÂÂÂÂ *-pci:2
ÂÂÂÂÂÂÂÂÂÂÂÂ description: PCI bridge
ÂÂÂÂÂÂÂÂÂÂÂÂ product: 8 Series/C220 Series Chipset Family PCI Express
Root Port #3
ÂÂÂÂÂÂÂÂÂÂÂÂ vendor: Intel Corporation
ÂÂÂÂÂÂÂÂÂÂÂÂ physical id: 1c.2
ÂÂÂÂÂÂÂÂÂÂÂÂ bus info: pci@0000:00:1c.2
ÂÂÂÂÂÂÂÂÂÂÂÂ version: d5
ÂÂÂÂÂÂÂÂÂÂÂÂ width: 32 bits
ÂÂÂÂÂÂÂÂÂÂÂÂ clock: 33MHz
ÂÂÂÂÂÂÂÂÂÂÂÂ capabilities: pci pciexpress msi pm normal_decode
bus_master cap_list
ÂÂÂÂÂÂÂÂÂÂÂÂ configuration: driver=pcieport
ÂÂÂÂÂÂÂÂÂÂÂÂ resources: irq:18 ioport:d000(size=4096)
memory:f7300000-f73fffff ioport:f2100000(size=1048576)
ÂÂÂÂÂÂÂÂÂÂ *-network
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ description: Ethernet interface
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ product: RTL8111/8168/8411 PCI Express Gigabit Ethernet
Controller
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ vendor: Realtek Semiconductor Co., Ltd.
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ physical id: 0
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ bus info: pci@0000:03:00.0
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ logical name: enp3s0
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ version: 0c
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ serial: <hidden>
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ size: 1Gbit/s
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ capacity: 1Gbit/s
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ width: 64 bits
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ clock: 33MHz
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ capabilities: pm msi pciexpress msix vpd bus_master
cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt
1000bt-fd autonegotiation
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ configuration: autonegotiation=on broadcast=yes
driver=r8169 driverversion=2.3LK-NAPI duplex=full
firmware=rtl8168g-2_0.0.1 02/06/13 latency=0 link=yes multicast=yes
port=MII speed=1Gbit/s
ÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂ resources: irq:18 ioport:d000(size=256)
memory:f7300000-f7300fff memory:f2100000-f2103fff
Thanks in advance for looking into this,
David Arendt