http://bugzilla.opensuse.org/show_bug.cgi?id=1202116
http://bugzilla.opensuse.org/show_bug.cgi?id=1202116#c38
--- Comment #38 from Stefan Dirsch
I have difficulties to understand how changes to the GA repositories should get around this dependency problem: Even if 'kernel-devel' and 'kernel-default-devel' packages were published in GA in different versions, a simple system update would always change them to the most up-to-date version which would then be incompatible with Nvidia driver builds.
And? The nvidia kernel modules are still built with the right GA version. Nothing will change by updating kernel-devel and kernel-default-devel.
(Re-)Installation of Nvidia RPMs would then require a (forced) downgrade of the installed kernel-devel and kernel-default-devel packages, because there can be only one version of these packages in the system.
Which is wrong. You can have several version installed at the same time. # rpm -qa|grep kernel-devel kernel-devel-5.14.21-150400.24.11.1.noarch # rpm -qa|grep kernel-default-devel kernel-default-devel-5.14.21-150400.24.11.1.x86_64 # zypper in kernel-default-devel Loading repository data... Reading installed packages... Resolving package dependencies... The following 2 NEW packages are going to be installed: kernel-default-devel-5.14.21-150400.24.18.1 kernel-devel-5.14.21-150400.24.18.1 2 new packages to install. Overall download size: 30,7 MiB. Already cached: 0 B. After the operation, additional 62,7 MiB will be used. [] # rpm -qa|grep kernel-devel kernel-devel-5.14.21-150400.24.18.1.noarch kernel-devel-5.14.21-150400.24.11.1.noarch # rpm -qa|grep kernel-default-devel kernel-default-devel-5.14.21-150400.24.11.1.x86_64 kernel-default-devel-5.14.21-150400.24.18.1.x86_64
The next system update would then update kernel-devel and kernel-default-devel again ...
I'm not sure but it would not matter.
If kernel ABIs nowadays may break with newer versions of the kernel, there is no way to use modules compiled at random system states for all kernel versions.
Depends on how you define kABI breakage. If symbols are just added, what was the issue her, things can be fixed by always building against the GA version.
Maybe switch to DKMS consequently and build the modules for every single kernel version instead of trying to link modules around?
Feel free to discuss this in a separate ticket or on your favorite openSUSE mailing list. -- You are receiving this mail because: You are on the CC list for the bug.