On 03/09/2021 16:17, Mark Gurevich wrote:
Thomas, can you try the following:
In file /opt/xcat//lib/perl/xCAT_plugin/dhcp.pm change line 2729 or
thereabouts to remove ".uefi":
From:
push @netent, " filename =
\"http://$tftp:$httpport/tftpboot/xcat/xnba/nets/
<https://urldefense.com/v3/__http://$tftp:$httpport/tftpboot/xcat/xnba/nets/__;!!JFdNOqOXpB6UZW0!7dCUjDXh0DhBo0_QFIT5kFqgXBpLLgefVzNLLdTTg7JOdbVSYi1Pg9pYYmHpRU2Kenitwg$>"
. $net . "_" . $maskbits . ".uefi\";\n";
To:
filename = \"http://$tftp:$httpport/tftpboot/xcat/xnba/nets/
<https://urldefense.com/v3/__http://$tftp:$httpport/tftpboot/xcat/xnba/nets/__;!!JFdNOqOXpB6UZW0!7dCUjDXh0DhBo0_QFIT5kFqgXBpLLgefVzNLLdTTg7JOdbVSYi1Pg9pYYmHpRU2Kenitwg$>"
. $net . "_" . $maskbits . "\";\n";
Then run "makedhcp -n" and "makedhcp -a". That should generate a new
/etc/dhcp/dhcpd.conf which will send
http://<xCAT MN>:80/tftpboot/xcat/xnba/nets/<network>
<https://urldefense.com/v3/__http://10.4.40.1/tftpboot/xcat/xnba/nets/10.0.0.0_8__;!!JFdNOqOXpB6UZW0!7dCUjDXh0DhBo0_QFIT5kFqgXBpLLgefVzNLLdTTg7JOdbVSYi1Pg9pYYmHpRU21dOKyIg$> instead
of http://<xCAT MN>:80/tftpboot/xcat/xnba/nets/<network>
<https://urldefense.com/v3/__http://10.4.40.1/tftpboot/xcat/xnba/nets/10.0.0.0_8__;!!JFdNOqOXpB6UZW0!7dCUjDXh0DhBo0_QFIT5kFqgXBpLLgefVzNLLdTTg7JOdbVSYi1Pg9pYYmHpRU21dOKyIg$>.uefi
My assumption that you server matches this line in /etc/dhcp/dhcpd.conf
"else if option user-class-identifier = "xNBA" and option
client-architecture = 00:09 { #x86, xCAT Network Boot Agent"
Finally, remove the node's mac and try another normal
discovery.
Hello,
it indeed generates the said dhcpd.conf:
# diff -u dhcpd.conf.ORIG dhcpd.conf
--- dhcpd.conf.ORIG 2021-09-06 16:53:48.593669122 +0200
+++ dhcpd.conf 2021-09-06 16:55:30.674659960 +0200
@@ -101,7 +101,7 @@
always-broadcast on;
filename =
"http://192.168.148.10:80/tftpboot/xcat/xnba/nets/192.168.144.0_20";
} else if option user-class-identifier = "xNBA" and option
client-architecture = 00:09 { #x86, xCAT Network Boot Agent
- filename =
"http://192.168.148.10:80/tftpboot/xcat/xnba/nets/192.168.144.0_20.uefi";
+ filename =
"http://192.168.148.10:80/tftpboot/xcat/xnba/nets/192.168.144.0_20";
} else if option client-architecture = 00:00 { #x86
filename "xcat/xnba.kpxe";
} else if option vendor-class-identifier = "Etherboot-5.4" { #x86
but oddly enough, genesis kernel gets downloaded, then genesis root as
well (...,tgz ok printed) printed as being downloaded but then kernel
panics unable to mount root
The error msg starts with:
"
Error parsing PCC subspaces from PCCT
Kernel panic - not syncing: VFS: Unable to mount root fs on
unkown-block(0,0)
This is still with the beta efi xNBA you provided me
(9f4bfa72c3187d45cba64c8dc56674ee /tftpboot/xcat/xnba.efi)
Thanks for your help
--
Thomas
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user