[opensuse-factory] Multiversions for KMP?
Currently virtualbox drivers crash with 4.7 kernel; but when I booted 4.6 I found that kernel modules are gone. Which is understandable as virtualbox was updated in the meantime. Was multiversion support for KMPs ever considered? This cannot be really done right now as far as I understand beca -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Currently virtualbox drivers crash with 4.7 kernel; but when I booted 4.6 I found that kernel modules are gone. Which is understandable as virtualbox was updated in the meantime.
Was multiversion support for KMPs ever considered? This cannot be really done right now as far as I understand because we want to preserve KMP for different kernel versions but cannot
[sorry, hit wrong button] On Tue, Aug 16, 2016 at 11:40 AM, Andrei Borzenkov <arvidjaar@gmail.com> wrote: preserve KMP for the same kernel version. Right now multiversion is only partially usable for anyone who needs extra kernel modules. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Aug 16, 2016 at 11:43:16AM +0300, Andrei Borzenkov wrote:
[sorry, hit wrong button]
Currently virtualbox drivers crash with 4.7 kernel; but when I booted 4.6 I found that kernel modules are gone. Which is understandable as virtualbox was updated in the meantime.
Was multiversion support for KMPs ever considered? This cannot be really done right now as far as I understand because we want to preserve KMP for different kernel versions but cannot
On Tue, Aug 16, 2016 at 11:40 AM, Andrei Borzenkov <arvidjaar@gmail.com> wrote: preserve KMP for the same kernel version.
Right now multiversion is only partially usable for anyone who needs extra kernel modules.
KMPs can be multiversion, yes. e.g. $ rpm -q --provides xtables-addons-kmp-desktop-2.6_k3.16.7_35-17.1.x86_64 multiversion(kernel) xtables-addons-kmp = 2.6 xtables-addons-kmp = 2.6_k3.16.7_35 xtables-addons-kmp-desktop = 2.6_k3.16.7_35-17.1 xtables-addons-kmp-desktop(x86-64) = 2.6_k3.16.7_35-17.1 $ The KMP macro should probably do it itself. Might be that the KMP %kernel_module_package macro is not correctly used in virtualbox.spec Ciao, Marcus -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, Aug 16, 2016 at 11:48 AM, Marcus Meissner <meissner@suse.de> wrote: ...
KMPs can be multiversion, yes.
e.g. $ rpm -q --provides xtables-addons-kmp-desktop-2.6_k3.16.7_35-17.1.x86_64 multiversion(kernel)
Are you sure it actually works? What happens if you update xtables to 2.7 for the same kernel? See below.
xtables-addons-kmp = 2.6 xtables-addons-kmp = 2.6_k3.16.7_35 xtables-addons-kmp-desktop = 2.6_k3.16.7_35-17.1 xtables-addons-kmp-desktop(x86-64) = 2.6_k3.16.7_35-17.1 $
The KMP macro should probably do it itself.
Might be that the KMP %kernel_module_package macro is not correctly used in virtualbox.spec
Hmm ... %(sed -e '/^Provides: multiversion(kernel)/d' %{_libexecdir}/rpm/kernel-module-subpackage > %{_builddir}/virtualbox-kmp-template) Tue Jun 9 11:36:42 UTC 2015 - tchvatal@suse.com - Disable multiversion_kernel support, taken from nvidia driver spec, should fix bnc#925663. https://bugzilla.opensuse.org/show_bug.cgi?id=925663#c9 File /lib/modules/3.16.7-21-desktop/updates/vboxsf.ko from install of virtualbox-guest-kmp-desktop-4.3.28_k3.16.7_21-16.1.x86_64(repo-update-test) conflicts with file from package virtualbox-guest-kmp-desktop-4.3.20_k3.16.7_21-13.1.x86_64(@System) Was multiversion logic fixed since then to correctly handle what amounts to two versions in this case? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Marcus Meissner