This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug runtime/15908] On ARM fc19 hw_watch_addr.stp example causes kernel hang and "BUG: scheduling while atomic:" and lock up


https://sourceware.org/bugzilla/show_bug.cgi?id=15908

--- Comment #1 from William Cohen <wcohen at redhat dot com> ---
The testsuite/systemtap.log has the following output which seems to indicate
that it should fail because "OUT WARNING" says no hardware watchpoints are
available:

meta taglines 'test_support: perf stat --event=mem:0xc000000 /bin/true' tag
'test_support' value 'perf stat --event=mem:0xc000000 /bin/true'
TEST
PWD=/mnt/badlands/home/wcohen/systemtap_write/systemtap/testsuite/systemtap.examples/memory
attempting command perf stat --event=mem:0xc000000 /bin/true
OUT 
 Performance counter stats for '/bin/true':

                 0 mem:0xc000000                                               

       0.012679596 seconds time elapsed

RC 0
PASS: ./systemtap.examples/memory/hw_watch_addr support
meta taglines 'test_check: stap --all-modules -p4 hw_watch_addr.stp 0x`grep
"vm_dirty_ratio" /proc/kallsyms`' tag 'test_check' value 'stap --all-modules
-p4 hw_watch_addr.stp 0x`grep "vm_dirty_ratio" /proc/kallsyms`'
attempting command stap --all-modules -p4 hw_watch_addr.stp 0x`grep
"vm_dirty_ratio" /proc/kallsyms`
OUT WARNING: Too many hardware breakpoint probes requested for arm (1 vs. 0)
/mnt/badlands/home/wcohen/systemtap_write/systemtap/testsuite/.systemtap-root/cache/1e/stap_1ecd6f7036b3c87d801be07b2476bfa4_2556.ko
RC 0
PASS: ./systemtap.examples/memory/hw_watch_addr build
meta taglines 'test_installcheck: stap --all-modules hw_watch_addr.stp 0x`grep
"vm_dirty_ratio" /proc/kallsyms` -c "sleep 5"' tag 'test_installcheck' value
'stap --all-modules hw_watch_addr.stp 0x`grep "vm_dirty_ratio" /proc/kallsyms`
-c "sleep 5"'
attempting command stap --all-modules hw_watch_addr.stp 0x`grep
"vm_dirty_ratio" /proc/kallsyms` -c "sleep 5"

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]