On Thu, 2022-03-03 at 18:55 +0000, Mark Gurevich wrote: > Nicolas, > > Can you check if the file /install/autoinst/<nodename> contains your > kernel parameters after line: > "#specify the kernel options which will be persistent after > installation"
I've checked another node (I'm trying many things), and the result are different. So, first node: grep nouveau /install/autoinst/node-g003-clu if [ -n "nouveau.blacklist=yes " ];then sed -i -e /bootloader/s#\'#\"#g -e '/bootloader/s/-- append=\([^"]\S*[^"]\)/--append="\1"/g' -e '/bootloader/s/-- append="\(.*\)"/--append="\1 nouveau.blacklist=yes "/g' /tmp/partitionfile sed -i -e '/bootloader/{/append=/!s/$/& -- append="nouveau.blacklist=yes " /}' /tmp/partitionfile grep -q bootloader /tmp/partitionfile >/dev/null 2>&1 || echo -e "bootloader --append=\"nouveau.blacklist=yes \"" >>/tmp/partitionfile The node definition: lsdef node-g003-clu -i addkcmdline Object name: node-g003-clu addkcmdline=R::nouveau.blacklist=yes nouveau.blacklist=yes Second node: grep nouveau /install/autoinst/spiro-g302-clu if [ -n "earlyprintk=ttyS0,115200 rd.blacklist=nouveau nouveau.modeset=0 " ];then sed -i -e /bootloader/s#\'#\"#g -e '/bootloader/s/-- append=\([^"]\S*[^"]\)/--append="\1"/g' -e '/bootloader/s/-- append="\(.*\)"/--append="\1 earlyprintk=ttyS0,115200 rd.blacklist=nouveau nouveau.modeset=0 "/g' /tmp/partitionfile sed -i -e '/bootloader/{/append=/!s/$/& -- append="earlyprintk=ttyS0,115200 rd.blacklist=nouveau nouveau.modeset=0 " /}' /tmp/partitionfile grep -q bootloader /tmp/partitionfile >/dev/null 2>&1 || echo -e "bootloader --append=\"earlyprintk=ttyS0,115200 rd.blacklist=nouveau nouveau.modeset=0 \"" >>/tmp/partitionfile The node definition: lsdef node-g302-clu -i addkcmdline Object name: node-g302-clu addkcmdline=R::earlyprintk=ttyS0,115200 R::rd.blacklist=nouveau R::nouveau.modeset=0 So it seems that the parameters are added into the autoinst file, but not applied on the node during installation ... Some problems with /tmp/partitionfile maybe ? > > -----Original Message----- > From: Roosen, Nicolas <nicolas.roo...@hpe.com> > Sent: Thursday, March 3, 2022 12:27 PM > To: xcat-user@lists.sourceforge.net > Subject: [EXTERNAL] [xcat-user] addkcmdline persistent after > installation > > Hello, > > I'm doing a new install of xCAT 2.16.3, and I'm still struggling to > have the kernel parameters persistent after the initial installation > of a diskfull compute node (an HPE PRoliant in legacy bios mode if > that matters). > > This is what I've tried: > > chdef -t osimage rhel8.3-x86_64-node > addkcmdline="R::earlyprintk=ttyS0,115200 R::rd.blacklist=nouveau > R::nouveau.modeset=0 earlyprintk=ttyS0,115200 > rd.driver.blacklist=nouveau nouveau.modeset=0" > > and also: > > chdef -t node <node> addkcmdline="R::earlyprintk=ttyS0,115200 > R::rd.blacklist=nouveau R::nouveau.modeset=0" > > The settings are taken into account for the initial install, but as > soon as the node reboot they are gone. > > Any ideas ? > > Thanks. > > -- > Nicolas > > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > INVALID URI REMOVED > nfo/xcat- > user__;!!NpxR!z2z0NRtWUWDzNpoHrqgFjBhHmXlVu4JL8HQweoonBWTeh9OSRRx01oW > G3EiYqpxS$ > > > _______________________________________________ > xCAT-user mailing list > xCAT-user@lists.sourceforge.net > INVALID URI REMOVED > nfo/xcat- > user__;!!NpxR!z2z0NRtWUWDzNpoHrqgFjBhHmXlVu4JL8HQweoonBWTeh9OSRRx01oW > G3EiYqpxS$ -- Nicolas Roosen Technical Consultant HPC & AI Business Group nicolas.roo...@hpe.com +33 170486483 Office +33 777161256 Mobile _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user