From: Robert Richter <robert.richter@amd.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Ingo Molnar <mingo@kernel.org>, LKML <linux-kernel@vger.kernel.org>
Subject: Re: i386, v3.6-rc3: Kernel panic - not syncing: Fatal exception in interrupt
Date: Tue, 4 Sep 2012 17:33:12 +0200 [thread overview]
Message-ID: <20120904153312.GV8285@erda.amd.com> (raw)
In-Reply-To: <1346771776.27919.4.camel@gandalf.local.home>
On 04.09.12 11:16:16, Steven Rostedt wrote:
> On Tue, 2012-08-28 at 10:12 +0200, Robert Richter wrote:
> > BUG: unable to handle kernel NULL pointer dereference at 00000040
> > IP: [<c100422f>] print_context_stack+0x6e/0x8d
> > *pde = 00000000
> > Oops: 0000 [#1] SMP
> > Modules linked in:
> >
> > Pid: 15531, comm: perl Not tainted 3.5.0-oprofile-i386-standard-g28a33cb #2 Hewlett-Packard HP xw9400 Workstation/0A1Ch
> > EIP: 0060:[<c100422f>] EFLAGS: 00010097 CPU: 3
> > EIP is at print_context_stack+0x6e/0x8d
> > EAX: ffffe000 EBX: 00000040 ECX: f4bd1f94 EDX: 00000040
> > ESI: f4bd1f94 EDI: f4bd1f94 EBP: f5517ec0 ESP: f5517ea0
> > DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
> > CR0: 8005003b CR2: 00000040 CR3: 34403000 CR4: 000007d0
> > DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
> > DR6: ffff0ff0 DR7: 00000400
> > Process perl (pid: 15531, ti=f5516000 task=f4f6bbc0 task.ti=f4bd0000)
> > Stack:
> > 000003e8 ffffe000 00001ffc f4b8e380 00000000 00000040 f4bd1f94 c1541178
> > f5517ef0 c1003717 c1541178 f5517f04 00000000 f5517edc 00000000 00000000
> > f5517ee8 f4bd1f94 f5517fc4 00000001 f5517f1c c12d3ba4 00000000 c1541178
> > Call Trace:
> > [<c1003717>] dump_trace+0x7b/0xa1
> > [<c12d3ba4>] x86_backtrace+0x40/0x88
> > [<c12d2498>] ? oprofile_add_sample+0x56/0x84
> > [<c12d24b7>] oprofile_add_sample+0x75/0x84
> > [<c12d48e3>] op_amd_check_ctrs+0x46/0x260
> > [<c10328b9>] ? wake_up_worker+0x19/0x1b
> > [<c103331a>] ? insert_work+0x58/0x5c
> > [<c12d4195>] profile_exceptions_notify+0x23/0x4c
> > [<c138b497>] nmi_handle+0x31/0x4a
> > [<c102734f>] ? ftrace_define_fields_irq_handler_entry+0x45/0x45
> > [<c138b559>] do_nmi+0xa9/0x304
> > [<c102c2e7>] ? run_timer_softirq+0x2a/0x1f5
> > [<c102734f>] ? ftrace_define_fields_irq_handler_entry+0x45/0x45
> > [<c138ae4d>] nmi_stack_correct+0x28/0x2d
> > [<c102734f>] ? ftrace_define_fields_irq_handler_entry+0x45/0x45
> > [<c10035f7>] ? do_softirq+0x4b/0x7f
> > <IRQ>
> > [<c10275cc>] irq_exit+0x35/0x5b
> > [<c101689e>] smp_apic_timer_interrupt+0x6c/0x7a
> > [<c138abae>] apic_timer_interrupt+0x2a/0x30
> > Code: 89 fe eb 08 31 c9 8b 45 0c ff 55 ec 83 c3 04 83 7d 10 00 74 0c 3b 5d 10 73 26 3b 5d e4 73 0c eb 1f 3b 5d f0 76 1a 3b 5d e8 73 15 <8b> 13 89 d0 89 55 e0 e8 9d 16 03 00 85 c0 8b 55 e0 75 a6 eb cc
> > EIP: [<c100422f>] print_context_stack+0x6e/0x8d SS:ESP 0068:f5517ea0
> > CR2: 0000000000000040
> > ---[ end trace 0cce5d2b7aa480ce ]---
> > Kernel panic - not syncing: Fatal exception in interrupt
>
> Could you send me the config file and post the entire dmesg somewhere.
Wei found the root cause of this that is a wrong calcuation in
kernel_stack_pointer() in softirq context for i386. I sent a fix, see
my today's mail with subject:
Re: [PATCH 1/1] x86/oprofile: Fix the calltrace upon profiling some specified events with oprofile.
-Robert
--
Advanced Micro Devices, Inc.
Operating System Research Center
prev parent reply other threads:[~2012-09-04 15:34 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-27 15:14 i386, v3.6-rc3: Kernel panic - not syncing: Fatal exception in interrupt Robert Richter
2012-08-28 8:12 ` Robert Richter
2012-09-04 15:16 ` Steven Rostedt
2012-09-04 15:33 ` Robert Richter [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=20120904153312.GV8285@erda.amd.com \
--to=robert.richter@amd.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=rostedt@goodmis.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 NNTP newsgroup(s).