mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Yinghai Lu <yinghai@kernel.org>
Cc: "Berck E. Nash" <flyboy@gmail.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Suresh Siddha <suresh.b.siddha@intel.com>
Subject: Re: x2apic boot failure on recent sandy bridge system
Date: Sun, 11 Dec 2011 08:57:13 +0100	[thread overview]
Message-ID: <20111211075713.GA20790@elte.hu> (raw)
In-Reply-To: <CAE9FiQXH6d0eAjbQ0Dz3Q8NR6ktP_x6UKtzDtuq8253Qv4KS7w@mail.gmail.com>


* Yinghai Lu <yinghai@kernel.org> wrote:

> so kernel can not enable interrput remapping, then it will panic..
> 
> [    0.085717] Kernel panic - not syncing: x2apic: enabled by BIOS but
> kernel init failed.
> [    0.093697] Pid: 1, comm: swapper/0 Not tainted 3.2.0-rc5 #2
> [    0.099337] Call Trace:
> [    0.101788]  [<ffffffff8137b7ce>] ? panic+0x95/0x18e
> [    0.106755]  [<ffffffff81016259>] ? __ioapic_write_entry+0x16/0x32
> [    0.112925]  [<ffffffff8152d5bf>] ? enable_IR_x2apic+0x19a/0x1d7
> [    0.118913]  [<ffffffff8152f281>] ? default_setup_apic_routing+0xd/0x71
> [    0.125506]  [<ffffffff8152c536>] ? native_smp_prepare_cpus+0x2f1/0x325
> [    0.132102]  [<ffffffff81522abf>] ? kernel_init+0x46/0x10f
> [    0.137571]  [<ffffffff813841f4>] ? kernel_thread_helper+0x4/0x10
> [    0.143650]  [<ffffffff81522a79>] ? start_kernel+0x341/0x341
> [    0.149297]  [<ffffffff813841f0>] ? gs_change+0xb/0xb
> 
> your bios should not enable x2apic in this case.
> 
> please get one bios update.
> 
> also I have one old patch that could disable apic. but it is 
> not get merged and it may not be applied to current tree.

What we want is not a nox2apic option but a good fall-back 
mechanism that is able to boot the system automatically and 
safely, without the user having to tweak *anything* ...

Tanks,

	Ingo

  parent reply	other threads:[~2011-12-11  7:58 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-10  1:56 Berck E. Nash
2011-12-10 20:17 ` Yinghai Lu
2011-12-10 22:58   ` Berck E. Nash
2011-12-10 23:11     ` Yinghai Lu
2011-12-11  7:57   ` Ingo Molnar [this message]
2011-12-11 21:43     ` Yinghai Lu
2011-12-11 22:05       ` Berck E. Nash
2011-12-12  3:40         ` Yinghai Lu
2011-12-12 23:21           ` Berck E. Nash
2011-12-13  0:25             ` Suresh Siddha
2011-12-13  1:29               ` Yinghai Lu
2011-12-13  1:41                 ` Suresh Siddha
2011-12-13  4:32                   ` Yinghai Lu
2011-12-13  5:13                     ` Yinghai Lu
2011-12-16 13:59                       ` Berck E. Nash
2011-12-18  8:47                         ` Ingo Molnar
2011-12-12 23:42           ` H. Peter Anvin
2011-12-13  1:25             ` Yinghai Lu
2011-12-12  7:23       ` Suresh Siddha
     [not found] <fa.1zfuXwqYK6u81uBoo3IdpawcpWw@ifi.uio.no>
     [not found] ` <fa.p3cpkKIGUNv0/iot3o7KT9bb98M@ifi.uio.no>
     [not found]   ` <fa.iPHW7usT23k+cCA19L3eXEDu91Q@ifi.uio.no>
     [not found]     ` <fa.7eOK+XcsKUWU4ZXhBj2K6znxrvc@ifi.uio.no>
     [not found]       ` <fa.VGxfKOh1Z07X1TXm5PxMIlV4xu8@ifi.uio.no>
     [not found]         ` <fa.eH+BpYDdp4xIWE4V+wJu6hFrVxM@ifi.uio.no>
2012-10-19 20:42           ` rrl125
2012-10-19 23:03             ` Suresh Siddha
2012-10-19 23:32               ` Yinghai Lu
2012-10-19 23:36                 ` H. Peter Anvin
2012-10-20  0:02                   ` Suresh Siddha
2012-10-20  0:41                     ` 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=20111211075713.GA20790@elte.hu \
    --to=mingo@elte.hu \
    --cc=flyboy@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=suresh.b.siddha@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome