View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016413 | CentOS-7 | kernel | public | 2019-09-18 16:17 | 2021-04-18 00:01 |
Reporter | nicksoft | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | suspended | ||
Product Version | 7.7-1908 | ||||
Summary | 0016413: After update from 7.6 to 7.7 network card does not connect | ||||
Description | After update to CentOS 7.7 with kernel 3.10.0-1062.1.1.el7.x86_64 the built in network card shows NO-CARRIER. When I boot to previous kernel - 3.10.0-957.27.2.el7.x86_64 the network card works fine. I'm not 100% sure about the network card model. lspci shows Realtek RTL8111/8168/8411. | ||||
Tags | No tags attached. | ||||
abrt_hash | |||||
URL | |||||
related to | 0016486 | resolved | Issue Tracker | After 7.6->7.7 update, r8169 WOL no longer works |
I'm seeing similar issues with the r8169 driver. I filed https://bugzilla.redhat.com/show_bug.cgi?id=1753350 | |
What is the device ID [xxxx:yyyy] as reported by 'lspci -nn' ? | |
lspci and dmesg are in the file attached. Here it is again: 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01) I guess this is the one because the name is enp3s0 |
|
Sorry. Here it is with -nn option: 03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 01) |
|
With that device ID [10ec:8168], I can confirm it is supported by the r8169 driver: $ grep -i 10ec /lib/modules/3.10.0-1062.el7.x86_64/modules.alias | grep 8168 alias pci:v000010ECd00008168sv*sd*bc*sc*i* r8169 Is this module loaded? 'lsmod' If not, can you load it? 'modprobe r8169' |
|
I don't think the problem is missing module. The device is listed in "ip link show" with the new kernel. It just shows as if it is not connected. The LEDs are off. When I reboot to old kernel without touching the cable the LEDs light up and the card works. But I'm not an expert there. Here the output of these commands: grep 8169 /lib/modules/3.10.0-1062.1.1.el7.x86_64/modules.alias|grep -i 10ec alias pci:v000010ECd00008169sv*sd*bc*sc*i* r8169 alias pci:v000010ECd00008168sv*sd*bc*sc*i* r8169 alias pci:v000010ECd00008167sv*sd*bc*sc*i* r8169 alias pci:v000010ECd00008161sv*sd*bc*sc*i* r8169 alias pci:v000010ECd00008136sv*sd*bc*sc*i* r8169 alias pci:v000010ECd00008129sv*sd*bc*sc*i* r8169 alias pci:v000010ECd00002600sv*sd*bc*sc*i* r8169 alias pci:v000010ECd00002502sv*sd*bc*sc*i* r8169 # lsmod.|grep 8169 r8169 84623 0 |
|
OK, the r8169 driver is loaded. The 7.6 kernel has r8169 version 6.020.00-NAPI. I don't know the version number of this driver in the 7.7 kernel. Presumably it is different. ELRepo has kmod-r8168 (NOT r8169) that supports the device ID [10EC:8168]. https://elrepo.org/linux/elrepo/el7/x86_64/RPMS/kmod-r8168-8.046.00-1.el7_5.elrepo.x86_64.rpm Its version is 8.046.00-NAPI. Try installing it and see if that works. |
|
installing the above rpm did the job. lsmod shows r8168 loaded, r8169 is not loaded now, the network card works fine. Thank you very much! Is this going to be investigated or maybe reported to redhat? I can't report to redhat because I don't have redhat linux installed, but the problem could be in the module version they used. # rpm -qa|grep 816 kmod-r8168-8.046.00-1.el7_5.elrepo.x86_64 # uname -r 3.10.0-1062.1.1.el7.x86_64 # ip link show dev enp3s0 4: enp3s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000 link/ether 00:1d:7d:d0:2a:52 brd ff:ff:ff:ff:ff:ff # lsmod |grep 816 r8168 552036 0 |
|
You can safely assume CentOS 7 kernels are binary compatible with the RHEL counterpart. So, yes, I suggest you file a bug report with them. | |
A similar problem led me here. I just wanted to add some info in case it assists. This appears to be a regressive problem, and may have been discussed previously here: https://bugzilla.redhat.com/show_bug.cgi?id=1650984 The pertinent bits being: ---------------------------------------------------- lsmod reveals that module r8169 is loaded, but module realtek is not. # rmmod r8169; modprobe r8169 # systemctl restart network.service fixes the problem temporarily, but this does not survive a reboot. # echo realtek >/etc/modules-load.d/realtek.conf fixes the problem and survives a reboot. ---------------------------------------------------- h/t to Crystal Cowboy @ http://scientificlinuxforum.org Further reading suggests the fix is not permanent but by applying it at every boot it solves the problem for the time being. |
|
@crnz, that helps a lot!!! @toracat, what do you think of this https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=11287b693d03830010356339e4ceddf47dee34fa ? |
|
@pgreco, sounds like a useful patch. Can go to the plus kernel and the kmod. | |
Turns out that patch was added to the kernel as of 3.10.0-1024.el7. Therefore it is in the CentOS 7.7 kernel. | |
the same happened with me:-( | |
I'm running into the same problem. Boot to kernel 3.10.0-1062.4.3.el7 and my network card no longer functions. Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 02) Going back to kernel 3.10.0-957 gets it working again. |
|
I have the exact same problem with any Centos kernel release after 3.10.0-957.27.2.el7.x86_64. The driver "appears" to be working, but it just isn't enabling the port. I seriously considered a hardware defect based on the symptoms and basic troubleshooting, but a boot from the Centos live image showed that the NIC was functional, so I then tried previous kernel versions. |
|
Closing as 'suspended' due to inactivity. Feel free to reopen if/when there is any status change. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-09-18 16:17 | nicksoft | New Issue | |
2019-09-18 16:17 | nicksoft | File Added: info.zip | |
2019-09-18 16:32 | ajschult | Note Added: 0035118 | |
2019-09-18 16:44 | toracat | Note Added: 0035119 | |
2019-09-18 16:49 | nicksoft | Note Added: 0035120 | |
2019-09-18 16:50 | nicksoft | Note Added: 0035121 | |
2019-09-18 17:34 | toracat | Note Added: 0035122 | |
2019-09-18 18:44 | nicksoft | Note Added: 0035125 | |
2019-09-18 19:04 | toracat | Note Added: 0035126 | |
2019-09-18 20:20 | nicksoft | Note Added: 0035127 | |
2019-09-18 21:30 | toracat | Note Added: 0035128 | |
2019-09-18 21:31 | toracat | Status | new => assigned |
2019-09-20 09:47 | crnz | Note Added: 0035155 | |
2019-09-20 10:39 | pgreco | Note Added: 0035156 | |
2019-09-20 12:01 | toracat | Note Added: 0035159 | |
2019-09-20 16:59 | toracat | Note Added: 0035167 | |
2019-09-28 21:38 | toracat | Relationship added | related to 0016486 |
2019-10-15 09:19 | lfarkas | Note Added: 0035481 | |
2019-11-22 18:46 | billybob2 | Note Added: 0035737 | |
2020-01-01 09:20 | blondie101010 | Note Added: 0035925 | |
2021-04-18 00:01 | toracat | Status | assigned => closed |
2021-04-18 00:01 | toracat | Resolution | open => suspended |
2021-04-18 00:01 | toracat | Note Added: 0038394 |