Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESXI installer fails to boot on VP66xx #1232

Open
mysteriousCzrsX opened this issue Feb 4, 2025 · 6 comments
Open

ESXI installer fails to boot on VP66xx #1232

mysteriousCzrsX opened this issue Feb 4, 2025 · 6 comments

Comments

@mysteriousCzrsX
Copy link

mysteriousCzrsX commented Feb 4, 2025

Component

Dasharo firmware

Device

Protectli VP6670, Protectli VP6650

Dasharo version

v0.9.1

Dasharo Tools Suite version

No response

Test case ID

No response

Brief summary

When trying to boot the ESXI 8.0U3 intaller on VP6670 or VP6650 platforms it will hang on Shutting down firmware services.... When installer is booted manually from the uefi shell with -V (verbose option) we can see the following output before it hangs:

Shutting down firmware services...
Measuring existing page tables...
...allocating new page tables...
..will move 3 pages to 0x6be7e000
About to ExitBootServices...
...successful
Copying page tables...
...switching page tables 1...
...running on new page tables
Scanning system tables...

How reproducible

100%

How to reproduce

Insert a flash drive with ESXI installer into the DUT. Power on the DUT and boot from the flash drive.

Expected behavior

ESXI installer boots correctly.

Actual behavior

ESXI installer hangs on Shutting down firmware services...

Screenshots

No response

Additional context

No response

Solutions you've tried

The following solutions were tested:

  • booting the installer headless (-H option)
  • booting the installer with workarounds disabled (-Q option)
  • booting the installer without UEFI runtime services support (-U option)

Examining the bootloader code, I was able to determine based on the output that the installer produces before hanging that it hangs after mboot/system.c line 239. Most likely on function e820_mmap_merge or system_blacklist_memory.
This explains why the latter two solutions did not work - installer crashes before those parameters take any effect.

@miczyg1
Copy link
Contributor

miczyg1 commented Feb 4, 2025

Last time I fixed the hang it was occurring at ...switching page tables 1.... Now it seems like another issue popped up, probably due to an updated version of ESXi. Well, this calls again for more debugging and analysis @BeataZdunczyk

@miczyg1
Copy link
Contributor

miczyg1 commented Feb 4, 2025

@mysteriousCzrsX BTW mboot/x86/system.c does not exist. But mboot/system.c does.

@mysteriousCzrsX
Copy link
Author

@miczyg1 My bad path is right now

@miczyg1
Copy link
Contributor

miczyg1 commented Feb 10, 2025

VP6670 worked before with ESXI 100%. Maybe the newer version has another issue. What was the exact version of ESXI used?

@mysteriousCzrsX
Copy link
Author

I used ESXI 8.0U3.

@miczyg1
Copy link
Contributor

miczyg1 commented Feb 14, 2025

I used ESXI 8.0U3.

Great, but it should be indicated in the issue summary

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants