<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 1.25em 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello!</div>
<div class="elementToProof" style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 1.25em 0px; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;">Following up on my previous message about ensuring my drivers are loaded in initrd. It was suggested to add
</span><span style="font-family: "Söhne Mono", Monaco, "Andale Mono", "Ubuntu Mono", monospace; font-weight: 600;"><code style="font-family: "Söhne Mono", Monaco, "Andale Mono", "Ubuntu Mono", monospace;">Before=initrd-switch-root.target</code></span><span style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif;">
and consider my systemd service started only when the drivers are fully loaded.</span></div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 1.25em 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
What is the correct way to ensure my service is not considered started until the drivers are loaded?</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 1.25em 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Any guidance would be greatly appreciated.</div>
<div style="text-align: left; text-indent: 0px; white-space: pre-wrap; margin: 1.25em 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you, Carolina Jubran</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Carolina Jubran <cjubran@nvidia.com><br>
<b>Sent:</b> Thursday, May 16, 2024 9:16 AM<br>
<b>To:</b> killermoehre@gmx.net <killermoehre@gmx.net>; systemd-devel@lists.freedesktop.org <systemd-devel@lists.freedesktop.org><br>
<b>Subject:</b> Re: [systemd-devel] Questions about initrd environment services and IgnoreOnIsolate</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:"Segoe UI","Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif; font-size:14.6667px; color:rgb(0,0,0)">
<span style="background-color:rgb(255,255,255)">Hi</span></div>
<div class="x_elementToProof" style="font-family:"Segoe UI","Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif; font-size:14.6667px; color:rgb(0,0,0)">
<span style="background-color:rgb(255,255,255)"><br>
</span></div>
<div class="x_elementToProof" style="font-family:"Segoe UI","Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif; font-size:14.6667px; color:rgb(0,0,0)">
<span style="background-color:rgb(255,255,255)">The modules need to be loaded using the services because there are several things that still do not autoload their modules.</span></div>
<div class="x_elementToProof" style="font-family:"Segoe UI","Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif; font-size:14.6667px; color:rgb(0,0,0)">
<span style="background-color:rgb(255,255,255)">For instance, attempting an NFS mount over RDMA will fail unless the RDMA NFS module is pre-loaded.</span></div>
<div class="x_elementToProof" style="font-family:"Segoe UI","Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif; font-size:14.6667px; color:rgb(0,0,0)">
<span style="background-color:rgb(255,255,255)"><br>
</span></div>
<div class="x_elementToProof" style="font-family:"Segoe UI","Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif; font-size:14.6667px; color:rgb(0,0,0)">
<span style="background-color:rgb(255,255,255)">Thank you,</span></div>
<div class="x_elementToProof" style="font-family:"Segoe UI","Segoe UI Web (West European)","Segoe UI",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue",sans-serif; font-size:14.6667px; color:rgb(0,0,0)">
<span style="background-color:rgb(255,255,255)">Carolina Jubran</span></div>
<div id="x_appendonsend"></div>
<hr style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><span style="font-family:Calibri,sans-serif; font-size:11pt; color:rgb(0,0,0)"><b>From:</b> systemd-devel <systemd-devel-bounces@lists.freedesktop.org> on behalf of killermoehre@gmx.net <killermoehre@gmx.net><br>
<b>Sent:</b> Monday, May 13, 2024 11:33 PM<br>
<b>To:</b> systemd-devel@lists.freedesktop.org <systemd-devel@lists.freedesktop.org><br>
<b>Subject:</b> Re: [systemd-devel] Questions about initrd environment services and IgnoreOnIsolate</span>
<div> </div>
</div>
<table style="background-color:rgb(255,235,156)">
<tbody>
<tr>
<td><span style="font-family:verdana; font-size:10px; color:black"><b>External email: Use caution opening links or attachments</b></span></td>
</tr>
</tbody>
</table>
<br>
<div>Hi,<br>
<br>
may I ask why you need your own .service to load the module instead of using modules-load.d and modprobe.d? Just to understand your problem better.<br>
<br>
BR<br>
Silvio</div>
</div>
</body>
</html>