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

[issue]: Synchronous Exception at [RAM Address] while booting ventoy on aarch64 UEFI cloud machines #1658

Open
1 task done
JamesLewisLiu opened this issue Jun 7, 2022 · 5 comments

Comments

@JamesLewisLiu
Copy link

JamesLewisLiu commented Jun 7, 2022

Official FAQ

  • I have checked the official FAQ.

Ventoy Version

1.0.75

What about latest release

Yes. I have tried the latest release, but the bug still exist.

BIOS Mode

UEFI Mode

Partition Style

GPT

Disk Capacity

50GB

Disk Manufacturer

No response

Image file checksum (if applicable)

Yes.

Image file download link (if applicable)

No response

What happened?

A bug happened while booting ventoy on aarch64 UEFI Oracle cloud machines.
Before trying Ventoy I can successfully boot into Ubuntu, Debian and Arch Boot by using netboot.xyz
The following output is error output
Synchronous Exception at 0x0000000637DBF228

Synchronous Exception at 0x0000000637DBF228
PC 0x000637DBF228
PC 0x000637DBDDE4
PC 0x000637D3CB2C
PC 0x000637D30334
PC 0x000637D30848
PC 0x000637D30B6C
PC 0x000637D30BE4
PC 0x000637DBF058
PC 0x00063F48F1EC (0x00063F488000+0x000071EC) [ 1] DxeCore.dll
PC 0x0006384C1148 (0x0006384AD000+0x00014148) [ 2] UiApp.dll
PC 0x0006384CCD20 (0x0006384AD000+0x0001FD20) [ 2] UiApp.dll
PC 0x00063BCFC910 (0x00063BCE1000+0x0001B910) [ 3] SetupBrowser.dll
PC 0x00063BCFD5C8 (0x00063BCE1000+0x0001C5C8) [ 3] SetupBrowser.dll
PC 0x00063BCE3128 (0x00063BCE1000+0x00002128) [ 3] SetupBrowser.dll
PC 0x0006384AECD0 (0x0006384AD000+0x00001CD0) [ 4] UiApp.dll
PC 0x0006384B0358 (0x0006384AD000+0x00003358) [ 4] UiApp.dll
PC 0x0006384B0200 (0x0006384AD000+0x00003200) [ 4] UiApp.dll
PC 0x0006384AE86C (0x0006384AD000+0x0000186C) [ 4] UiApp.dll
PC 0x0006384AE05C (0x0006384AD000+0x0000105C) [ 4] UiApp.dll
PC 0x00063F48F1EC (0x00063F488000+0x000071EC) [ 5] DxeCore.dll
PC 0x00063BBEEA60 (0x00063BBDE000+0x00010A60) [ 6] BdsDxe.dll
PC 0x00063BBE1024 (0x00063BBDE000+0x00003024) [ 6] BdsDxe.dll
PC 0x00063F48A668 (0x00063F488000+0x00002668) [ 7] DxeCore.dll
PC 0x00063F4898BC (0x00063F488000+0x000018BC) [ 7] DxeCore.dll
PC 0x00063F489020 (0x00063F488000+0x00001020) [ 7] DxeCore.dll
[ 1] /builddir/build/BUILD/edk2-1.5.1/Build/ArmVirtQemu-AARCH64/DEBUG_GCC48/AARCH64/MdeModulePkg/Core/Dxe/DxeMain/DEBUG/DxeCore.dll
[ 2] /builddir/build/BUILD/edk2-1.5.1/Build/ArmVirtQemu-AARCH64/DEBUG_GCC48/AARCH64/MdeModulePkg/Application/UiApp/UiApp/DEBUG/UiApp.dll
[ 3] /builddir/build/BUILD/edk2-1.5.1/Build/ArmVirtQemu-AARCH64/DEBUG_GCC48/AARCH64/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe/DEBUG/SetupBrowser.dll
[ 4] /builddir/build/BUILD/edk2-1.5.1/Build/ArmVirtQemu-AARCH64/DEBUG_GCC48/AARCH64/MdeModulePkg/Application/UiApp/UiApp/DEBUG/UiApp.dll
[ 5] /builddir/build/BUILD/edk2-1.5.1/Build/ArmVirtQemu-AARCH64/DEBUG_GCC48/AARCH64/MdeModulePkg/Core/Dxe/DxeMain/DEBUG/DxeCore.dll
[ 6] /builddir/build/BUILD/edk2-1.5.1/Build/ArmVirtQemu-AARCH64/DEBUG_GCC48/AARCH64/MdeModulePkg/Universal/BdsDxe/BdsDxe/DEBUG/BdsDxe.dll
[ 7] /builddir/build/BUILD/edk2-1.5.1/Build/ArmVirtQemu-AARCH64/DEBUG_GCC48/AARCH64/MdeModulePkg/Core/Dxe/DxeMain/DEBUG/DxeCore.dll

X0 0x0000000000000000 X1 0x0000000637DC2F64 X2 0x0000000000000003 X3 0x000000000000003A
X4 0x0000000000000000 X5 0x000000000000003A X6 0x0000000000000060 X7 0x0000000000000003
X8 0x0000000000000000 X9 0xFFFFFFFFFFFFFFFF X10 0x0000000000000200 X11 0x0000000000000020
X12 0x0000000637132F98 X13 0x0000000637132F00 X14 0x0000000637132F60 X15 0x0000000000000001
X16 0x000000063F4877E0 X17 0x0000000000000000 X18 0x0000000000FFFFFF X19 0x000000063714EFE0
X20 0x0000000000000001 X21 0x0000000637DC2F64 X22 0x000000063F4876BF X23 0x0000000000000000
X24 0x0000000000000000 X25 0x0000000000000000 X26 0x0000000000000000 X27 0x0000000637D30000
X28 0x0000000000000000 FP 0x000000063F487630 LR 0x0000000637DBDDE4

V0 0xAFAFAFAFAFAFAFAF AFAFAFAFAFAFAFAF V1 0x63702F6666666666 6666666666666666
V2 0x63732F372C323140 6567646972622D69 V3 0x0000000000000000 0000000000000000
V4 0x0000000040000000 0000000000000000 V5 0x4010040140100401 4010040140100401
V6 0x0040000000000000 0040000000000000 V7 0x0000000000000000 0000000000000000
V8 0x0000000000000000 0000000000000000 V9 0x0000000000000000 0000000000000000
V10 0x0000000000000000 0000000000000000 V11 0x0000000000000000 0000000000000000
V12 0x0000000000000000 0000000000000000 V13 0x0000000000000000 0000000000000000
V14 0x0000000000000000 0000000000000000 V15 0x0000000000000000 0000000000000000
V16 0x0000000000000000 0000000000000000 V17 0x0000000000000000 0000000000000000
V18 0x0000000000000000 0000000000000000 V19 0x0000000000000000 0000000000000000
V20 0x0000000000000000 0000000000000000 V21 0x0000000000000000 0000000000000000
V22 0x0000000000000000 0000000000000000 V23 0x0000000000000000 0000000000000000
V24 0x0000000000000000 0000000000000000 V25 0x0000000000000000 0000000000000000
V26 0x0000000000000000 0000000000000000 V27 0x0000000000000000 0000000000000000
V28 0x0000000000000000 0000000000000000 V29 0x0000000000000000 0000000000000000
V30 0x0000000000000000 0000000000000000 V31 0x0000000000000000 0000000000000000

SP 0x000000063F487630 ELR 0x0000000637DBF228 SPSR 0x20000205 FPSR 0x00000000
ESR 0x96000007 FAR 0x0000000000000000

ESR : EC 0x25 IL 0x1 ISS 0x00000007

Data abort: Translation fault, third level

Stack dump:
000063F487530: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
000063F487550: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
000063F487570: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
000063F487590: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
000063F4875B0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
000063F4875D0: 0000000000000000 0000000000000000 0000000000000000 0000000000000000
000063F4875F0: 0000000000000000 0000000000000000 000000063BCA3494 0000000020000304
000063F487610: 0000000000000000 0000000096000007 0000000000000000 0000000000000003

000063F487630: 000000063F487670 0000000637D3CB2C 000000063714B260 0000000000000000
000063F487650: 0000000000000040 0000000637D30000 000000063714EFE0 0000000000000000
000063F487670: 000000063F4876C0 0000000637D30334 000000063F487748 000000063714EFE0
000063F487690: 0000000637D30000 0000000637D30000 000000063714EFE0 0000000637D30830
000063F4876B0: 000000063714F3C0 0000000637D30000 000000063F4876E0 0000000637D30848
000063F4876D0: 000000063714F3C0 0000000637D30000 000000063F487750 0000000637D30B6C
000063F4876F0: 0000000637D48460 0000000637151A60 0000000637DBF000 0000000637151F00
000063F487710: 0000000637DBF000 0000000637DBF000 0000000000000000 0000000000000000
ASSERT [ArmCpuDxe] /builddir/build/BUILD/edk2-1.5.1/ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c(273): ((BOOLEAN)(0==1))

@ventoy
Copy link
Owner

ventoy commented Jun 8, 2022

ARM64 platform is hardware dependent, so only the images and hardware listed bellow are tested and guaranteed to work fine.
https://www.ventoy.net/en/doc_aarch64.html

Someone else has reported the same issue before, currently I have no idea about it.

@JamesLewisLiu
Copy link
Author

I think try rebuilding part of file on the cloud machine may solve it but I have no idea about how to rebuild the ventoy on arm machines

@amazingfate
Copy link
Contributor

I have exactly the same code on a rk3588 SBC, which has an opensource edk2 UEFI firmware. It seems that BOOTAA64.EFI has some api that my UEFI firmware doesn't support.
@ventoy do you know how to locate the exception code from the above log like PC 0x000637DBF228? grub-mkimage doesn't generate BOOTAA64.EFI with debug symbols. And I can build ventoy myself to get debug symbols from file like ventoy.module.
If I can find where the exception happens I can look into the edk2 source code to see how to support ventoy from UEFI firmware.

@amazingfate
Copy link
Contributor

@JamesLewisLiu Does your machine support UEFI secure boot?

@ventoy
Copy link
Owner

ventoy commented Jul 20, 2023

@JamesLewisLiu
You can try the latest 1.0.94 release.

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

No branches or pull requests

3 participants