So is the only way to clean it up and add fips to modify the genimage script? 
Or is the list of modules pulled from somewhere?

-Keith
____________________
Keith Hannum
keith.han...@lmco.com<mailto:keith.han...@lmco.com>

From: Mark Gurevich <gurev...@us.ibm.com>
Sent: Tuesday, January 04, 2022 2:55 PM
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: EXTERNAL: Re: [xcat-user] How to modify list of modules to add to 
initrd?


"Failed to find module" messages are probably from "sub mkinitrd()" in  
/opt/xcat/share/xcat/netboot/rh/genimage

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research, would 
it?"
--Albert Einstein



[Inactive hide details for "Hannum, Keith" ---01/04/2022 02:37:23 PM---I want 
to build my diskless nodes with FIPS enabled, and]"Hannum, Keith" ---01/04/2022 
02:37:23 PM---I want to build my diskless nodes with FIPS enabled, and in rhel8 
this requires building FIPS into t

From: "Hannum, Keith" <keith.han...@lmco.com<mailto:keith.han...@lmco.com>>
To: "xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>" 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Date: 01/04/2022 02:37 PM
Subject: [EXTERNAL] [xcat-user] How to modify list of modules to add to initrd?

________________________________



I want to build my diskless nodes with FIPS enabled, and in rhel8 this requires 
building FIPS into the initrd. I can do this with a custom dracut config, but 
this file needs to be in the rootimg chdir before the initrd is generated by 
genimage, which isn’t possible on a clean image creation. I am also getting 
errors with ext3 and nfs on my rhel 8.4 MN. I’d like to clean this list up and 
add FIPS so on the initial creation of the image, everything is loaded 
correctly. How is this list created and maintained?

Added net_failover.ko as an autodetected dependency
Added failover.ko as an autodetected dependency
Added mlx4_core.ko as an autodetected dependency
Added i2c-algo-bit.ko as an autodetected dependency
Added dca.ko as an autodetected dependency
Added mdio.ko as an autodetected dependency
Enter the dracut mode. Dracut version: 049. Dracut directory: dracut_047.
Try to load drivers: failover mdio dca i2c-algo-bit mlx4_core net_failover tg3 
bnx2 bnx2x e1000 e1000e igb mlx4_en virtio_net be2net ext3 ext4 to initrd.
chroot /install/netboot/rhawk_bjh/rootimg dracut  -N --compress "/bin/pigz -p 
16 " -f /tmp/initrd.653785.gz 5.10.59-rt52-RedHawk-8.4-trace
dracut: No '/dev/log' or 'logger' included for syslog logging
dracut-install: Failed to find module 'ext3'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D 
/var/tmp/dracut.bwzPzt/initramfs --kerneldir 
/lib/modules/5.10.59-rt52-RedHawk-8.4-trace/ -m failover mdio dca i2c_algo-bit 
mlx4_core net_failover tg3 bnx2 bnx2x e1000 e1000e igb mlx4_en virtio_net 
be2net ext3 ext4
the initial ramdisk for stateless is generated successfully.
Try to load drivers: failover mdio dca i2c-algo-bit mlx4_core net_failover tg3 
bnx2 bnx2x e1000 e1000e igb mlx4_en virtio_net be2net ext3 ext4 to initrd.
chroot /install/netboot/rhawk_bjh/rootimg dracut  -N --compress "/bin/pigz -p 
16 " -f /tmp/initrd.653785.gz 5.10.59-rt52-RedHawk-8.4-trace
dracut: No '/dev/log' or 'logger' included for syslog logging
dracut-install: Failed to find module 'ext3'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D 
/var/tmp/dracut.xkPwa8/initramfs --kerneldir 
/lib/modules/5.10.59-rt52-RedHawk-8.4-trace/ -m failover mdio dca i2c_algo-bit 
mlx4_core net_failover tg3 bnx2 bnx2x e1000 e1000e igb mlx4_en virtio_net 
be2net ext3 ext4
dracut-install: ERROR: installing 'nfs'
dracut: FAILED:  /usr/lib/dracut/dracut-install -D 
/var/tmp/dracut.xkPwa8/initramfs --kerneldir 
/lib/modules/5.10.59-rt52-RedHawk-8.4-trace/ -m nfs
the initial ramdisk for statelite is generated successfully.




-Keith
____________________
Keith Hannum
Lockheed Martin
keith.han...@lmco.com<mailto:keith.han...@lmco.com>
 _______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net<mailto:xCAT-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user



_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to