* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
@ 2007-08-10 20:19 ` wcohen at redhat dot com
2007-08-16 16:38 ` hunt at redhat dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: wcohen at redhat dot com @ 2007-08-10 20:19 UTC (permalink / raw)
To: systemtap
------- Additional Comments From wcohen at redhat dot com 2007-08-10 14:41 -------
The futimes test has passed on other machines. Does the s390 have a wrapper that
uses utime for utimes? That would explain the differences in the system calls
(utime vs. utimes) and the difference in the argument handling.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
2007-08-10 20:19 ` [Bug testsuite/4902] " wcohen at redhat dot com
@ 2007-08-16 16:38 ` hunt at redhat dot com
2007-09-06 18:56 ` dwilder at us dot ibm dot com
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: hunt at redhat dot com @ 2007-08-16 16:38 UTC (permalink / raw)
To: systemtap
------- Additional Comments From hunt at redhat dot com 2007-08-16 16:03 -------
I'm not sure what is going on here. Please try the following
Do a cvs update
cd to testsuite/systemtap.syscall
compile futimes; gcc -o futimes futimes.c
./all_syscalls.stp -c ./futimes | grep utim
Then post the output here.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |hunt at redhat dot com
Status|NEW |WAITING
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
2007-08-10 20:19 ` [Bug testsuite/4902] " wcohen at redhat dot com
2007-08-16 16:38 ` hunt at redhat dot com
@ 2007-09-06 18:56 ` dwilder at us dot ibm dot com
2007-09-11 4:00 ` dwilder at us dot ibm dot com
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: dwilder at us dot ibm dot com @ 2007-09-06 18:56 UTC (permalink / raw)
To: systemtap
------- Additional Comments From dwilder at us dot ibm dot com 2007-09-06 17:22 -------
Here is th output you wanted. (this is from the the 9/1 snapshot. I did not do
the cvs update. Is there a change you needed me to pickup? Do to firewalls I
can run cvs update directly on the target system. But will update the code if
it is needed)
kernel.function("sys_utime@fs/utimes.c:26")
kernel.function("sys_utime@fs/utimes.c:26")
kernel.function("sys_futimesat@fs/utimes.c:158")
kernel.function("sys_futimesat@fs/utimes.c:158")
Clearly userspace is mapping utimes to utime. Here is strace output of the same.
futimes.creat("foobar", 0666) = 3
utime("foobar", [2001/09/08-18:46:40, 2033/05/17-20:33:20]) = 0
utime("/proc/self/fd/3", [2001/09/08-18:46:40, 2033/05/17-20:33:20]) = 0
futimesat(7, "foobar", {1000000000, 1234}) = -1 EBADF (Bad file descriptor)
futimesat(AT_FDCWD, "foobar", {1000000000, 1234}) = 0
exit_group(0) = ?
I am not sure why the mapping is done as both utimes and utime syscalls are
defined in the kernel. I don't see much we can do here other than make a s390
spicific test or just make it a KFAIL on S390.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |NEW
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
` (2 preceding siblings ...)
2007-09-06 18:56 ` dwilder at us dot ibm dot com
@ 2007-09-11 4:00 ` dwilder at us dot ibm dot com
2007-09-11 12:11 ` dwilder at us dot ibm dot com
2007-09-11 13:52 ` dwilder at us dot ibm dot com
5 siblings, 0 replies; 7+ messages in thread
From: dwilder at us dot ibm dot com @ 2007-09-11 4:00 UTC (permalink / raw)
To: systemtap
------- Additional Comments From dwilder at us dot ibm dot com 2007-09-11 01:26 -------
It s390 spicific so I will assign it my myself.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
` (3 preceding siblings ...)
2007-09-11 4:00 ` dwilder at us dot ibm dot com
@ 2007-09-11 12:11 ` dwilder at us dot ibm dot com
2007-09-11 13:52 ` dwilder at us dot ibm dot com
5 siblings, 0 replies; 7+ messages in thread
From: dwilder at us dot ibm dot com @ 2007-09-11 12:11 UTC (permalink / raw)
To: systemtap
------- Additional Comments From dwilder at us dot ibm dot com 2007-09-11 01:28 -------
Woops updated the wrong bug. Back to systemtap.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug testsuite/4902] systemtap.syscall/futime test failing.
2007-08-07 8:12 [Bug testsuite/4902] New: systemtap.syscall/futime test failing dwilder at us dot ibm dot com
` (4 preceding siblings ...)
2007-09-11 12:11 ` dwilder at us dot ibm dot com
@ 2007-09-11 13:52 ` dwilder at us dot ibm dot com
5 siblings, 0 replies; 7+ messages in thread
From: dwilder at us dot ibm dot com @ 2007-09-11 13:52 UTC (permalink / raw)
To: systemtap
------- Additional Comments From dwilder at us dot ibm dot com 2007-09-11 03:59 -------
How about
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|systemtap at sources dot |dwilder at us dot ibm dot
|redhat dot com |com
http://sourceware.org/bugzilla/show_bug.cgi?id=4902
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
^ permalink raw reply [flat|nested] 7+ messages in thread