All of lore.kernel.org
 help / color / mirror / Atom feed
* boot fails if x2apic is enabled unless efishell is used
@ 2011-08-16 21:08 Sebastian Andrzej Siewior
  2011-08-21 19:06 ` Maciej Rutecki
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2011-08-16 21:08 UTC (permalink / raw)
  To: linux-kernel

This is Intel i7 Sandy bridge on Asrock Z68 Pro3-M.

EFI -> GRUB -> Kernel -> crash
EFI -> efishell -> GRUB -> Kernel -> works

The interresting part of the diff between those two boot attempts is:

| CPU0: Thermal monitoring enabled (TM1)
| using mwait in idle threads.
| ACPI: Core revision 20110413
|-Kernel panic - not syncing: x2apic: enabled by BIOS but kernel init failed.
|-Pid: 1, comm: swapper Not tainted 3.0.1+ #13
|-Call Trace:
|- [<ffffffff813397ef>] panic+0x8c/0x197
|- [<ffffffff816adee0>] enable_IR_x2apic+0x162/0x1b1
|- [<ffffffff816afa9a>] default_setup_apic_routing+0x12/0x78
|- [<ffffffff816abfff>] native_smp_prepare_cpus+0x2e0/0x301
|- [<ffffffff816a0bf9>] kernel_init+0x6d/0x13b
|- [<ffffffff81346224>] kernel_thread_helper+0x4/0x10
|- [<ffffffff816a0b8c>] ? start_kernel+0x3cb/0x3cb
|- [<ffffffff81346220>] ? gs_change+0x13/0x13
|+DMAR: Host address width 36
|+DMAR: DRHD base: 0x000000fed90000 flags: 0x0
|+IOMMU 0: reg_base_addr fed90000 ver 1:0 cap c0000020e60262 ecap f0101a
|+DMAR: DRHD base: 0x000000fed91000 flags: 0x1
|+IOMMU 1: reg_base_addr fed91000 ver 1:0 cap c9008020660262 ecap f0105a
|+DMAR: RMRR base: 0x000000aedef000 end: 0x000000aee01fff
|+DMAR: RMRR base: 0x000000af800000 end: 0x000000bf9fffff
|+DMAR: No ATSR found
|+IOAPIC id 0 under DRHD base  0xfed91000 IOMMU 1
|+HPET id 0 under DRHD base 0xfed91000
|+HPET id 0 under DRHD base 0xfed91000
|+HPET id 0 under DRHD base 0xfed91000
|+HPET id 0 under DRHD base 0xfed91000
|+HPET id 0 under DRHD base 0xfed91000
|+HPET id 0 under DRHD base 0xfed91000
|+HPET id 0 under DRHD base 0xfed91000
|+HPET id 0 under DRHD base 0xfed91000
|+Enabled Interrupt-remapping

parse_dmar_table() returns with -ENODEV. Could it be that EFI forgets to add
the DMAR tables unless the efishell is used?

The complete bootlog is avaible crash [0] works [1].

[0] http://download.breakpoint.cc/x2apic-crash/boot_efishell_.txt
[1] http://download.breakpoint.cc/x2apic-crash/crash_direct_.txt

Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: boot fails if x2apic is enabled unless efishell is used
  2011-08-16 21:08 boot fails if x2apic is enabled unless efishell is used Sebastian Andrzej Siewior
@ 2011-08-21 19:06 ` Maciej Rutecki
  2011-08-23  9:20   ` Sebastian Siewior
  0 siblings, 1 reply; 3+ messages in thread
From: Maciej Rutecki @ 2011-08-21 19:06 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior; +Cc: linux-kernel

On wtorek, 16 sierpnia 2011 o 23:08:11 Sebastian Andrzej Siewior wrote:
> This is Intel i7 Sandy bridge on Asrock Z68 Pro3-M.
> 
> EFI -> GRUB -> Kernel -> crash
> EFI -> efishell -> GRUB -> Kernel -> works
> 

Old kernels (eg. 3.0.0, or 2.6.39) work OK?

Regards
-- 
Maciej Rutecki
http://www.maciek.unixy.pl

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: boot fails if x2apic is enabled unless efishell is used
  2011-08-21 19:06 ` Maciej Rutecki
@ 2011-08-23  9:20   ` Sebastian Siewior
  0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Siewior @ 2011-08-23  9:20 UTC (permalink / raw)
  To: Maciej Rutecki; +Cc: Sebastian Andrzej Siewior, linux-kernel

* Thus spake Maciej Rutecki (maciej.rutecki@gmail.com):
> On wtorek, 16 sierpnia 2011 o 23:08:11 Sebastian Andrzej Siewior wrote:
> > This is Intel i7 Sandy bridge on Asrock Z68 Pro3-M.
> > 
> > EFI -> GRUB -> Kernel -> crash
> > EFI -> efishell -> GRUB -> Kernel -> works
> > 
> 
> Old kernels (eg. 3.0.0, or 2.6.39) work OK?

I tried the Debian installer for stable and unstable and stable is
2.6.32 I think.

> Regards

Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-23  9:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-16 21:08 boot fails if x2apic is enabled unless efishell is used Sebastian Andrzej Siewior
2011-08-21 19:06 ` Maciej Rutecki
2011-08-23  9:20   ` Sebastian Siewior

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.