x2apic boot failure on recent sandy bridge system
From: Berck E. Nash
Date: Fri Dec 09 2011 - 20:56:08 EST
X2APIC has never worked on this system, and continues to not work
3.2.0-rc5. Simply hangs on boot with an error message that helpfully
indicates that x2apic is the problem. The system is an ASRock P67
Extreme 6. Log attached, let me know if I can do anything to help.
Please cc as I'm not subscribed.
Berck Nash
[ 0.000000] Linux version 3.2.0-rc5 (berck@luna) (gcc version 4.6.2 (Debian 4.6.2-6) ) #2 SMP Fri Dec 9 18:16:28 MST 2011
[ 0.000000] Command line: BOOT_IMAGE=(hd0,1)/vmlinuz root=/dev/sdb1 ro video=efifb console=ttyS0,115200n8 console=tty0
[ 0.000000] BIOS-provided physical RAM map:
[ 0.000000] BIOS-e820: 0000000000000000 - 000000000009d400 (usable)
[ 0.000000] BIOS-e820: 000000000009d400 - 00000000000a0000 (reserved)
[ 0.000000] BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
[ 0.000000] BIOS-e820: 0000000000100000 - 00000000beee2000 (usable)
[ 0.000000] BIOS-e820: 00000000beee2000 - 00000000bef3a000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000bef3a000 - 00000000bf607000 (reserved)
[ 0.000000] BIOS-e820: 00000000bf607000 - 00000000bf608000 (usable)
[ 0.000000] BIOS-e820: 00000000bf608000 - 00000000bf609000 (ACPI data)
[ 0.000000] BIOS-e820: 00000000bf609000 - 00000000bf613000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000bf613000 - 00000000bf638000 (reserved)
[ 0.000000] BIOS-e820: 00000000bf638000 - 00000000bf67b000 (ACPI NVS)
[ 0.000000] BIOS-e820: 00000000bf67b000 - 00000000bf800000 (usable)
[ 0.000000] BIOS-e820: 00000000fed1c000 - 00000000fed40000 (reserved)
[ 0.000000] BIOS-e820: 00000000ff000000 - 0000000100000000 (reserved)
[ 0.000000] BIOS-e820: 0000000100000000 - 000000023f800000 (usable)
[ 0.000000] NX (Execute Disable) protection: active
[ 0.000000] DMI 2.6 present.
[ 0.000000] No AGP bridge found
[ 0.000000] last_pfn = 0x23f800 max_arch_pfn = 0x400000000
[ 0.000000] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[ 0.000000] x2apic enabled by BIOS, switching to x2apic ops
[ 0.000000] last_pfn = 0xbf800 max_arch_pfn = 0x400000000
[ 0.000000] init_memory_mapping: 0000000000000000-00000000bf800000
[ 0.000000] init_memory_mapping: 0000000100000000-000000023f800000
[ 0.000000] ACPI: RSDP 00000000000f0450 00024 (v02 ALASKA)
[ 0.000000] ACPI: XSDT 00000000bef32068 00054 (v01 ALASKA A M I 01072009 AMI 00010013)
[ 0.000000] ACPI: FACP 00000000bef398f8 000F4 (v04 ALASKA A M I 01072009 AMI 00010013)
[ 0.000000] ACPI: DSDT 00000000bef32150 077A6 (v02 ALASKA A M I 00000000 INTL 20051117)
[ 0.000000] ACPI: FACS 00000000bf60af80 00040
[ 0.000000] ACPI: APIC 00000000bef399f0 000D8 (v03 ALASKA A M I 01072009 AMI 00010013)
[ 0.000000] ACPI: SSDT 00000000bef39ac8 001DE (v01 AMICPU PROC 00000001 MSFT 03000001)
[ 0.000000] ACPI: MCFG 00000000bef39ca8 0003C (v01 ALASKA A M I 01072009 MSFT 00000097)
[ 0.000000] ACPI: AAFT 00000000bef39ce8 0006F (v01 ALASKA OEMAAFT 01072009 MSFT 00000097)
[ 0.000000] ACPI: HPET 00000000bef39d58 00038 (v01 ALASKA A M I 01072009 AMI. 00000004)
[ 0.000000] Setting APIC routing to cluster x2apic.
[ 0.000000] No NUMA configuration found
[ 0.000000] Faking a node at 0000000000000000-000000023f800000
[ 0.000000] Initmem setup node 0 0000000000000000-000000023f800000
[ 0.000000] NODE_DATA [000000023f7fb000 - 000000023f7fffff]
[ 0.000000] Zone PFN ranges:
[ 0.000000] DMA 0x00000010 -> 0x00001000
[ 0.000000] DMA32 0x00001000 -> 0x00100000
[ 0.000000] Normal 0x00100000 -> 0x0023f800
[ 0.000000] Movable zone start PFN for each node
[ 0.000000] early_node_map[5] active PFN ranges
[ 0.000000] 0: 0x00000010 -> 0x0000009d
[ 0.000000] 0: 0x00000100 -> 0x000beee2
[ 0.000000] 0: 0x000bf607 -> 0x000bf608
[ 0.000000] 0: 0x000bf67b -> 0x000bf800
[ 0.000000] 0: 0x00100000 -> 0x0023f800
[ 0.000000] ACPI: PM-Timer IO Port: 0x408
[ 0.000000] ACPI: X2APIC (apic_id[0x00] uid[0x01] enabled)
[ 0.000000] ACPI: X2APIC (apic_id[0x02] uid[0x02] enabled)
[ 0.000000] ACPI: X2APIC (apic_id[0x04] uid[0x03] enabled)
[ 0.000000] ACPI: X2APIC (apic_id[0x06] uid[0x04] enabled)
[ 0.000000] ACPI: X2APIC (apic_id[0x01] uid[0x05] enabled)
[ 0.000000] ACPI: X2APIC (apic_id[0x03] uid[0x06] enabled)
[ 0.000000] ACPI: X2APIC (apic_id[0x05] uid[0x07] enabled)
[ 0.000000] ACPI: X2APIC (apic_id[0x07] uid[0x08] enabled)
[ 0.000000] ACPI: X2APIC_NMI (uid[0xffffffff] high edge lint[0x1])
[ 0.000000] ACPI: IOAPIC (id[0x00] address[0xfec00000] gsi_base[0])
[ 0.000000] IOAPIC[0]: apic_id 0, version 32, address 0xfec00000, GSI 0-23
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[ 0.000000] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[ 0.000000] Using ACPI (MADT) for SMP configuration information
[ 0.000000] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[ 0.000000] SMP: Allowing 8 CPUs, 0 hotplug CPUs
[ 0.000000] Allocating PCI resources starting at bf800000 (gap: bf800000:3f51c000)
[ 0.000000] setup_percpu: NR_CPUS:8 nr_cpumask_bits:8 nr_cpu_ids:8 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 25 pages/cpu @ffff88023f400000 s70976 r8192 d23232 u262144
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 2058767
[ 0.000000] Policy zone: Normal
[ 0.000000] Kernel command line: BOOT_IMAGE=(hd0,1)/vmlinuz root=/dev/sdb1 ro video=efifb console=ttyS0,115200n8 console=tty0
[ 0.000000] PID hash table entries: 4096 (order: 3, 32768 bytes)
[ 0.000000] xsave/xrstor: enabled xstate_bv 0x7, cntxt size 0x340
[ 0.000000] Checking aperture...
[ 0.000000] No AGP bridge found
[ 0.000000] Memory: 8175908k/9428992k available (3610k kernel code, 1065004k absent, 188080k reserved, 1567k data, 672k init)
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS:4352 nr_irqs:744 16
[ 0.000000] Extended CMOS year: 2000
[ 0.000000] Console: colour dummy device 80x25
[ 0.000000] console [tty0] enabled
[ 0.000000] console [ttyS0] enabled
[ 0.000000] Fast TSC calibration using PIT
[ 0.001000] Detected 3392.514 MHz processor.
[ 0.000001] Calibrating delay loop (skipped), value calculated using timer frequency.. 6785.02 BogoMIPS (lpj=3392514)
[ 0.010594] pid_max: default: 32768 minimum: 301
[ 0.015470] Dentry cache hash table entries: 1048576 (order: 11, 8388608 bytes)
[ 0.023753] Inode-cache hash table entries: 524288 (order: 10, 4194304 bytes)
[ 0.031298] Mount-cache hash table entries: 256
[ 0.035893] CPU: Physical Processor ID: 0
[ 0.039900] CPU: Processor Core ID: 0
[ 0.043557] ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
[ 0.043558] ENERGY_PERF_BIAS: View and update with x86_energy_perf_policy(8)
[ 0.056570] mce: CPU supports 9 MCE banks
[ 0.060577] CPU0: Thermal monitoring enabled (TM1)
[ 0.065360] using mwait in idle threads.
[ 0.069332] Freeing SMP alternatives: 20k freed
[ 0.073857] ACPI: Core revision 20110623
[ 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