Bug 1657909
| Summary: | vfs-all-probes.stp as shipped with systemtap-4.0-5.el8 doesn't -p2 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Martin Cermak <mcermak> |
| Component: | systemtap | Assignee: | Frank Ch. Eigler <fche> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Cermak <mcermak> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 | CC: | fche, lberk, mcermak, mjw |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | 8.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | systemtap-4.0-7.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-14 01:41:54 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
commit f6d68366654176541487a8916c3b61c5b1207736 Author: William Cohen <wcohen> Date: Mon Nov 19 14:23:15 2018 -0500 Immediately after fixing this worked, I believe, but now, probably after a kernel update to 4.18.0-67.el8, new ppc64le error::dwarf appeared here:
=======
8.0 Server ppc64le # stap -P -w -p4 /usr/share/systemtap/testsuite/buildok/vfs-all-probes.stp
semantic error: while processing probe kernel.function("__vfs_read@fs/read_write.c:412") from: __vfs.__vfs_read from: vfs.do_sync_read from: vfs.*
semantic error: failed to retrieve location attribute for 'file' [man error::dwarf]: identifier '$file' at /usr/share/systemtap/tapset/linux/vfs.stp:692:6
dieoffset: 0x3217158 from /usr/lib/debug/lib/modules/4.18.0-67.el8.ppc64le/vmlinux
function: __vfs_read at fs/read_write.c:415:10 inlined by vfs_read at fs/read_write.c:452:9 inlined by ksys_read at fs/read_write.c:578:9 inlined by __do_sys_read at fs/read_write.c:588:9 inlined by __se_sys_read at fs/read_write.c:586:1
source: if ($file->f_op->read || !$file->f_op->read_iter) next
^
semantic error: failed to retrieve location attribute for 'file' [man error::dwarf]: identifier '$file' at :692:6
dieoffset: 0x3217158 from /usr/lib/debug/lib/modules/4.18.0-67.el8.ppc64le/vmlinux
function: __vfs_read at fs/read_write.c:415:10 inlined by vfs_read at fs/read_write.c:452:9 inlined by ksys_read at fs/read_write.c:578:9 inlined by __do_sys_read at fs/read_write.c:588:9 inlined by __se_sys_read at fs/read_write.c:586:1
source: if ($file->f_op->read || !$file->f_op->read_iter) next
^
semantic error: failed to retrieve location attribute for 'file' [man error::dwarf]: identifier '$file' at :692:6
dieoffset: 0x3217158 from /usr/lib/debug/lib/modules/4.18.0-67.el8.ppc64le/vmlinux
function: __vfs_read at fs/read_write.c:415:10 inlined by vfs_read at fs/read_write.c:452:9 inlined by ksys_read at fs/read_write.c:578:9 inlined by __do_sys_read at fs/read_write.c:588:9 inlined by __se_sys_read at fs/read_write.c:586:1
source: if ($file->f_op->read || !$file->f_op->read_iter) next
^
semantic error: failed to retrieve location attribute for 'file' [man error::dwarf]: identifier '$file' at :692:6
dieoffset: 0x3217158 from /usr/lib/debug/lib/modules/4.18.0-67.el8.ppc64le/vmlinux
function: __vfs_read at fs/read_write.c:415:10 inlined by vfs_read at fs/read_write.c:452:9 inlined by ksys_read at fs/read_write.c:578:9 inlined by __do_sys_read at fs/read_write.c:588:9 inlined by __se_sys_read at fs/read_write.c:586:1
source: if ($file->f_op->read || !$file->f_op->read_iter) next
^
semantic error: failed to retrieve location attribute for 'file' [man error::dwarf]: identifier '$file' at :692:6
dieoffset: 0x3217158 from /usr/lib/debug/lib/modules/4.18.0-67.el8.ppc64le/vmlinux
function: __vfs_read at fs/read_write.c:415:10 inlined by vfs_read at fs/read_write.c:452:9 inlined by ksys_read at fs/read_write.c:578:9 inlined by __do_sys_read at fs/read_write.c:588:9 inlined by __se_sys_read at fs/read_write.c:586:1
source: if ($file->f_op->read || !$file->f_op->read_iter) next
^
semantic error: failed to retrieve location attribute for 'file' [man error::dwarf]: identifier '$file' at :692:6
dieoffset: 0x3217158 from /usr/lib/debug/lib/modules/4.18.0-67.el8.ppc64le/vmlinux
function: __vfs_read at fs/read_write.c:415:10 inlined by vfs_read at fs/read_write.c:452:9 inlined by ksys_read at fs/read_write.c:578:9 inlined by __do_sys_read at fs/read_write.c:588:9 inlined by __se_sys_read at fs/read_write.c:586:1
source: if ($file->f_op->read || !$file->f_op->read_iter) next
^
semantic error: failed to retrieve location attribute for 'file' [man error::dwarf]: identifier '$file' at :692:6
dieoffset: 0x3217158 from /usr/lib/debug/lib/modules/4.18.0-67.el8.ppc64le/vmlinux
function: __vfs_read at fs/read_write.c:415:10 inlined by vfs_read at fs/read_write.c:452:9 inlined by ksys_read at fs/read_write.c:578:9 inlined by __do_sys_read at fs/read_write.c:588:9 inlined by __se_sys_read at fs/read_write.c:586:1
source: if ($file->f_op->read || !$file->f_op->read_iter) next
^
semantic error: failed to retrieve location attribute for 'file' [man error::dwarf]: identifier '$file' at :692:6
dieoffset: 0x3217158 from /usr/lib/debug/lib/modules/4.18.0-67.el8.ppc64le/vmlinux
function: __vfs_read at fs/read_write.c:415:10 inlined by vfs_read at fs/read_write.c:452:9 inlined by ksys_read at fs/read_write.c:578:9 inlined by __do_sys_read at fs/read_write.c:588:9 inlined by __se_sys_read at fs/read_write.c:586:1
source: if ($file->f_op->read || !$file->f_op->read_iter) next
^
semantic error: failed to retrieve location attribute for 'file' [man error::dwarf]: identifier '$file' at :692:6
dieoffset: 0x3217158 from /usr/lib/debug/lib/modules/4.18.0-67.el8.ppc64le/vmlinux
function: __vfs_read at fs/read_write.c:415:10 inlined by vfs_read at fs/read_write.c:452:9 inlined by ksys_read at fs/read_write.c:578:9 inlined by __do_sys_read at fs/read_write.c:588:9 inlined by __se_sys_read at fs/read_write.c:586:1
source: if ($file->f_op->read || !$file->f_op->read_iter) next
^
semantic error: failed to retrieve location attribute for 'file' [man error::dwarf]: identifier '$file' at :692:6
dieoffset: 0x3217158 from /usr/lib/debug/lib/modules/4.18.0-67.el8.ppc64le/vmlinux
function: __vfs_read at fs/read_write.c:415:10 inlined by vfs_read at fs/read_write.c:452:9 inlined by ksys_read at fs/read_write.c:578:9 inlined by __do_sys_read at fs/read_write.c:588:9 inlined by __se_sys_read at fs/read_write.c:586:1
source: if ($file->f_op->read || !$file->f_op->read_iter) next
^
semantic error: failed to retrieve location attribute for 'file' [man error::dwarf]: identifier '$file' at :692:6
dieoffset: 0x3217158 from /usr/lib/debug/lib/modules/4.18.0-67.el8.ppc64le/vmlinux
function: __vfs_read at fs/read_write.c:415:10 inlined by vfs_read at fs/read_write.c:452:9 inlined by ksys_read at fs/read_write.c:578:9 inlined by __do_sys_read at fs/read_write.c:588:9 inlined by __se_sys_read at fs/read_write.c:586:1
source: if ($file->f_op->read || !$file->f_op->read_iter) next
^
Pass 2: analysis failed. [man error::pass2]
(1) 8.0 Server ppc64le # uname -r
4.18.0-67.el8.ppc64le
8.0 Server ppc64le #
=======
Upstream stap gives the same results as systemtap-4.0-7.el8 . I'm about to mark this one as verified anyway based on the nature of the problem. Thoughts?
The ppc64le part appears to be https://bugzilla.redhat.com/show_bug.cgi?id=1173076#c11 . Verified using systemtap-4.0-7.el8 . |
The vfs-all-probes.stp as shipped with systemtap-4.0-5.el8 doesn't pass the elaboration phase. But it is fixed upstream e.g. in 891810c24 : ======= 8.0 Server x86_64 # rpm -q systemtap systemtap-4.0-5.el8.x86_64 8.0 Server x86_64 # stap -P -w -p4 /usr/share/systemtap/testsuite/buildok/vfs-all-probes.stp semantic error: unresolved type : identifier '$cred' at /usr/share/systemtap/tapset/linux/vfs.stp:1314:23 source: cred = @entry($cred) ^ semantic error: while processing probe kernel.function("vfs_open@fs/open.c:883").return from: vfs.open.return from: vfs.* semantic error: unable to find local 'cred', [man error::dwarf] dieoffset 0x3213110 in kernel, near pc 0xffffffff812a0620 in vfs_open fs/open.c (alternatives: $file, $path)): identifier '$cred' at :1314:23 source: cred = @entry($cred) ^ semantic error: unable to find local 'cred', [man error::dwarf] dieoffset 0x3213110 in kernel, near pc 0xffffffff812a0620 in vfs_open fs/open.c (alternatives: $file, $path)): identifier '$cred' at :1314:23 source: cred = @entry($cred) ^ Pass 2: analysis failed. [man error::pass2] (1) 8.0 Server x86_64 # ======= Please, backport the fix.