So this behavior is different from the errors you were seeing prior to this
dhcp.pm change, where dhcpd.conf contained "http://<xCAT
MN>:80/tftpboot/xcat/xnba/nets/<network>.uefi" for
"else if option user-class-identifier = "xNBA" and option
client-architecture = 00:09" ?

Can you show what /tftpboot/xcat/xnba/nets/<network> file contains on your
management node ?


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





From:   "Thomas HUMMEL" <thomas.hum...@pasteur.fr>
To:     <xcat-user@lists.sourceforge.net>
Date:   09/06/2021 11:08 AM
Subject:        [EXTERNAL] Re: [xcat-user] xCAT 2.16.2 new xNBA issue





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/

> <
http://$tftp:$httpport/tftpboot/xcat/xnba/nets/
$
>"
> . $net . "_" . $maskbits . ".uefi\";\n";
>
> To:
>   filename = \"
http://$tftp:$httpport/tftpboot/xcat/xnba/nets/

> <
http://$tftp:$httpport/tftpboot/xcat/xnba/nets/
$
>"
> . $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>
> <
http://10.4.40.1/tftpboot/xcat/xnba/nets/10.0.0.0_8
$
> instead
> of http://<xCAT MN>:80/tftpboot/xcat/xnba/nets/<network>
> <
http://10.4.40.1/tftpboot/xcat/xnba/nets/10.0.0.0_8
$
>.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



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

Reply via email to