Unable to build lttng module on 4.4/4.15 KVM kernel

Bug #1760647 reported by Po-Hsu Lin on 2018-04-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Undecided
Unassigned
Nominated for Bionic by Po-Hsu Lin
Xenial
Undecided
Unassigned
linux-kvm (Ubuntu)
Undecided
Unassigned
Nominated for Bionic by Po-Hsu Lin
Xenial
Undecided
Unassigned

Bug Description

Tested with the lttng module in -proposed (2.8.0-1ubuntu1~16.04.5), it looks like this is the CONFIG issue.

Build log:

DKMS make.log for lttng-modules-2.8.0 for kernel 4.4.0-1019-kvm (x86_64)
Mon Apr 2 17:05:48 UTC 2018
make: Entering directory '/usr/src/linux-headers-4.4.0-1019-kvm'
/var/lib/dkms/lttng-modules/2.8.0/build/Makefile:12: *** The option CONFIG_TRACEPOINTS needs to be enabled in your kernel configuration. Stop.
Makefile:1423: recipe for target '_module_/var/lib/dkms/lttng-modules/2.8.0/build' failed
make: *** [_module_/var/lib/dkms/lttng-modules/2.8.0/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.4.0-1019-kvm'

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-1019-kvm 4.4.0-1019.24
ProcVersionSignature: User Name 4.4.0-1019.24-kvm 4.4.98
Uname: Linux 4.4.0-1019-kvm x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
Date: Mon Apr 2 16:38:25 2018
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-kvm
UpgradeStatus: No upgrade log present (probably fresh install)

Po-Hsu Lin (cypressyew) wrote :

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1760647

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete

Also affecting 4.15 KVM kernel:
    Error! Bad return status for module build on kernel: 4.15.0-1003-kvm (x86_64)

tags: added: bionic
summary: - Unable to build lttng module on 4.4 X-KVM
+ Unable to build lttng module on 4.4/4.15 KVM kernel
Khaled El Mously (kmously) wrote :

@Po-Hsu Lin : Is this a regression? I get the same build error all the way back to the first 4.4 kvm kernel (I haven't tried the 4.15 kvm kernel):

DKMS make.log for lttng-modules-2.8.0 for kernel 4.4.0-1004-kvm (x86_64)
Wed Jul 4 04:44:45 UTC 2018
make: Entering directory '/usr/src/linux-headers-4.4.0-1004-kvm'
/var/lib/dkms/lttng-modules/2.8.0/build/Makefile:12: *** The option CONFIG_TRACEPOINTS needs to be enabled in your kernel configuration. Stop.
Makefile:1420: recipe for target '_module_/var/lib/dkms/lttng-modules/2.8.0/build' failed
make: *** [_module_/var/lib/dkms/lttng-modules/2.8.0/build] Error 2
make: Leaving directory '/usr/src/linux-headers-4.4.0-1004-kvm'

Po-Hsu Lin (cypressyew) wrote :

Hi Khaled,

this is not a regression, I think we can start from building a test kernel with CONFIG_TRACEPOINTS enabled.

As the error message states that:
    The option CONFIG_TRACEPOINTS needs to be enabled in your kernel configuration.

Thanks

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers