[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
** Tags removed: sts-sru -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
This bug was fixed in the package systemtap - 2.3-1ubuntu1.4 --- systemtap (2.3-1ubuntu1.4) trusty; urgency=medium * debian/patches/0001-Fixed-compile-problem-on-3.18-kernels-caused-by-remo.patch, debian/patches/0002-runtime-linux-3.14-porting-preempt_enable_no_resched.patch, debian/patches/0003-runtime-improve-the-preempt_enable_no_resched-copy.patch, debian/patches/0004-CONFIG_UIDGID_STRICT_TYPE_CHECKS-workaround-cont-d.patch, debian/patches/0005-runtime-linux-3.14-porting-userns-Remove-UIDGID_STRI.patch, debian/patches/0006-runtime-linux-3.14-porting-case-when-CONFIG_USER_NS-.patch: backport support for lts-vivid kernel. LP: #1545173. -- Dan Streetman Tue, 15 Mar 2016 10:35:26 +0100 ** Changed in: systemtap (Ubuntu Trusty) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
verified the package from -proposed fixes the complilation error on the vivid 3.19 kernel, and does not regress on the trusty 3.13 kernel. ** Tags removed: verification-needed ** Tags added: verification-done verification-trusty-done verification-vivid-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
Hello Dan, or anyone else affected, Accepted systemtap into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/systemtap/2.3-1ubuntu1.4 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance! ** Changed in: systemtap (Ubuntu Trusty) Status: In Progress => Fix Committed ** Tags added: verification-needed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
** Description changed: - Attempting to use systemtap results in: + [Impact] + + Attempting to use systemtap on trusty with the lts-vivid kernel fails + with: In file included from /usr/share/systemtap/runtime/linux/task_finder.c:17:0, - from /usr/share/systemtap/runtime/linux/runtime.h:188, - from /usr/share/systemtap/runtime/runtime.h:24, - from /tmp/stapcEoS7h/stap_f4621118dc34d17850373d218d3dab98_4225_src.c:24: + from /usr/share/systemtap/runtime/linux/runtime.h:188, + from /usr/share/systemtap/runtime/runtime.h:24, + from /tmp/stapcEoS7h/stap_f4621118dc34d17850373d218d3dab98_4225_src.c:24: /usr/share/systemtap/runtime/linux/task_finder2.c: In function ‘__stp_call_mmap_callbacks_with_addr’: /usr/share/systemtap/runtime/linux/task_finder2.c:703:24: error: ‘struct file’ has no member named ‘f_dentry’ -dentry = vma->vm_file->f_dentry; - ^ + dentry = vma->vm_file->f_dentry; + ^ /usr/share/systemtap/runtime/linux/task_finder2.c: In function ‘__stp_utrace_attach_match_filename’: /usr/share/systemtap/runtime/linux/task_finder2.c:821:11: error: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’ - tsk_euid = task_euid(tsk); -^ + tsk_euid = task_euid(tsk); + ^ /usr/share/systemtap/runtime/linux/task_finder2.c: In function ‘__stp_call_mmap_callbacks_for_task’: /usr/share/systemtap/runtime/linux/task_finder2.c:1206:42: error: ‘struct file’ has no member named ‘f_dentry’ - vma_cache_p->dentry = vma->vm_file->f_dentry; - ^ + vma_cache_p->dentry = vma->vm_file->f_dentry; + ^ /usr/share/systemtap/runtime/linux/task_finder2.c: In function ‘stap_start_task_finder’: /usr/share/systemtap/runtime/linux/task_finder2.c:1711:12: error: incompatible types when assigning to type ‘uid_t’ from type ‘kuid_t’ -tsk_euid = task_euid(tsk); - ^ + tsk_euid = task_euid(tsk); + ^ In file included from /usr/share/systemtap/runtime/linux/runtime.h:194:0, - from /usr/share/systemtap/runtime/runtime.h:24, - from /tmp/stapcEoS7h/stap_f4621118dc34d17850373d218d3dab98_4225_src.c:24: + from /usr/share/systemtap/runtime/runtime.h:24, + from /tmp/stapcEoS7h/stap_f4621118dc34d17850373d218d3dab98_4225_src.c:24: /usr/share/systemtap/runtime/sym.c: In function ‘_stp_snprint_addr’: /usr/share/systemtap/runtime/sym.c:567:4: error: implicit declaration of function ‘preempt_enable_no_resched’ [-Werror=implicit-function-declaration] - preempt_enable_no_resched(); - ^ + preempt_enable_no_resched(); + ^ In file included from include/linux/sched.h:56:0, - from include/linux/ptrace.h:5, - from include/linux/ftrace.h:13, - from include/linux/kprobes.h:42, - from /usr/share/systemtap/runtime/linux/runtime.h:21, - from /usr/share/systemtap/runtime/runtime.h:24, - from /tmp/stapcEoS7h/stap_f4621118dc34d17850373d218d3dab98_4225_src.c:24: + from include/linux/ptrace.h:5, + from include/linux/ftrace.h:13, + from include/linux/kprobes.h:42, + from /usr/share/systemtap/runtime/linux/runtime.h:21, + from /usr/share/systemtap/runtime/runtime.h:24, + from /tmp/stapcEoS7h/stap_f4621118dc34d17850373d218d3dab98_4225_src.c:24: /usr/share/systemtap/runtime/transport/control.c: In function ‘_stp_ctl_write_cmd’: include/linux/cred.h:343:25: error: incompatible types when initializing type ‘uid_t’ using type ‘kuid_t’ - #define current_euid() (current_cred_xxx(euid)) - ^ + #define current_euid() (current_cred_xxx(euid)) + ^ /usr/share/systemtap/runtime/transport/control.c:41:15: note: in expansion of macro ‘current_euid’ - uid_t euid = current_euid(); -^ + uid_t euid = current_euid(); + ^ In file included from /usr/share/systemtap/runtime/linux/print.c:17:0, - from /usr/share/systemtap/runtime/print.c:17, - from /usr/share/systemtap/runtime/runtime_context.h:22, - from /tmp/stapcEoS7h/stap_f4621118dc34d17850373d218d3dab98_4225_src.c:67: + from /usr/share/systemtap/runtime/print.c:17, + from /usr/share/systemtap/runtime/runtime_context.h:22, + from /tmp/stapcEoS7h/stap_f4621118dc34d17850373d218d3dab98_4225_src.c:67: /usr/share/systemtap/runtime/transport/transport.c: In function ‘_stp_transport_init’: /usr/share/systemtap/runtime/transport/transport.c:344:11: error: incompatible types when assigning to type ‘uid_t’ from ty
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
** Tags added: sts-sru -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
** Changed in: systemtap (Ubuntu) Assignee: (unassigned) => Dan Streetman (ddstreet) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
** Changed in: systemtap (Ubuntu Trusty) Status: New => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
** Also affects: systemtap (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: systemtap (Ubuntu Trusty) Assignee: (unassigned) => Dan Streetman (ddstreet) ** Changed in: systemtap (Ubuntu) Status: New => Fix Released ** Changed in: systemtap (Ubuntu) Assignee: Dan Streetman (ddstreet) => (unassigned) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
** Patch added: "debdiff of the required patches, listed above." https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+attachment/4573809/+files/lp1545173.debdiff ** Changed in: systemtap (Ubuntu) Assignee: (unassigned) => Dan Streetman (ddstreet) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
i'll attach debdiffs shortly. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
>From the upstream repo, git://sourceware.org/git/systemtap.git, these commits are required (in reverse chronological order): 4f570bf5df317f3d5275b8e8a0cb5de8c2232f25 c91d2e7cc991068fd701d75a4814db87913d57bd 22a78a3e79331f83932372f576eb8338543abb0f f1676ba1a5f60281fe64f96fbef37d484da6204c 651a87924c22fffa0109694851ff013b1da4f50e 547f6291433b574186e82f4afe233b00b7eb242e -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
note, the order of the patches I listed isn't chronological, just the order I pulled them in to fix the individual separate compile errors. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1545173] Re: systemtap does not work on trusty lts-vivid kernel
In sequential order, with more detail: ==> 0001-Fixed-compile-problem-on-3.18-kernels-caused-by-remo.patch <== >From 547f6291433b574186e82f4afe233b00b7eb242e Mon Sep 17 00:00:00 2001 From: David Smith Date: Tue, 6 Jan 2015 10:07:01 -0600 Subject: [PATCH] Fixed compile problem on 3.18 kernels, caused by removal of ==> 0002-runtime-linux-3.14-porting-preempt_enable_no_resched.patch <== >From 651a87924c22fffa0109694851ff013b1da4f50e Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 7 Feb 2014 22:07:46 -0500 Subject: [PATCH 3/3] runtime: linux 3.14 porting: preempt_enable_no_resched ==> 0003-runtime-improve-the-preempt_enable_no_resched-copy.patch <== >From f1676ba1a5f60281fe64f96fbef37d484da6204c Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Fri, 28 Mar 2014 13:53:15 -0700 Subject: [PATCH 4/4] runtime: improve the preempt_enable_no_resched copy ==> 0004-CONFIG_UIDGID_STRICT_TYPE_CHECKS-workaround-cont-d.patch <== >From 22a78a3e79331f83932372f576eb8338543abb0f Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 5 Nov 2013 16:07:54 -0500 Subject: [PATCH 5/5] CONFIG_UIDGID_STRICT_TYPE_CHECKS workaround, cont'd ==> 0005-runtime-linux-3.14-porting-userns-Remove-UIDGID_STRI.patch <== >From c91d2e7cc991068fd701d75a4814db87913d57bd Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 7 Feb 2014 21:50:59 -0500 Subject: [PATCH 5/5] runtime: linux 3.14 porting: userns: Remove ==> 0006-runtime-linux-3.14-porting-case-when-CONFIG_USER_NS-.patch <== >From 4f570bf5df317f3d5275b8e8a0cb5de8c2232f25 Mon Sep 17 00:00:00 2001 From: Victor Kamensky Date: Mon, 7 Apr 2014 22:23:39 -0700 Subject: [PATCH 5/5] runtime: linux 3.14 porting: case when CONFIG_USER_NS not ddstreet@toughbook:~$ -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1545173 Title: systemtap does not work on trusty lts-vivid kernel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1545173/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs