Add Ubuntu 24.04.5 (kernel 7.0) support with dual-compat layer - #8
Open
edcdavid wants to merge 6 commits into
Open
Add Ubuntu 24.04.5 (kernel 7.0) support with dual-compat layer#8edcdavid wants to merge 6 commits into
edcdavid wants to merge 6 commits into
Conversation
Raise the DKMS compat ceiling from 6.17 to 7.0 so the 6.9.5 source tree builds on Noble HWE without changing PACKAGE_VERSION.
ptp-test can hang forever on `podman exec switch1` because daemonless Kind execs deadlock on libpod SQLite. Retry uses a fresh runner with the same workflow, so it wedges on the same line. Mirror ptp-operator netdevsim-ci: serialize podman through one API server, drop image tarball and caches before e2e, and drop page cache.
linux-modules-extra exists on ubuntu-22.04 Azure runners and apt can sit forever on the 71MB download. Split it into a 3-minute optional step and cap apt Acquire timeouts so dkms-test cannot block ptp-images.
The 3-minute extra-modules step timeout only killed the shell; sudo apt-get kept the dpkg lock, so later jobs hung on podman install or failed with openvswitch-switch status un. Extra-modules is unused by the out-of-tree DKMS build. Wrap remaining apt in sudo timeout and Acquire timeouts so a dead mirror cannot freeze the runner.
Dropping linux-modules-extra left gnss.ko missing on Azure kernels, so modprobe netdevsim failed with unknown symbol and smoke tests died. Install extra-modules again under sudo timeout, and fail the load step if netdevsim does not actually insert.
Apt's own Retries never fire on a hung Get:. Kill apt-get after 120s, recover dpkg, retry up to three times, force IPv4, disable pipelining, and switch azure.archive.ubuntu.com to archive.ubuntu.com on retry.
Draft
3 tasks
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.
Summary
linux-generic-hwe-24.04).linux/dpll.hon >= 7.0 (host kAPI addeddpll_tracker *on get/put), dual-pathdevl_health_reporter_createafter 6.18, and includelinux/hex.hnow thatbin2hex/hex2binare no longer pulled in bykernel.h.linux-modules-extra-$(uname -r)as non-fatal in CI and UTM/libvirt setup (that package is not published for 7.0 generic).Test plan
7.0.0-29-generic)nsim_ptp,nsim_ptp_mock,nsim_dpll,netdevsim pci_bus_nr=0x1f; create a device; ethtool reports PHC 0scripts/test-phc.sh --no-load— 22/22ubuntu-22.04job (kernel 6.8 regression)ubuntu-24.04job once runners pick up HWE 7.0Assisted-By: Cursor