Bug ID 925437
Summary multiple nvidia-*-kmp-* are installed during a kernel update for the same kernel flavour
Classification openSUSE
Product openSUSE Distribution
Version 13.2
Hardware Other
OS Other
Status NEW
Severity Major
Priority P5 - None
Component X11 3rd Party Driver
Assignee bnc-team-screening@forge.provo.novell.com
Reporter rommel@suse.com
QA Contact sndirsch@suse.com
Found By ---
Blocker ---

When applying the pending maintenancen of the kernel

  openSUSE Maintenance ID: 3606
  openSUSE Review ID: 292232
  Repository URL:
http://download.opensuse.org/repositories/openSUSE:/Maintenance:/3606/openSUSE_13.2_Update

the previously working 3rd party nvidia kernel module was not activated in the
/lib/modules/3.16.7-13-desktop/{weak-}updates of the new kernel. As a result,
either xorg failed to start or the open source driver was used.

I guess this is caused by nvidia-*-kmp-* providing multiversion(kernel).
Since libzypp is configured by default to keep the atest,latest-1,running
 kernel this resulted in having
nvidia-gfxG02-kmp-desktop-304.123_k3.16.6_2-31.1 and
vidia-gfxG02-kmp-desktop-304.125_k3.16.6_2-33.1 having installed at the same
time.

More details:

Before the update:

    boxer:~ # uname -a
    Linux boxer 3.16.6-2-desktop #1 SMP PREEMPT Mon Oct 20 13:47:22 UTC 2014
(feb42ea) i686 i686 i386 GNU/Linux

    boxer:~ # rpm -qa | grep -Ei "(nvidia|fglrx|madwifi)"
    nvidia-computeG02-304.123-32.1.i586
    nvidia-gfxG02-kmp-desktop-304.123_k3.16.6_2-31.1.i586
    nvidia-texture-tools-2.0.6-25.1.8.i586
    x11-video-nvidiaG02-304.123-32.1.i586

After the update:

    boxer:~ # uname -a
    Linux boxer 3.16.7-13-desktop #1 SMP PREEMPT Wed Mar 18 17:31:15 UTC 2015
(ba2afab) i686 i686 i386 GNU/Linux

    boxer:~ # rpm -qa | grep -Ei "(nvidia|fglrx|madwifi)"
    nvidia-computeG02-304.125-34.1.i586
    nvidia-gfxG02-kmp-desktop-304.123_k3.16.6_2-31.1.i586
    nvidia-texture-tools-2.0.6-25.1.8.i586
    nvidia-gfxG02-kmp-desktop-304.125_k3.16.6_2-33.1.i586
    x11-video-nvidiaG02-304.125-34.1.i586

Poblem: kernel driver nvidia not available

    boxer:~ # lsmod | grep -i nvidia

    boxer:~ # find /lib/modules/ -iname "nvidia.ko"
    /lib/modules/3.16.7-7-desktop/weak-updates/updates/nvidia.ko
    /lib/modules/3.16.6-2-desktop/updates/nvidia.ko

    boxer:~ # ll /lib/modules/3.16.7-7-desktop/weak-updates/updates/nvidia.ko
    lrwxrwxrwx 1 root root 47 Dec 18 16:03
/lib/modules/3.16.7-7-desktop/weak-updates/updates/nvidia.ko ->
/lib/modules/3.16.6-2-desktop/updates/nvidia.ko

    boxer:~ # ll /lib/modules/3.16.6-2-desktop/updates/nvidia.ko
    -rw-r--r-- 1 root root 14755484 Mar 25 14:32
/lib/modules/3.16.6-2-desktop/updates/nvidia.ko

Workaround:

    boxer:~ # zypper remove
nvidia-gfxG02-kmp-desktop-304.123_k3.16.6_2-31.1.i586

    boxer:~ # zypper install --force
nvidia-gfxG02-kmp-desktop-304.125_k3.16.6_2-33.1.i586
    boxer:~ # find /lib/modules/ -iname "nvidia.ko"
    /lib/modules/3.16.7-7-desktop/weak-updates/updates/nvidia.ko
    /lib/modules/3.16.6-2-desktop/updates/nvidia.ko
    /lib/modules/3.16.7-13-desktop/weak-updates/updates/nvidia.ko

Potential reason:

    boxer:~ # grep ^multi /etc/zypp/zypp.conf
    multiversion = provides:multiversion(kernel)
    multiversion.kernels = latest,latest-1,running

    boxer:~ # rpm -q --provides
nvidia-gfxG02-kmp-desktop-304.125_k3.16.6_2-33.1.i586
    multiversion(kernel)
    nvidia-gfxG02-kmp = 304.125
    nvidia-gfxG02-kmp = 304.125_k3.16.6_2
    nvidia-gfxG02-kmp-desktop = 304.125_k3.16.6_2-33.1
    nvidia-gfxG02-kmp-desktop(x86-32) = 304.125_k3.16.6_2-33.1

-> the old kmp is not pruned from the system


You are receiving this mail because: