This repository has been archived by the owner on May 30, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
sys-kernel: enable IOMMU on arm64
On Gigabyte R152-P31 arm64 servers, the Flatcar PXE images hang during the boot process, making them unusable, while Fedora CoreOS images work.
The kernel seems to start correctly, however it invariably ends up printing this message and hanging:
Enabling IOMMU seems to make the problem disappear.
How to use
Build the kernel and boot it. It might be hard to test without real hardware, but it did fix it for our Gigabyte R152-P31 server.
Testing done
Ran the following commands to build the kernel and initramfs:
Then, after uploading both vmlinuz and the initramfs to our pxe server, booted it with the following grub config:
... and the following ignition config:
With the config change, the kernel boots properly and I get to the login screen. Without it, the kernel eventually hangs and dumps stacktraces every so often.
changelog/
directory (user-facing change, bug fix, security fix, update)/boot
and/usr
size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.Fixes flatcar/Flatcar#871.