public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/2989] New: Systemtap generated code triggering locking correctness validator on x86_64
@ 2006-08-01 14:28 wcohen at redhat dot com
  2006-08-01 14:31 ` [Bug runtime/2989] " wcohen at redhat dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: wcohen at redhat dot com @ 2006-08-01 14:28 UTC (permalink / raw)
  To: systemtap

Systemtap generated code on x86_64 is triggering the locking
correctness validator
(http://people.redhat.com/mingo/lockdep-patches/lockdep-design.txt).
On the rawhide machine getting the following message in
/var/log/messages:

Aug  1 10:06:07 dhcp59-158 kernel: INFO: trying to register non-static key.
Aug  1 10:06:07 dhcp59-158 kernel: the code is fine but needs lockdep annotation.
Aug  1 10:06:07 dhcp59-158 kernel: turning off the locking correctness validator.
Aug  1 10:06:07 dhcp59-158 kernel: 
Aug  1 10:06:07 dhcp59-158 kernel: Call Trace:
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff8026e269>] show_trace+0xaa/0x23d
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff8026e411>] dump_stack+0x15/0x17
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff802a788e>] __lock_acquire+0x135/0xa54
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff802a874e>] lock_acquire+0x4b/0x69
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff8026723b>] _spin_lock+0x25/0x31
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff885d714b>]
:stap_23370:_stp_init_time+0xaa/0xe3
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff885d80ed>]
:stap_23370:_stp_handle_start+0x11/0x55
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff885d81b8>]
:stap_23370:_stp_proc_write_cmd+0x87/0xd1
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff80217106>] vfs_write+0xcf/0x175
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff802179ee>] sys_write+0x47/0x70
Aug  1 10:06:07 dhcp59-158 kernel:  [<ffffffff8025ff0e>] system_call+0x7e/0x83

Looking through the nightly testing stap_23370.c ran much earlier (about
4:30am). From the testsuite's systemap.log.

Running ./systemtap.base/add.exp ...
Pass 1: parsed user script and 40 library script(s) in 240usr/10sys/258real ms.

Pass 2: analyzed script: 2 probe(s), 1 function(s), 3 global(s) in
10usr/10sys/4real ms.

Pass 3: translated to C into "/tmp/stapF3LstW/stap_23370.c" in
50usr/90sys/154real ms.

Pass 4: compiled C into "stap_23370.ko" in 1880usr/510sys/2424real ms.

Pass 5: starting run.

systemtap starting probe

PASS: ./systemtap.base/add.stp startup
PASS: ./systemtap.base/add.stp load generation
systemtap ending probe

systemtap test success

PASS: ./systemtap.base/add.stp shutdown and output
Pass 5: run completed in 0usr/60sys/443real ms.

metric:	./systemtap.base/add.stp 	240	10	258	10	10	4	50	90	154	1880	510
2424	0	60	443
testcase ./systemtap.base/add.exp completed in 4 seconds

-- 
           Summary: Systemtap generated code triggering locking correctness
                    validator on x86_64
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: wcohen at redhat dot com


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

------- 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 runtime/2989] Systemtap generated code triggering locking correctness validator on x86_64
  2006-08-01 14:28 [Bug runtime/2989] New: Systemtap generated code triggering locking correctness validator on x86_64 wcohen at redhat dot com
@ 2006-08-01 14:31 ` wcohen at redhat dot com
  2006-09-15 16:44 ` hunt at redhat dot com
  2006-09-15 17:35 ` joshua dot i dot stone at intel dot com
  2 siblings, 0 replies; 4+ messages in thread
From: wcohen at redhat dot com @ 2006-08-01 14:31 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From wcohen at redhat dot com  2006-08-01 14:31 -------
System tap was a cvs snapshot from 4:30am EDT 8/1/2006

$ uname -a
Linux dhcp59-158.rdu.redhat.com 2.6.17-1.2462.fc6 #1 SMP Thu Jul 27 11:27:24 EDT
2006 x86_64 x86_64 x86_64 GNU/Linux


-- 


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

------- 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 runtime/2989] Systemtap generated code triggering locking correctness validator on x86_64
  2006-08-01 14:28 [Bug runtime/2989] New: Systemtap generated code triggering locking correctness validator on x86_64 wcohen at redhat dot com
  2006-08-01 14:31 ` [Bug runtime/2989] " wcohen at redhat dot com
@ 2006-09-15 16:44 ` hunt at redhat dot com
  2006-09-15 17:35 ` joshua dot i dot stone at intel dot com
  2 siblings, 0 replies; 4+ messages in thread
From: hunt at redhat dot com @ 2006-09-15 16:44 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hunt at redhat dot com


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

------- 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 runtime/2989] Systemtap generated code triggering locking correctness validator on x86_64
  2006-08-01 14:28 [Bug runtime/2989] New: Systemtap generated code triggering locking correctness validator on x86_64 wcohen at redhat dot com
  2006-08-01 14:31 ` [Bug runtime/2989] " wcohen at redhat dot com
  2006-09-15 16:44 ` hunt at redhat dot com
@ 2006-09-15 17:35 ` joshua dot i dot stone at intel dot com
  2 siblings, 0 replies; 4+ messages in thread
From: joshua dot i dot stone at intel dot com @ 2006-09-15 17:35 UTC (permalink / raw)
  To: systemtap



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|systemtap at sources dot    |joshua dot i dot stone at
                   |redhat dot com              |intel dot com
             Status|NEW                         |ASSIGNED


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

------- 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:[~2006-09-15 17:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-01 14:28 [Bug runtime/2989] New: Systemtap generated code triggering locking correctness validator on x86_64 wcohen at redhat dot com
2006-08-01 14:31 ` [Bug runtime/2989] " wcohen at redhat dot com
2006-09-15 16:44 ` hunt at redhat dot com
2006-09-15 17:35 ` joshua dot i dot stone at intel 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).