After updating the CentOS 7.7 kernel from 3.10.0-957.27.2 to 3.10.0-1062.9.1, the Ethernet stopped working. The LEDs on the Ethernet port wouldn't light up and any attempt to ping anything resulted in a "host not reachable".
Everything looked ok with the files in /etc/sysconfig/network-scripts
, and the output in /var/log/messages
seemed to indicate that the interface was coming up correctly. Finally I booted the older 3.10.0-957.27.2 kernel and the Ethernet port immediately began working again.
When I run lspci -nnk
it lists the Ethernet controller as:
07:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 03)
Subsystem: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168]
Kernel driver in use: r8169
Kernel modules: r8169
The output from lspci
is identical under both kernels, including the "r8169" driver in use.
It looks like the Realtek drivers are included with the kernel because I see a lot of Realtek files under directories like:
/usr/lib/modules/3.10.0-1062.9.1.el7.x86_64/kernel/drivers/net/ethernet/realtek
But I see that although the Realtek driver filenames are the same, the sizes and dates have been updated for the newer kernel.
What's the best way to get the Ethernet controller working with the latest kernel?
ip link show
outputs on the new kernel?kernel-lt-4.4.224-1