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

The instructions on the README are wrong #189

Open
rminnich opened this issue Nov 13, 2024 · 1 comment
Open

The instructions on the README are wrong #189

rminnich opened this issue Nov 13, 2024 · 1 comment
Assignees

Comments

@rminnich
Copy link

alioth -l info --log-to-file       run       --kernel ~/tmp/vmlinuz        --cmd-line "console=ttyS0"       --initramfs ~/tmp/initramfs.linux_amd64.cpio       --mem-size 4G       --num-cpu 2

returns

Please update the cmd line to --memory size=4G,backend=memfd

Then it hangs.

@Lencerf
Copy link
Collaborator

Lencerf commented Nov 13, 2024

Thanks for the feedback! I think there are 2 issues here,

  1. The instructions are not updated after --mem-size is deprecated and --memory is introduced. I will update the doc later.
  2. There are some known issues with VCPU synchronization in the error handling paths. In your case, most likely that the BSP thread had some errors and the AP thread were waiting BSP thread indefinitely. One quick workaround is to change --num-cpu to 1 and see what is the error in BSP thread.

@Lencerf Lencerf self-assigned this Nov 13, 2024
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

2 participants