[opensuse-factory] systemtap not working on openSUSE Factory / Kernel:HEAD
Hi all, does systemtap work for anyone on openSUSE Factory? All I get is: susi:/usr/share/doc/packages/systemtap/examples/process # stap forktracker.stp semantic error: while resolving probe point: identifier 'kernel' at /usr/share/systemtap/tapset/linux/kprocess.stp:28:25 source: probe kprocess.create = kernel.function("copy_process").return { ^ semantic error: missing x86_64 kernel/module debuginfo [man warning::debuginfo] under '/lib/modules/3.11.0-rc5-1.g25b5917-desktop/build' semantic error: while resolving probe point: identifier 'kprocess' at forktracker.stp:15:7 source: probe kprocess.create { ^ semantic error: no match semantic error: while resolving probe point: identifier 'kernel' at /usr/share/systemtap/tapset/linux/kprocess.stp:58:5 source: kernel.function("do_execve"), ^ semantic error: while resolving probe point: identifier 'kprocess' at forktracker.stp:20:7 source: probe kprocess.exec { ^ Pass 2: analysis failed. [man error::pass2] to my untrained eye it looks like something is wrong with the tapsets, but it might be something local to my installation, so it would be useful if this works for anyone else :-) Thanks, seife -- Stefan Seyfried "If your lighter runs out of fluid or flint and stops making fire, and you can't be bothered to figure out about lighter fluid or flint, that is not Zippo's fault." -- bkw -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Aug 16, 2013 at 2:00 PM, Stefan Seyfried
Hi all,
does systemtap work for anyone on openSUSE Factory?
All I get is:
susi:/usr/share/doc/packages/systemtap/examples/process # stap forktracker.stp semantic error: while resolving probe point: identifier 'kernel' at /usr/share/systemtap/tapset/linux/kprocess.stp:28:25 source: probe kprocess.create = kernel.function("copy_process").return { ^
semantic error: missing x86_64 kernel/module debuginfo [man warning::debuginfo] under '/lib/modules/3.11.0-rc5-1.g25b5917-desktop/build'
Any chance it is the https://bugzilla.novell.com/show_bug.cgi?id=824971?
semantic error: while resolving probe point: identifier 'kprocess' at forktracker.stp:15:7 source: probe kprocess.create { ^
semantic error: no match semantic error: while resolving probe point: identifier 'kernel' at /usr/share/systemtap/tapset/linux/kprocess.stp:58:5 source: kernel.function("do_execve"), ^
semantic error: while resolving probe point: identifier 'kprocess' at forktracker.stp:20:7 source: probe kprocess.exec { ^
Pass 2: analysis failed. [man error::pass2]
to my untrained eye it looks like something is wrong with the tapsets, but it might be something local to my installation, so it would be useful if this works for anyone else :-)
Thanks,
seife -- Stefan Seyfried "If your lighter runs out of fluid or flint and stops making fire, and you can't be bothered to figure out about lighter fluid or flint, that is not Zippo's fault." -- bkw -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 16.08.2013 13:04, schrieb Andrey Borzenkov:
On Fri, Aug 16, 2013 at 2:00 PM, Stefan Seyfried
wrote: Hi all,
does systemtap work for anyone on openSUSE Factory?
All I get is:
susi:/usr/share/doc/packages/systemtap/examples/process # stap forktracker.stp semantic error: while resolving probe point: identifier 'kernel' at /usr/share/systemtap/tapset/linux/kprocess.stp:28:25 source: probe kprocess.create = kernel.function("copy_process").return { ^
semantic error: missing x86_64 kernel/module debuginfo [man warning::debuginfo] under '/lib/modules/3.11.0-rc5-1.g25b5917-desktop/build'
Any chance it is the https://bugzilla.novell.com/show_bug.cgi?id=824971?
I don't think so, I have kernel-desktop-debuginfo installed. Maybe it's an libelf (or whatever) issue that it is not finding the debuginfo in /usr/lib/debug/*? I just checked in a virtual machine with an install of current 13.1 build 652 and it fails the same way, so it is not the update to systemtap 2.3 (build 652 still has 2.2.1) Thanks for looking :-) seife -- Stefan Seyfried Linux Consultant & Developer -- GPG Key: 0x731B665B B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 16.08.2013 13:47, schrieb Stefan Seyfried:
Am 16.08.2013 13:04, schrieb Andrey Borzenkov:
Any chance it is the https://bugzilla.novell.com/show_bug.cgi?id=824971?
I don't think so, I have kernel-desktop-debuginfo installed.
Maybe it's an libelf (or whatever) issue that it is not finding the debuginfo in /usr/lib/debug/*?
Argh. I fell into that trap quite some time before with kdump/crash. "kernel-foo-debuginfo" is not enough, one also needs "kernel-foo-devel-debuginfo" for vmlinux.debug. With that installed, systemtap works fine. Sorry for the confusion, seife -- Stefan Seyfried Linux Consultant & Developer -- GPG Key: 0x731B665B B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, 16 Aug 2013 14:02, Stefan Seyfried
Am 16.08.2013 13:47, schrieb Stefan Seyfried:
Am 16.08.2013 13:04, schrieb Andrey Borzenkov:
Any chance it is the https://bugzilla.novell.com/show_bug.cgi?id=824971?
I don't think so, I have kernel-desktop-debuginfo installed.
Maybe it's an libelf (or whatever) issue that it is not finding the debuginfo in /usr/lib/debug/*?
Argh. I fell into that trap quite some time before with kdump/crash.
"kernel-foo-debuginfo" is not enough, one also needs "kernel-foo-devel-debuginfo" for vmlinux.debug.
With that installed, systemtap works fine.
So, in short either: - The "Require:" for "kernel-foo-devel-debuginfo" is missing from systemtap (Is that a recent occurance, since witch kernel and or systemtap version?) OR: - Some files that are in "kernel-foo-devel-debuginfo" are gone missing from "kernel-foo-debuginfo" for it to be usefull. (What good are not working "*-debuginfo" packages? Arrgh!) Well, sh.t. Thanks for the info. Now I can stop recomplie kernels just to get the full debuging to work. - Yamaban, sorry I'm grumpy today, to much idiots in the upper spheres. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Am 16.08.2013 14:33, schrieb Yamaban:
On Fri, 16 Aug 2013 14:02, Stefan Seyfried
wrote:
"kernel-foo-debuginfo" is not enough, one also needs "kernel-foo-devel-debuginfo" for vmlinux.debug.
With that installed, systemtap works fine.
So, in short either:
- The "Require:" for "kernel-foo-devel-debuginfo" is missing from systemtap (Is that a recent occurance, since witch kernel and or systemtap version?)
No, systemtap has nothing to do with it. And systemtap can not really depend on the debuginfo since it does not know which kernel flavour you have installed. And then there's the systemtap-server stuff (which I have never tried) that lets you create the module on one machine (where the debuginfo is installed) but run it on another (useful in productive environments where you don't want debuginfo, compilers and stuff installed on all servers).
OR:
- Some files that are in "kernel-foo-devel-debuginfo" are gone missing from "kernel-foo-debuginfo" for it to be usefull. (What good are not working "*-debuginfo" packages? Arrgh!)
Yes, that's actually the case. The debuginfo for /boot/vmlinux-FOO is in kernel-FOO-devel-debuginfo. I don't really know why it is like that, since the binary is in kernel-FOO, not in kernel-FOO-devel. I suspect some kind of kernel packaging weirdness. The easy way to overcome this is to require kernel-FOO-devel-debuginfo from kernel-FOO-debuginfo IMVHO, since the later is only very seldom of any use without the former. I even created a bug over a year ago: https://bugzilla.novell.com/show_bug.cgi?id=763923 Time to remember everyone it is still valid :-) have fun, seife -- Stefan Seyfried Linux Consultant & Developer -- GPG Key: 0x731B665B B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Andrey Borzenkov
-
Stefan Seyfried
-
Yamaban