Bug 2228070

Summary: Weak modules script processing modules partially
Product: Red Hat Enterprise Linux 8 Reporter: Sarang Radke <sarang.radke>
Component: kmodAssignee: Eugene Syromiatnikov <esyr>
Status: NEW --- QA Contact: Ziqian SUN (Zamir) <zsun>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.8CC: andrew.moss2, esyr, mdomonko, nagaraj-sangappa.davanakatti, trinh.dao, ykaliuta, zsun
Target Milestone: rcFlags: sarang.radke: needinfo? (esyr)
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: 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:
Attachments:
Description Flags
Log created by weak-modules script
none
RHEL8.7 netxtreme2 RPM none

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?