This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug testsuite/10231] New: Systemtap vfs testcase fails on custom kernel built on RHEL 5.3 on ppc64
- From: "prerna at linux dot vnet dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 3 Jun 2009 08:33:55 -0000
- Subject: [Bug testsuite/10231] New: Systemtap vfs testcase fails on custom kernel built on RHEL 5.3 on ppc64
- Reply-to: sourceware-bugzilla at sourceware dot org
Systemtap testcase for vfs (testsuite/buildok/vfs_testcase.stp)fails on custom
kernel on RHEL 5.3 on ppc64
uname -a : Linux 2.6.30-rc5 #1 SMP Tue May 12 17:15:22 IST 2009 ppc64 ppc64
ppc64 GNU/Linux
SystemTap translator/driver (version 0.9.7/0.137 non-git sources)
(detailed output attached)
On reading the vmlinux with readelf, one finds that the function
parameters/context variables (which systemtap is unable to resolve) have valid
location details.
The error persists even on systemtap git sources built with elfutils-0.140.
Even a simple systemtap probe such as the following :
# stap -vve 'probe kernel.function("generic_file_llseek"){printf("\n
%p",$file);}'
Fails with the following msg :
-------------------------------------------------------------------
SystemTap translator/driver (version 0.9.7/0.137 non-git sources)
Copyright (C) 2005-2009 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Session arch: ppc64 release: 2.6.30-rc5
Created temporary directory "/tmp/stapED7o0s"
Searched '/usr/local/share/systemtap/tapset/ppc64/*.stp', found 2
Searched '/usr/local/share/systemtap/tapset/*.stp', found 50
Pass 1: parsed user script and 52 library script(s) in 500usr/10sys/562real ms.
probe generic_file_llseek@fs/read_write.c:89 kernel reloc=.dynamic
section=.text pc=0xc00000000014e004
semantic error: not accessible at this address: identifier '$file' at
<input>:1:61
source: probe kernel.function("generic_file_llseek"){printf("\n
%p",$file);}
^
Pass 2: analyzed script: 1 probe(s), 0 function(s), 0 embed(s), 0 global(s) in
550usr/960sys/1763real ms.
Pass 2: analysis failed. Try again with another '--vp 01' option.
Running rm -rf /tmp/stapED7o0s
---------------------------------------------------------------------
The testcase runs successfully with distro kernel. It also passes on same kernel
built on a ppc64 fedora system.
--
Summary: Systemtap vfs testcase fails on custom kernel built on
RHEL 5.3 on ppc64
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: testsuite
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: prerna at linux dot vnet dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10231
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.