Unable to build sysdig module on 5.0 kernels
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-kernel-tests |
Fix Released
|
Undecided
|
Sean Feole | ||
sysdig (Ubuntu) |
Fix Released
|
Medium
|
Connor Kuehl | ||
Bionic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[ Impact ]
* The DKMS package fails to install on 5.0 kernels.
[ Test Case ]
* Install the 'sysdig-dkms' package. It should build and install without any compilation failures.
[ Proposed Fix ]
* Port the following patches:
- https:/
- https:/
Note: No real context adjustments required, offset updates were required to apply the patch to fixup the syscall table; "quilt refresh" updated offsets on the patch that was already in the package.
[ Regression Potential ]
* Low. These changes are conditionally compiled.
[ Testing ]
The following instructions were used to test these changes on the 4.15 kernel that Bionic 18.04 ships with as well as the 5.0 kernel that is included in the HWE edge package on an amd64 environment.
- Create a Bionic 18.04 VM
- Enable the "-proposed" repository and install the linux-generic-
- Install "sysdig-dkms" and confirm that installation fails because the module cannot be compiled
- Remove the failed install "sudo apt remove sysdig-dkms"
- Pull the sources with "pull-lp-source sysdig bionic"
- Apply the debdiff with "debdiff-apply < path-to-
- Build the package with "debuild -b -uc -us"
- Install the package produced from the previous step with "sudo dpkg -i path-to-file.deb"
- Verify the installation completed successfully. You can also check to see if it appears with "sudo dkms status"
---
ubuntu_
Error! Bad return status for module build on kernel: 5.0.0-13-generic (x86_64)
Consult /var/lib/
Setting up libjsoncpp1:amd64 (1.7.4-3) ...
Setting up sysdig (0.19.1-1ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
'dkms status -m sysdig | grep installed'
'cat /var/lib/
DKMS make.log for sysdig-0.19.1 for kernel 5.0.0-13-generic (x86_64)
Thu Apr 25 14:14:16 UTC 2019
make: Entering directory '/usr/src/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
CC [M] /var/lib/
/var/lib/
/var/lib/
struct event_data_t event_data;
^~~~~~
/var/lib/
/var/lib/
if (likely(
^
In file included from ./include/
from ./include/
from ./arch/
from ./include/
from ./include/
from ./include/
from /var/lib/
/var/lib/
#define ppm_access_ok access_ok
^
./include/
# define likely(x) __builtin_
^
/var/lib/
if (likely(
^~~~~~~~~~~~~
/var/lib/
#define ppm_access_ok access_ok
^
./include/
# define likely(x) __builtin_
^
/var/lib/
if (likely(
^~~~~~~~~~~~~
/var/lib/
/var/lib/
if (!ppm_access_
^
/var/lib/
#define ppm_access_ok access_ok
^
/var/lib/
if (!ppm_access_
^~~~~~~~~~~~~
scripts/
make[1]: *** [/var/lib/
make[1]: *** Waiting for unfinished jobs....
Makefile:1584: recipe for target '_module_
make: *** [_module_
make: Leaving directory '/usr/src/
description: | updated |
Changed in sysdig (Ubuntu): | |
assignee: | nobody → Connor Kuehl (connork) |
status: | New → In Progress |
description: | updated |
no longer affects: | linux-hwe-edge (Ubuntu) |
Changed in sysdig (Ubuntu): | |
importance: | Undecided → Medium |
Changed in ubuntu-kernel-tests: | |
status: | Confirmed → Fix Released |
assignee: | nobody → Sean Feole (sfeole) |
.debdiff attached to this comment, adding SRU paperwork to the original bug description.