Skip to content

[CP 333] fix: set InTreeModuleToRemove for KMM to unload in-tree ionic driver (NETOP-176)#101

Merged
sundar-pds merged 1 commit into
ROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.network-operator.333.rocm.network-operator.main
Jun 23, 2026
Merged

[CP 333] fix: set InTreeModuleToRemove for KMM to unload in-tree ionic driver (NETOP-176)#101
sundar-pds merged 1 commit into
ROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.network-operator.333.rocm.network-operator.main

Conversation

@ci-penbot-01

Copy link
Copy Markdown
Contributor

cp of pensando/network-operator#333

…nic driver (NETOP-176) (#333)

On OpenShift (RHEL CoreOS), the in-tree ionic kernel module loads at
boot and binds to the PCI device before KMM can intervene. This causes
KMM's out-of-tree module loading to fail with "could not insert
ionic_rdma: Unknown symbol in module".

Set InTreeModulesToRemove to ["ionic"] in the KMM Module CR's
KernelMapping only on OpenShift, so KMM unloads the in-tree driver
before loading the out-of-tree module stack. On Kubernetes (Ubuntu),
the in-tree ionic driver is not present, so InTreeModulesToRemove is
left empty to avoid triggering unnecessary module reload cycles.

Co-authored-by: Yuva Shankar <11082310+yuva29@users.noreply.github.com>
Co-authored-by: Claude Opus 4 (1M context) <noreply@anthropic.com>
(cherry picked from commit 40990d1a846e691e29098f01008f94095162fe03)
@sundar-pds sundar-pds merged commit 948af87 into ROCm:main Jun 23, 2026
2 checks passed

@sundar-pds sundar-pds left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants