An install Insists on installing and using peempt kernels

Hi,

I have two 15.2 VMs. One of them wants to install and use ‘preempt’ kernels instead of the ‘default’ kernel. I understand that there was an issue with some systems doing this but it was fixed.

If I manually remove the ‘preempt’ kernels via YaST they are indeed removed but if I then reboot and do a “zypper up” it want to reinstall the latest version of the ‘preempt’ kernel. Any ideas?

Progress:~ # zypper up
Loading repository data...
Reading installed packages...


The following 21 package updates will NOT be installed:
  gstreamer-plugins-bad gstreamer-plugins-bad-lang gstreamer-plugins-libav gstreamer-plugins-ugly
  gstreamer-plugins-ugly-lang libgstadaptivedemux-1_0-0 libgstbadaudio-1_0-0 libgstbasecamerabinsrc-1_0-0
  libgstcodecparsers-1_0-0 libgstisoff-1_0-0 libgstmpegts-1_0-0 libgstphotography-1_0-0 libgstsctp-1_0-0
  libgsturidownloader-1_0-0 libgstwayland-1_0-0 libgstwebrtc-1_0-0 libsox3 sox virtualbox-kmp-default vlc-codec-gstreamer
  vlc-vdpau


The following 2 NEW packages are going to be installed:
  kernel-preempt virtualbox-kmp-preempt


The following 2 packages are going to be upgraded:
  virtualbox-guest-tools virtualbox-guest-x11


The following package requires a system reboot:
  kernel-preempt


2 packages to upgrade, 2 new.
Overall download size: 73.3 MiB. Already cached: 0 B. After the operation, additional 386.3 MiB will be used.



The other system is fine and only installs ‘default’ kernels.

Please post:

zypper se -si kernel virtualbox
Progress:~ # zypper se -si kernel virtualbox
Loading repository data...

Reading installed packages...

S  | Name                  | Type    | Version                            | Arch  | Repository
---+------------------------+---------+-------------------------------------+--------+--------------------------
i+ | kernel-default        | package | 5.3.18-lp152.63.1                  | x86_64 | openSUSE-Leap-15.2-Update
i+ | kernel-default        | package | 5.3.18-lp152.57.1                  | x86_64 | openSUSE-Leap-15.2-Update
i+ | kernel-firmware        | package | 20200107-lp152.2.3.1                | noarch | openSUSE-Leap-15.2-Update
i+ | kernel-macros          | package | 5.3.18-lp152.63.1                  | noarch | openSUSE-Leap-15.2-Update
i  | purge-kernels-service  | package | 0-lp152.4.1                        | noarch | Main Repository (OSS)
i+ | virtualbox-guest-tools | package | 6.1.14-lp152.2.5.1                  | x86_64 | openSUSE-Leap-15.2-Update
i+ | virtualbox-guest-x11  | package | 6.1.14-lp152.2.5.1                  | x86_64 | openSUSE-Leap-15.2-Update
i+ | virtualbox-kmp-default | package | 6.1.14_k5.3.18_lp152.41-lp152.2.5.1 | x86_64 | openSUSE-Leap-15.2-Update


For an extended search including not yet activated remote resources

you may run 'zypper search-packages' at any time.

Do you want to run 'zypper search-packages' now? [yes/no/always/never] (no):

I would delete virtualbox-kmp-default temporarily, make the update and install virtualbox-kmp-default back.
That would not touch any Virtualbox machine.

Yes that seemed to work. Not quite sure exactly why but it did.

Many thanks.

PS Found another system that’s gone the same way on my laptop!

Hi,

I have the same problem. openSUSE wants to install a preempt kernel.

The output of zypper se -si kernel virtualbox is:

i+ | kernel-default        | Paket | 5.3.18-lp152.72.1    | x86_64 | OpenSUSE_oss_updates
i+ | kernel-default        | Paket | 5.3.18-lp152.69.1    | x86_64 | OpenSUSE_oss_updates
i  | kernel-default-devel  | Paket | 5.3.18-lp152.72.1    | x86_64 | OpenSUSE_oss_updates
i  | kernel-default-devel  | Paket | 5.3.18-lp152.69.1    | x86_64 | OpenSUSE_oss_updates
i  | kernel-devel          | Paket | 5.3.18-lp152.72.1    | noarch | OpenSUSE_oss_updates
i  | kernel-devel          | Paket | 5.3.18-lp152.69.1    | noarch | OpenSUSE_oss_updates
i  | kernel-firmware       | Paket | 20200107-lp152.2.6.1 | noarch | OpenSUSE_oss_updates
i  | kernel-macros         | Paket | 5.3.18-lp152.72.1    | noarch | OpenSUSE_oss_updates
i+ | kernel-source         | Paket | 5.3.18-lp152.72.1    | noarch | OpenSUSE_oss_updates
i+ | kernel-source         | Paket | 5.3.18-lp152.69.1    | noarch | OpenSUSE_oss_updates
i  | kernel-syms           | Paket | 5.3.18-lp152.69.1    | x86_64 | OpenSUSE_oss_updates
i  | purge-kernels-service | Paket | 0-lp152.4.1          | noarch | OpenSUSE_oss_main

Any ideas?

Best Regards

Sebastian

Delete kernel-syms, kernel-devel and kernel-default-devel

It is probably only “kernel-syms” that needs to be deleted. I have “kernel-devel” and “kernel-default-devel” installed, and I am not seeing any preempt kernels being pulled in.

Yes, my fault.

Post #26 in this thread…

https://forums.opensuse.org/showthread.php/549337-Is-it-normal-that-my-running-kernel-is-kernel-preempt-instead-of-kernel-default/page3

https://bugzilla.opensuse.org/show_bug.cgi?id=1185113

Takashi Iwai 2021-04-22 16:08:25 UTC

The revert of the kernel-*-devel dependency is on its way.

Well the stupid update tried to put kernel-preempt virtualbox-kmp-preempt back into all machines with virtualbox (hosts and guests with OpenSUSE 15.2).

I have a cure for this since the powers that be keep messing up and saying it is needed when it is UNWANTED.

sudo zypper al kernel-preempt virtualbox-kmp-preempt

You have to zypper rm them first and them add lock them with the above code.

Hey :slight_smile:

had same Problem.
Boot into default kernel and remove preempt kernel.

In my case Package “Virtualbox” caused reinstalling preempt kernel.

I search for old and installed virtualbox-packages and removed them:

[FONT=monospace][FONT=monospace][FONT=monospace][FONT=monospace]
zypper se -si preempt[/FONT][/FONT]
zypper se -si virtualbo[/FONT][/FONT]

Example:


zypper remove virtualbox-kmp-default-6.1.18_k5.3.18_lp152.63-lp152.2.14.1 virtualbox-kmp-default-6.1.18_k5.3.18_lp152.69-lp152.2.18.1 
[FONT=monospace]virtualbox-kmp-default-6.1.18_k5.3.18_lp152.60-lp152.2.11.1 virtualbox-kmp-default-6.1.20_k5.3.18_lp152.72-lp152.2.21.1

[/FONT]

Afterwards i was able to install “Virtualbox” Package without depencies of preempt-kernel…


zypper in virtualbox

My current kernel and virtualbox-version is


uname -a 
Linux HOSTNAME 5.3.18-lp152.72-default #1 SMP Wed Apr 14 10:13:15 UTC 2021 (013936d) x86_64 x86_64 x86_64 GNU/Linux


[FONT=monospace]zypper se -si virtualb 
Loading repository data... 
Reading installed packages... 

S  | Name                   | Type    | Version                             | Arch   | Repository 
---+------------------------+---------+-------------------------------------+--------+---------------------------------- 
i+ | virtualbox             | package | 6.1.22-lp152.593.2                  | x86_64 | openSUSE-Leap-15.2-Virtualization 
i+ | virtualbox-kmp-default | package | 6.1.22_k5.3.18_lp152.19-lp152.593.1 | x86_64 | openSUSE-Leap-15.2-Virtualization 
i+ | virtualbox-qt          | package | 6.1.22-lp152.593.2                  | x86_64 | openSUSE-Leap-15.2-Virtualization 
i+ | virtualbox-vnc         | package | 6.1.22-lp152.593.2                  | x86_64 | openSUSE-Leap-15.2-Virtualization[/FONT]