Bug 438614

Summary: utrace: syscall-reset: syscall number change: biarch run FAILs
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan.kratochvil>
Component: kernelAssignee: Roland McGrath <roland>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: kernel-mgr
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: kernel-2.6.25-0.139.rc6.git5.fc9.x86_64 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-23 12:52:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Kratochvil 2008-03-22 21:50:41 UTC
Description of problem:
Tracking a `syscall-reset' testcase bug for i386-debugger-on-x86_64-kernel.

Version-Release number of selected component (if applicable):
kernel-2.6.24.3-34.fc8.x86_64 (biarch: -m32)
Working for native variants:
kernel-2.6.24.3-34.fc8.i686 (-m32)
kernel-2.6.24.3-34.fc8.x86_64 (-m64)

How reproducible:
Always.

Steps to Reproduce:
1. wget -O syscall-reset.c
'http://sources.redhat.com/cgi-bin/cvsweb.cgi/~checkout~/tests/ptrace-tests/tests/syscall-reset.c?cvsroot=systemtap'
2. gcc -o syscall-reset syscall-reset.c -Wall -ggdb2 -D_GNU_SOURCE -m32
3. ./syscall-reset; echo $?

Actual results:
1

Expected results:
0

Additional info:
non-biarch (native arch size) runs work fine.

Rawhide kernel-2.6.25-0.121.rc5.git4.fc9.x86_64 - non-utrace one, based on
2.6.25-rc5-git4 - fails both natively (-m64) and biarch (-m32).

Comment 1 Roland McGrath 2008-03-22 22:05:10 UTC
No upstream kernel did this right for 32-bit ptrace callers on x86_64 in the past.
We probably won't worry about it for any pre-2.6.25 kernel in Fedora.
So this bug should be for rawhide/f9 if those kernels have a problem.
F8 update kernels will probably be 2.6.25 eventually after F9 kernels are stable.

Comment 2 Jan Kratochvil 2008-03-22 22:25:43 UTC
Waiting till a new rawhide utrace lands - rawhide ptrace is broken (Comment 0
kernel-2.6.25-0.121.rc5.git4.fc9.x86_64).