Skip to content

Add Ubuntu 24.04.5 (kernel 7.0) support with dual-compat layer - #8

Open
edcdavid wants to merge 6 commits into
mainfrom
kernel-7.0
Open

Add Ubuntu 24.04.5 (kernel 7.0) support with dual-compat layer#8
edcdavid wants to merge 6 commits into
mainfrom
kernel-7.0

Conversation

@edcdavid

Copy link
Copy Markdown
Collaborator

Summary

  • Raise the DKMS compat ceiling from 6.17 to 7.0 so the 6.9.5 source tree builds on Ubuntu 24.04.5 HWE (linux-generic-hwe-24.04).
  • Vendor a 6.9.5 linux/dpll.h on >= 7.0 (host kAPI added dpll_tracker * on get/put), dual-path devl_health_reporter_create after 6.18, and include linux/hex.h now that bin2hex/hex2bin are no longer pulled in by kernel.h.
  • Treat missing 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

  • DKMS build + install on Ubuntu 24.04 HWE UTM VM (7.0.0-29-generic)
  • Load nsim_ptp, nsim_ptp_mock, nsim_dpll, netdevsim pci_bus_nr=0x1f; create a device; ethtool reports PHC 0
  • scripts/test-phc.sh --no-load — 22/22
  • GitHub Actions ubuntu-22.04 job (kernel 6.8 regression)
  • GitHub Actions ubuntu-24.04 job once runners pick up HWE 7.0

Assisted-By: Cursor

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant