public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
From: Tejun Heo <tj@kernel•org>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: sedat.dilek@gmail•com, linux-next@vger•kernel.org,
	linux-kernel@vger•kernel.org, x86@kernel•org,
	Ingo Molnar <mingo@redhat•com>,
	Steven Rostedt <rostedt@goodmis•org>,
	Borislav Petkov <bp@alien8•de>,
	Andrew Morton <akpm@linux-foundation•org>
Subject: Re: linux-next: Tree for Feb 23 [ perf: NULL pointer dereference perf_init_event() ]
Date: Wed, 27 Feb 2013 07:02:43 -0800	[thread overview]
Message-ID: <20130227150243.GA22383@htj.dyndns.org> (raw)
In-Reply-To: <20130228005122.329c5ed6fd79f686ee41364e@canb.auug.org.au>

Hello,

On Thu, Feb 28, 2013 at 12:51:22AM +1100, Stephen Rothwell wrote:
> [Cc'ing Andrew just in case he was going to send the offending patch on
> to Linus soon ...]
> 
> On Wed, 27 Feb 2013 14:23:51 +0100 Sedat Dilek <sedat.dilek@gmail•com> wrote:
> >
> > On Tue, Feb 26, 2013 at 10:39 AM, Sedat Dilek <sedat.dilek@gmail•com> wrote:
> > > On Mon, Feb 25, 2013 at 2:44 PM, Sedat Dilek <sedat.dilek@gmail•com> wrote:
> > >>
> > >> With today's Linux-Next I see multiple call-traces pointing to perf
> > >> issues (excerpt, for full dmesg see attachments):
> > >>
> > >> [    0.093651] Call Trace:
> > >> [    0.093656]  [<ffffffff8112a808>] perf_event_alloc+0x358/0x490
> > >> [    0.093661]  [<ffffffff810ec230>] ? touch_nmi_watchdog+0x80/0x80
> > >> [    0.093666]  [<ffffffff8112ac6e>] perf_event_create_kernel_counter+0x2e/0xe0
> > >> [    0.093670]  [<ffffffff810ec3ed>] watchdog_enable+0xfd/0x1e0
> > >> [    0.093676]  [<ffffffff81087a3c>] smpboot_thread_fn+0x9c/0x170
> > >> [    0.093681]  [<ffffffff810879a0>] ? lg_global_lock+0x70/0x70
> > >> [    0.093685]  [<ffffffff8107fb80>] kthread+0xc0/0xd0
> > >> [    0.093689]  [<ffffffff8107fac0>] ? flush_kthread_worker+0xb0/0xb0
> > >> [    0.093694]  [<ffffffff816cc56c>] ret_from_fork+0x7c/0xb0
> > >> [    0.093698]  [<ffffffff8107fac0>] ? flush_kthread_worker+0xb0/0xb0
> > >> [    0.093700] Code: 54 49 89 fc 48 c7 c7 c0 6d f5 81 53 48 83 ec 18
> > >> e8 e4 a5 f5 ff 41 8b b4 24 a0 00 00 00 41 89 c5 48 8b 05 a2 c9 e2 00
> > >> 89 f2 30 d2 <3b> 10 74 4a 48 c7 c7 80 6d f5 81 e8 ce ab 22 00 48 89 c3
> > >> 48 85
> > >> [    0.093736] RIP  [<ffffffff8112a3e2>] perf_init_event+0x32/0x100
> > >> [    0.093740]  RSP <ffff880119b93d58>
> > >> [    0.093742] CR2: 0000000000000000
> > >> [    0.093746] ---[ end trace 941ac4690a5bae9e ]---
> > >> [    0.104659] Disabled fast string operations
> > >> [    0.106781] Brought up 4 CPUs
> > >> [    0.106785] BUG: unable to handle kernel NULL pointer dereference
> > >> at           (null)
> > >> [    0.106790] IP: [<ffffffff8112a3e2>] perf_init_event+0x32/0x100
> > >> [    0.106791] PGD 0
> > >> [    0.106794] Oops: 0000 [#4] SMP
> > >> [    0.106795] Modules linked in:
> > >> [    0.106798] CPU 3
> > >> [    0.106798] Pid: 22, comm: watchdog/3 Tainted: G      D
> > >> 3.8.0-next20130225-1-iniza-small #1 SAMSUNG ELECTRONICS CO., LTD.
> > >> 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH
> > >> [    0.106801] RIP: 0010:[<ffffffff8112a3e2>]  [<ffffffff8112a3e2>]
> > >> perf_init_event+0x32/0x100
> > >> ...
> > >>
> > >> Regards,
> > >> - Sedat -
> > >
> > > I see the same call-traces with today's Linux-Next (next-20130226)!
> > > Any hints/help?
> > >
> > > - Sedat -
> > 
> > [ CC Tejun and Borislav ]
> > 
> > This turned out to be a idr issue [1]. Thanks Borislav for his help.
> > 
> > Reverting "idr: implement lookup hint" commit [2] makes the call-traces go away.

Hmmm... This issue came up about a week ago and fix was posted.  I
thought the fix was already in -mm.

  http://thread.gmane.org/gmane.linux.kernel.next/26213

And yes, it seems to be in -mm.  Does the problem happen even with the
fix applied?

Thanks.

-- 
tejun

      reply	other threads:[~2013-02-27 15:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-25 13:44 linux-next: Tree for Feb 23 [ perf: NULL pointer dereference perf_init_event() ] Sedat Dilek
2013-02-26  9:39 ` Sedat Dilek
2013-02-27 13:23   ` Sedat Dilek
2013-02-27 13:51     ` Stephen Rothwell
2013-02-27 15:02       ` Tejun Heo [this message]

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=20130227150243.GA22383@htj.dyndns.org \
    --to=tj@kernel$(echo .)org \
    --cc=akpm@linux-foundation$(echo .)org \
    --cc=bp@alien8$(echo .)de \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linux-next@vger$(echo .)kernel.org \
    --cc=mingo@redhat$(echo .)com \
    --cc=rostedt@goodmis$(echo .)org \
    --cc=sedat.dilek@gmail$(echo .)com \
    --cc=sfr@canb$(echo .)auug.org.au \
    --cc=x86@kernel$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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