[Bug 1671133] Re: systemtap 3.0 doesn't work with 4.10 kernel
Jeremy Bicha
jeremy at bicha.net
Fri Mar 10 20:58:50 UTC 2017
This bug was fixed in the package systemtap - 3.1-2
---------------
systemtap (3.1-2) unstable; urgency=medium
* Upload to Unstable
* Fix kernel version detection for custom built kernels running
on Debian (Closes: #856461)
-- Ritesh Raj Sarraf <rrs at debian.org> Wed, 08 Mar 2017 20:02:36 +0530
systemtap (3.1-1) experimental; urgency=medium
[ Ritesh Raj Sarraf ]
* New upstream version 3.1
* Refresh patches, and drop some that are part of new release
* Bump debhelper dependency to 9
-- Ritesh Raj Sarraf <rrs at debian.org> Thu, 02 Mar 2017 21:11:22 +0530
** Changed in: systemtap (Ubuntu)
Status: New => 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/1671133
Title:
systemtap 3.0 doesn't work with 4.10 kernel
Status in systemtap package in Ubuntu:
Fix Released
Bug description:
Installing systemtap on zesty results in a non-functional system tap:
$ stap -v -e 'probe oneshot { println("hello world") }'
Pass 1: parsed user script and 111 library scripts using 49620virt/38420res/5752shr/33072data kb, in 230usr/10sys/238real ms.
Pass 2: analyzed script: 1 probe, 1 function, 0 embeds, 0 globals using 50280virt/39452res/6008shr/33732data kb, in 0usr/0sys/7real ms.
Pass 3: translated to C into "/tmp/stap33SHdB/stap_b857718a445c9d5eb902617b6fc310fb_989_src.c" using 50416virt/40220res/6548shr/33868data kb, in 0usr/0sys/0real ms.
In file included from /usr/share/systemtap/runtime/linux/runtime.h:209:0,
from /usr/share/systemtap/runtime/runtime.h:24,
from /tmp/stap33SHdB/stap_b857718a445c9d5eb902617b6fc310fb_989_src.c:25:
/usr/share/systemtap/runtime/linux/access_process_vm.h: In function ‘__access_process_vm_’:
/usr/share/systemtap/runtime/linux/access_process_vm.h:36:61: error: passing argument 6 of ‘get_user_pages_remote’ makes pointer from integer without a cast [-Werror=int-conversion]
ret = get_user_pages_remote (tsk, mm, addr, 1, write, 1, &page, &vma);
...
Looking at the changelog for systemtap there are fixes in v3.1 for a 4.10 kernel. Compiling the upstream system tap results is functional:
$ ./stap -e 'probe oneshot { println("hello world") }'
hello world
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1671133/+subscriptions
More information about the foundations-bugs
mailing list