public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
From: "mjw at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: systemtap@sourceware.org
Subject: [Bug kprobes/13006] New: numa_faults.stp crashes 2.6.9 kernels
Date: Tue, 19 Jul 2011 13:02:00 -0000	[thread overview]
Message-ID: <bug-13006-6586@http.sourceware.org/bugzilla/> (raw)

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

           Summary: numa_faults.stp crashes 2.6.9 kernels
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: kprobes
        AssignedTo: systemtap@sourceware.org
        ReportedBy: mjw@redhat.com


The following almost always crashes 2.6.9 kernels like those found on RHEL4
(2.6.9-89.ELlargesmp):

stap -v testsuite/systemtap.examples/memory/numa_faults.stp -c 'sleep 2'
Pass 1: parsed user script and 76 library script(s) using
91976virt/20988res/2328shr kb, in 340usr/20sys/368real ms.
Pass 2: analyzed script: 3 probe(s), 6 function(s), 4 embed(s), 4 global(s)
using 149876virt/38424res/3268shr kb, in 650usr/410sys/1058real ms.
Pass 3: translated to C into
"/tmp/staplhgxo7/stap_a4b7b3b6fe2771484190c0ffcea98786_4232.c" using
148680virt/40720res/5524shr kb, in 650usr/20sys/685real ms.
Pass 4: compiled C into "stap_a4b7b3b6fe2771484190c0ffcea98786_4232.ko" in
2180usr/220sys/2333real ms.
Pass 5: starting run.
Starting pagefault counters 

stap_a4b7b3b6fe2771484190c0ffcea98786_4232: systemtap: 1.6/0.152, base:
ffffffffa0225000, memory: 202data/25text/54ctx/2054net/10073alloc kb, probes: 3
 Unable to handle kernel paging request at 0000000000007cb0 RIP: 
 <ffffffffa022927e>{:stap_a4b7b3b6fe2771484190c0ffcea98786_4232:probe_1999+648}
 PML4 40d81a067 PGD 40bf47067 PMD 0 
 Oops: 0000 [1] SMP 
 CPU 1 
 Modules linked in: stap_a4b7b3b6fe2771484190c0ffcea98786_4232(U) md5 ipv6
parport_pc lp parport autofs4 sunrpc ds yenta_socket pcmcia_core
cpufreq_powersave loop button battery ac uhci_hcd ehci_hcd hw_random e1000
floppy sg dm_snapshot dm_zero dm_mirror ext3 jbd dm_mod ata_piix libata
megaraid_sas sd_mod scsi_mod
 Pid: 15326, comm: stapio Not tainted 2.6.9-89.ELlargesmp
 RIP: 0010:[<ffffffffa022927e>]
<ffffffffa022927e>{:stap_a4b7b3b6fe2771484190c0ffcea98786_4232:probe_1999+648}
 RSP: 0000:00000104047cbc58  EFLAGS: 00010093
 RAX: 000ffffff37e18c3 RBX: 0000000000000040 RCX: 0000000000000000
 RDX: 0000000000430000 RSI: fffffffff37e18c3 RDI: ffffffff80489328
 RBP: 0000010411ca1000 R08: 0000000000000001 R09: 0000000000000001
 R10: 0000010411ca18c0 R11: 00000037e18c36a0 R12: 0000000000000004
 R13: 0000010411ca1498 R14: 0000000000000000 R15: ffffffff805522e0
 FS:  0000002a95561ec0(0000) GS:ffffffff80517400(0000) knlGS:0000000000000000
 CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
 CR2: 0000000000007cb0 CR3: 0000000037e38000 CR4: 00000000000006e0
 Process stapio (pid: 15326, threadinfo 00000104047ca000, task
00000104131847f0)
 Stack: 000000000000001c 00000104047cbd90 0000000000000246 ffffffff80231c74 
        ffffffff803f7ee0 0000000000000000 ffffffff803f7ee8 00000104047cbdf4 
        00000104047cbce8 ffffffff801361e5 
 Call Trace:<ffffffff80231c74>{n_tty_receive_buf+3922}
<ffffffff801361e5>{autoremove_wake_function+9} 
        <ffffffff8016c17a>{handle_mm_fault+1}
<ffffffff8016c17a>{handle_mm_fault+1} 
       
<ffffffffa022a268>{:stap_a4b7b3b6fe2771484190c0ffcea98786_4232:enter_kprobe_probe+379} 
        <ffffffff8016c179>{handle_mm_fault+0}
<ffffffff80122e41>{kprobe_handler+602} 
        <ffffffff80123242>{kprobe_exceptions_notify+63}
<ffffffff80145577>{notifier_call_chain+31} 
        <ffffffff801127c0>{do_int3+66} <ffffffff80110e21>{error_exit+0} 
        <ffffffff8016c179>{handle_mm_fault+0}
<ffffffff801248c4>{do_page_fault+520} 
        <ffffffff80144bd7>{sys_kill+281} <ffffffff8017b94c>{vfs_read+207} 
        <ffffffff80110e21>{error_exit+0} 

 Code: 48 8b 91 b0 7c 00 00 48 39 f2 77 de 48 03 91 c0 7c 00 00 48 
 RIP
<ffffffffa022927e>{:stap_a4b7b3b6fe2771484190c0ffcea98786_4232:probe_1999+648}
RSP <00000104047cbc58>
 CR2: 0000000000007cb0
  <0>Kernel panic - not syncing: Oops

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

             reply	other threads:[~2011-07-19 13:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-19 13:02 mjw at redhat dot com [this message]
2011-08-12 20:15 ` [Bug kprobes/13006] " mjw at redhat dot com
2011-12-07 21:32 ` jistone at redhat dot com
2011-12-07 22:29 ` mjw at redhat dot com
2011-12-08  9:05 ` jistone at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-13006-6586@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=systemtap@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).