9 Replies Latest reply on Feb 19, 2013 2:34 AM by Steffen Kreis

    gPXE implementation in 8.2 not working-out-of-the-box

    Steffen Kreis

      Hi,

       

      has anybody had the chance to test the gPXE implementation that is now available by default in 8.2 ?

       

      We tried to deploy a HP 585 G7 today, which has a gPXE ROM with our 8.2 environment.

       

      The problematic bit with gPXE always was and still is the "local boot" parameter within the provisioning process.

      In order to fix that we always received a gPXE fix from BMC for each 8.1 SP.

       

      Now with 8.2 we see the following problem.

      When the target reaches the point were it should boot locally, it tries to load a file from the TFTP-Server called run-autodetect.

      This file is not existing within there, and it is not part of the 8.2 provisioning zip files.

       

      Looking at the generated config file for our target under pxelinux.cfg we see the following entries:

       

      --------------------------------------------------------------------

      # Perform a local boot by default

      default run-autodetect

       

      # Always prompt

      prompt 1

       

      # Display the bootup message

      display pxeboot.msg

       

      # Boot automatically after 300 seconds

      timeout 1

       

      label local

      kernel chain.c32

      append hd0

      label inst

      kernel chain.c32

      append hd0

      label linux64

      kernel chain.c32

      append hd0

       

      --------------------------------------------------------------------

       

       

      So it is actually told by default to go for "run-autodetect".

       

      How should this be implemented and what needs to be done to get this to work ?

       

      Looking at the syslinux docs we understand that "normally" run-autodetect involves ifcpu64.c32 to identify the platform of the target.

      The ifcpu64.c32 actually exists, but it seems to not touch it accourding the tftp-server.log.

      The log is just flooded with requests for run-autodetect.

       

      I already opened a case with BMC in parrallel but just wanted to know, if anybody had any other experience with that.

       

       

      Cheers

      Steffen

        • 1. Re: gPXE implementation in 8.2 not working-out-of-the-box
          Bill Robinson

          Is the ifcpu64.c32 there on your system?

           

          Can you post your logs ?

          • 2. Re: gPXE implementation in 8.2 not working-out-of-the-box
            Steffen Kreis

            Hi Bill,

             

            yes the ifcpu64.c32 exists within tftproot as it was part of the 8.2 provisioning-files.

             

            The log is just flooded with entries like these:

             

            [21 Mar 2012 13:10:39,157] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,157] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.com

            [21 Mar 2012 13:10:39,157] [Thread-493709] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.com

            [21 Mar 2012 13:10:39,157] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,157] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.c32

            [21 Mar 2012 13:10:39,157] [Thread-493710] [INFO] Sending file : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.c32

            [21 Mar 2012 13:10:39,203] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,203] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect

            [21 Mar 2012 13:10:39,203] [Thread-493711] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect

            [21 Mar 2012 13:10:39,203] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,203] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.cbt

            [21 Mar 2012 13:10:39,203] [Thread-493712] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.cbt

            [21 Mar 2012 13:10:39,203] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,203] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.0

            [21 Mar 2012 13:10:39,203] [Thread-493713] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.0

            [21 Mar 2012 13:10:39,203] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,203] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.com

            [21 Mar 2012 13:10:39,203] [Thread-493714] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.com

            [21 Mar 2012 13:10:39,203] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,203] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.c32

            [21 Mar 2012 13:10:39,203] [Thread-493715] [INFO] Sending file : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.c32

            [21 Mar 2012 13:10:39,250] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,250] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect

            [21 Mar 2012 13:10:39,250] [Thread-493716] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect

            [21 Mar 2012 13:10:39,250] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,250] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.cbt

            [21 Mar 2012 13:10:39,250] [Thread-493717] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.cbt

            [21 Mar 2012 13:10:39,250] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,250] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.0

            [21 Mar 2012 13:10:39,266] [Thread-493718] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.0

            [21 Mar 2012 13:10:39,266] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,266] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.com

            [21 Mar 2012 13:10:39,266] [Thread-493719] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.com

            [21 Mar 2012 13:10:39,266] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,266] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.c32

            [21 Mar 2012 13:10:39,266] [Thread-493720] [INFO] Sending file : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.c32

            [21 Mar 2012 13:10:39,313] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,313] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect

            [21 Mar 2012 13:10:39,313] [Thread-493721] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect

            [21 Mar 2012 13:10:39,313] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,313] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.cbt

            [21 Mar 2012 13:10:39,313] [Thread-493722] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.cbt

            [21 Mar 2012 13:10:39,313] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,313] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.0

            [21 Mar 2012 13:10:39,313] [Thread-493723] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.0

            [21 Mar 2012 13:10:39,313] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,313] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.com

            [21 Mar 2012 13:10:39,313] [Thread-493724] [ERROR] File not found : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.com

            [21 Mar 2012 13:10:39,313] [Thread-2] [INFO] Received read request from /10.169.198.194

            [21 Mar 2012 13:10:39,313] [Thread-2] [INFO] Requested filename: //X86PC//pxelinux//run-autodetect.c32

            [21 Mar 2012 13:10:39,313] [Thread-493725] [INFO] Sending file : D:\Apps\BMC Software\BladeLogic\PXE\tftproot\X86PC\pxelinux\run-autodetect.c32

             

             

            We deleted all "old" files from the tftproot directory and just put the ones from the latest zip-file in there.

             

             

            What is it supposed to be doing ?

            If it's told to default to run-autodetect should it actually load ifcpu64.c32 ?

            Or how does this normally work ?

             

            585g7_pxeprob1.JPG

             

            Steffen

            • 3. Re: gPXE implementation in 8.2 not working-out-of-the-box
              Steffen Kreis

              As i sidenote, i now checked the syslinux-3.86 files from http://www.kernel.org/pub/linux/utils/boot/syslinux/3.xx/

               

              A file such as "run-autodetect" seems not to exist at all ?!?!

               

              Can you please provide details on how this should work in theory ?

              Which files should be loaded ?

              How would the correct platform be detected...etc.

               

               

               

              Also checking a "normal" Boot-WinPE generated PXE config file looks like this:

               

              # Perform a local boot by default

              default run-autodetect

               

              # Always prompt

              prompt 1

               

              # Display the bootup message

              display pxeboot.msg

               

              # Boot automatically after 300 seconds

              timeout 1

               

              label local

              localboot 0

              # The rest of this file is machine-generated

               

              label run-autodetect

              kernel WinPEx64v3\pxeboot.0

              append initrd=

               

              So the "defaul run-autodetect" actually points to a label inside the config file, as like you can see in my initial post, does not exists in a config file generated for a gPXE target.

               

               

              Cheers

              • 4. Re: gPXE implementation in 8.2 not working-out-of-the-box
                Bill Robinson

                where in the tftp root directory is the ifcpu64.c32?  is it in the pxelinux dir ?

                • 5. gPXE implementation in 8.2 not working-out-of-the-box
                  Steffen Kreis

                  Hi Bill,

                   

                  please see attached screenshot:

                   

                  gpxe.jpg

                  • 6. Re: gPXE implementation in 8.2 not working-out-of-the-box

                    I have the same issue. The server will boot to PXE and start the imaging process, once the server reboots at step 14 I get the run-autodetect error.

                    • 7. Re: gPXE implementation in 8.2 not working-out-of-the-box
                      Bill Robinson

                      i believe you must use the pxe.conf file and uncomment a couple sections to use the chain.c32 and handle gpxe.  the specific problem that addressed is a bug in gpxe where it's not handling the command to local boot properly.  not sure if the auto-detect error is related or not.

                      • 8. Re: gPXE implementation in 8.2 not working-out-of-the-box
                        Jim Wilson

                        Hi Steffen/Amanda,

                         

                        Did this get resolved?

                        If so, please can you update the discussion thread with details so that is can be marked as answered.

                         

                        Thanks & Regards,

                        Jim (Forum Manager/Facilitator)

                        • 9. Re: gPXE implementation in 8.2 not working-out-of-the-box
                          Steffen Kreis

                          Hi Jim,

                           

                          we run the PXE-Servers like in my screenshot successfully since a while now.

                           

                          Cheers

                          Steffen