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 hangs at boot #811
Comments
Code references
Building with guest debugGeneral build instructions: building.md
Core dump
Crash Utility
Debug symbolsInstalling: https://hadibrais.wordpress.com/2017/03/13/installing-ubuntu-kernel-debugging-symbols/
|
Linux kernel code that prints the expected message:
https://stackoverflow.com/questions/60803129/kernel-debugging-vmlinux-gdb-py-fails-to-run-on-gdb
https://www.kernel.org/doc/html/latest/dev-tools/gdb-kernel-debugging.html |
|
Ah, we forgot to close this, but it was indeed https://gitlab.com/qemu-project/qemu/-/issues/1696, and identifying that the default kernel shipped on the GitHub Action image does not have that kernel patch applied, I inspected the Azure 6.5 variant package of the kernel, found that the tick patch was applied, we tried it, and the problem went away. |
Serial log
VM is stuck, and last few lines are the following:
In a successful boot, next line should be:
gdb
Also gdb backtrace doesn't show anything useful. Maybe we should install cloud-hypervisor debug symbols:
strace output
strace -p [vcpu thread id]
outputs following and is stuckand
strace -p [cloud hypervisor pid]
outputs following and is stuckSPDK
Last lines of SPDK log:
VM's cpu, memory, and disk config
The text was updated successfully, but these errors were encountered: