Thread View: org.kernel.vger.initramfs
1 messages
1 total messages
Started by Carolina Jubran
Wed, 19 Jun 2024 12:08
Re: Load modules in initrd
Author: Carolina Jubran
Date: Wed, 19 Jun 2024 12:08
Date: Wed, 19 Jun 2024 12:08
32 lines
12190 bytes
12190 bytes
On 19.06.2024 14:51, Carolina Jubran wrote:=0A= >>=0A= >> Hello!=0A= >>=0A= >> I need to load RDMA modules in initrd, and I have a systemd service for = that. However, when we start running in the initrd, the initrd-cleanup.serv= ice kills the service.=0A= =0A= >You already posted this in systemd list and you still failed to explain=0A= >how kernel module is related to user space program.=0A= =0A= Attempting an NFS mount over RDMA will fail unless the RDMA NFS module is p= re-loaded which is done by the systemd service.=0A= =0A= >> The Dracut arrangement only installs the service if the necessary hardwa= re is present.=0A= >> I tried to add dependencies to the systemd service "Before=3Dinitrd.targ= et" to ensure that the service loads the drivers in initrd.=0A= >> Unfortunately, this was inconsistent; sometimes we load in initrd and so= metimes we don't.=0A= >>=0A= >> Then I discovered that adding a "$SYSTEMCTL -q --root "$initdir" add-wan= ts initrd.target <our-service>" in the module-setup.sh helps with the issue= , and the driver consistently runs in initrd.=0A= >> My question is, how does "add-wants initrd.target" fit into the picture = with the initramfs image and systemd?=0A= >> Do I need to make any further changes to my systemd service, or is build= ing the image using dracut sufficient?=0A= >>=0A= >> Thank you,=0A= >> Carolina Jubran=0A= =0A=
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads