Skip to content

Commit aa40d6d

Browse files
committed
Install xprtrdma/svcrdma kmods in redhat/suse dracut modules
The rdma dracut module installs udev rules that can cause [email protected] to load kernel modules listed in rdma.conf. That file mentions the xprtrdma and svcrdma modules (both of which are aliases for rpcrdma in kernel 5.18) but the dracut module doesn't install them in the initrd. If they're not installed by other means, this causes warnings in the journal: systemd-modules-load[...]: Failed to find module 'xprtrdma' systemd-modules-load[...]: Failed to find module 'svcrdma' Before systemd 244, it also causes [email protected] to fail entirely. Fix by explicitly installing those modules in the initrd. See also https://bugzilla.redhat.com/show_bug.cgi?id=2117375. Fixes: 8bb38f6 ("redhat: update dracut setting") Fixes: 7752410 ("suse: fix dracut support") Signed-off-by: Benjamin Gilbert <[email protected]>
1 parent dc6f613 commit aa40d6d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

redhat/rdma.modules-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ install() {
2929

3030
installkernel() {
3131
hostonly='' instmods =drivers/infiniband =drivers/net/ethernet/mellanox =drivers/net/ethernet/chelsio =drivers/net/ethernet/cisco =drivers/net/ethernet/emulex =drivers/target
32-
hostonly='' instmods crc-t10dif crct10dif_common
32+
hostonly='' instmods crc-t10dif crct10dif_common xprtrdma svcrdma
3333
}

suse/module-setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ install() {
2727

2828
installkernel() {
2929
hostonly='' instmods =drivers/infiniband =drivers/net/ethernet/mellanox =drivers/net/ethernet/chelsio =drivers/net/ethernet/cisco =drivers/net/ethernet/emulex =drivers/target
30-
hostonly='' instmods crc-t10dif crct10dif_common
30+
hostonly='' instmods crc-t10dif crct10dif_common xprtrdma svcrdma
3131
}

0 commit comments

Comments
 (0)