Hi Frank,
> alibi procedure, see https://bugzilla.redhat.com/show_bug.cgi?id=655904
Thanks. I can confirm that these instructions crash
linux-image-3.0.0-1-amd64 3.0.0-1
at least under xen. The README in the same directory talks about
generating a whitelist of safe probe points. I
1) commented out
-untested "$TESTNAME is disabled"
-return
+#untested "$TESTNAME is disabled"
+#return
2) removed probe points that don't seem to be found anymore:
kprocess.*,
- process.*,
nfs.fop.*,
nfs.aop.*,
nfsd.proc.*,
- nfsd.*,
nfs.proc.*,
3) fixed rc.local path for debian:
set startup_line_in_RCLOCAL "cd $env(PWD); runtest whitelist.exp&"
-set RCLOCAL "/etc/rc.d/rc.local"
+set RCLOCAL "/etc/rc.local"
4) and finally had to comment out a check that I don't fully understand:
-if {[info procs installtest_p] != "" && ![installtest_p]} {
- untested $TESTNAME;
- return
-}
+#if {[info procs installtest_p] != "" && ![installtest_p]} {
+# untested $TESTNAME;
+# return
+#}
After this I get the following output:
$ sudo runtest whitelist.exp
WARNING: No tool specified
Test Run By root on Fri Aug 12 14:04:11 2011
Native configuration is x86_64-unknown-linux-gnu
=== tests ===
Schedule of variations:
unix
Running target unix
Using /usr/share/dejagnu/baseboards/unix.exp as board description file for
target.
Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
Using ./config/unix.exp as tool-and-target-specific interface file.
kernel location:
kernel version: 3.0.0-1-amd64
systemtap location: /usr/bin/stap
systemtap version: version 1.6/0.152 non-git sources
gcc location: /usr/bin/gcc
gcc version: gcc (Debian 4.6.1-4) 4.6.1
Host: Linux lindi2 3.0.0-1-amd64 #1 SMP Sun Jul 24 02:24:44 UTC 2011 x86_64
GNU/Linux
Snapshot: version 1.6/0.152 non-git sources
GCC: 4.6.1 [gcc (Debian 4.6.1-4) 4.6.1]
Distro: Debian GNU/Linux testing (wheezy)
Running ./systemtap.stress/whitelist.exp ...
Start a fresh stp_genwhitelist test.
current_size_const is initialized as 107
Current size of probes.pending is 963
Start a probe test...
ERROR no match in probe_ok() L1_Grp_kernel.function("idle_balance@/tm... no
match
Completed one probe test.
Current size of probes.pending is 856
Start a probe test...
ERROR no match in probe_ok() L1_Grp_kernel.function("compat_sys_newfs... no
match
Completed one probe test.
Current size of probes.pending is 749
Start a probe test...
ERROR no match in probe_ok() L1_Grp_kernel.function("sys_mprotect@/tm... no
match
Completed one probe test.
Current size of probes.pending is 642
Start a probe test...
ERROR no match in probe_ok() L1_Grp_kernel.function("sys_setpriority@... no
match
Completed one probe test.
Current size of probes.pending is 535
Start a probe test...
ERROR no match in probe_ok() L1_Grp_kernel.function("sys_chown@/tmp/b... no
match
Completed one probe test.
Current size of probes.pending is 428
Start a probe test...
ERROR no match in probe_ok() L1_Grp_kernel.function("sys_getpgrp@/tmp... no
match
Completed one probe test.
Current size of probes.pending is 321
Start a probe test...
ERROR no match in probe_ok() L1_Grp_kernel.function("sys_openat@/tmp/... no
match
Completed one probe test.
Current size of probes.pending is 214
Start a probe test...
ERROR no match in probe_ok() L1_Grp_kernel.function("sys_signalfd4@/t... no
match
Completed one probe test.
Current size of probes.pending is 107
Start a probe test...
ERROR no match in probe_ok() L1_Grp_kernel.function("do_sigaction@/tm... no
match
Completed one probe test.
Current size of probes.pending is 0
Running level increased to 2
Current running level is 2
Append probes.untriggered to probes.pending
current_size_const is set as 19 now
Current size of probes.pending is 963
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("idle_balance@/tm... no
match
Completed one probe test.
Current size of probes.pending is 944
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_accept4@/tmp... no
match
Completed one probe test.
Current size of probes.pending is 925
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_clock_gettim... no
match
Completed one probe test.
Current size of probes.pending is 906
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("compat_sys_msgct... no
match
Completed one probe test.
Current size of probes.pending is 887
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_epoll_create... no
match
Completed one probe test.
Current size of probes.pending is 868
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("compat_sys_fcntl... no
match
Completed one probe test.
Current size of probes.pending is 849
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_fsync@/tmp/b... no
match
Completed one probe test.
Current size of probes.pending is 830
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_gethostname@... no
match
Completed one probe test.
Current size of probes.pending is 811
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_getsockopt@/... no
match
Completed one probe test.
Current size of probes.pending is 792
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_ioperm@/tmp/... no
match
Completed one probe test.
Current size of probes.pending is 773
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_lremovexattr... no
match
Completed one probe test.
Current size of probes.pending is 754
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_modify_ldt@/... no
match
Completed one probe test.
Current size of probes.pending is 735
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_msgget@/tmp/... no
match
Completed one probe test.
Current size of probes.pending is 716
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_pivot_root@/... no
match
Completed one probe test.
Current size of probes.pending is 697
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_recvmmsg@/tm... no
match
Completed one probe test.
Current size of probes.pending is 678
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_rt_sigtimedw... no
match
Completed one probe test.
Current size of probes.pending is 659
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_sendmsg@/tmp... no
match
Completed one probe test.
Current size of probes.pending is 640
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_setregid16@/... no
match
Completed one probe test.
Current size of probes.pending is 621
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_shmdt@/tmp/b... no
match
Completed one probe test.
Current size of probes.pending is 602
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("compat_sys_statf... no
match
Completed one probe test.
Current size of probes.pending is 583
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("compat_sys_time@... no
match
Completed one probe test.
Current size of probes.pending is 564
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_uselib@/tmp/... no
match
Completed one probe test.
Current size of probes.pending is 545
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys32_alarm@/tmp... no
match
Completed one probe test.
Current size of probes.pending is 526
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("compat_sys_clock... no
match
Completed one probe test.
Current size of probes.pending is 507
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("compat_sys_recvm... no
match
Completed one probe test.
Current size of probes.pending is 488
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_epoll_create... no
match
Completed one probe test.
Current size of probes.pending is 469
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_fcntl@/tmp/b... no
match
Completed one probe test.
Current size of probes.pending is 450
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_ftruncate@/t... no
match
Completed one probe test.
Current size of probes.pending is 431
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_getitimer@/t... no
match
Completed one probe test.
Current size of probes.pending is 412
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_gettid@/tmp/... no
match
Completed one probe test.
Current size of probes.pending is 393
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_ioperm@/tmp/... no
match
Completed one probe test.
Current size of probes.pending is 374
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_lremovexattr... no
match
Completed one probe test.
Current size of probes.pending is 355
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_modify_ldt@/... no
match
Completed one probe test.
Current size of probes.pending is 336
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_msgget@/tmp/... no
match
Completed one probe test.
Current size of probes.pending is 317
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_pipe2@/tmp/b... no
match
Completed one probe test.
Current size of probes.pending is 298
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_recv@/tmp/bu... no
match
Completed one probe test.
Current size of probes.pending is 279
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_rt_sigsuspen... no
match
Completed one probe test.
Current size of probes.pending is 260
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_sendfile@/tm... no
match
Completed one probe test.
Current size of probes.pending is 241
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_setpriority@... no
match
Completed one probe test.
Current size of probes.pending is 222
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_shmat@/tmp/b... no
match
Completed one probe test.
Current size of probes.pending is 203
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_newstat@/tmp... no
match
Completed one probe test.
Current size of probes.pending is 184
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_syslog@/tmp/... no
match
Completed one probe test.
Current size of probes.pending is 165
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sys_unlink@/tmp/... no
match
Completed one probe test.
Current size of probes.pending is 146
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("generic_make_req... no
match
Completed one probe test.
Current size of probes.pending is 127
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("kmem_cache_alloc... no
match
Completed one probe test.
Current size of probes.pending is 108
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("check_kill_permi... no
match
Completed one probe test.
Current size of probes.pending is 89
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("sigprocmask@/tmp... no
match
Completed one probe test.
Current size of probes.pending is 70
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("tcp_disconnect@/... no
match
Completed one probe test.
Current size of probes.pending is 51
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("do_sync_write@/t... no
match
Completed one probe test.
Current size of probes.pending is 32
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("generic_file_spl... no
match
Completed one probe test.
Current size of probes.pending is 13
Start a probe test...
ERROR no match in probe_ok() L2_Grp_kernel.function("do_sync_read@/tm... no
match
Completed one probe test.
Current size of probes.pending is 0
Running level increased to 3
Exceed max running level limit.
Remove all temporary files, unregister the service and return.
=== Summary ===
# of expected passes 1
lindi2:~/tmp/systemtap/testsuite(master)$
-Timo
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]