1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/rdma-disabling-irdma-kernel-module.adoc
2025-06-08 23:26:02 +00:00

60 lines
1.6 KiB
Plaintext

// Module included in the following assemblies:
//
// * hardware_accelerators/rdma-remote-direct-memory-access.adoc
:_mod-docs-content-type: PROCEDURE
[id="rdma-disabling-irdma-kernel-module_{context}"]
= Disabling the IRDMA kernel module
On some systems, including the DellR750xa, the IRDMA kernel module creates problems for the NVIDIA Network Operator when unloading and loading the DOCA drivers. Use the following procedure to disable the module.
.Procedure
. Generate the following machine configuration file by running the following command:
+
[source,terminal]
----
$ cat <<EOF > 99-machine-config-blacklist-irdma.yaml
----
+
.Example output
[source,yaml]
----
apiVersion: machineconfiguration.openshift.io/v1
kind: MachineConfig
metadata:
labels:
machineconfiguration.openshift.io/role: worker
name: 99-worker-blacklist-irdma
spec:
kernelArguments:
- "module_blacklist=irdma"
----
. Create the machine configuration on the cluster and wait for the nodes to reboot by running the following command:
+
[source,terminal]
----
$ oc create -f 99-machine-config-blacklist-irdma.yaml
----
+
.Example output
[source,terminal]
----
machineconfig.machineconfiguration.openshift.io/99-worker-blacklist-irdma created
----
. Validate in a debug pod on each node that the module has not loaded by running the following command:
+
[source,terminal]
----
$ oc debug node/nvd-srv-32.nvidia.eng.rdu2.dc.redhat.com
Starting pod/nvd-srv-32nvidiaengrdu2dcredhatcom-debug-btfj2 ...
To use host binaries, run `chroot /host`
Pod IP: 10.6.135.11
If you don't see a command prompt, try pressing enter.
sh-5.1# chroot /host
sh-5.1# lsmod|grep irdma
sh-5.1#
----