RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1525370 - Regression in handling weak-updates
Summary: Regression in handling weak-updates
Keywords:
Status: CLOSED DUPLICATE of bug 1522994
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: kmod
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Yauheni Kaliuta
QA Contact: Ziqian SUN (Zamir)
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-13 08:11 UTC by Janne Blomqvist
Modified: 2018-01-29 08:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-29 08:33:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.