Hide Forgot
Description of problem: With kernel 2.6.32-71.18.2.el6 (RHEL6.0.z), these testcases from systemtap testsuite worked: systemtap.examples/process/errsnoop build buildok/syscall.stp buildok/syscalls2-detailed.stp With 6.1 candidate kernel 2.6.32-122.el6, these testcases fail with the following error: semantic error: unable to find local 'arg' near pc 0xffffffff811bc0b0 in compat_sys_nfsservctl(fs/compat.c) (alternatives: $cmd $notused $notused2): identifier '$arg' at /usr/share/systemtap/tapset/syscalls2.stp:71:56 source: argstr = sprintf("%s, %p, %p", _nfsctl_cmd_str($cmd), $arg, $res) ^ Pass 2: analysis failed. Try again with another '--vp 01' option Version-Release number of selected component (if applicable): # rpm -q kernel systemtap-debuginfo systemtap kernel-2.6.32-122.el6.x86_64 kernel-2.6.32-71.18.2.el6.x86_64 systemtap-1.4-4.el6.x86_64 systemtap-1.4-4.el6.x86_64 I've also checked this is not caused by elfutils (happens with both 6.0 and 6.1 candidate elfutils) How reproducible: always Steps to Reproduce: 1. stap -p4 /usr/share/systemtap/testsuite/buildok/syscall.stp Actual results: fails to build Expected results: builds I guess this is a matter of tapset adjustment.
Fixed in upstream commit acc9f09: <http://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=patch;h=acc9f09982abb44cf1e8b768f53ace766aec2550>
Small safe patch in hand.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0651.html