From: Stephen Rothwell <sfr@canb.auug.org.au>
To: sedat.dilek@gmail.com
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org,
x86@kernel.org, Ingo Molnar <mingo@redhat.com>,
Steven Rostedt <rostedt@goodmis.org>, Tejun Heo <tj@kernel.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: Thu, 28 Feb 2013 00:51:22 +1100 [thread overview]
Message-ID: <20130228005122.329c5ed6fd79f686ee41364e@canb.auug.org.au> (raw)
In-Reply-To: <CA+icZUV+et8R7+Z8QBOcTLYaCqy=NpDgqcaHYmP5tfjqPybgpw@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 3038 bytes --]
[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.
>
> - Sedat -
>
> [1] http://marc.info/?l=linux-kernel&m=136197056415722&w=2
> [2] http://git.kernel.org/?p=linux/kernel/git/next/linux-next.git;a=commit;h=29cf29e1fbb875019713eb55cf27ec35f1e5fa5e
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-02-27 13:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-25 13:44 Sedat Dilek
2013-02-26 9:39 ` Sedat Dilek
2013-02-27 13:23 ` Sedat Dilek
2013-02-27 13:51 ` Stephen Rothwell [this message]
2013-02-27 15:02 ` Tejun Heo
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=20130228005122.329c5ed6fd79f686ee41364e@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=akpm@linux-foundation.org \
--cc=bp@alien8.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=rostedt@goodmis.org \
--cc=sedat.dilek@gmail.com \
--cc=tj@kernel.org \
--cc=x86@kernel.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
all inboxes | Powered by JetHome®