update-bootengine: add missing kernel modules back#40
Merged
pothos merged 1 commit intoflatcar-masterfrom Mar 15, 2022
Merged
Conversation
Compared to Flatcar major version 3033 these modules went missing from the initramfs: glue_helper.ko.xz md4.ko.xz aoe.ko.xz brd.ko.xz drbd.ko.xz nbd.ko.xz rbd.ko.xz xen-blkfront.ko.xz zram.ko.xz pps_core.ko.xz ptp.ko.xz nfs_ssc.ko.xz libarc4.ko.xz lru_cache.ko.xz zsmalloc.ko.xz The "loop" module already was added because PXE boots broke. The xen-blkfront module however also broke booting on m4 AWS EC2 instances. Add those modules from the above list back to the initramfs which are present on the 5.15 kernel.
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Mar 14, 2022
This pulls in flatcar/bootengine#40 to add the kernel modules back that disappeared compared to Stable 3033.x.y with the 5.10 kernel.
1 task
jepio
approved these changes
Mar 15, 2022
Member
jepio
left a comment
There was a problem hiding this comment.
If we need to make more changes to this list, then next time let's create a new dracut module to collect these.
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Mar 15, 2022
This pulls in flatcar/bootengine#40 to add the kernel modules back that disappeared compared to Stable 3033.x.y with the 5.10 kernel.
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Mar 15, 2022
This pulls in flatcar/bootengine#40 to add the kernel modules back that disappeared compared to Stable 3033.x.y with the 5.10 kernel.
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Mar 15, 2022
This pulls in flatcar/bootengine#40 to add the kernel modules back that disappeared compared to Stable 3033.x.y with the 5.10 kernel.
pothos
added a commit
to flatcar-archive/coreos-overlay
that referenced
this pull request
Mar 15, 2022
This pulls in flatcar/bootengine#40 to add the kernel modules back that disappeared compared to Stable 3033.x.y with the 5.10 kernel.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Compared to Flatcar major version 3033 these modules went missing from
the initramfs:
glue_helper.ko.xz md4.ko.xz aoe.ko.xz brd.ko.xz drbd.ko.xz nbd.ko.xz
rbd.ko.xz xen-blkfront.ko.xz zram.ko.xz pps_core.ko.xz ptp.ko.xz
nfs_ssc.ko.xz libarc4.ko.xz lru_cache.ko.xz zsmalloc.ko.xz
The "loop" module already was added because PXE boots broke. The
xen-blkfront module however also broke booting on m4 AWS EC2 instances.
Add those modules from the above list back to the initramfs which are
present on the 5.15 kernel.
How to use
Build and test booting on m4 instances, but it also requires the kernel commit revert for networking
Testing done
Tested that the initramfs has the modules now (unpack Stable 3033.2.3 and this build's vmlinuz with
extract-initramfs-from-vmlinuz.shand look that things like zram.ko.xz don't appear on the left sdiff side but not on the right. Also check dracut logs from coreos-kernel.changelog/directory (user-facing change, bug fix, security fix, update)↑ in coreos-overlay