• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Client hangs at EFI stub:

Scheduled Pinned Locked Moved Solved
FOG Problems
8
74
23.0k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    sgilbe @george1421
    last edited by sgilbe Nov 29, 2023, 4:35 PM Nov 29, 2023, 10:34 PM

    @george1421 I have been able to get a debug BIOS for my system and was able to capture from a serial port more detail. I know it has been a while since this was updated but was thinking this could give more light to the issue. This is not the full file it is just from the select boot device (USB Drive) to the hang.

    Debug out:
    Disabling CR4.SMXE…
    -> Register 0x11: Pause Resume Complete = 0x01 0x01 0x00
    CheckpointSend 0x08? Yes
    -> Register 0x11: Pause Resume Complete = 0x01 0x01 0x01
    CheckpointSend 0x09? Yes
    -> Ready To Boot: Pause Resume Complete = 0x01 0x01 0x01
    [HECI Transport-1 DXE] Send pkt: 80040007
    00: FF 0C 00 00
    [HECI Transport-1 DXE] Got pkt: 80080007
    00: FF 8C 00 00 00 00 00 00
    IioSecureOnOnReadyToBoot…
    IOAT_INIT_READY_TO_BOOT_START
    IOAT_INIT_READY_TO_BOOT_END
    IOAT_INIT_READY_TO_BOOT_START
    IOAT_INIT_READY_TO_BOOT_END
    [TDX_LATE] TdxDxeCallbackOnReadyToBoot BEGIN
    [TDX_LATE-GET_FROM_ESP] GetTdxSeamldrFromEsp BEGIN
    [LoadFileFromEsp] BEGIN
    [TDX_LATE-GET_FROM_ESP] Open (Not Found)
    [TDX_LATE-GET_FROM_ESP] Open (Not Found)
    [TDX_LATE-GET_FROM_ESP] Error (Not Found)
    [TDX_LATE-GET_FROM_ESP] GetTdxSeamldrFromEsp END (Not Found)
    Error: Unable find TdxSeamldr in ESP
    [TDX_LATE-GET_FROM_FV] GetTdxSeamldrFromFv BEGIN
    [TDX_LATE-GET_FROM_FV] GetTdxSeamldrFromFv END (Success)
    TdxSeamldrAddress (FV): 0x63392018
    TdxSeamldrSize (FV): 0x35000
    [TDX_LATE-GET_FROM_ESP] GetTdxSeamFromEsp BEGIN
    [LoadFileFromEsp] BEGIN
    [TDX_LATE-GET_FROM_ESP] Open (Not Found)
    [TDX_LATE-GET_FROM_ESP] Open (Not Found)
    [TDX_LATE-GET_FROM_ESP] Error (Not Found)
    [TDX_LATE-GET_FROM_ESP] GetTdxSeamFromEsp END (Not Found)
    Error: Unable find TdxSeam in ESP, aborting!
    Unable to find TDX binaries in ESP, falling back to FV!
    [TDX_LATE-GET_FROM_FV] GetTdxSeamFromFv BEGIN
    [TDX_LATE-GET_FROM_FV] GetTdxSeamFromFv END (Success)
    TdxSeamAddress (FV): 0x63344018
    TdxSeamSize (FV): 0x26000
    [TDX_LATE-GET_FROM_FV] GetTdxSeamSigFromFv BEGIN
    [TDX_LATE-GET_FROM_FV] GetTdxSeamSigFromFv END (Success)
    TdxSeamSigAddress (FV): 0x64E12018
    TdxSeamSigSize (FV): 0x800
    [TDX_LATE-HANDLE_SEAMLDR] HandleTdxSeamldr BEGIN
    [TDX_LATE-HANDLE_SEAMLDR] ValidateSeamldrBinary BEGIN
    [TDX_LATE-HANDLE_SEAMLDR] ValidateSeamldrBinary END (Success)
    [TDX_LATE-HANDLE_SEAMLDR] ProgramTdxSeamldrSeSvn BEGIN
    Extracted SE_SVN = 0x04 from ACM_HEADER!
    Extracted SE_SVN = 0x00 from NVRAM!
    Seamldr SE_SVN = 0x04 selected from ACM_HEADER!
    [TDX_LATE-HANDLE_SEAMLDR] ProgramTdxSeamldrSeSvn END (Success)
    [TDX_LATE-HANDLE_SEAMLDR] LoadTdxSeamldr BEGIN
    AsmLaunchTdxSeamldr BEGIN (0x6330F000)
    AsmLaunchTdxSeamldr END (0x0)
    [TDX_LATE-HANDLE_SEAMLDR] LoadTdxSeamldr END (Success)
    [TDX_LATE-HANDLE_SEAMLDR] HandleTdxSeamldr END (Success)
    [TDX_LATE-HANDLE_SEAM] HandleTdxSeam BEGIN
    [TDX_LATE-VMX] BaseFruUcode4v0_SetCrsForVmx BEGIN
    [TDX_LATE-VMX] BaseFruUcode4v0_SetCrsForVmx END (Success)
    [TDX_LATE-VMX] VmxOnAndSeamcallThenVmxOffOnAllLps BEGIN
    [TDX_LATE-VMX] VmxOnAndSeamcallThenVmxOffOnAllLps END (Success)
    [TDX_LATE-HANDLE_SEAM] HandleTdxSeam END (Success)
    [TDX_LATE] TdxDxeCallbackOnReadyToBoot END
    SmmInstallProtocolInterface: 6E057ECF-FA99-4F39-95BC-59F9921D17E4 0
    [SmbiosIFWI] Get Ifwi Version failed.
    [HECI Transport-1 DXE] Send pkt: 80040007
    00: FF 02 00 00
    [HECI Transport-1 DXE] Got pkt: 80140007
    00: FF 82 00 00 01 00 06 18 - 30 00 02 00 01 00 06 18
    10: 30 00 02 00
    TPM Location configured (expected values: dTPM = 0x5 = 0x5
    Value at TPM Base Address (0xFED40000) = 0xA1
    HierarchyChangeAuth: Response Code error! 0x000009A2
    PROGRESS CODE: V03051001 I0
    PROGRESS CODE: V03058000 I0
    PROGRESS CODE: V03058001 I0
    GNU GRUB version 2.06

    /----------------------------------------------------------------------------\||||||||||||||||||||||||||----------------------------------------------------------------------------/ Use the ^ and v keys to select which entry is highlighted.

      Press enter to boot the selected OS, `e' to edit the commands       
    
      before booting or `c' for a command-line.                            *1. FOG Image Deploy/Capture                                                 2. Perform Full Host Registration and Inventory                             3. Quick Registration and Inventory                                         4. Client System Information (Compatibility)                                5. Run Memtest86+                                                           6. FOG Debug Kernel                                                         7. FOG iPXE Jumpstart BIOS                                                  8. FOG iPXE Jumpstart EFI                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              1. FOG Image Deploy/Capture                                                *2. Perform Full Host Registration and Inventory                             2. Perform Full Host Registration and Inventory                            *3. Quick Registration and Inventory                                         3. Quick Registration and Inventory                                        *4. Client System Information (Compatibility)                                4. Client System Information (Compatibility)                               *5. Run Memtest86+                                                           5. Run Memtest86+                                                          *6. FOG Debug Kernel                                                        loading the kernel
    

    loading the virtual hard drive

    booting kernel…

    IioSecureOnExitBootServices…
    SmmInstallProtocolInterface: 296EB418-C4C8-4E05-AB59-39E8AF56F00A 0
    EnablePatrolScrubatEndofPostCallback Exit
    PROGRESS CODE: V03101019 I0

    G 1 Reply Last reply Nov 29, 2023, 10:58 PM Reply Quote 0
    • G
      george1421 Moderator @sgilbe
      last edited by Nov 29, 2023, 10:58 PM

      @sgilbe I’m not seeing anything that jumps out at me as being wrong. It surely seems to fail at starting the kernel.

      Are you sure you don’t have secure boot enabled on this system?

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

      S 1 Reply Last reply Nov 30, 2023, 4:34 PM Reply Quote 0
      • S
        sgilbe @george1421
        last edited by Nov 30, 2023, 4:34 PM

        @george1421 Yes secure boot is disabled. Here is a picture of the BIOS setting.

        5dc8880c-28df-493c-87c6-1d8aed0d112b-image.png

        1 Reply Last reply Reply Quote 0
        • S
          SaturTP
          last edited by Dec 4, 2023, 4:20 PM

          I have the same problem on a HP Z8 G5 dual Xeon silver 4410Y some kernels show just the first line, others bothIMG_20231204_171625.jpg

          S 1 Reply Last reply Dec 4, 2023, 4:51 PM Reply Quote 0
          • S
            sgilbe @SaturTP
            last edited by Dec 4, 2023, 4:51 PM

            @SaturTP I am glad I am not the only one having this issue. Hopefully we can figure out what is causing the issue and get a fix implemented. Currently we are imaging our systems with this issue by hand which is taking a lot more time. I have it on a Quanta and a SMC server as well.

            R 1 Reply Last reply Dec 4, 2023, 5:54 PM Reply Quote 0
            • R
              rodluz Developer @sgilbe
              last edited by Dec 4, 2023, 5:54 PM

              @sgilbe Hi, sorry for the delay.
              I have 3 new kernels to try. I hope one of these works for you https://drive.google.com/drive/folders/1sP6dfRymYaFTCr8iRiK64hN2pp2X836n?usp=drive_link

              If any one of these works, please let me know which one so I can document it.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              S S 2 Replies Last reply Dec 5, 2023, 11:09 AM Reply Quote 0
              • T
                Tom Elliott @sgilbe
                last edited by Dec 4, 2023, 8:41 PM

                @sgilbe Just a thought here, but is there a possible firmware update needed for these devices too?

                I don’t think updating the kernels is going to be a bad thing but also ensuring the firmware is updated to the latest for efi stub integration seems the next potentially most logical step?

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                S 1 Reply Last reply Dec 5, 2023, 4:25 PM Reply Quote 0
                • S
                  SaturTP @rodluz
                  last edited by Dec 5, 2023, 11:09 AM

                  @rodluz @sgilbe Hi, I just found a workarround.

                  Disabling Virtualization, VTx and VTd makes it boot with every kernel at least in my case.

                  S J 3 Replies Last reply Dec 5, 2023, 4:48 PM Reply Quote 0
                  • S
                    sgilbe @Tom Elliott
                    last edited by Dec 5, 2023, 4:25 PM

                    @Tom-Elliott I have updated all systems to the latest firmware versions. I will go and check to make sure again that I am on the latest versions of firmware.

                    1 Reply Last reply Reply Quote 0
                    • S
                      sgilbe @SaturTP
                      last edited by Dec 5, 2023, 4:48 PM

                      @SaturTP I will try disabling virtualization however we do need that to be enabled on our servers. But if this works then at least it is pointing to the possible root of the issue.

                      R 1 Reply Last reply Dec 5, 2023, 5:20 PM Reply Quote 0
                      • R
                        rodluz Developer @sgilbe
                        last edited by Dec 5, 2023, 5:20 PM

                        @SaturTP That’s an interesting find, I’ll check why this would be the problem.
                        @sgilbe If disabling virtualization makes it work for you too, I’ll add one more kernel to the drive share for you to try.

                        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                        S 2 Replies Last reply Dec 7, 2023, 6:59 PM Reply Quote 0
                        • S
                          sgilbe @SaturTP
                          last edited by Dec 5, 2023, 7:03 PM

                          @SaturTP I have disabled Virtualization and VTd but unable to find VTx. So far with these two items it is still failing. Where did you find VTx. Just a generalized location will work hopefully.

                          1 Reply Last reply Reply Quote 0
                          • S
                            sgilbe @rodluz
                            last edited by Dec 5, 2023, 7:08 PM

                            @rodluz I have tried all 3 kernels the dist1 has the same issue. dist2 and 3 show the following message.

                            25ab355c-7b60-48ac-a7dd-b9aaa0fe9f16-image.png

                            Then they go back to the main menu.

                            1 Reply Last reply Reply Quote 0
                            • S
                              sgilbe @rodluz
                              last edited by Dec 7, 2023, 6:59 PM

                              @rodluz Are you able to try enabling virtualization in the kernel to see if it fixes it for SaturTP maybe it will help me my issue as well.

                              R 1 Reply Last reply Dec 11, 2023, 5:20 PM Reply Quote 0
                              • R
                                rodluz Developer @sgilbe
                                last edited by Dec 11, 2023, 5:20 PM

                                @sgilbe I uploaded two more kernels with virtualization enabled (dist_virt_1 & dist_virt_2). Let me know if this works for you.
                                https://drive.google.com/drive/folders/1sP6dfRymYaFTCr8iRiK64hN2pp2X836n

                                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                S 2 Replies Last reply Dec 13, 2023, 10:26 PM Reply Quote 0
                                • S
                                  sgilbe @rodluz
                                  last edited by Dec 13, 2023, 10:26 PM

                                  @rodluz These both give me the same error after loading the kernel. Error: kernel doesn’t support EFI handover. This is the same error I was getting with dist 2 and 3. dist 1 did not give this error.

                                  R 1 Reply Last reply Dec 14, 2023, 12:34 AM Reply Quote 0
                                  • R
                                    rodluz Developer @sgilbe
                                    last edited by rodluz Dec 13, 2023, 6:34 PM Dec 14, 2023, 12:34 AM

                                    @sgilbe Okay, I did some changes and reuploaded dist_virt_1 & dist_virt_2. Can you try them again?

                                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                    S 1 Reply Last reply Dec 14, 2023, 5:43 PM Reply Quote 0
                                    • S
                                      sgilbe @rodluz
                                      last edited by Dec 14, 2023, 5:43 PM

                                      @rodluz thank you for your current help on this. I have tried both the 2 new images you have provided and they are both failing back at the booting kernel that I see when I try to boot the original kernels off the USB drive. Would it be helpful for you to be able to remotely access the system and login to it?

                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jfernandz @SaturTP
                                        last edited by Dec 19, 2023, 3:31 PM

                                        @SaturTP said in Client hangs at EFI stub::

                                        @rodluz @sgilbe Hi, I just found a workarround.

                                        Disabling Virtualization, VTx and VTd makes it boot with every kernel at least in my case.

                                        I can confirm just disabling VT the kernel boots 😄, thank you @SaturTP

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          sgilbe @rodluz
                                          last edited by Dec 19, 2023, 4:58 PM

                                          @rodluz I got it working. I was able to boot into the debug kernel from the usb and was able to get it to boot into the deploy image.

                                          I disabled Virtualization, VT-d, and X2APIC

                                          I was missing the X2APIC setting once that was disabled it started working. thank you all for your help in getting this working.

                                          1 Reply Last reply Reply Quote 1
                                          • 1
                                          • 2
                                          • 3
                                          • 4
                                          • 4 / 4
                                          4 / 4
                                          • First post
                                            62/74
                                            Last post

                                          159

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project