Conversation
Point every amd64 build at the eve-kernel-amd64-v6.18.46-generic branch. HV=k selects the hwe config flavour, an Ubuntu-generic derivation with the full module set; PLATFORM=rt keeps rt, and every other HV keeps core. arm64 and riscv64 are untouched -- they have no 6.18 branch. HV therefore becomes an input to kernel selection alongside ZARCH and PLATFORM. It is set in the main Makefile well before kernel-version.mk is included, so no reordering is needed. Raise ROOTFS_MAXSIZE_MB from 290 to 295 for the non-k, non-nvidia builds. The 6.18 core rootfs measures 306,147,328 B (291.96 MiB), roughly 2 MiB over the historical 290 MiB check, so HV=kvm fails that assertion without this. The binding constraint is the 300 MB rootfs partition on devices installed by pre-10.2.0 EVE, so 295 retains 5 MB of margin against it. HV=k is unaffected, being already exempt at 10 GB; its hwe rootfs measures 563,175,424 B (537.09 MiB). Verified on amd64 by building and booting both flavours under QEMU. kvm boots 6.18.46-linuxkit-core-daa483f487da and k boots 6.18.46-hwe-daa483f487da, both to a login shell with no panics. bridge and veth are =m in hwe where core has them =y; both autoload on demand, so no explicit modprobe is required. Signed-off-by: Mikhail Malyshev <mike.malyshev@gmail.com>
rene
reviewed
Aug 27, 2026
| @@ -1,5 +1,6 @@ | |||
| KERNEL_COMMIT_amd64_next_generic = a65e45508b45 | |||
| KERNEL_COMMIT_amd64_v6.12.96_generic = 5ec53c5d956c | |||
Contributor
There was a problem hiding this comment.
Can we remove it from the list? That's the old one....
| # nvidia platform requires more space | ||
| ifeq (, $(findstring nvidia,$(PLATFORM))) | ||
| ROOTFS_MAXSIZE_MB=290 | ||
| ROOTFS_MAXSIZE_MB=295 |
Contributor
There was a problem hiding this comment.
Is this the actual size (5MB larger?)
Contributor
Author
There was a problem hiding this comment.
@eriknordmark rootfs is about 2 MiB larger, exact number is in "Changelog notes" section
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #6421 +/- ##
==========================================
+ Coverage 24.87% 25.21% +0.34%
==========================================
Files 506 516 +10
Lines 93177 94893 +1716
==========================================
+ Hits 23176 23931 +755
- Misses 68180 68957 +777
- Partials 1821 2005 +184 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Description
Moves every amd64 build to the new
eve-kernel-amd64-v6.18.46-genericbranch, and introduces thehweconfig flavour forHV=k.HVbecomes an input to kernel selection alongsideZARCHandPLATFORM. It is already set in the mainMakefilewell beforekernel-version.mkis included, so no reordering was needed. The resulting mapping:ZARCH/PLATFORM/HVkhwekvm/xen/minicorecorert, anyHVrtrthweis an Ubuntu-generic derivation carrying the full module set (~4400 modules), which is whatHV=kwants for broad server/edge hardware coverage.PLATFORM=rtdeliberately still wins overHV, so anrtbuild never silently losesPREEMPT_RTby being built ashwe. arm64 and riscv64 are untouched — there is no 6.18 branch for them.The kernel is pinned at
daa483f487da, which is onlf-edge/eve-kernel-amd64-v6.18.46-generic; thecore,rtandhweflavour images are all published, so this requires no kernel rebuild.Rootfs size cap
ROOTFS_MAXSIZE_MBis raised from 290 to 295 for the non-k, non-nvidia builds. The 6.18corerootfs measures 306,147,328 B (291.96 MiB), roughly 2 MiB over the historical 290 MiB assertion, soHV=kvmfails that check without this. The binding constraint is the 300 MB rootfs partition on devices installed by pre-10.2.0 EVE, so 295 keeps 5 MB of margin against it rather than consuming the whole partition.HV=kis unaffected — it is already exempt at 10 GB — and itshwerootfs measures 563,175,424 B (537.09 MiB).How to test and validate this PR
Check that the flavour selection resolves correctly:
Build and boot both amd64 flavours:
Both should reach a login shell with no kernel panic. Confirm the running kernel is the expected flavour — the console banner reads
6.18.46-linuxkit-core-daa483f487daforkvmand6.18.46-hwe-daa483f487dafork.Note that
bridgeandvethare=minhwewherecorehas them=y. Both autoload on demand; on a bootedHV=ksystem this can be confirmed with:What was verified, and what was not
Verified: both flavours build; both boot to a login shell under QEMU with zero panics/oops;
bridgeandvethautoload on thehwekernel; thekvmrootfs fits the raised cap with 3 MB spare.Not verified:
HV=kwas not driven far enough to exercise k3s / kubevirt / Longhorn convergence or EVE-created network instances, which needs a controller (Eden).PLATFORM=rtwas checked only for correct tag resolution — it was not built or booted. Testing was QEMU-only; no real hardware.Changelog notes
The amd64 kernel moves to 6.18.46.
HV=kamd64 builds now use a large hardware-enablement kernel configuration derived from Ubuntu's generic config, substantially widening driver coverage. The rootfs size limit for non-k, non-nvidia amd64/arm64 builds rises from 290 MB to 295 MB, still within the 300 MB rootfs partition used by pre-10.2.0 installations.PR Backports
Checklist
I've provided a proper description
I've added the proper documentation
I've tested my PR on amd64 device
I've tested my PR on arm64 device
I've written the test verification instructions
I've set the proper labels to this PR
I've checked the boxes above, or I've provided a good reason why I didn't check them.
Both amd64 flavours were built and booted under QEMU rather than on physical hardware, so the amd64 device box is left unchecked. arm64 is not touched by this change. No documentation change seemed warranted for a kernel pin plus a size-cap constant, but happy to add a note if a reviewer wants one.