From: Peter Zijlstra <a.p.zijlstra@chello.nl>
To: Ingo Molnar <mingo@elte.hu>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Tejun Heo <tj@kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
Andrew Morton <akpm@linux-foundation.org>,
Pekka Enberg <penberg@cs.helsinki.fi>
Subject: Re: percpu related boot crash on x86 (was: Linux 2.6.38-rc1)
Date: Wed, 19 Jan 2011 13:48:27 +0100 [thread overview]
Message-ID: <1295441307.28776.15.camel@laptop> (raw)
In-Reply-To: <20110119120200.GA1057@elte.hu>
On Wed, 2011-01-19 at 13:02 +0100, Ingo Molnar wrote:
> There's a rather frequent, percpu related boot crash that I can see with .38-rc1:
>
> [ 0.000000] NR_IRQS:4352
> [ 0.000000] ------------[ cut here ]------------
> [ 0.000000] WARNING: at kernel/smp.c:433 smp_call_function_many+0x90/0x209()
> [ 0.000000] Hardware name: System Product Name
> [ 0.000000] Modules linked in:
> [ 0.000000] Pid: 0, comm: swapper Not tainted 2.6.38-rc1 #86551
> [ 0.000000] Call Trace:
> [ 0.000000] [<ffffffff8103f544>] ? warn_slowpath_common+0x85/0x9d
> [ 0.000000] [<ffffffff81027218>] ? do_flush_tlb_all+0x0/0x4d
> [ 0.000000] [<ffffffff81027218>] ? do_flush_tlb_all+0x0/0x4d
> [ 0.000000] [<ffffffff8103f576>] ? warn_slowpath_null+0x1a/0x1c
> [ 0.000000] [<ffffffff810760df>] ? smp_call_function_many+0x90/0x209
> [ 0.000000] [<ffffffff810cc7ca>] ? pcpu_mem_alloc+0x65/0x67
> [ 0.000000] [<ffffffff81027218>] ? do_flush_tlb_all+0x0/0x4d
> [ 0.000000] [<ffffffff8107627a>] ? smp_call_function+0x22/0x26
> [ 0.000000] [<ffffffff81076299>] ? on_each_cpu+0x1b/0x39
> [ 0.000000] [<ffffffff810274e6>] ? flush_tlb_all+0x1c/0x1e
> [ 0.000000] [<ffffffff810dc7d7>] ? remove_vm_area+0x71/0x96
> [ 0.000000] [<ffffffff810dc868>] ? __vunmap+0x3f/0xcf
> [ 0.000000] [<ffffffff810dc9db>] ? vfree+0x2c/0x2e
> [ 0.000000] [<ffffffff810ccca6>] ? pcpu_mem_free+0x1e/0x20
> [ 0.000000] [<ffffffff810ccd75>] ? pcpu_extend_area_map+0x9a/0xb6
> [ 0.000000] [<ffffffff810cd452>] ? pcpu_alloc+0x17e/0x916
> [ 0.000000] [<ffffffff8106bb00>] ? trace_hardirqs_off+0xd/0xf
> [ 0.000000] [<ffffffff810e5bed>] ? kmem_cache_alloc_trace+0xab/0x120
> [ 0.000000] [<ffffffff810cdbfa>] ? __alloc_percpu+0x10/0x12
> [ 0.000000] [<ffffffff8180afd4>] ? early_irq_init+0xb2/0x13d
> [ 0.000000] [<ffffffff817f4a06>] ? start_kernel+0x1fa/0x3a4
> [ 0.000000] [<ffffffff817f42a6>] ? x86_64_start_reservations+0xb6/0xba
> [ 0.000000] [<ffffffff817f43a1>] ? x86_64_start_kernel+0xf7/0xfe
> [ 0.000000] ---[ end trace 4eaa2a86a8e2da22 ]---
> [ 0.000000] ------------[ cut here ]------------
You config had CONFIG_FRAME_POINTER=y, still its all '?', did out
backtrace code go funny in the head?
start_kernel()
local_irq_disable()
...
early_irq_init()
alloc_desc()
alloc_percpu()
__alloc_percpu()
pcpu_alloc()
pcpu_extend_area_map()
pcpu_mem_free()
vfree()
__vunmap()
remove_vm_area()
free_unmap_vmap_area()
vmap_debug_free_range()
#ifdef CONFIG_DEBUG_PAGEALLOC
flush_tlb_kernel_range()
flush_tlb_all()
on_each_cpu()
smp_call_function()
WARN_ON_ONCE(irqs_disabled()....);
Not quite sure that to do about that though..
next prev parent reply other threads:[~2011-01-19 12:48 UTC|newest]
Thread overview: 69+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-18 23:54 Linux 2.6.38-rc1 Linus Torvalds
2011-01-19 2:07 ` Linus Torvalds
2011-01-19 3:42 ` Justin Mattock
2011-01-19 3:53 ` Linus Torvalds
2011-01-19 4:05 ` Justin Mattock
2011-01-19 5:10 ` nobody
2011-01-19 5:42 ` Linus Torvalds
2011-01-19 5:56 ` Linus Torvalds
2011-01-19 18:07 ` Steven Rostedt
2011-01-19 18:26 ` Linus Torvalds
2011-01-21 3:23 ` tag&track [Re: Linux 2.6.38-rc1] nobody
2011-01-21 8:24 ` Alexey Dobriyan
2011-01-23 8:13 ` Linux 2.6.38-rc1 Török Edwin
2011-01-19 7:39 ` Linux 2.6.38-rc1 doesn't boot Markus Trippelsdorf
2011-01-19 7:46 ` Shaohua Li
2011-01-19 7:55 ` Markus Trippelsdorf
2011-01-19 7:49 ` Markus Trippelsdorf
2011-01-19 8:12 ` Shaohua Li
2011-01-19 8:56 ` H. Peter Anvin
2011-01-19 9:09 ` Ingo Molnar
2011-01-20 2:08 ` Shaohua Li
2011-01-20 3:32 ` Lu, Hongjiu
2011-01-20 11:25 ` Ingo Molnar
2011-01-20 15:08 ` Anvin, H Peter
2011-01-21 7:18 ` Shaohua Li
2011-01-21 7:55 ` Shaohua Li
2011-01-21 15:28 ` H. Peter Anvin
2011-01-21 15:37 ` Lu, Hongjiu
2011-01-21 21:09 ` Ingo Molnar
2011-01-19 9:33 ` [tip:x86/urgent] Revert "x86: Make relocatable kernel work with new binutils" tip-bot for Ingo Molnar
2011-01-20 4:59 ` Linux 2.6.38-rc1 doesn't boot Alexandre Courbot
2011-01-19 8:39 ` PPS parport boot lockup: INFO: HARDIRQ-READ-safe -> HARDIRQ-READ-unsafe lock order detected Ingo Molnar
2011-01-20 13:04 ` Alexander Gordeev
2011-01-21 14:44 ` Alexander Gordeev
2011-01-21 16:37 ` Linus Torvalds
2011-01-21 19:43 ` Ingo Molnar
2011-01-24 23:28 ` Alexander Gordeev
2011-01-24 23:46 ` [PATCH] pps: claim parallel port exclusively Alexander Gordeev
2011-01-25 0:19 ` Ingo Molnar
2011-01-24 15:00 ` PPS parport boot lockup: INFO: HARDIRQ-READ-safe -> HARDIRQ-READ-unsafe lock order detected Alexander Gordeev
2011-01-24 15:12 ` [PATCH] parport: make lockdep happy with waitlist_lock Alexander Gordeev
2011-01-24 15:28 ` Ingo Molnar
2011-01-24 15:33 ` Alexander Gordeev
2011-01-19 12:02 ` percpu related boot crash on x86 (was: Linux 2.6.38-rc1) Ingo Molnar
2011-01-19 12:44 ` Tejun Heo
2011-01-19 12:48 ` Peter Zijlstra [this message]
2011-01-19 12:56 ` Pekka Enberg
2011-01-19 13:12 ` Peter Zijlstra
2011-01-19 13:13 ` Tejun Heo
2011-01-19 20:53 ` Ingo Molnar
2011-01-19 23:11 ` Ingo Molnar
2011-01-20 8:31 ` percpu related boot crash on x86 Pekka Enberg
2011-01-20 10:47 ` Peter Zijlstra
2011-01-20 11:12 ` Eric Dumazet
2011-01-20 11:19 ` Tejun Heo
2011-01-20 11:06 ` [PATCH 1/2] lockdep: move early boot local IRQ enable/disable status to init/main.c Tejun Heo
2011-01-20 11:07 ` [PATCH 2/2] smp: allow on_each_cpu() to be called while early_boot_irqs_disabled " Tejun Heo
2011-01-20 20:22 ` [tip:core/urgent] smp: Allow " tip-bot for Tejun Heo
2011-01-20 11:11 ` [PATCH 1/2] lockdep: move early boot local IRQ enable/disable " Tejun Heo
2011-01-20 11:23 ` Peter Zijlstra
2011-01-20 11:26 ` Tejun Heo
2011-01-20 11:30 ` Pekka Enberg
2011-01-20 11:38 ` Peter Zijlstra
2011-01-20 12:00 ` Ingo Molnar
2011-01-20 12:20 ` [PATCH UPDATED " Tejun Heo
2011-01-20 11:51 ` [PATCH " Ingo Molnar
2011-01-20 20:21 ` [tip:core/urgent] lockdep: Move " tip-bot for Tejun Heo
2011-01-19 21:40 ` Linux 2.6.38-rc1 Alan Cox
2011-01-21 15:30 ` Aaro Koskinen
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=1295441307.28776.15.camel@laptop \
--to=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
--cc=penberg@cs.helsinki.fi \
--cc=tglx@linutronix.de \
--cc=tj@kernel.org \
--cc=torvalds@linux-foundation.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