<div dir="ltr"><div>Hello Frank,</div><div><br></div><div>I think this can be a good solution. My nodes are all identical (at present), so a different basefile with the proper driver replaced can be a good idea.</div><div>I will try!</div><div>Thanks and best regards</div><div><br></div><div> Pasquale<br clear="all"></div><div dir="ltr"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>---<br></div><div>ing. PhD Pasquale Cantiello</div><div>Istituto Nazionale di Geofisica e Vulcanologia</div><div>Sezione di Napoli - Osservatorio Vesuviano<br></div><div><div>Via Diocleziano, 328 - 80124 Napoli</div><div>Tel. 081-6108.332<br></div></div></div></div></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno ven 26 feb 2021 alle ore 13:46 Frank Morawietz <<a href="mailto:Frank.Morawietz@merckgroup.com">Frank.Morawietz@merckgroup.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div style="overflow-wrap: break-word;" lang="DE">
<div class="gmail-m_-7966332452498055867WordSection1">
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Verdana",sans-serif" lang="EN-US">Hello Pasquale,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Verdana",sans-serif" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Verdana",sans-serif" lang="EN-US">if your compute nodes are identical and all of them need the Nvidia driver, you can use a basefile that already has Nouveau removed and
Nvidia installed. Then there is no need for a Nvidia installation script at all.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Verdana",sans-serif" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Verdana",sans-serif" lang="EN-US">Just as an unconventional idea…<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Verdana",sans-serif" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Verdana",sans-serif" lang="EN-US">Best,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Verdana",sans-serif" lang="EN-US">Frank<u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Verdana",sans-serif;color:black" lang="EN-US">--
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Verdana",sans-serif;color:black" lang="EN-US">Frank Morawietz<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:9pt;font-family:"Verdana",sans-serif"><u></u> <u></u></span></p>
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b>Von:</b> linux-fai <<a href="mailto:linux-fai-bounces@uni-koeln.de" target="_blank">linux-fai-bounces@uni-koeln.de</a>> <b>Im Auftrag von
</b>Pasquale Cantiello<br>
<b>Gesendet:</b> Donnerstag, 25. Februar 2021 11:14<br>
<b>Cc:</b> fully automatic installation for Linux <<a href="mailto:linux-fai@uni-koeln.de" target="_blank">linux-fai@uni-koeln.de</a>><br>
<b>Betreff:</b> Re: Driver replacement<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p style="margin:0cm"><b><span style="font-size:11.5pt;font-family:"Calibri",sans-serif;color:white;background:rgb(255,64,64) none repeat scroll 0% 0%">[WARNING – EXTERNAL EMAIL]</span></b><span style="font-size:11.5pt;color:white;background:rgb(255,64,64) none repeat scroll 0% 0%"> Do not open links or attachments
unless you recognize the sender of this email. If you are unsure please click the button "Report suspicious email"</span><span style="font-size:11.5pt"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal">Dear John,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">thanks for your answer.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Putting a script in the /srv/fai/config/scripts/ is the way I was trying but, if the system boots with the nouveau driver already installed, the sequence to install correctly the new one is:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">- blacklist the nouveau<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- reboot<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- install the proper nvidia driver<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- reboot again<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">- continue with software installation<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal">And this sequence, I think, cannot be fully automated with those scripts.
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">So I have been searching for a way to prevent the nouveau installation since the beginning. I will study the fai-scripts in order to better understand how this happens.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Best regards<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> Pasquale<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">---<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">ing. PhD Pasquale Cantiello<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Istituto Nazionale di Geofisica e Vulcanologia<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Sezione di Napoli - Osservatorio Vesuviano<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">Via Diocleziano, 328 - 80124 Napoli<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Tel. 081-6108.332<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Il giorno mer 24 feb 2021 alle ore 14:15 John G Heim <<a href="mailto:jheim@math.wisc.edu" target="_blank">jheim@math.wisc.edu</a>> ha scritto:<u></u><u></u></p>
</div>
<blockquote style="border-color:currentcolor currentcolor currentcolor rgb(204,204,204);border-style:none none none solid;border-width:medium medium medium 1pt;padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal">FAI works a lot like an installation you'd do "by hand". You boot from a
<br>
live image, partition the hard drive, install a base system via <br>
debootstrap then chroot to do the rest of the installation steps <br>
(install a kernel, install packages, configure grub). So, if you want to <br>
blacklist a module, you have to do it on the new system, not on the live <br>
boot image. In other words, in your case, you'd have to fcopy the module <br>
configuration files to the new system after the base system is <br>
installed. This is done by putting a script in the scripts folder of <br>
your FAI config root. By default this would be /srv/fai/config/scripts/.<br>
<br>
On 2/24/21 4:20 AM, Pasquale Cantiello wrote:<br>
> Hi all<br>
> <br>
> I'm new to fai (only two weeks) and trying to use it to install a <br>
> cluster with a front-end and 10 compute nodes. At present stage I am <br>
> able to install all machines with related software and little <br>
> customization from the faiserver with almost no problem.<br>
> <br>
> Now, since the nodes have a GPU card I want to install the nvidia driver <br>
> and related sdk to the frontend and all nodes. I've downloaded all the <br>
> files (.run file for driver and .deb files for sdk) on faiserver and put <br>
> them in nfsroot in order to launch the installation on the nodes.<br>
> <br>
> My problems are now:<br>
> How to prevent the installation of the nouveau driver on nodes? This <br>
> will conflict with the new driver. I've also put a modeprobe.conf file <br>
> with blacklist in /nfsroot/etc/modeprobe.d/ but with no success.<br>
> <br>
> And, how to use the PRELOAD or PRELOADRM command in the package <br>
> configuration to install sdk from nfsroot? I've found no samples and <br>
> tried all combinations...<br>
> <br>
> Thanks in advance to all who can help me.<br>
> <br>
> Best regards<br>
> Pasquale<br>
> <br>
> ---<br>
> ing. PhD Pasquale Cantiello<br>
> Istituto Nazionale di Geofisica e Vulcanologia<br>
> Sezione di Napoli - Osservatorio Vesuviano<br>
> Via Diocleziano, 328 - 80124 Napoli<br>
> Tel. 081-6108.332<u></u><u></u></p>
</blockquote>
</div>
</div>
</div>
<p style="margin-right:0cm;margin-left:27pt;margin-bottom:0.0001pt">
<span style="font-size:8pt;font-family:"Arial","sans-serif";color:gray" lang="EN-US"> <u></u><u></u></span></p>
<p style="margin-right:0cm;margin-left:27pt;margin-bottom:0.0001pt">
<span style="font-size:8pt;font-family:"Arial","sans-serif";color:gray" lang="EN-US">This message and any attachment are confidential and may be privileged or otherwise protected from disclosure. If you are not the intended recipient, you must not copy this
message or attachment or disclose the contents to any other person. If you have received this transmission in error, please notify the sender immediately and delete the message and any attachment from your system. Merck KGaA, Darmstadt, Germany and any of
its subsidiaries do not accept liability for any omissions or errors in this message which may arise as a result of E-Mail-transmission or for damages resulting from any unauthorized changes of the content of this message and any attachment thereto. Merck
KGaA, Darmstadt, Germany and any of its subsidiaries do not guarantee that this message is free of viruses and does not accept liability for any damages caused by any virus transmitted therewith.<u></u><u></u></span></p>
<p style="margin-right:0cm;margin-left:27pt;margin-bottom:0.0001pt">
<span style="font-size:8pt;font-family:"Arial","sans-serif";color:gray" lang="EN-US"> <u></u><u></u></span></p>
<p style="margin-right:0cm;margin-left:27pt;margin-bottom:0.0001pt">
<span style="font-size:8pt;font-family:"Arial","sans-serif";color:gray" lang="EN-US">Click
</span><span style="font-size:8pt;font-family:"Arial","sans-serif"" lang="EN-US"><a href="http://www.merckgroup.com/disclaimer" target="_blank">http://www.merckgroup.com/disclaimer</a><span style="color:gray"> to access the German, French, Spanish and Portuguese versions
of this disclaimer.</span><u></u><u></u></span></p>
</div>
</blockquote></div></div>