-
Notifications
You must be signed in to change notification settings - Fork 58
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
Unable to boot Ubuntu 22.04 LTS (cloud image) on arm64 #298
Comments
* firmware: fetch EDK2 firmware instead of Rust Hypervisor Firmware To work around cloud-hypervisor/rust-hypervisor-firmware#298. * fetch(): validate HTTP response code * Single Fetch() method that accepts a function + export FetchURL method * Move FetchURL() and FetchURLToFile() to binaryfetcher package * binaryfetcher.Fetch() → binaryfetcher.GetOrFetch() * fetch.go → fetchurl.go
I tried to reproduce it on Neoverse-N1, with current (20231207) Ubuntu 22.04 Jammy cloud image (sha256sum: d74dc6f9bc92da4dff973bab1b6dab411c7b6a5219fcdbec25413832cb4b23ba), but cannot. Here is a part of the log:
I also tried Ubuntu 22.04 image 20231201, sha256sum: ea069246bbd12557ee13cd17f4f8be55a3885a7186c98a3afc677babde136d1f with exactly same command line arguments, but still cannot reproduce it. |
I seem to be running into this as well using Ubuntu 22.04 cloud-image + cloud-hypervisor main @retrage on a |
I have no idea why we cannot reproduce the issue. We can close this issue when your PR #346 is merged. |
Bumping the possible page table range from 128G to 2TB to support larger systems. Fixes cloud-hypervisor#298 Signed-off-by: Andrew Carp <[email protected]>
I ran into this while attempting to create VMs with a DRAM region > 126G. I took some time to investigate and found that the issue is around a fixed limit of 128G on the page table for aarch64. In the aarch64 memory layout the page table is hardcoded to a max address space of 128G, so going beyond that exhausts the page table limit.
Including the space reserved for the kernel as well as MMIO the 128G allocated leaves about 126G for total System Memory. I've put out a PR to bump this limit to support the systems that we're developing with (2TB). |
Bumping the possible page table range from 128G to 2TB to support larger systems. Fixes #298 Signed-off-by: Andrew Carp <[email protected]>
How to reproduce
Expected output
The VM boots and shows
ubuntu login:
.Actual output
The VM hangs and 100% CPU usage by Cloud Hypervisor process can be observed.
Versions tested
Rust Hypervisor Firmware built from
main
, and:Hardware used
a1.metal
AWS EC2 instance running Debian 12 (arm64
).Notes
EDK2 works is just fine.
Related: #198.
The text was updated successfully, but these errors were encountered: