← Back to team overview

lttng team mailing list archive

[Bug 2122419] Re: lttng-modules FTBFS in Questing with kernel 6.17

 

This bug was fixed in the package lttng-modules - 2.14.0-1ubuntu1

---------------
lttng-modules (2.14.0-1ubuntu1) questing; urgency=medium

  * Support Linux 6.17 (LP: #2122419)
    - repurpose-__percpu-tag-as-a-named-address-space-qualifier.patch
    - remove-the-for_reclaim-field-from-struct-writeback_control.patch

lttng-modules (2.14.0-1) unstable; urgency=medium

  [ Andreas Beckmann ]
  * [e4aad43] Fix version constraint for building lttng-probe-9p
  * [a3159c8] dkms.conf: Set BUILD_EXCLUSIVE_KERNEL_MIN="3.5"

  [ Michael Jeanson ]
  * [1c1be3a] New upstream version 2.14.0
  * [8e16fa1] Refresh upstream signing key
  * [e2cbe7a] Refresh patches
  * [a579cc2] Bump standards to 4.7.2
  * [c328b79] Update git url in upstream metadata
  * [d3cd6d0] d/control: update description
  * [8068856] Update dkms config
  * [b22d162] Update debian/copyright
  * [4be4523] Add config check for 9p probe in dkms config
  * [f41cf63] d/copyright: add missing license text for CC-BY-SA-4.0
  * [d7fcfa9] Move to debhelper 13
  * [425602d] d/copyright: remove old FSF address

 -- Massimiliano Pellizzer <massimiliano.pellizzer@xxxxxxxxxxxxx>  Tue,
09 Sep 2025 10:20:33 +0200

** Changed in: lttng-modules (Ubuntu Questing)
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
LTTng, which is subscribed to lttng-modules in Ubuntu.
Matching subscriptions: lttng-modules-bugs
https://bugs.launchpad.net/bugs/2122419

Title:
  lttng-modules FTBFS in Questing with kernel 6.17

Status in lttng-modules package in Ubuntu:
  Fix Released
Status in lttng-modules source package in Questing:
  Fix Released

Bug description:
  [ Impact ]

  lttng-modules does not compile from source in Questing with kernel
  6.17:

  src/../include/ringbuffer/frontend_api.h: In function ‘lib_ring_buffer_reserve’:
  /usr/src/linux-headers-6.17.0-3-generic/include/linux/percpu-defs.h:220:45: error: initialization from pointer to non-enclosed address space
    220 |         const void __percpu *__vpp_verify = (typeof((ptr) + 0))NULL;    \
        |                                             ^
  /usr/src/linux-headers-6.17.0-3-generic/include/linux/percpu-defs.h:238:9: note: in expansion of macro ‘__verify_pcpu_ptr’
    238 |         __verify_pcpu_ptr(ptr);                                         \
        |         ^~~~~~~~~~~~~~~~~
  src/../include/ringbuffer/frontend_api.h:155:23: note: in expansion of macro ‘per_cpu_ptr’
    155 |                 buf = per_cpu_ptr(chan->backend.buf, ctx->priv.reserve_cpu);
        |                       ^~~~~~~~~~~

  [ Fix ]

  Rebase the package on the current Debian version (2.14.0-1) and
  patch the code to properly support Linux 6.17 by applying the following commits from upstream:
  - f86e2417 fix: percpu: repurpose __percpu tag as a named address space qualifier (v6.15)
  - 49403039 fix: mm: remove the for_reclaim field from struct writeback_control (v6.17)

  [ Test Plan ]

  Build the dkms correctly on Questing:

  $ sudo apt install -y lttng-modules-dkms
  $ dkms status
  lttng-modules/2.14.0, 6.17.0-3-generic, x86_64: installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lttng-modules/+bug/2122419/+subscriptions



References