View Issue Details

IDProjectCategoryView StatusLast Update
0001126channel: elrepo/el7kmod-r8168public2021-08-09 11:45
ReporterVasarhelyi Zsolt Assigned Topperry  
PrioritylowSeverityminorReproducibilitysometimes
Status resolvedResolutionfixed 
Platformx86_64OSCentosOS Version7
Summary0001126: Please update kmod-r8168 to latest 8.049.02
DescriptionDriver available at https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software
Current kernel is 3.10.0-1160.36.2.el7.x86_64
Have tried kmod-r8168 few months ago on past kernel but didn't seem to work, no network detected after reboot.
Trying to avoid using buggy 8169 default driver for RTL8111E/RTL8168E chips.
Thanks you.
TagsNo tags attached.
Attached Files
r8168-8.049.02.tar.bz2 (113,195 bytes)
Reported upstream

Activities

toracat

2021-08-08 04:29

administrator   ~0007763

Acknowledged.

pperry

2021-08-08 07:57

administrator   ~0007764

Hi,

I've updated the driver to the latest upstream 8.049.02 source.

I've also specifically enabled -DCONFIG_R8168_VLAN, -DCONFIG_ASPM, -DENABLE_S5WOL, -DENABLE_EEE which were not specifically enabled before and enabled -DENABLE_USE_FIRMWARE_FILE which is new. I notice on RHEL7, some newer firmware may be missing from /usr/lib/firmware/rtl_nic/ for newer devices. If this is the case, the driver will probably warn you in DMESG and the missing firmware can probably be obtained from the upstream kernel firmware repo, downloaded manually and dropped into the /usr/lib/firmware/rtl_nic/ directory to work around this.

The following packages have been uploaded to the elrepo testing repository and are currently syncing to mirror sites. They should be available to download and install shortly.

r8168-kmod-8.049.02-1.el7_9.elrepo.src.rpm
kmod-r8168-8.049.02-1.el7_9.elrepo.x86_64.rpm

You can install and test with:

yum --enablerepo=elrepo-testing install kmod-r8168

and reboot the machine to ensure the new driver is loaded.

Please let us know if the driver works as expected for you.

Thanks

pperry

2021-08-08 08:03

administrator   ~0007765

If you have missing firmware for your device, you can extract them from the latest kernel firmware here and drop the missing files into /usr/lib/firmware/rtl_nic/

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

Vasarhelyi Zsolt

2021-08-09 10:14

reporter   ~0007766

No message about missing firmware, kmod-r8168 seems to load and work fine.
Not tested under network load yet, only thing that hits me is:
[ 8.132056] r8168: loading out-of-tree module taints kernel.
[ 8.132057] r8168: loading out-of-tree module taints kernel.
[ 8.133389] r8168: module verification failed: signature and/or required key missing - tainting kernel

Thank you.

pperry

2021-08-09 11:45

administrator   ~0007767

Great, thank you for the feedback.

The messages you have highlighted above are normal (relating to SecureBoot), and to be expected on systems where our SecureBoot key has not been installed.

I will move the packages to the main repository now. Please file a new bug if you come across any issues.

Issue History

Date Modified Username Field Change
2021-08-08 01:00 Vasarhelyi Zsolt New Issue
2021-08-08 01:00 Vasarhelyi Zsolt Status new => assigned
2021-08-08 01:00 Vasarhelyi Zsolt Assigned To => toracat
2021-08-08 01:00 Vasarhelyi Zsolt File Added: r8168-8.049.02.tar.bz2
2021-08-08 04:29 toracat Note Added: 0007763
2021-08-08 07:50 pperry Assigned To toracat => pperry
2021-08-08 07:50 pperry Description Updated
2021-08-08 07:57 pperry Note Added: 0007764
2021-08-08 07:57 pperry Status assigned => feedback
2021-08-08 08:03 pperry Note Added: 0007765
2021-08-09 10:14 Vasarhelyi Zsolt Note Added: 0007766
2021-08-09 10:14 Vasarhelyi Zsolt Status feedback => assigned
2021-08-09 11:45 pperry Note Added: 0007767
2021-08-09 11:45 pperry Status assigned => resolved
2021-08-09 11:45 pperry Resolution open => fixed