Bug 1972805

Summary: [s390x specific] ERROR: cannot access CPU registers in this context
Product: Red Hat Enterprise Linux 9 Reporter: Martin Cermak <mcermak>
Component: systemtapAssignee: Frank Ch. Eigler <fche>
systemtap sub component: system-version QA Contact: Martin Cermak <mcermak>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: lberk, mcermak, mjw
Version: 9.0Keywords: Bugfix, Patch, Triaged
Target Milestone: beta   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: systemtap-4.5-3.el9 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:50:14 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:

Description Martin Cermak 2021-06-16 16:43:22 UTC
s390x specific  ERROR: cannot access CPU registers in this context.

QE testcase /tools/systemtap/Regression/semantic-errors-bz953776 shows s390x specific  ERROR: cannot access CPU registers in this context within several scenarios.  One example:



(1) scr0   9.0 Server s390x # stap -e 'probe syscall.close { println(fd); exit(); }'
ERROR: cannot access CPU registers in this context
WARNING: Number of errors: 1, skipped probes: 0
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed.  [man error::pass5]
(1) scr0   9.0 Server s390x # uname -r; rpm -q systemtap
5.13.0-0.rc3.25.el9.s390x
systemtap-4.5-2.el9.s390x
scr0   9.0 Server s390x # stap -e 'probe syscall.close { println(fd); exit(); }'
ERROR: cannot access CPU registers in this context
WARNING: Number of errors: 1, skipped probes: 0
WARNING: /usr/bin/staprun exited with status: 1
Pass 5: run failed.  [man error::pass5]
(1) scr0   9.0 Server s390x #

Comment 1 Frank Ch. Eigler 2021-07-01 18:44:19 UTC
upstream commit 5409ddea1a00

Comment 3 Martin Cermak 2021-07-20 14:12:27 UTC
Verified with systemtap-4.5-3.el9.