Open kanpov opened 3 weeks ago
Is there any progress on this?
Hi @kanpov,
This issue appears to happen because we build from Amazon Linux which has some patches that allow ACPI to be enabled without PCI. To resolve this you can set CONFIG_PCI=y
in your config file, or you can build from Amazon Linux as we do.
A link to our docs on booting with acpi on x86-64 can be found here.
Thanks
Describe the bug
The x86_64 6.1 guest kernel config as it is currently on master after the https://github.com/firecracker-microvm/firecracker/commit/9157a0cf7188706cef3bbe01316171964f569a76 commit, runs seemingly okay with the latest 6.1 kernel (6.1.114), but produces an unusually larger vmlinux (38MB instead of 29MB), and when booting a VM with it the following happens:
To Reproduce
.config
make -j N vmlinux
in the dir with N being the number of cores, I personally used 12 as I hit this bug but I doubt this mattersvmlinux
anywhere used to start Firecracker VMsExpected behaviour
Everything would build correctly and the VM would start.
Environment
Additional context
Even though the output is the same as https://github.com/firecracker-microvm/firecracker/issues/4816, I'm quite sure this isn't the same issue as I'm not using
noapic
as a kernel boot arg (mine areconsole=ttyS0 reboot=k panic=1
) and adding/removing it doesn't change anything.HOWEVER! the way I pinned this issue down to that specific commit is that if you take the commit right before that problematic one and open the relevant guest kernel config in it: https://github.com/firecracker-microvm/firecracker/blob/86a2559b26a4b9a05405aeaa58bab0f7261d71bc/resources/guest_configs/microvm-kernel-ci-x86_64-6.1.config
And do the same steps with that config, everything works perfectly and a 29MB working vmlinux is produced.
Checks