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

vm start failed for using CLOUDHV_EFI.fd in aarch64 #5945

Open
grass-lu opened this issue Nov 11, 2023 · 6 comments
Open

vm start failed for using CLOUDHV_EFI.fd in aarch64 #5945

grass-lu opened this issue Nov 11, 2023 · 6 comments

Comments

@grass-lu
Copy link

Describe the bug
A clear and concise description of what the bug is.
vm using CLOUDHV_EFI.fd start failed in aarch64

the output :
Synchronous Exception at 0x000000006BBFD5C4

Synchronous Exception at 0x000000006BBFD5C4

To Reproduce
Steps to reproduce the behaviour:
1、build uefi firmware , according to this documentation: https://github.com/cloud-hypervisor/cloud-hypervisor/blob/main/docs/hotplug.md#pci-device-hot-plug.
2、start vm
the command line:
./cloud-hypervisor --kernel ./CLOUDHV_EFI.fd --disk path=focal-server-cloudimg-arm64.raw --cpus boot=4,max=16 --memory size=1024M,hotplug_size=8192M --net tap=,mac=,ip=192.168.10.2,mask=255.255.255.0 --cmdline console=ttyAMA0 root=/dev/vda1 rw --api-socket /tmp/ch-socket --serial tty --console off -vvv --log-file=/tmp/fw.log

3、the output
Synchronous Exception at 0x000000006BBFD5C4

Synchronous Exception at 0x000000006BBFD5C4
4、 the trace log
fw.log

Version

Output of cloud-hypervisor --version:
cloud-hypervisor v36.0.0

Did you build from source, if so build command line (e.g. features):

VM configuration

What command line did you run (or JSON config data):

Guest OS version details:

Host OS version details:

Logs

Output of cloud-hypervisor -v from either standard error or via --log-file:

Linux kernel output:

@grass-lu
Copy link
Author

grass-lu commented Nov 12, 2023

#5202

@michael2012z
Copy link
Member

@jongwu Do you know the latest progress of the fix in the UEFI shim? And is there any workaround available?

@jongwu
Copy link
Contributor

jongwu commented Nov 13, 2023

This bug has been fixed in UEFI shim side. But Ubuntu has not update UEFI shim that including the fix.
Currently, you can checkout to an earlier tag, eg, edk2-stable202211 to build edk2.

@weltling
Copy link
Member

@jongwu, an accompanying question - there is currently 20220924 packaged on the OBS side http://download.opensuse.org/repositories/home:/cloud-hypervisor/ , guess that is still expected to work. Otherwise, would it be recommended to pull an updated EDK2 there, too?

Thanks

@jongwu
Copy link
Contributor

jongwu commented Nov 13, 2023

@weltling -, As there is no big change for Edk2/CloudHv in the past one year, we can keep it for now, I think.

@weltling
Copy link
Member

Got it, thanks for the recommendation, @jongwu!

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

4 participants