← Back to team overview

lttng team mailing list archive

[Bug 2003082] Re: lttng-modules-dkms fails to build on jammy with the latest 5.19 kernel

 

This bug was fixed in the package lttng-modules -
2.13.1-1ubuntu0.22.04.3

---------------
lttng-modules (2.13.1-1ubuntu0.22.04.3) jammy; urgency=medium

  * Support kernel 5.19 (LP: #2003082):
    - d/p/0001-fix-mm-page_alloc-fix-tracepoint-mm_page_alloc_zone_.patch
    - d/p/0002-fix-fs-Remove-flags-parameter-from-aops-write_begin-.patch
    - d/p/0003-fix-workqueue-Fix-type-of-cpu-in-trace-event-v5.19.patch
    - d/p/0004-fix-sched-switch-prototype-in-v5.19.patch
    - d/p/0005-fix-block-abi-with-v5.19.patch
    - d/p/0006-fix-mm-abi-with-v5.19.patch
    - d/p/0007-fix-kprobes-abi-with-v5.19.patch
    - debian/lttng-modules-dkms.dkms (update to support v5.19)

 -- Andrea Righi <andrea.righi@xxxxxxxxxxxxx>  Tue, 17 Jan 2023 13:30:53
+0000

** Changed in: lttng-modules (Ubuntu Jammy)
       Status: Fix Committed => 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/2003082

Title:
  lttng-modules-dkms fails to build on jammy with the latest 5.19 kernel

Status in lttng-modules package in Ubuntu:
  Invalid
Status in lttng-modules source package in Jammy:
  Fix Released

Bug description:
  [Impact]

  lttng-modules-dkms fails to build with the latest 5.19 kernel:

  /var/lib/dkms/lttng-
  modules/2.13.1/build/src/probes/../../include/lttng/tracepoint-event-
  impl.h:133:6: error: conflicting types for ‘trace_sched_switch’; have
  ‘void(bool,  struct task_struct *, struct task_struct *)’ {aka
  ‘void(_Bool,  struct task_struct *, struct task_struct *)’}

  
  (along with other errors, due to the different ABI introduced by 5.19)

  [Test case]

   $ sudo apt install lttng-modules-dkms

  [Fix]

  Cherry pick patches from the version in kinetic to properly support
  the new ABI (kernels >= 5.19).

  [Regression potential]

  We may experience regressions with kernels >= 5.19 that are using
  lttng, previous kernels are not affected by the new ABI changes.

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



References