Closed rn closed 3 years ago
It seems that this kernel bug is triggered on older kernels, but only if the wmi-bmof ACPI driver is configured. Since Firecracker does not currently use ACPI, so I think running the guest kernel with acpi=off
should work.
Moreover, since this is a kernel bug, I assume there isn't much Firecracker can do about it.
If there's something I'm missing, feel free to reopen the issue.
It looks like the lack of ACPI in firecracker triggers a kernel bug present in 4.13.x...4.17.x kernels depending on the kernel config used.
This is not really a firecracker issue and I only provide the details here as a FYI in case others hit the same issue.
I've booted a 4.14 kernel on firecracker (and crosvm) with this kernel config and got the following crash:
After poking around a little, the crash happens when the
wmi-bmof
driver gets registered (WMI is part of the ACPI subsystem) and an upstream commit (0dda2bb62423 ("driver-core: return EINVAL error instead of BUG_ON()")
) fixes the crash. The fix is in 4.18.x or newer but it does not look like the upstream commit has been marked for back porting to older stable releases. Thewmi-bmof
driver, which triggers the bug, was introduced with 4.13.x