Where did bootx64.efi come from in this specific example?  On the file server, do you see the download request or are you saying it fails to even download the file?  Also what are the expected benefits from chainloading it from ipxe in the uefi context?  I ask as in UEFI world,things are different and you will likely not get the behavior you expect after understanding 'legacy' boot behavior.<br>
<br>For linux boots, I use a patched elilo (to use ipxe protocols, which is only exported currently with a patch applied I got from Geoff Lywood).  I haven't bothered chaining others (like the heavily patched grub redhat ships with).  The only other payload I bother with is a patched ESXi bootloader, and for Windows boot loader I never involve iPXE for UEFI boot and go straight to bootmgfw.efi.<br>
<div class="gmail_quote">On Mon, Jan 9, 2012 at 9:36 AM,  <span dir="ltr"><<a href="mailto:Sanjeev.Roy@emulex.com">Sanjeev.Roy@emulex.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">Hi Jarrod,<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">Thanks for the help.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">I built the snponly.efi file.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">I was using a bnx2  LOM for testing the iPXE NIC boot using UEFI. My iPXE server was hosted on a rhel5564 machine.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">The iPXE client was able to successfully download the snponly.efi file. However it got stuck immediately after downloading the bootx64.efi file.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">Can you please suggest if I am doing anything wrong here?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">Below is the entry for the dhcpd.conf file:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">################################################<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">cat /etc/dhcpd.conf<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">#<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"># DHCP Server Configuration file.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">#   see /usr/share/doc/dhcp*/dhcpd.conf.sample  <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">#<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">option space ipxe;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe-encap-opts code 175 = encapsulate ipxe;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.priority code 1 = signed integer 8;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.keep-san code 8 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.skip-san-boot code 9 = unsigned integer 8;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.no-pxedhcp code 176 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.bus-id code 177 = string;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.bios-drive code 189 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.username code 190 = string;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.password code 191 = string;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.reverse-username code 192 = string;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.reverse-password code 193 = string;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.version code 235 = string;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option iscsi-initiator-iqn code 203 = string;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  # Feature indicators<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.pxeext code 16 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.iscsi code 17 = unsigned integer 8;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.aoe code 18 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.http code 19 = unsigned integer 8;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.https code 20 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.tftp code 21 = unsigned integer 8;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.ftp code 22 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.dns code 23 = unsigned integer 8;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.bzimage code 24 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.multiboot code 25 = unsigned integer 8;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.slam code 26 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.srp code 27 = unsigned integer 8;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.nbi code 32 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.pxe code 33 = unsigned integer 8;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.elf code 34 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.comboot code 35 = unsigned integer 8;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.efi code 36 = unsigned integer 8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option ipxe.fcoe code 37 = unsigned integer 8;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">ddns-update-style interim;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">ignore client-updates;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">subnet 192.168.1.0 netmask 255.255.255.0 {<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"> range 192.168.1.50 192.168.1.90;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"> default-lease-time 3600;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"> max-lease-time 4800;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"> option subnet-mask 255.255.255.0;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"> option domain-name "pxe_text";<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"> option time-offset -8;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"> }<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">host bglinux45{<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  next-server 192.168.1.1;<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  hardware ethernet 5C:F3:FC:4B:B9:76; #HW addr of my client BNX2 interface<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  fixed-address 192.168.1.60;<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  option host-name "linux-test";<u></u><u></u></span></p>
<div class="im"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">if exists user-class and option user-class = "iPXE" {<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">     filename "bootx64.efi";<u></u><u></u></span></p></div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  } else {<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">     filename "snponly.efi";<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d">  }<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Courier New";color:#1f497d"> }<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">#####################################################<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Sanjeev<u></u><u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Jarrod Johnson [mailto:<a href="mailto:jarrod.b.johnson@gmail.com" target="_blank">jarrod.b.johnson@gmail.com</a>] <br>
<b>Sent:</b> Friday, January 06, 2012 8:58 PM</span></p><div class="im"><br><b>To:</b> Roy, Sanjeev<br><b>Cc:</b> <a href="mailto:mbrown@fensystems.co.uk" target="_blank">mbrown@fensystems.co.uk</a>; <a href="mailto:ipxe-devel@lists.ipxe.org" target="_blank">ipxe-devel@lists.ipxe.org</a><br>
</div><div><div class="h5"><b>Subject:</b> Re: [ipxe-devel] Query on UEFI iPXE boot<u></u><u></u></div></div><p></p></div><div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal" style="margin-bottom:12.0pt">
Instead of targeting *specifically* the device, I'd build snponly.efi.  This is akin to undionly.kkpxe.  <br><br>I have successfully gotten it to work, but with some emulex firmware I've been messing with iPXE is having difficulty doing DHCP with SNP while I see no problems on any other nics (intel, broadcom, vmware's emulated intel, couple of others).<br>
<br>xCAT when setting up chained UEFI boot constructs the following dhcp bit (s/xNBA/iPXE/ unless using the xCAT branch):<br>host efitest1 {<br>  dynamic;<br>  hardware ethernet 42:8a:3b:42:a5:68;<br>        supersede server.ddns-hostname = "efitest1";<br>
        supersede host-name = "efitest1";<br>        if option user-class-identifier = "xNBA" and option<br>             client-architecture = 00:00 {<br>          supersede server.always-broadcast = 01;<br>
          supersede server.filename =<br>                  "http://${next-server}/tftpboot/xcat/xnba/nodes/efitest1";<br>        } elsif option user-class-identifier = "xNBA" and option<br>                client-architecture = 00:09 {<br>
          supersede server.filename =<br>                                      "http://${next-server}/tftpboot/xcat/xnba/nodes/efitest1.uefi";<br>        } elsif option client-architecture = 00:07 {<br>          supersede server.filename = "xcat/xnba.efi";<br>
        } elsif option client-architecture = 00:00 {<br>          supersede server.filename = "xcat/xnba.kpxe";<br>        } else {<br>          supersede server.filename = "";<br>        }<br>}<br><br>
<br><u></u><u></u></p><div><p class="MsoNormal">On Fri, Jan 6, 2012 at 5:46 AM, <<a href="mailto:Sanjeev.Roy@emulex.com" target="_blank">Sanjeev.Roy@emulex.com</a>> wrote:<u></u><u></u></p><p class="MsoNormal">Hi All,<br>
Do we have any readme that suggests how we can execute iPXE UEFI boot?<br>We tried UEFI IPXE boot with  an Intel igb CNA. The device ID was 10c9. We built 808610c9.efi. However while trying the UEFI iPXE boot using the .efi file we could see that the client is able to successfully download the.efi file. The client hangs after that. It never tries to get the bootx64.efi (required for booting to the EFI mode) file after that.<u></u><u></u></p>
<div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>We were trying the UEFI boot with  Sles11sp164.<br>Has anyone executed chain loading using iPXE in UEFI environment?<u></u><u></u></p></div><p class="MsoNormal">Regards<br>
Sanjeev<u></u><u></u></p><div><p class="MsoNormal"><br>-----Original Message-----<br>From: Roy, Sanjeev<br>Sent: Thursday, December 22, 2011 12:32 AM<br>To: Michael Brown; <a href="mailto:ipxe-devel@lists.ipxe.org" target="_blank">ipxe-devel@lists.ipxe.org</a><br>
Subject: RE: [ipxe-devel] Query on UEFI iPXE boot<br><br><br>Hi All,<u></u><u></u></p></div><p class="MsoNormal">We tried UEFI IPXE boot with  an Intel igb CNA. The device ID was 10c9. We built 808610c9.efi. However while trying the UEFI iPXE boot using the .efi file we could see that the client is able to successfully download the.efi file. The client 808610c9hangs after that. It never tries to get the bootx64.efi (required for booting to the EFI mode) file after that.<u></u><u></u></p>
<div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>We were trying the UEFI boot with  Sles11sp164.<br>Has anyone executed chain loading using iPXE in UEFI environment?<u></u><u></u></p></div><div><p class="MsoNormal">
Regards<br>Sanjeev<br><br>-----Original Message-----<br>From: Michael Brown [mailto:<a href="mailto:mbrown@fensystems.co.uk" target="_blank">mbrown@fensystems.co.uk</a>]<u></u><u></u></p></div><div><p class="MsoNormal">Sent: Saturday, December 17, 2011 1:02 AM<u></u><u></u></p>
</div><div><p class="MsoNormal" style="margin-bottom:12.0pt">To: <a href="mailto:ipxe-devel@lists.ipxe.org" target="_blank">ipxe-devel@lists.ipxe.org</a><br>Cc: Roy, Sanjeev<br>Subject: Re: [ipxe-devel] Query on UEFI iPXE boot<u></u><u></u></p>
</div><div><div><p class="MsoNormal">On Wednesday 14 Dec 2011 12:32:10 <a href="mailto:Sanjeev.Roy@emulex.com" target="_blank">Sanjeev.Roy@emulex.com</a> wrote:<br>> We are using Emulex adapter.<br>> We tried chainloading for EFI using iPXE similar to legacy boot, legacy<br>
> boot works fine.<br>><br>> The configuration change in dhcpd.conf is<br>> if exists user-class and option user-class = "iPXE" {<br>>        filename "bootx64.efi"; # bootx64.efi is located @ tftp root<br>
> } else {<br>>        filename "808610de.efi"; #808610de.efi is located @ tftp root<br>> }<br>> also tried with e1000e--r8169.efi and ipxe.efi instead of 808610de.efi<br><br>8086:10de is an Intel e1000 card.  You need to use the PCI IDs for your Emulex<br>
card instead.<br><br>> Is there any specific way to generate the binary for Emulex adapter, which<br>> is not been specified in e1000e_ich8lan.c, In this case how do we build<br>> the driver image specific for this adapter.<br>
<br>Emulex adapters are not (as far as I am aware) direct equivalents of Intel<br>e1000 adapters.  You need to create an iPXE driver for Emulex adapters (or pay<br>to have one created).<br><br>Michael<br>_______________________________________________<br>
ipxe-devel mailing list<br><a href="mailto:ipxe-devel@lists.ipxe.org" target="_blank">ipxe-devel@lists.ipxe.org</a><br><a href="https://lists.ipxe.org/mailman/listinfo/ipxe-devel" target="_blank">https://lists.ipxe.org/mailman/listinfo/ipxe-devel</a><u></u><u></u></p>
</div></div></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div></div></blockquote></div><br>