-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
[Bug] Unable to boot with new(er) kernel #4816
Comments
I have been having the same problems for weeks/months and have not been able to solve it. In my case I was running 5.10 fine for several months, until it stopped working on new hosts. I've tried Intel and AMD CPUs, built different kernel versions (5.10, 6.1, 6.9), used included and pre-built kernels, used different boot args (e.g. specifying root), built several root filesystems in different ways (ext4 as I did previously, using the included scripts, using Docker, building manually according to the guide), and played with permissions/uids. I initially suspected it was due to me switching building the rootfs on the host system to building it in a Docker container, however I never got it working again. Edit: Linux version and command line args passed by default on firecracker v1.3.3
Linux version and command line args passed by default on firecracker v1.8.0
Edit 2: |
Ok, thanks for the hint with the older versions. It never came to my mind try older versions. I can confirm that with the firecracker Edit: Finally after some tweaking (own 6.1 kernel compile) I am able to run docker inside firecracker which was my original intent. Only the problem with boot of firecracker |
Hello, and thanks for reporting this. I suspect this has to do with us introducing ACPI support with Firecracker v1.8.0. If only We also trying to upstream the same fix: https://www.spinics.net/lists/linux-acpi/msg125662.html The weird thing, though, is that you observe the behaviour with the kernels from our CI. Could you please:
Disabling ACPI all together should also work, however, we are deprecating |
Boot logs with firecracker_boot_6.1.102.txt |
Could you drop the
|
Yep. That did the trick. Now I can boot with |
My working boot args are now |
Yes, we should update the documentation to fix that. If you feel like, PRs are welcome. Otherwise, we'll open a PR once we find some free time :) Thanks again for reporting. |
Same problem when I updated from an older Firecracker version - removing |
Description
Can't boot the VM with new kernel other than firecracker's 4.14.
I'm always getting:
Tried firecracker's 5.10.223 and 6.1.102 and also built my own with provided
.config
from the repo all with the same error as pasted above.When using
4.14
kernel, VM boots without any problem (but it lack's nftables support, which is the reason I'm trying/building the new one)Static json config and mainly the rootfs drive path options for the VM are the same for all kernel variants with respective changes of the
kernel_image_path
.Rootfs is
alpine.ext4
file made by the help of this doc.Host os is Ubuntu with 6.9.5 kernel
To Reproduce
Expected behaviour
Boots with newer or own kernel without any problem.
Environment
Additional context
static json config for the VM:
Checks
✅ Have you searched the Firecracker Issues database for similar problems?
✅ Have you read the existing relevant Firecracker documentation?
✅ Are you certain the bug being reported is a Firecracker issue?
The text was updated successfully, but these errors were encountered: