Bug 2228070 - Weak modules script processing modules partially [NEEDINFO]
Summary: Weak modules script processing modules partially
Keywords:
Status: NEW
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kmod
Version: 8.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Eugene Syromiatnikov
QA Contact: Ziqian SUN (Zamir)
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-01 10:02 UTC by Sarang Radke
Modified: 2023-08-17 09:26 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:
sarang.radke: needinfo? (esyr)


Attachments (Terms of Use)
Log created by weak-modules script (696.30 KB, text/plain)
2023-08-01 10:02 UTC, Sarang Radke
no flags Details
RHEL8.7 netxtreme2 RPM (6.19 MB, application/x-rpm)
2023-08-01 10:04 UTC, Sarang Radke
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-164000 0 None None None 2023-08-01 10:03:51 UTC

Description Sarang Radke 2023-08-01 10:02:29 UTC
Created attachment 1981055 [details]
Log created by weak-modules script

Description of problem:
Marvell Netxtreme2 RPM has 5 modules bnx2, cnic, bnx2x, bnx2i, bnx2fc

During kernel upgrade the weak links are created for modules that are compatible (or don't have KABI breakage)

When KABI breakage is detected, that module is skipped. But other modules from same RPM are processed and weak-links are created for them.

These modules are interdependent. And they should be either processed or rejected as a set.

As a result of above behavior of weak-modules script, OS ends up have a set of non-compatible set modules (In this case, bnx2x and bnx2i are Inbox and rest of them are OOB)

The OS fails to boot and goes into dracut shell.

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

netxtreme2-7.15.17-1

How reproducible:
Always

Steps to Reproduce:
1. Install RHEL8.7 OS
2. Install attached RPM which is built against RHEL8.7 GA kernel.
3. Update the system kernel to RHEL8.8 GA
4. Observe the issue.

Actual results:
System fails to boot and goes in dracut shell.

Expected results:
System should come up with Inbox modules.

Additional info:
Log created by weak-modules script attached.

Comment 1 Sarang Radke 2023-08-01 10:04:18 UTC
Created attachment 1981056 [details]
RHEL8.7 netxtreme2 RPM

Comment 7 Sarang Radke 2023-08-17 09:26:02 UTC
Hello @esyr - do you have any update on this issue?


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