All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tony Vroon <tony@linx.net>
To: Tejun Heo <tj@kernel.org>
Cc: linux-kernel@vger.kernel.org, Ingo Molnar <mingo@elte.hu>,
	"Langsdorf, Mark" <mark.langsdorf@amd.com>,
	"H. Peter Anvin" <hpa@zytor.com>
Subject: Re: 2.6.31-07068-g43c1266 Early boot exception
Date: Tue, 22 Sep 2009 20:36:26 +0100	[thread overview]
Message-ID: <1253648186.2766.5.camel@localhost> (raw)
In-Reply-To: <4AB89417.7090005@kernel.org>

[-- Attachment #1: Type: text/plain, Size: 2138 bytes --]

On Tue, 2009-09-22 at 18:08 +0900, Tejun Heo wrote:
> Can you please try the patch below?  Also, please build the kernel
> with debug info and ask gdb which line the crash corresponds to?
> ie. l *pcpu_embed_first_chunk+0x1e2

Patch applied, no additional output visible:
OAPIC[0]: apic_id 0, version 17, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
ACPI: INT_SRC_OVR (bus 0 bus_irq 14 global_irq 14 high edge)
ACPI: INT_SRC_OVR (bus 0 bus_irq 15 global_irq 15 high edge)
Using ACPI (MADT) for SMP configuration information
ACPI: HPET id: 0x10de8201 base: 0xfed00000
SMP: allowing 12 CPUs, 0 hotplug CPUs
Allocating PCI resources starting at b00000000 (gap:b0000000:30000000)
NR_CPUS: 12 nr_cpumask_bits:12 nr_cpu_ids:12 nr_node_ids:2
PERCPU: Embedded 23 pages/cpu @ffff880028200000 s73688 r0 d20520 u26214
PANIC: early exception 06 rip 10:ffffffff81598250 error 0 cr2 d0fff6
Pid: 0, comm: swapper Not tainted 2.6.31-07068-g43c266-dirty #1
Call Trace:
[<ffffffff815719b5>] early_idt_handler+0x55/0x68
[<ffffffff81587259>] ? pcpu_setup_first_chunk+0x40b/0x703
[<ffffffff81587273>] ? pcpu_setup_first_chunk+0x427/0x703
[<ffffffff81587a78>] pcpu_embed_first_chunk+0x1fd/0x261
[<ffffffff8158a927>] ? pcpu_fc_alloc+0x0/0xac
[<ffffffff8157a908>] ? pcpu_fc_free+0x0/0x1f
[<ffffffff8157a749>] setup_per_cpu_areas+0x65/0x219
[<ffffffff815721ff>] start_kernel+0x124/0x2c5
[<ffffffff81571a92>] x86_64_start_reservations+0x82/0x86
[<ffffffff81571b7a>] x86_64_start_kernel+0xe4/0xeb
RIP pcpu_setup_first_chunk+0x40d/0x703

gdb output:

(gdb) l *pcpu_embed_first_chunk+0x1fd
0xffffffff81587a78 is in pcpu_embed_first_chunk (mm/percpu.c:1845).
1840	
1841		pr_info("PERCPU: Embedded %zu pages/cpu @%p s%zu r%zu d%zu u%zu
\n",
1842			PFN_DOWN(size_sum), base, ai->static_size, ai->reserved_size,
1843			ai->dyn_size, ai->unit_size);
1844	
1845		rc = pcpu_setup_first_chunk(ai, base);
1846		goto out_free;
1847	
1848	out_free_areas:
1849		for (group = 0; group < ai->nr_groups; group++)

Regards,
Tony V.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  parent reply	other threads:[~2009-09-22 19:34 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-21 19:14 2.6.31-07068-g43c1266 Early boot exception Tony Vroon
2009-09-21 19:26 ` H. Peter Anvin
2009-09-21 19:35   ` Tony Vroon
2009-09-21 19:36     ` Ingo Molnar
2009-09-21 21:13     ` H. Peter Anvin
2009-09-21 20:47   ` Tony Vroon
2009-09-22  9:08     ` Tejun Heo
2009-09-22  9:23       ` Arjan van de Ven
2009-09-22 11:40         ` Tejun Heo
2009-09-22 19:36       ` Tony Vroon [this message]
2009-09-23  5:52         ` Tejun Heo
2009-09-23  9:19           ` Tony Vroon
2009-09-23  9:23             ` Tejun Heo
2009-09-23 15:46               ` H. Peter Anvin
2009-09-23 23:25                 ` Tejun Heo
2009-09-24  0:05         ` Tejun Heo
2009-09-21 19:53 ` 2.6.31-0.1-default-07068-g43c1266 lockdep warning and scheduling while atomic BUG Henk Martijn
2009-09-21 20:04   ` Oliver Neukum
2009-09-21 20:17     ` Henk Martijn

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=1253648186.2766.5.camel@localhost \
    --to=tony@linx.net \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.langsdorf@amd.com \
    --cc=mingo@elte.hu \
    --cc=tj@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.