[Bug 1766754] Re: Linux kernel > 4.14 requires systemtap 3.2
Launchpad Bug Tracker
1766754 at bugs.launchpad.net
Wed Apr 25 22:54:14 UTC 2018
This bug was fixed in the package systemtap - 3.1-3ubuntu0.1
---------------
systemtap (3.1-3ubuntu0.1) bionic-proposed; urgency=medium
* Fix errors seen with Bionic's 4.15 based kernel due to upstream
kernel changes (LP: #1766754)
- PR22158-Fix-missing-spin_unlock_wait-declaration.patch
- PR22551-Fix-reworked-timer-usage.patch
-- Tyler Hicks <tyhicks at canonical.com> Wed, 25 Apr 2018 20:56:22 +0000
** Changed in: systemtap (Ubuntu)
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemtap in Ubuntu.
https://bugs.launchpad.net/bugs/1766754
Title:
Linux kernel > 4.14 requires systemtap 3.2
Status in systemtap package in Ubuntu:
Fix Released
Bug description:
[Impact]
systemtap cannot be used in Ubuntu 18.04 due to kernel ABI
incompatibilities with the 4.15 based kernel. The upstream kernel
changes are:
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=7eeb6b893bd28c68b6d664de1d3120e49b855cdb
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d3a024abbc43827785
[Test Case]
Load an example systemtap script to verify that it can be built and
used with the Ubuntu 18.04 kernel.
$ sudo stap -v -e 'probe kernel.function("proc_dostring")
{printf("proc_dostring() called\n"); exit()}'
In another terminal, execute 'cat /proc/sys/kernel/hostname' and the
stap command should print "proc_dostring() called" and exit. See the
stap-bad.txt and stap-good.txt attachments for example output.
[Regression Potential]
Low regression potential since the package does not currently work as-
is.
[Original Bug Report]
Per https://sourceware.org/bugzilla/show_bug.cgi?id=22158 , Systemtap
3.1 is broken on kernel versions > 4.14. It looks like they're aware
of this in the debian package : https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=892995 . With Bionic Beaver about to ship with
kernel 4.15 and systemtap 3.1-3, systemtap will be unusable on the LTS
of Ubuntu.
$ lsb_release -rd
Description: Ubuntu Bionic Beaver (development branch)
Release: 18.04
$ uname -a
Linux appliance 4.15.0-19-generic #20-Ubuntu SMP Sun Apr 22 00:03:34 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ apt-cache policy systemtap
systemtap:
Installed: 3.1-3
Candidate: 3.1-3
Version table:
*** 3.1-3 500
500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
100 /var/lib/dpkg/status
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1766754/+subscriptions
More information about the foundations-bugs
mailing list