← Back to team overview

lttng team mailing list archive

[Bug 1756240] Re: Unable to build lttng-module with Artful kernel

 

This bug was fixed in the package lttng-modules - 2.9.0-1ubuntu3.2

---------------
lttng-modules (2.9.0-1ubuntu3.2) artful; urgency=medium

  * Fix builds for 4.13.0-38 kernel (LP: #1756240)
    - Update definition of kvm_mmio() to match the new kernel

 -- Khalid Elmously <khalid.elmously@xxxxxxxxxxxxx>  Wed, 21 Mar 2018
19:12:27 -0400

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

Title:
  Unable to build lttng-module with Artful kernel

Status in linux package in Ubuntu:
  Invalid
Status in lttng-modules package in Ubuntu:
  Fix Released
Status in linux source package in Xenial:
  Invalid
Status in lttng-modules source package in Xenial:
  Fix Released
Status in linux source package in Artful:
  Invalid
Status in lttng-modules source package in Artful:
  Fix Released
Status in linux source package in Bionic:
  Invalid
Status in lttng-modules source package in Bionic:
  Fix Released

Bug description:
  [Impact]

   * The 4.13.0-38 artful kernel included a change (backported from
  4.15) that modifies the definition of kvm_mmio(). This breaks the
  lttng-modules-dkms package because it is using the old (<4.15)
  definition.

   * lttng-modules-dkms already has a list of kernel version
  "exceptions" with which it uses the >=4.15 definition. Proposed
  solution is to add the Ubuntu kernel range 4.13.0-38 up to
  4.14.255-255 to that list of exceptions.

  
  [Test Case]

   * Tested by first successfully building lttng-modules-dkms on
  4.13.0-37, then reproducing the problem described here on 4.13.0-38,
  then applying the code-change and confirming that I can successfully
  build on both 4.13.0-37 and 4.13.0-38 after that.

  [Regression Potential]

   * Low-regression potential. Could prevent lttng-modules-dkms from
  being built for specific kernel versions, but this is unlikely as the
  change was tested to confirm that it works as expected on 4.13.0-37
  and 4.13.0-38 - and should work fine for other Ubuntu kernels as well.




  The lttng module failed to build with the proposed Artful kernel
  (4.13.0-38), it works with 4.13.0-37

  Please find the build log here: http://paste.ubuntu.com/p/ybwnBJB9yj/

  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: linux-image-4.13.0-38-generic 4.13.0-38.43
  ProcVersionSignature: User Name 4.13.0-38.43-generic 4.13.16
  Uname: Linux 4.13.0-38-generic x86_64
  AlsaDevices:
   total 0
   crw-rw---- 1 root audio 116,  1 Mar 16 04:13 seq
   crw-rw---- 1 root audio 116, 33 Mar 16 04:13 timer
  AplayDevices: Error: [Errno 2] No such file or directory: 'aplay': 'aplay'
  ApportVersion: 2.20.7-0ubuntu3.7
  Architecture: amd64
  ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord': 'arecord'
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  CurrentDmesg:

  Date: Fri Mar 16 04:17:14 2018
  IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig': 'iwconfig'
  MachineType: Intel Corporation S1200RP
  PciMultimedia:

  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=C.UTF-8
   SHELL=/bin/bash
  ProcFB:
   0 mgadrmfb
   1 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-38-generic root=UUID=b0d2ae4e-12dd-423e-acea-272ee8b2a893 ro
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-38-generic N/A
   linux-backports-modules-4.13.0-38-generic  N/A
   linux-firmware                             1.169.3
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill': 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/01/2015
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: S1200RP.86B.03.02.0003.070120151022
  dmi.board.asset.tag: ....................
  dmi.board.name: S1200RP
  dmi.board.vendor: Intel Corporation
  dmi.board.version: G62254-407
  dmi.chassis.asset.tag: ....................
  dmi.chassis.type: 17
  dmi.chassis.vendor: ..............................
  dmi.chassis.version: ..................
  dmi.modalias: dmi:bvnIntelCorp.:bvrS1200RP.86B.03.02.0003.070120151022:bd07/01/2015:svnIntelCorporation:pnS1200RP:pvr....................:rvnIntelCorporation:rnS1200RP:rvrG62254-407:cvn..............................:ct17:cvr..................:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: S1200RP
  dmi.product.version: ....................
  dmi.sys.vendor: Intel Corporation

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1756240/+subscriptions