lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 10 Dec 2011 12:17:13 -0800
From:	Yinghai Lu <yinghai@...nel.org>
To:	"Berck E. Nash" <flyboy@...il.com>
Cc:	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Ingo Molnar <mingo@...e.hu>,
	Suresh Siddha <suresh.b.siddha@...el.com>
Subject: Re: x2apic boot failure on recent sandy bridge system

On Fri, Dec 9, 2011 at 5:56 PM, Berck E. Nash <flyboy@...il.com> wrote:
> 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.

madt said cpu is x2apic.
[    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])

but bios does not provide DMAR table...

[    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)

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.

let us know if you can not get BIOS update or can not disable x2apic
in BIOS setup.

Thanks

Yinghai Lu

View attachment "nox2apic.patch" of type "text/x-patch" (8285 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ