Network booting elilo.efi on Intel x86 error

Help
Alan Laws
2009-07-17
2013-05-02
  • Alan Laws
    Alan Laws
    2009-07-17

    Hi,

    I am trying to setup an EFI bootable PXE environment with Intel x86 hardware.  The error message I receive when booting to elilo-3.10-x86_64.efi is:

    ".fileops.c(line 525) :No devname schemes worked, using builtin"

    Then the server locks up for about a minute and restarts.

    Currently, it is capable of properly booting legacy based installations without problem.  Below, I have attached my configuration files for EFI.

    /etc/dhcpd.conf:

        subnet 10.40.0.0 netmask 255.255.0.0 {

                option domain-name "mydomain.com";
                option subnet-mask 255.255.0.0;
                option routers     10.40.16.2;
              
              
                host test_machine {
                        hardware ethernet <removed>;
                        fixed-address 10.40.16.10;
                        filename "elilo-3.10-x86_64.efi";
                        option host-name "test_machine";
                }
        }

    /tftpboot/elilo.conf

        chooser=textmenu
        message=main.msg
        prompt
        timeout=10
        image=installs/RHEL4u4/vmlinuz
                label=1
                description="Install RHEL4u4 Release"

                initrd=installs/RHEL4u4/initrd
                append="askmethod ramdisk_size=12288 maxcpus=1"
        image=installs/SLES10/vmlinuz
                label=2
                description="Install SLES10 Release"

                initrd=installs/SLES10/initrd
                append="ramdisk_size=131072"

    If I change my dhcpd.conf to boot straight to the efishell.efi, it boots in fine.  But when I change the configuration to boot elilo, I receive the error message everytime.  I've basically hit a wall and do not know where to go from here.  If anyone can assist me, I would be greatly appreciative!

    Thanks,
    Alan

     
    • jfly
      jfly
      2009-07-21

      Alan,
      sorry for the lag, sourceforge mail notification isnt sending me notices so I only see new posts if I happen to log into sourceforge.
      ok first read the 3.10 release notes and make sure your setup in terms kernel version, efi version, etc all play together. i.e. if your efi version is uefi 2.0 or > then you probably wont be able to boot any kernel older than 2.6.24.... etc. again see rel notes.

      see thread https://sourceforge.net/forum/message.php?msg_id=7093719
      and tell me if your setup is even remotely similar. your error message is slightly different though.
      looking at your dhcpd.conf  rename your elilo-3.10-x86_64.efi to elilo.efi and make the same
      name change in the conf file and see if that works.

      if you are seeing the windows served config file problem as noted in the thread link, there is a fix checked in but not yet released, you can follow the sourceforge instructions for checking out a copy of the source and follow the elilo-3.10 release notes to setup a proper build environment to build a newer (than 3.10) elilo.
      chooser=textmenu
      message=main.msg
      prompt
      timeout=10
      verbose=5
      debug
      image=installs/RHEL4u4/vmlinuz
      label=1
      description="Install RHEL4u4 Release"
      if you still see the error use my mail link here in source forge and send me the output
      with debug and verbose turned on in elilo. add the following options to your elilo.conf file

       
    • jfly
      jfly
      2009-07-21

      correction: leave the debug option off for now.

      chooser=textmenu 
      message=main.msg 
      prompt 
      timeout=10
      verbose=5
      image=installs/RHEL4u4/vmlinuz 
      label=1 

       
      • Alan Laws
        Alan Laws
        2009-07-22

        Thanks for the reply!

        I have changed my elilo.conf and dhcpd.conf as requested. 

        Now I am receiving:

        5835    1062.609690    10.40.17.198    10.40.16.1    TFTP    Read Request, File: elilo.efi, Transfer type: octet, tsize=0, blksize=1456
        5836    1062.610694    10.40.16.1    10.40.17.198    TFTP    Option Acknowledgement, tsize=224997, blksize=1456
        3926    683.632001    10.40.17.198    10.40.16.1    TFTP    Error Code, Code: Option negotiation failed, Message: User aborted the transfer
        5838    1062.687537    10.40.17.198    10.40.16.1    TFTP    Read Request, File: elilo.efi, Transfer type: octet, blksize=1456
        5839    1062.688313    10.40.16.1    10.40.17.198    TFTP    Option Acknowledgement, blksize=1456

        I know there couldn't be any firewall blocking this file because loading the EFI shell from the same directory works just fine!  The EFI shell loads about 540 data packet blocks, meanwhile loading elilo.efi only gets to about 140 before it quits with the error:

        "".fileops.c(line 525) :No devname schemes worked, using builtin" "

        I checked the EFI specs on this system:
        EFI Specification Revision: 2.10
        EFI Revision: 4096.1

        Any more suggestions?

         
        • Alan Laws
          Alan Laws
          2009-07-22

          Update:  I have built elilo.efi from source and the message has disappeared.  In Wireshark, the "User Aborted the transfer" message has also disappeared.

          However, elilo.conf is not even being requested according to wireshark.  It's just dropping me back to the UEFI boot menu each time.  Any ideas?

           
          • jfly
            jfly
            2009-07-28

            need clarification is the target machine ia32 or x86_64?
            and what make?

             
            • Alan Laws
              Alan Laws
              2009-07-29

              This is on x86_64 hardware.  Right now, it is being tested on the IBM System x iDataPlex dx360 M2.

               
    • Jeff Fan
      Jeff Fan
      2009-07-22

      Hi, all

      I also met PXE boot issue with latest elilo. 

      When I used elilo 3.06 for IA32, it could download elilo.efi and elilo.conf correctly. But when I used elilo 3.10, it could download elilo.efi, but do nothing later.

      When i tried elilo 3.10 for x64, i ever met the exact issue with Alan once. But  i cannot reproduce it at latter several times, the issue was the same with elilo 3.10 for IA32.

      Jeff

       
  • CK Chao
    CK Chao
    2009-10-05

    For this elilo not loading net image issue. I see this issue and I found the problem for the X86_64 build. This is due to in glue_netfs.c line 190, 196 and 202 the StrnCpy call use the wrong length for X86_64 system. Should use 13 instead of 11. After this my bzImage is transferred but my elilo.efi hang when it is calling the BS-&gt;exitbootservice. Has anyone seen this?

     
  • jfly
    jfly
    2009-10-07

    Yes on exitbootservices, as reported in efi spec violation bug.
    It is a recent artifact of uefi2+ systems where the memory map can change between the time elilo calls get_memmap and exitboot causing the map key to change and efi to reject the exitboot call… elilo is in violation of the spec here and the fix is done and will prompt 3.12 release.. I will also try to validate the netboot fix and get that in 3.12 as well. thank you for reporting your findings with that.