← Back to team overview

lttng team mailing list archive

[Bug 1874521] Re: lttng-modules 2.10.8-1ubuntu2~18.04.1 ADT test failure with linux-kvm 4.15.0-1059.60

 

This bug was fixed in the package lttng-modules - 2.10.8-1ubuntu2.1

---------------
lttng-modules (2.10.8-1ubuntu2.1) eoan; urgency=medium

  * Fix vmalloc_sync_all() removal (LP: #1874521). Changes from upstream lttng repo:
    - d/p/compat-5.6/0001-Update-for-kernel-5.7-use-vmalloc_sync_mappings-on-k.patch
    - d/p/compat-5.6/0002-Fix-missing-wrapper-rename-to-wrapper_vmalloc_sync_m.patch
    - d/p/compat-5.6/0003-Fix-Use-vmalloc_sync_mappings-on-kernel-5.6-as-well.patch
    - d/p/compat-5.6/0004-Update-Use-vmalloc_sync_mappings-for-stable-kernels.patch
    - d/p/compat-5.6/0005-Update-Use-vmalloc_sync_mappings-for-ubuntu.patch

 -- Stefan Bader <stefan.bader@xxxxxxxxxxxxx>  Mon, 08 Jun 2020 16:37:26
+0200

** Changed in: lttng-modules (Ubuntu Focal)
       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/1874521

Title:
  lttng-modules 2.10.8-1ubuntu2~18.04.1 ADT test failure with linux-kvm
  4.15.0-1059.60

Status in lttng-modules package in Ubuntu:
  Won't Fix
Status in lttng-modules source package in Xenial:
  Fix Released
Status in lttng-modules source package in Bionic:
  Fix Released
Status in lttng-modules source package in Eoan:
  Fix Released
Status in lttng-modules source package in Focal:
  Fix Released

Bug description:
  Testing failed on:
      amd64: https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac/autopkgtest-bionic/bionic/amd64/l/lttng-modules/20200423_185643_adec8@/log.gz

  [SRU Justification]

  == Impact ==

  In linux 5.6 upstream replaced vmalloc_sync_all() by
  vmalloc_sync_mappings() and vmalloc_sync_unmappings(). Lttng uses
  vmalloc_sync_all() from a wrapper to prevent recursive page faults.
  The call is either made directly in the code or, if kallsyms is
  available, by looking up its address and then jumping indirectly.

  Recent stable updates backported that change into 4.4, 4.15, 5.3, and
  5.4. This affects lttng-modules. Either the build fails completely (if
  kallsyms is not enabled). Or there will be warnings at runtime:

    LTTng: vmalloc_sync_all symbol lookup failed.
    Page fault handler and NMI tracing might trigger faults.

  == Fix ==

  Backporting 4 patches from upstream lttng fixes the issue for 4.4 and
  5.4 (as those allow matching against linux kernel version). For 4.15
  and 5.3 and additional patch adds Ubuntu specific version ranges.

  Note, that this last patch also adds a range for 5.0 which was Disco.
  This should not hurt and also indirectly is needed for some backport
  kernels in 18.04/Bionic. But I want to try keeping the patches as
  similar as possible across releases.

  == Testcase ==

  Installation of lttng-modules-dkms, depending on kernel configuration either the build will fail or loading lttng-test (or checking dmesg after reboot) will show warnings.
  With the changes applied the build succeeds in all cases and no warnings appear.

  == Regression Potential ==

  Low, without the new function name present, everything would be
  unchanged and once the change is there, functionality already is
  regressed.

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


References