Bug 1525370

Summary: Regression in handling weak-updates
Product: Red Hat Enterprise Linux 7 Reporter: Janne Blomqvist <blomqvist.janne>
Component: kmodAssignee: Yauheni Kaliuta <ykaliuta>
Status: CLOSED DUPLICATE QA Contact: Ziqian SUN (Zamir) <zsun>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: alaa, ctrautma, skozina, ykaliuta
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-29 08:33:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Janne Blomqvist 2017-12-13 08:11:59 UTC
Description of problem:

kmod-20-15.el7_4.6 doesn't read modules in the weak-updates like it used to, if the module exists in the base system as well. This breaks the installation of MLNX_OFED (set of Infiniband drivers provided by Mellanox).

Version-Release number of selected component (if applicable):

kmod-20-15.el7_4.6 broken

kmod-20-15.el7_4.4 works

How reproducible:

Always


Steps to Reproduce:

# rpm -q kmod
kmod-20-15.el7_4.6.x86_64

# depmod -n|grep mlx4|head
kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko.xz: kernel/net/core/devlink.ko.xz
kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko.xz: kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko.xz kernel/net/core/devlink.ko.xz kernel/drivers/ptp/ptp.ko.xz kernel/drivers/pps/pps_core.ko.xz
kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko.xz: kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko.xz kernel/net/core/devlink.ko.xz kernel/drivers/infiniband/core/ib_core.ko.xz

# yum downgrade kmod
[output skipped]

# rpm -q kmod
kmod-20-15.el7_4.4.x86_64

# depmod -n|grep mlx4|head
weak-updates/mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_en.ko: weak-updates/mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko weak-updates/mlnx-ofa_kernel/compat/mlx_compat.ko kernel/net/core/devlink.ko.xz kernel/drivers/ptp/ptp.ko.xz kernel/drivers/pps/pps_core.ko.xz
weak-updates/mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko: weak-updates/mlnx-ofa_kernel/compat/mlx_compat.ko kernel/net/core/devlink.ko.xz
weak-updates/mlnx-ofa_kernel/drivers/infiniband/hw/mlx4/mlx4_ib.ko: weak-updates/mlnx-ofa_kernel/drivers/net/ethernet/mellanox/mlx4/mlx4_core.ko weak-updates/mlnx-ofa_kernel/drivers/infiniband/core/ib_core.ko weak-updates/mlnx-ofa_kernel/compat/mlx_compat.ko kernel/net/core/devlink.ko.xz


Actual results:

With the latest kmod, the mlx4* modules (taken just as an example, there are many other modules as part of MLNX_OFED which aren't picked in the same way) come from the built-in set provided by the kernel package, rather than from MLNX_OFED provided under weak-updates.

Expected results:

To be able to use MLNX_OFED. Currently it breaks; "systemctl restart openibd" fails with an error message complaining about version conflicts between kernel and userspace components. 


Additional info:

Comment 4 Janne Blomqvist 2018-01-27 13:06:40 UTC
In our testing, kmod-20-15.el7_4.7 fixes this issue. Thanks.

Comment 6 Stanislav Kozina 2018-01-29 08:33:29 UTC
Janne,

Thank you for testing and confirmation! I'm closing this bug now, please let us know if you hit any further issues. Thanks!

*** This bug has been marked as a duplicate of bug 1522994 ***