All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wu Fengguang <fengguang.wu@intel.com>
To: Andi Kleen <andi@firstfloor.org>
Cc: LKML <linux-kernel@vger.kernel.org>, Ingo Molnar <mingo@elte.hu>,
	Andrew Morton <akpm@linux-foundation.org>,
	Jack Steiner <steiner@sgi.com>, Yinghai Lu <yinghai@kernel.org>
Subject: Re: 2.6.28-rc6: early panic with boot option "nosmp"
Date: Thu, 4 Dec 2008 20:06:40 +0800	[thread overview]
Message-ID: <20081204120640.GA24411@localhost> (raw)
In-Reply-To: <20081204120214.GA30833@localhost>

On Thu, Dec 04, 2008 at 08:02:14PM +0800, Wu Fengguang wrote:
> On Thu, Dec 04, 2008 at 12:13:43PM +0200, Andi Kleen wrote:
> > On Thu, Dec 04, 2008 at 10:28:06AM +0800, Wu Fengguang wrote:
> > > Hi,
> > > 
> > > The boot option "maxcpus=0" or "nosmp" makes kernel 2.6.28-rc6 panic
> > > immediately after booting:
> > > 
> > > PANIC: early exception 0e rip 10:ffffffff8176d6ff error 0 cr2 9
> > 
> > It would be useful if you could look the ffffffff8176d6ff 
> > address up in your System.map or using gdb.
> 
> addr2line -e vmlinux -f 0xffffffff8176d6ff  
> __get_smp_config
> /cc/linux-2.6/arch/x86/kernel/mpparse.c:607
> 
> 
>  582 /*
>  583  * Scan the memory blocks for an SMP configuration block.
>  584  */
>  585 static void __init __get_smp_config(unsigned int early)
>  586 {  
>  587         struct intel_mp_floating *mpf = mpf_found;
>  588 
>  589         if (x86_quirks->mach_get_smp_config) {
>  590                 if (x86_quirks->mach_get_smp_config(early))
>  591                         return;
>  592         }
>  593         if (acpi_lapic && early)
>  594                 return;
>  595         /*
>  596          * ACPI supports both logical (e.g. Hyper-Threading) and physical
>  597          * processors, where MPS only supports physical.
>  598          */
>  599         if (acpi_lapic && acpi_ioapic) {
>  600                 printk(KERN_INFO "Using ACPI (MADT) for SMP configuration "
>  601                        "information\n");
>  602                 return;
>  603         } else if (acpi_lapic)
>  604                 printk(KERN_INFO "Using ACPI for processor (LAPIC) "
>  605                        "configuration information\n");
>  606 
>  607         printk(KERN_INFO "Intel MultiProcessor Specification v1.%d\n",
>  608                mpf->mpf_specification);
> 
> The exception raised on dereferencing mpf or mpf_found.

I just confirmed this with
                early_printk("mpf=%p\n", mpf);
which shows mpf to be NULL.

  reply	other threads:[~2008-12-04 12:07 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-04  2:28 2.6.28-rc6: early panic with boot option "nosmp" Wu Fengguang
2008-12-04  8:10 ` Wu Fengguang
2008-12-04 10:13 ` Andi Kleen
2008-12-04 12:02   ` Wu Fengguang
2008-12-04 12:06     ` Wu Fengguang [this message]
2008-12-04 12:33     ` Andi Kleen
2008-12-04 12:28       ` Wu Fengguang
2008-12-04 15:34       ` Ingo Molnar
2008-12-04 21:08         ` Yinghai Lu
2008-12-04 22:09           ` Andi Kleen
2008-12-04 22:20             ` Yinghai Lu

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=20081204120640.GA24411@localhost \
    --to=fengguang.wu@intel.com \
    --cc=akpm@linux-foundation.org \
    --cc=andi@firstfloor.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=steiner@sgi.com \
    --cc=yinghai@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.