public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug testsuite/4754] New: "echo 0 > /proc/stap_test_cmd" fails with Invalid argument message.
@ 2007-07-09 12:33 srinivasa at in dot ibm dot com
  2007-07-09 12:35 ` [Bug testsuite/4754] " srinivasa at in dot ibm dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: srinivasa at in dot ibm dot com @ 2007-07-09 12:33 UTC (permalink / raw)
  To: systemtap

My environment is 2.6.22-rc7 kernel, systemtap-20070707 snapshot and elfutils-0.128.

context.exp testcase of systemtap-20070707 snapshot fails with below message.
==============================
Running
/home/systemtap/tmp/stap_testing_200707091005/src/testsuite/systemtap.context/context.exp
...
ERROR: tcl error sourcing
/home/systemtap/tmp/stap_testing_200707091005/src/testsuite/systemtap.context/context.exp.
ERROR: echo: write error: Invalid argument
    while executing
"exec echo 0 > /proc/stap_test_cmd"
    invoked from within
"expect -nobrace -timeout 240 {Systemtap probe: begin
} {
        pass "backtrace of begin probe"
        exec echo 0 > /proc/stap_test_cmd
        exp_continue
    } -re ..."
    invoked from within
"expect {
    -timeout 240
    "Systemtap probe: begin\r\n" {
        pass "backtrace of begin probe"
        exec echo 0 > /proc/stap_test_cmd
        exp_continue
    }
 ..."
    (file "backtrace.tcl" line 6)
    invoked from within
"source $test.tcl"
    ("foreach" body line 2)
    invoked from within
"foreach test $testlist {
    source $test.tcl
}"
    (file
"/home/systemtap/tmp/stap_testing_200707091005/src/testsuite/systemtap.context/context.exp"
line 74)
    invoked from within
"source
/home/systemtap/tmp/stap_testing_200707091005/src/testsuite/systemtap.context/context.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source
/home/systemtap/tmp/stap_testing_200707091005/src/testsuite/systemtap.context/context.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""
===================================================

=================================================
[root@llm27lp1 ~]# cat  /proc/stap_test_cmd
cat: /proc/stap_test_cmd: Invalid argument
[root@llm27lp1 ~]# echo 0 >  /proc/stap_test_cmd
systemtap_bt_test_module: invalid command type 0
-bash: echo: write error: Invalid argument
[root@llm27lp1 ~]#
============================================

May I know, what is the role of /proc/stap_test_cmd" file?

-- 
           Summary: "echo 0 > /proc/stap_test_cmd" fails with Invalid
                    argument message.
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: srinivasa at in dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4754

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/4754] "echo 0 > /proc/stap_test_cmd" fails with Invalid argument message.
  2007-07-09 12:33 [Bug testsuite/4754] New: "echo 0 > /proc/stap_test_cmd" fails with Invalid argument message srinivasa at in dot ibm dot com
@ 2007-07-09 12:35 ` srinivasa at in dot ibm dot com
  2007-07-09 12:39 ` srinivasa at in dot ibm dot com
  2007-07-09 16:23 ` hunt at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: srinivasa at in dot ibm dot com @ 2007-07-09 12:35 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From srinivasa at in dot ibm dot com  2007-07-09 12:35 -------
dmesg shows this message on echoing 0 to /proc/stap_test_cmd file.
==============================
systemtap_bt_test_module: invalid command type 0
==========================

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4754

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/4754] "echo 0 > /proc/stap_test_cmd" fails with Invalid argument message.
  2007-07-09 12:33 [Bug testsuite/4754] New: "echo 0 > /proc/stap_test_cmd" fails with Invalid argument message srinivasa at in dot ibm dot com
  2007-07-09 12:35 ` [Bug testsuite/4754] " srinivasa at in dot ibm dot com
@ 2007-07-09 12:39 ` srinivasa at in dot ibm dot com
  2007-07-09 16:23 ` hunt at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: srinivasa at in dot ibm dot com @ 2007-07-09 12:39 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From srinivasa at in dot ibm dot com  2007-07-09 12:39 -------
*** Bug 4753 has been marked as a duplicate of this bug. ***

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4754

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug testsuite/4754] "echo 0 > /proc/stap_test_cmd" fails with Invalid argument message.
  2007-07-09 12:33 [Bug testsuite/4754] New: "echo 0 > /proc/stap_test_cmd" fails with Invalid argument message srinivasa at in dot ibm dot com
  2007-07-09 12:35 ` [Bug testsuite/4754] " srinivasa at in dot ibm dot com
  2007-07-09 12:39 ` srinivasa at in dot ibm dot com
@ 2007-07-09 16:23 ` hunt at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hunt at redhat dot com @ 2007-07-09 16:23 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From hunt at redhat dot com  2007-07-09 16:23 -------
Fix checked in.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


http://sourceware.org/bugzilla/show_bug.cgi?id=4754

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-09 16:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-09 12:33 [Bug testsuite/4754] New: "echo 0 > /proc/stap_test_cmd" fails with Invalid argument message srinivasa at in dot ibm dot com
2007-07-09 12:35 ` [Bug testsuite/4754] " srinivasa at in dot ibm dot com
2007-07-09 12:39 ` srinivasa at in dot ibm dot com
2007-07-09 16:23 ` hunt at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).