Update with Preempt Kernel did not install driver for relatek RTL8111/8168/8411 gigabit controller.

Hi,
This post is just to alert on a possible bug.
I made last week the usual update for all the pending patches on Leap 15.2.
The update installed the new Preempt Kernel as a default and first boot option.
Upon booting my machine I had no net connection … checked everything and even went on the cli to try and start the ethernet card to no avail.
The error was something like eth0 not found or something like that with the command ifup eth0.
I tried to do everything I could on the cli to reach the conclusion that there was No RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller Driver for the Preempt Kernel, but of course there one installed for the previous non-preemptive Kernel.
I Rebooted just to test if that was indeed the problem and I choose the non-preempt kernel to boot.
And it worked … then I installed the preempt new drivers that I need for both the pci adapter and another wifi I had (just in case… )
And everything was solved with that after the next boot on the preemptive Kernel.
I would like to alert the dev team for this possible bug on the distro.
I don’t know if this happened to anyone else but it may be an issue.
Regards

This is a bug and will be reverted.

I would like to alert the dev team for this possible bug on the distro.

This is user to user forum. If you want to alert dev team, you need to open bug report. This unintended installation of preempt kernel was already reported and should be fixed in next kernel update. As for missing driver - it depends on where your driver comes from. If it is not included in Leap you need to contact maintainer of this package (and package maintainers are very rarely present on this forum).

I tried to do everything I could on the cli to reach the conclusion that there was No RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller Driver for the Preempt Kernel, but of course there one installed for the previous non-preemptive Kernel.

The driver is inside the kernel, named r8169.ko.

But:
If you use the Packman Repo there is a driver named r8168-kmp-xxxx and a blacklist rpm r8168-blacklist-r8169 which installs the original driver from Realtek which keeps the r8169.ko from starting.
Maybe this driver was not installed for kernel-preempt? If only the blacklist rpm is installed, no r8169 driver will start and the r8168 is not installed…

So please post:

zypper se -si kernel r8168

Hi,
Thanks for your fast replay.

Here goes:

Loading repository data...
Reading installed packages...

S  | Name                             | Type    | Version                              | Arch   | Repository
---+----------------------------------+---------+--------------------------------------+--------+--------------------------
i+ | devel_kernel                     | pattern | 20170319-lp152.6.3                   | x86_64 | openSUSE-Leap-15.2-Oss
i+ | kernel-default                   | package | 5.3.18-lp152.72.1                    | x86_64 | openSUSE-Leap-15.2-Update
i+ | kernel-default                   | package | 5.3.18-lp152.69.1                    | x86_64 | openSUSE-Leap-15.2-Update
i+ | kernel-default-devel             | package | 5.3.18-lp152.72.1                    | x86_64 | openSUSE-Leap-15.2-Update
i+ | kernel-default-devel             | package | 5.3.18-lp152.69.1                    | x86_64 | openSUSE-Leap-15.2-Update
i+ | kernel-devel                     | package | 5.3.18-lp152.72.1                    | noarch | openSUSE-Leap-15.2-Update
i+ | kernel-devel                     | package | 5.3.18-lp152.69.1                    | noarch | openSUSE-Leap-15.2-Update
i+ | kernel-firmware                  | package | 20200107-lp152.2.6.1                 | noarch | openSUSE-Leap-15.2-Update
i+ | kernel-macros                    | package | 5.3.18-lp152.72.1                    | noarch | openSUSE-Leap-15.2-Update
i  | kernel-preempt                   | package | 5.3.18-lp152.72.1                    | x86_64 | openSUSE-Leap-15.2-Update
i  | kernel-preempt-devel             | package | 5.3.18-lp152.72.1                    | x86_64 | openSUSE-Leap-15.2-Update
i  | kernel-preempt-devel             | package | 5.3.18-lp152.69.1                    | x86_64 | openSUSE-Leap-15.2-Update
i+ | kernel-source                    | package | 5.3.18-lp152.72.1                    | noarch | openSUSE-Leap-15.2-Update
i+ | kernel-source                    | package | 5.3.18-lp152.69.1                    | noarch | openSUSE-Leap-15.2-Update
i+ | kernel-syms                      | package | 5.3.18-lp152.72.1                    | x86_64 | openSUSE-Leap-15.2-Update
i+ | kernel-syms                      | package | 5.3.18-lp152.69.1                    | x86_64 | openSUSE-Leap-15.2-Update
i  | nfs-kernel-server                | package | 2.1.1-lp152.9.6.1                    | x86_64 | openSUSE-Leap-15.2-Update
i+ | patterns-devel-base-devel_kernel | package | 20170319-lp152.6.3                   | x86_64 | openSUSE-Leap-15.2-Oss
i  | purge-kernels-service            | package | 0-lp152.4.1                          | noarch | openSUSE-Leap-15.2-Oss
i  | r8168-blacklist-r8169            | package | 8.048.03-pm152.2.4                   | x86_64 | Packman Repository
i+ | r8168-kmp-default                | package | 8.048.03_k5.3.18_lp152.57-pm152.1.55 | x86_64 | (System Packages)
i+ | r8168-kmp-default                | package | 8.048.03_k5.3.18_lp152.44-pm152.1.31 | x86_64 | (System Packages)
i+ | r8168-kmp-default                | package | 8.048.03_k5.3.18_lp152.72-pm152.2.4  | x86_64 | Packman Repository
i+ | r8168-kmp-preempt                | package | 8.048.03_k5.3.18_lp152.72-pm152.2.4  | x86_64 | Packman Repository
i+ | texlive-l3kernel                 | package | 2017.133.svn44483-lp152.7.2          | noarch | openSUSE-Leap-15.2-Oss
i+ | texlive-l3kernel-doc             | package | 2017.133.svn44483-lp152.7.2          | noarch | openSUSE-Leap-15.2-Oss


For an extended search including not yet activated remote resources you may run 'zypper
search-packages' at any time.


There is just one problem … I had a issue starting videos and made and new install of codecs and one of the things i did was after the install I changed the repos on the yast control panel that could have changed the packman repos showing up on the listing above
(Start YaST Software Management => Click on View => Click on Repositories => Select the Packman Repository => Click “Switch system packages” => Click “Accept”)
I could not address this issue before at the time of the update (last week) in here since once I accessed this fora there was a Database access error and the site was down at the time …
This is the only time I had available to alert for this issue.
What I noticed was that the r8168-kmp-preempt driver was not installed and that was the one I installed After rebooting with the default kernel.