Skip to content

Add Ubuntu 24.04 (kernel 6.17) support#1

Merged
edcdavid merged 3 commits into
mainfrom
kernel-24.04
May 18, 2026
Merged

Add Ubuntu 24.04 (kernel 6.17) support#1
edcdavid merged 3 commits into
mainfrom
kernel-24.04

Conversation

@edcdavid
Copy link
Copy Markdown
Collaborator

Summary

  • Add kernel version compatibility shims in dkms_compat.h so the 6.9.5 source tree compiles on both Ubuntu 22.04 (kernel 6.8) and Ubuntu 24.04 HWE (kernel 6.17)
  • Compat shims for: hrtimer_init, genlmsg_multicast_allns, no_llseek, kernel_ethtool_ts_info, debugfs_real_fops/debugfs_get_aux, UDP_TUNNEL_NIC_INFO_MAY_SLEEP, xfrmdev_ops net_device param, cyclecounter const qualifier, PTP flags
  • CI matrix now runs dkms-test on both ubuntu-22.04 and ubuntu-24.04
  • Local UTM test script updated to install HWE kernels for both releases

Test plan

  • Local UTM build + smoke test on Ubuntu 22.04 (kernel 6.8.0-117-generic) — PASSED
  • Local UTM build + smoke test on Ubuntu 24.04 (kernel 6.17.0-29-generic) — PASSED
  • CI green on ubuntu-22.04
  • CI green on ubuntu-24.04

Assisted-By: Cursor

edcdavid added 3 commits May 15, 2026 11:04
Add kernel version compatibility shims in dkms_compat.h so the same
6.9.5 source tree compiles cleanly against both Ubuntu 22.04 (kernel
6.8.x) and Ubuntu 24.04 HWE (kernel 6.17.x).

Compat shims added for:
- hrtimer_init -> hrtimer_setup (removed in 6.15)
- genlmsg_multicast_allns signature changes (6.9/6.12 boundaries)
- no_llseek -> noop_llseek (removed in 6.12)
- struct kernel_ethtool_ts_info (introduced in 6.11)
- debugfs_real_fops -> debugfs_get_aux (removed in 6.16)
- UDP_TUNNEL_NIC_INFO_MAY_SLEEP (removed in 6.17)
- xfrmdev_ops net_device parameter (added in 6.16)
- cyclecounter const qualifier (changed in 6.14)
- PTP_EXTTS_EVENT_VALID / PTP_EXT_OFFSET (version-guarded)

CI matrix now runs dkms-test on both ubuntu-22.04 and ubuntu-24.04.
Local UTM test script updated to install HWE kernels for both releases.
Run ptp-operator e2e tests on both Ubuntu versions since each runner
builds DKMS modules against its own kernel. The ptp-images job stays
on 22.04 as it produces architecture-agnostic container images.

Podman install is now conditional: kubic repo for 22.04 (ships old
podman), default apt for 24.04 (ships podman 4.9+).
Ubuntu 22.04 runners have oc pre-installed but 24.04 runners do not.
Download from the OCP stable mirror when missing.
@edcdavid edcdavid merged commit 49fd7a3 into main May 18, 2026
17 checks passed
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