Bug 692869 - syscall.nfsservctl stopped working for 6.1 kernel
Summary: syscall.nfsservctl stopped working for 6.1 kernel
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: systemtap
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Frank Ch. Eigler
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks: 682670
TreeView+ depends on / blocked
 
Reported: 2011-04-01 13:06 UTC by Petr Muller
Modified: 2018-11-14 13:11 UTC (History)
3 users (show)

Fixed In Version: systemtap-1.4-6.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-19 13:55:05 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0651 0 normal SHIPPED_LIVE systemtap bug fix and enhancement update 2011-05-19 09:37:25 UTC

Description Petr Muller 2011-04-01 13:06:51 UTC
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.

Comment 2 David Smith 2011-04-04 21:31:30 UTC
Fixed in upstream commit acc9f09:

<http://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=patch;h=acc9f09982abb44cf1e8b768f53ace766aec2550>

Comment 3 Frank Ch. Eigler 2011-04-06 15:16:25 UTC
Small safe patch in hand.

Comment 7 errata-xmlrpc 2011-05-19 13:55:05 UTC
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


Note You need to log in before you can comment on or make changes to this bug.