[Bug 975764] New: SystemTap <= 2.6 doesn't work with kernel >= 3.19
http://bugzilla.suse.com/show_bug.cgi?id=975764 Bug ID: 975764 Summary: SystemTap <= 2.6 doesn't work with kernel >= 3.19 Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.1 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: giovanni.gherdovich@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- openSUSE Leap 42.1 provides SystemTap 2.5 and kernel 4.1. Commit 78d28e651f97 in the Linux kernel (released with 3.19) removed the f_dentry macro, which stap uses. http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=78... stap caught up with the change in commit 547f6291433b, released with stap 2.7 https://sourceware.org/git/?p=systemtap.git;a=commit;h=547f6291433b574186e82... I verified that installing the packages systemtap-runtime-3.0-1.1.x86_64.rpm and systemtap-3.0-1.1.x86_64.rpm fixes the problem. Otherwise even a minimal stap test script fails compilation: -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 $ stap -v -e 'probe vfs.read {printf("read performed\n"); exit()}' Pass 1: parsed user script and 102 library script(s) using 80812virt/32380res/5436shr/27712data kb, in 190usr/20sys/199real ms. Pass 2: analyzed script: 1 probe(s), 1 function(s), 3 embed(s), 0 global(s) using 209116virt/162364res/6972shr/156016data kb, in 1140usr/220sys/1444real ms. Pass 3: translated to C into "/tmp/stap8RnAE8/stap_f542ef8faeef4f989f714d6d24146121_1403_src.c" using 209116virt/162560res/7168shr/156016data kb, in 10usr/0sys/10real ms. In file included from /usr/share/systemtap/runtime/linux/task_finder.c:17:0, from /usr/share/systemtap/runtime/linux/runtime.h:206, from /usr/share/systemtap/runtime/runtime.h:24, from /tmp/stap8RnAE8/stap_f542ef8faeef4f989f714d6d24146121_1403_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:695:24: error: ‘struct file’ has no member named ‘f_dentry’ dentry = vma->vm_file->f_dentry; ^ /usr/share/systemtap/runtime/linux/task_finder2.c: In function ‘__stp_call_mmap_callbacks_for_task’: /usr/share/systemtap/runtime/linux/task_finder2.c:1198:42: error: ‘struct file’ has no member named ‘f_dentry’ vma_cache_p->dentry = vma->vm_file->f_dentry; ^ /usr/src/linux-4.1.20-11/scripts/Makefile.build:274: recipe for target '/tmp/stap8RnAE8/stap_f542ef8faeef4f989f714d6d24146121_1403_src.o' failed make[3]: *** [/tmp/stap8RnAE8/stap_f542ef8faeef4f989f714d6d24146121_1403_src.o] Error 1 /usr/src/linux-4.1.20-11/Makefile:1410: recipe for target '_module_/tmp/stap8RnAE8' failed make[2]: *** [_module_/tmp/stap8RnAE8] Error 2 Makefile:146: recipe for target 'sub-make' failed make[1]: *** [sub-make] Error 2 Makefile:24: recipe for target '__sub-make' failed make: *** [__sub-make] Error 2 WARNING: kbuild exited with status: 2 Pass 4: compiled C into "stap_f542ef8faeef4f989f714d6d24146121_1403.ko" in 4990usr/730sys/6482real ms. Pass 4: compilation failed. [man error::pass4] -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- -- >8 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=975764
Andreas Stieger
http://bugzilla.suse.com/show_bug.cgi?id=975764
http://bugzilla.suse.com/show_bug.cgi?id=975764#c1
Tony Jones
openSUSE Leap 42.1 provides SystemTap 2.5 and kernel 4.1.
I thought Leap 42.1 was supposed to align with SLE12SP1. SLE12SP1 does not use kernel 4.1 otherwise this is a dup of 975022 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=975764
http://bugzilla.suse.com/show_bug.cgi?id=975764#c2
Giovanni Gherdovich
I thought Leap 42.1 was supposed to align with SLE12SP1. SLE12SP1 does not use kernel 4.1
otherwise this is a dup of 975022
https://software.opensuse.org/package/kernel-default-base There it says 4.1, and "uname -r" on my system agrees. I think it's not strictly a dupe of 975022 as the cause of the breakage is different (here is a kernel commit in 3.19, there is a commit appeared in kernel 4.4) but upgrading SystemTap to 3.0 fixes both cases (if Leap 42.1 is indeed aligned w/ SLE12SP1). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=975764
http://bugzilla.suse.com/show_bug.cgi?id=975764#c3
--- Comment #3 from Tony Jones
http://bugzilla.suse.com/show_bug.cgi?id=975764
http://bugzilla.suse.com/show_bug.cgi?id=975764#c4
Tony Jones
http://bugzilla.suse.com/show_bug.cgi?id=975764
http://bugzilla.suse.com/show_bug.cgi?id=975764#c5
Andreas Stieger
I'd like to push an update (version 3.0) to Leap42
Bug 977306 is against SLE12SP1 and can have a smaller 1 patch fix.
Since SLE12SP1 and Tumbleweeed are connected, can Opensuse maint please disconnect systemtap so I can submit a version update to Leap42 and a patch fix to SLE12SP1.
Done, you can proceed to submit. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=975764
http://bugzilla.suse.com/show_bug.cgi?id=975764#c6
Tony Jones
(In reply to Tony Jones from comment #4)
I'd like to push an update (version 3.0) to Leap42
Bug 977306 is against SLE12SP1 and can have a smaller 1 patch fix.
Since SLE12SP1 and Tumbleweeed are connected, can Opensuse maint please disconnect systemtap so I can submit a version update to Leap42 and a patch fix to SLE12SP1.
Done, you can proceed to submit.
Can you just take version 3.0 from Factory directly into Leap42? Or do I need to do a formal 'sr'? I'm not sure if i'm required to add a changes entry cited this bug, in which case i assume the later/manual sr with changes. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=975764
http://bugzilla.suse.com/show_bug.cgi?id=975764#c7
Andreas Stieger
Can you just take version 3.0 from Factory directly into Leap42? Or do I need to do a formal 'sr'?
osc sr / osc mr (preferred) required.
I'm not sure if i'm required to add a changes entry cited this bug, in which case i assume the later/manual sr with changes.
If you can please do osc mbranch -M openSUSE:Leap:42.1:Update/systemtap, update to package and cite this bug in the top changes entry this would be swell. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=975764
http://bugzilla.suse.com/show_bug.cgi?id=975764#c8
Tony Jones
If you can please do osc mbranch -M openSUSE:Leap:42.1:Update/systemtap, update to package and cite this bug in the top changes entry this would be swell.
Done. Pushed as 'sr 399911' -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com