mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Vegard Nossum <vegard.nossum@gmail.com>
To: Philippe Elie <phil.el@wanadoo.fr>, oprofile-list@lists.sourceforge.net
Cc: linux-kernel@vger.kernel.org
Subject: v2.6.26-rc7/oprofile: BUG: using smp_processor_id() in preemptible
Date: Sat, 21 Jun 2008 20:28:06 +0200	[thread overview]
Message-ID: <20080621182805.GA27417@damson.getinternet.no> (raw)

Hi,

I decided to try oprofile too :) Here's what I did:

    # opcontrol --deinit
    Stopping profiling.
    Killing daemon.
    Opening /proc/modules: No such file or directory

This was after having collected some data. The kernel is compiled without
module support. (I can provide config if necessary)

Vegard


 opannotate[27361]: segfault at 0 ip 080d1f5b sp bfcbab6c error 4 in opannotate[8048000+117000]
 BUG: using smp_processor_id() in preemptible [00000000] code: oprofiled/27301
 caller is nmi_shutdown+0x11/0x60
 Pid: 27301, comm: oprofiled Not tainted 2.6.26-rc7 #25
  [<c028a90d>] debug_smp_processor_id+0xbd/0xc0
  [<c045fba1>] nmi_shutdown+0x11/0x60
  [<c045dd4a>] oprofile_shutdown+0x2a/0x60
  [<c045eb70>] event_buffer_release+0x10/0x40
  [<c0195f76>] __fput+0xb6/0x180
  [<c01962e9>] fput+0x19/0x20
  [<c0193297>] filp_close+0x47/0x70
  [<c013869b>] put_files_struct+0x9b/0xb0
  [<c01386f2>] exit_files+0x42/0x60
  [<c013989d>] do_exit+0x16d/0x700
  [<c014e1c6>] ? up_read+0x16/0x30
  [<c0122953>] ? do_page_fault+0x2e3/0x700
  [<c0194b90>] ? do_sync_write+0x0/0x110
  [<c0139e61>] do_group_exit+0x31/0x90
  [<c0139ecf>] sys_exit_group+0xf/0x20
  [<c010831b>] sysenter_past_esp+0x78/0xd1
  =======================

             reply	other threads:[~2008-06-21 18:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-21 18:28 Vegard Nossum [this message]
2008-06-21 21:55 ` [PATCH] x86/oprofile: disable preemption in nmi_shutdown Vegard Nossum
2008-06-22  7:30   ` Johannes Weiner
2008-06-22  7:40     ` Vegard Nossum
2008-06-24 11:49       ` Ingo Molnar

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=20080621182805.GA27417@damson.getinternet.no \
    --to=vegard.nossum@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oprofile-list@lists.sourceforge.net \
    --cc=phil.el@wanadoo.fr \
    /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

all inboxes | Powered by JetHome®