linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Menzel <pmenzel@molgen.mpg.de>
To: Borislav Petkov <bp@alien8.de>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	Ingo Molnar <mingo@redhat.com>, "x86@kernel.org" <x86@kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	it+linux-x86@molgen.mpg.de
Subject: Re: kernel BUG at arch/x86/kernel/apic/apic.c with Dell server with x2APIC enabled and unset X2APIC
Date: Fri, 21 Feb 2020 17:27:38 +0100	[thread overview]
Message-ID: <ec43cce3-7d11-9f49-f8be-4f520abf32f2@molgen.mpg.de> (raw)
In-Reply-To: <834f42cc-a517-6a8c-d1ac-b327171779f1@molgen.mpg.de>


[-- Attachment #1.1: Type: text/plain, Size: 6386 bytes --]

Dear Borislav,


On 2020-02-21 17:15, Paul Menzel wrote:

> On 2020-02-21 16:57, Borislav Petkov wrote:
>> On Fri, Feb 21, 2020 at 03:37:23PM +0100, Paul Menzel wrote:
> 
>>> On the Dell PowerEdge T640/04WYPY, BIOS 2.4.8 11/27/2019, Linux 5.4.14 (and 4.19.57) with
>>> unset `IRQ_REMAP` and `X86_X2APIC` crashes on start-up, when x2APIC is enabled in the
>>> firmware.
>>
>> Does it happen with latest 5.5-stable too? I see 5.5.5 is the last one...
> 
> It also happens with Linux 5.6-rc2.

```
[…]
[    1.026337] IOAPIC[8]: apic_id 18, version 32, address 0xfec38000, GSI 96-103
[    1.026340] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    1.026342] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    1.026348] Using ACPI (MADT) for SMP configuration information
[    1.026350] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    1.026353] smpboot: Allowing 40 CPUs, 0 hotplug CPUs
[    1.026370] [mem 0x90000000-0xfdffffff] available for PCI devices
[    1.026374] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    1.031515] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:40 nr_node_ids:2
[    1.034956] percpu: Embedded 54 pages/cpu s180504 r8192 d32488 u262144
[    1.034999] Built 2 zonelists, mobility grouping on.  Total pages: 65922237
[    1.035000] Policy zone: Normal
[    1.035001] Kernel command line: BOOT_IMAGE=/boot/bzImage-5.6.0-rc2.mx64.322 root=LABEL=root ro crashkernel=256M console=ttyS1,115200n8 console=tty0 init=/bin/systemd audit=0 random.trust_cpu=on
[    1.035112] audit: disabled (until reboot)
[    1.035136] printk: log_buf_len individual max cpu contribution: 4096 bytes
[    1.035137] printk: log_buf_len total cpu_extra contributions: 159744 bytes
[    1.035138] printk: log_buf_len min size: 131072 bytes
[    1.035302] printk: log_buf_len: 524288 bytes
[    1.035303] printk: early log buf free: 106124(80%)
[    1.035646] mem auto-init: stack:off, heap alloc:off, heap free:off
[    1.632683] Memory: 263209212K/267879304K available (14340K kernel code, 1625K rwdata, 3656K rodata, 1540K init, 972K bss, 4670092K reserved, 0K cma-reserved)
[    1.633469] ftrace: allocating 41240 entries in 162 pages
[    1.648215] ftrace: allocated 162 pages with 3 groups
[    1.648467] rcu: Hierarchical RCU implementation.
[    1.648467] rcu:     RCU event tracing is enabled.
[    1.648468] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=40.
[    1.648470] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    1.648470] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=40
[    1.651303] NR_IRQS: 16640, nr_irqs: 2104, preallocated irqs: 16
[    1.651609] random: crng done (trusting CPU's manufacturer)
[    1.652452] Console: colour dummy device 80x25
[    1.652883] printk: console [tty0] enabled
[    3.669892] printk: console [ttyS1] enabled
[    3.674156] ACPI: Core revision 20200110
[    3.681230] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635855245 ns
[    3.690285] APIC: Switch to symmetric I/O mode setup
[    3.695246] Switched APIC routing to physical flat.
[    3.700124] ------------[ cut here ]------------
[    3.704726] kernel BUG at arch/x86/kernel/apic/apic.c:1629!
[    3.710300] invalid opcode: 0000 [#1] SMP NOPTI
[    3.714815] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.6.0-rc2.mx64.322 #1
[    3.721756] Hardware name: Dell Inc. PowerEdge T640/04WYPY, BIOS 2.4.8 11/27/2019
[    3.729222] RIP: 0010:setup_local_APIC+0x32e/0x390
[    3.734001] Code: 78 57 2e 01 be 00 07 01 00 bf 50 03 00 00 48 8b 40 10 e8 35 85 db 00 eb a9 be 00 04 01 00 bf 60 03 00 00 e8 24 85 db 00 eb bb <0f> 0b e8 5b 3a 00 00 e9 11 ff ff ff be 00 04 00 00 bf 60 03 00 00
[    3.752700] RSP: 0000:ffffffff82403e90 EFLAGS: 00010246
[    3.757914] RAX: 0000000000000000 RBX: 00000000000000a2 RCX: ffffffff82456088
[    3.765029] RDX: 0000000000000000 RSI: 00000000fffffeff RDI: 0000000000000020
[    3.772144] RBP: 0000000000000000 R08: 00000000000001cc R09: 0720072007200720
[    3.779260] R10: ffffffff8258d940 R11: 0720072007200720 R12: ffff88c07ffeee80
[    3.786374] R13: 0000000000000000 R14: 00000000000000a2 R15: 000000004647bcbc
[    3.793492] FS:  0000000000000000(0000) GS:ffff889fffe00000(0000) knlGS:0000000000000000
[    3.801557] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.807288] CR2: ffff88c07ffff000 CR3: 000000000240a001 CR4: 00000000000606b0
[    3.814405] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    3.821520] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    3.828633] Call Trace:
[    3.831077]  apic_intr_mode_init+0xd6/0xef
[    3.835165]  x86_late_time_init+0x20/0x25
[    3.839167]  start_kernel+0x66b/0x71f
[    3.842825]  secondary_startup_64+0xa4/0xb0
[    3.846998] Modules linked in:
[    3.850077] ---[ end trace a223188007b81154 ]---
[    3.854697] RIP: 0010:setup_local_APIC+0x32e/0x390
[    3.859486] Code: 78 57 2e 01 be 00 07 01 00 bf 50 03 00 00 48 8b 40 10 e8 35 85 db 00 eb a9 be 00 04 01 00 bf 60 03 00 00 e8 24 85 db 00 eb bb <0f> 0b e8 5b 3a 00 00 e9 11 ff ff ff be 00 04 00 00 bf 60 03 00 00
[    3.878196] RSP: 0000:ffffffff82403e90 EFLAGS: 00010246
[    3.883418] RAX: 0000000000000000 RBX: 00000000000000a2 RCX: ffffffff82456088
[    3.890540] RDX: 0000000000000000 RSI: 00000000fffffeff RDI: 0000000000000020
[    3.897666] RBP: 0000000000000000 R08: 00000000000001cc R09: 0720072007200720
[    3.904790] R10: ffffffff8258d940 R11: 0720072007200720 R12: ffff88c07ffeee80
[    3.911913] R13: 0000000000000000 R14: 00000000000000a2 R15: 000000004647bcbc
[    3.919037] FS:  0000000000000000(0000) GS:ffff889fffe00000(0000) knlGS:0000000000000000
[    3.927113] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.932854] CR2: ffff88c07ffff000 CR3: 000000000240a001 CR4: 00000000000606b0
[    3.939977] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    3.947100] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    3.954225] Kernel panic - not syncing: Attempted to kill the idle task!
[    3.960923] ---[ end Kernel panic - not syncing: Attempted to kill the idle tas
```

Please find all messages attached.


Kind regards,

Paul

[-- Attachment #1.2: linux-5.6-rc2-messages.txt --]
[-- Type: text/plain, Size: 26175 bytes --]

[    0.000000] Linux version 5.6.0-rc2.mx64.322 (root@thebiglebowserver.molgen.mpg.de) (gcc version 7.5.0 (GCC)) #1 SMP Mon Feb 17 13:39:28 CET 2020
[    0.000000] Command line: BOOT_IMAGE=/boot/bzImage-5.6.0-rc2.mx64.322 root=LABEL=root ro crashkernel=256M console=ttyS1,115200n8 console=tty0 init=/bin/systemd audit=0 random.trust_cpu=on
[    0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x008: 'MPX bounds registers'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x010: 'MPX CSR'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x020: 'AVX-512 opmask'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x040: 'AVX-512 Hi256'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x080: 'AVX-512 ZMM_Hi256'
[    0.000000] x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
[    0.000000] x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]:  256
[    0.000000] x86/fpu: xstate_offset[3]:  832, xstate_sizes[3]:   64
[    0.000000] x86/fpu: xstate_offset[4]:  896, xstate_sizes[4]:   64
[    0.000000] x86/fpu: xstate_offset[5]:  960, xstate_sizes[5]:   64
[    0.000000] x86/fpu: xstate_offset[6]: 1024, xstate_sizes[6]:  512
[    0.000000] x86/fpu: xstate_offset[7]: 1536, xstate_sizes[7]: 1024
[    0.000000] x86/fpu: xstate_offset[9]: 2560, xstate_sizes[9]:    8
[    0.000000] x86/fpu: Enabled xstate features 0x2ff, context size is 2568 bytes, using 'compacted' format.
[    0.000000] BIOS-provided physical RAM map:
[    0.000000] BIOS-e820: [mem 0x0000000000000000-0x000000000009ffff] usable
[    0.000000] BIOS-e820: [mem 0x00000000000a0000-0x00000000000fffff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000000100000-0x00000000474a3fff] usable
[    0.000000] BIOS-e820: [mem 0x00000000474a4000-0x000000004758efff] type 20
[    0.000000] BIOS-e820: [mem 0x000000004758f000-0x000000004761bfff] usable
[    0.000000] BIOS-e820: [mem 0x000000004761c000-0x00000000476edfff] type 20
[    0.000000] BIOS-e820: [mem 0x00000000476ee000-0x000000005e2fefff] usable
[    0.000000] BIOS-e820: [mem 0x000000005e2ff000-0x000000005e3fefff] reserved
[    0.000000] BIOS-e820: [mem 0x000000005e3ff000-0x000000005e5fefff] type 20
[    0.000000] BIOS-e820: [mem 0x000000005e5ff000-0x000000006d7fefff] reserved
[    0.000000] BIOS-e820: [mem 0x000000006d7ff000-0x000000006f7fefff] ACPI NVS
[    0.000000] BIOS-e820: [mem 0x000000006f7ff000-0x000000006fffefff] ACPI data
[    0.000000] BIOS-e820: [mem 0x000000006ffff000-0x000000006fffffff] usable
[    0.000000] BIOS-e820: [mem 0x0000000070000000-0x000000008fffffff] reserved
[    0.000000] BIOS-e820: [mem 0x00000000fe000000-0x00000000fe010fff] reserved
[    0.000000] BIOS-e820: [mem 0x0000000100000000-0x000000407fffffff] usable
[    0.000000] NX (Execute Disable) protection: active
[    0.000000] efi: EFI v2.70 by Dell Inc.
[    0.000000] efi:  ACPI=0x6fffe000  ACPI 2.0=0x6fffe014  SMBIOS=0x5fa33000  SMBIOS 3.0=0x5fa31000  MEMATTR=0x5b303020
[    0.000000] SMBIOS 3.2.0 present.
[    0.000000] DMI: Dell Inc. PowerEdge T640/04WYPY, BIOS 2.4.8 11/27/2019
[    0.000000] tsc: Detected 2200.000 MHz processor
[    0.000012] last_pfn = 0x4080000 max_arch_pfn = 0x400000000
[    0.000372] x86/PAT: Configuration [0-7]: WB  WC  UC- UC  WB  WP  UC- WT
[    0.000791] last_pfn = 0x70000 max_arch_pfn = 0x400000000
[    0.008196] kexec: Reserving the low 1M of memory for crashkernel
[    0.008199] Using GB pages for direct mapping
[    0.008661] Secure boot could not be determined
[    0.008662] RAMDISK: [mem 0x375e7000-0x37aeafff]
[    0.008666] ACPI: Early table checksum verification disabled
[    0.008668] ACPI: RSDP 0x000000006FFFE014 000024 (v02 DELL  )
[    0.008671] ACPI: XSDT 0x000000006FC15188 0000EC (v01 DELL   PE_SC3   00000000      01000013)
[    0.008676] ACPI: FACP 0x000000006FFF9000 000114 (v06 DELL   PE_SC3   00000000 DELL 00000001)
[    0.008680] ACPI: DSDT 0x000000006FD01000 2E8F17 (v02 DELL   PE_SC3   00000003 DELL 00000001)
[    0.008683] ACPI: FACS 0x000000006F26E000 000040
[    0.008685] ACPI: SSDT 0x000000006FFFC000 00046C (v02 INTEL  ADDRXLAT 00000001 INTL 20180508)
[    0.008687] ACPI: WD__ 0x000000006FFFB000 000134 (v01 DELL   PE_SC3   00000001 DELL 00000001)
[    0.008690] ACPI: SLIC 0x000000006FFFA000 000024 (v01 DELL   PE_SC3   00000001 DELL 00000001)
[    0.008692] ACPI: HPET 0x000000006FFF8000 000038 (v01 DELL   PE_SC3   00000001 DELL 00000001)
[    0.008694] ACPI: APIC 0x000000006FFF6000 0016DE (v04 DELL   PE_SC3   00000000 DELL 00000001)
[    0.008697] ACPI: MCFG 0x000000006FFF5000 00003C (v01 DELL   PE_SC3   00000001 DELL 00000001)
[    0.008699] ACPI: MIGT 0x000000006FFF4000 000040 (v01 DELL   PE_SC3   00000000 DELL 00000001)
[    0.008701] ACPI: MSCT 0x000000006FFF3000 000090 (v01 DELL   PE_SC3   00000001 DELL 00000001)
[    0.008703] ACPI: PCAT 0x000000006FFF2000 000088 (v02 DELL   PE_SC3   00000002 DELL 00000001)
[    0.008706] ACPI: PCCT 0x000000006FFF1000 00006E (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.008708] ACPI: RASF 0x000000006FFF0000 000030 (v01 DELL   PE_SC3   00000001 DELL 00000001)
[    0.008710] ACPI: SLIT 0x000000006FFEF000 00042C (v01 DELL   PE_SC3   00000001 DELL 00000001)
[    0.008712] ACPI: SRAT 0x000000006FFEC000 002D30 (v03 DELL   PE_SC3   00000002 DELL 00000001)
[    0.008715] ACPI: SVOS 0x000000006FFEB000 000032 (v01 DELL   PE_SC3   00000000 DELL 00000001)
[    0.008717] ACPI: WSMT 0x000000006FFEA000 000028 (v01 DELL   PE_SC3   00000000 DELL 00000001)
[    0.008719] ACPI: OEM4 0x000000006FC53000 0AD1C1 (v02 INTEL  CPU  CST 00003000 INTL 20180508)
[    0.008722] ACPI: SSDT 0x000000006FC1B000 037465 (v02 INTEL  SSDT  PM 00004000 INTL 20180508)
[    0.008724] ACPI: SSDT 0x000000006FC01000 000A1F (v02 DELL   PE_SC3   00000000 DELL 00000001)
[    0.008726] ACPI: SSDT 0x000000006FC17000 00357F (v02 INTEL  SpsNm    00000002 INTL 20180508)
[    0.008729] ACPI: DMAR 0x000000006FC16000 0001E0 (v01 DELL   PE_SC3   00000001 DELL 00000001)
[    0.008731] ACPI: HEST 0x000000006FFFD000 00017C (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.008733] ACPI: BERT 0x000000006FC14000 000030 (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.008735] ACPI: ERST 0x000000006FC13000 000230 (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.008738] ACPI: EINJ 0x000000006FC12000 000150 (v01 DELL   PE_SC3   00000002 DELL 00000001)
[    0.008820] SRAT: PXM 0 -> APIC 0x0000 -> Node 0
[    0.008821] SRAT: PXM 1 -> APIC 0x0020 -> Node 1
[    0.008822] SRAT: PXM 0 -> APIC 0x0008 -> Node 0
[    0.008823] SRAT: PXM 1 -> APIC 0x0028 -> Node 1
[    0.008823] SRAT: PXM 0 -> APIC 0x0002 -> Node 0
[    0.008824] SRAT: PXM 1 -> APIC 0x0022 -> Node 1
[    0.008825] SRAT: PXM 0 -> APIC 0x0006 -> Node 0
[    0.008825] SRAT: PXM 1 -> APIC 0x0026 -> Node 1
[    0.008826] SRAT: PXM 0 -> APIC 0x0004 -> Node 0
[    0.008827] SRAT: PXM 1 -> APIC 0x0024 -> Node 1
[    0.008827] SRAT: PXM 0 -> APIC 0x0018 -> Node 0
[    0.008828] SRAT: PXM 1 -> APIC 0x0038 -> Node 1
[    0.008829] SRAT: PXM 0 -> APIC 0x0010 -> Node 0
[    0.008829] SRAT: PXM 1 -> APIC 0x0030 -> Node 1
[    0.008830] SRAT: PXM 0 -> APIC 0x0016 -> Node 0
[    0.008831] SRAT: PXM 1 -> APIC 0x0036 -> Node 1
[    0.008831] SRAT: PXM 0 -> APIC 0x0012 -> Node 0
[    0.008832] SRAT: PXM 1 -> APIC 0x0032 -> Node 1
[    0.008833] SRAT: PXM 0 -> APIC 0x0014 -> Node 0
[    0.008833] SRAT: PXM 1 -> APIC 0x0034 -> Node 1
[    0.008834] SRAT: PXM 0 -> APIC 0x0001 -> Node 0
[    0.008835] SRAT: PXM 1 -> APIC 0x0021 -> Node 1
[    0.008835] SRAT: PXM 0 -> APIC 0x0009 -> Node 0
[    0.008836] SRAT: PXM 1 -> APIC 0x0029 -> Node 1
[    0.008837] SRAT: PXM 0 -> APIC 0x0003 -> Node 0
[    0.008837] SRAT: PXM 1 -> APIC 0x0023 -> Node 1
[    0.008838] SRAT: PXM 0 -> APIC 0x0007 -> Node 0
[    0.008839] SRAT: PXM 1 -> APIC 0x0027 -> Node 1
[    0.008839] SRAT: PXM 0 -> APIC 0x0005 -> Node 0
[    0.008840] SRAT: PXM 1 -> APIC 0x0025 -> Node 1
[    0.008841] SRAT: PXM 0 -> APIC 0x0019 -> Node 0
[    0.008841] SRAT: PXM 1 -> APIC 0x0039 -> Node 1
[    0.008842] SRAT: PXM 0 -> APIC 0x0011 -> Node 0
[    0.008843] SRAT: PXM 1 -> APIC 0x0031 -> Node 1
[    0.008843] SRAT: PXM 0 -> APIC 0x0017 -> Node 0
[    0.008844] SRAT: PXM 1 -> APIC 0x0037 -> Node 1
[    0.008845] SRAT: PXM 0 -> APIC 0x0013 -> Node 0
[    0.008845] SRAT: PXM 1 -> APIC 0x0033 -> Node 1
[    0.008846] SRAT: PXM 0 -> APIC 0x0015 -> Node 0
[    0.008847] SRAT: PXM 1 -> APIC 0x0035 -> Node 1
[    0.008854] ACPI: SRAT: Node 0 PXM 0 [mem 0x00000000-0x7fffffff]
[    0.008855] ACPI: SRAT: Node 0 PXM 0 [mem 0x100000000-0x207fffffff]
[    0.008856] ACPI: SRAT: Node 1 PXM 1 [mem 0x2080000000-0x407fffffff]
[    0.008862] NUMA: Node 0 [mem 0x00000000-0x7fffffff] + [mem 0x100000000-0x207fffffff] -> [mem 0x00000000-0x207fffffff]
[    0.008865] NODE_DATA(0) allocated [mem 0x207fffc000-0x207fffffff]
[    0.008869] NODE_DATA(1) allocated [mem 0x407fff9000-0x407fffcfff]
[    0.008880] Reserving 256MB of memory at 624MB for crashkernel (System RAM: 261600MB)
[    0.009066] Zone ranges:
[    0.009067]   DMA      [mem 0x0000000000001000-0x0000000000ffffff]
[    0.009068]   DMA32    [mem 0x0000000001000000-0x00000000ffffffff]
[    0.009069]   Normal   [mem 0x0000000100000000-0x000000407fffffff]
[    0.009070] Movable zone start for each node
[    0.009071] Early memory node ranges
[    0.009072]   node   0: [mem 0x0000000000001000-0x000000000009ffff]
[    0.009073]   node   0: [mem 0x0000000000100000-0x00000000474a3fff]
[    0.009074]   node   0: [mem 0x000000004758f000-0x000000004761bfff]
[    0.009075]   node   0: [mem 0x00000000476ee000-0x000000005e2fefff]
[    0.009075]   node   0: [mem 0x000000006ffff000-0x000000006fffffff]
[    0.009076]   node   0: [mem 0x0000000100000000-0x000000207fffffff]
[    0.009085]   node   1: [mem 0x0000002080000000-0x000000407fffffff]
[    0.009434] Zeroed struct page in unavailable ranges: 40734 pages
[    0.009435] Initmem setup node 0 [mem 0x0000000000001000-0x000000207fffffff]
[    0.494873] Initmem setup node 1 [mem 0x0000002080000000-0x000000407fffffff]
[    1.026160] ACPI: PM-Timer IO Port: 0x508
[    1.026173] ACPI: x2apic entry ignored
[    1.026173] ACPI: x2apic entry ignored
[    1.026174] ACPI: x2apic entry ignored
[    1.026174] ACPI: x2apic entry ignored
[    1.026175] ACPI: x2apic entry ignored
[    1.026175] ACPI: x2apic entry ignored
[    1.026176] ACPI: x2apic entry ignored
[    1.026176] ACPI: x2apic entry ignored
[    1.026177] ACPI: x2apic entry ignored
[    1.026177] ACPI: x2apic entry ignored
[    1.026178] ACPI: x2apic entry ignored
[    1.026178] ACPI: x2apic entry ignored
[    1.026179] ACPI: x2apic entry ignored
[    1.026179] ACPI: x2apic entry ignored
[    1.026179] ACPI: x2apic entry ignored
[    1.026180] ACPI: x2apic entry ignored
[    1.026180] ACPI: x2apic entry ignored
[    1.026181] ACPI: x2apic entry ignored
[    1.026181] ACPI: x2apic entry ignored
[    1.026182] ACPI: x2apic entry ignored
[    1.026182] ACPI: x2apic entry ignored
[    1.026183] ACPI: x2apic entry ignored
[    1.026183] ACPI: x2apic entry ignored
[    1.026184] ACPI: x2apic entry ignored
[    1.026184] ACPI: x2apic entry ignored
[    1.026185] ACPI: x2apic entry ignored
[    1.026185] ACPI: x2apic entry ignored
[    1.026186] ACPI: x2apic entry ignored
[    1.026186] ACPI: x2apic entry ignored
[    1.026187] ACPI: x2apic entry ignored
[    1.026187] ACPI: x2apic entry ignored
[    1.026188] ACPI: x2apic entry ignored
[    1.026188] ACPI: x2apic entry ignored
[    1.026188] ACPI: x2apic entry ignored
[    1.026189] ACPI: x2apic entry ignored
[    1.026189] ACPI: x2apic entry ignored
[    1.026190] ACPI: x2apic entry ignored
[    1.026190] ACPI: x2apic entry ignored
[    1.026191] ACPI: x2apic entry ignored
[    1.026191] ACPI: x2apic entry ignored
[    1.026192] ACPI: x2apic entry ignored
[    1.026192] ACPI: x2apic entry ignored
[    1.026193] ACPI: x2apic entry ignored
[    1.026193] ACPI: x2apic entry ignored
[    1.026194] ACPI: x2apic entry ignored
[    1.026194] ACPI: x2apic entry ignored
[    1.026195] ACPI: x2apic entry ignored
[    1.026195] ACPI: x2apic entry ignored
[    1.026196] ACPI: x2apic entry ignored
[    1.026196] ACPI: x2apic entry ignored
[    1.026197] ACPI: x2apic entry ignored
[    1.026197] ACPI: x2apic entry ignored
[    1.026198] ACPI: x2apic entry ignored
[    1.026198] ACPI: x2apic entry ignored
[    1.026198] ACPI: x2apic entry ignored
[    1.026199] ACPI: x2apic entry ignored
[    1.026199] ACPI: x2apic entry ignored
[    1.026200] ACPI: x2apic entry ignored
[    1.026200] ACPI: x2apic entry ignored
[    1.026201] ACPI: x2apic entry ignored
[    1.026201] ACPI: x2apic entry ignored
[    1.026202] ACPI: x2apic entry ignored
[    1.026202] ACPI: x2apic entry ignored
[    1.026203] ACPI: x2apic entry ignored
[    1.026203] ACPI: x2apic entry ignored
[    1.026204] ACPI: x2apic entry ignored
[    1.026204] ACPI: x2apic entry ignored
[    1.026205] ACPI: x2apic entry ignored
[    1.026205] ACPI: x2apic entry ignored
[    1.026206] ACPI: x2apic entry ignored
[    1.026206] ACPI: x2apic entry ignored
[    1.026207] ACPI: x2apic entry ignored
[    1.026207] ACPI: x2apic entry ignored
[    1.026207] ACPI: x2apic entry ignored
[    1.026208] ACPI: x2apic entry ignored
[    1.026208] ACPI: x2apic entry ignored
[    1.026209] ACPI: x2apic entry ignored
[    1.026209] ACPI: x2apic entry ignored
[    1.026210] ACPI: x2apic entry ignored
[    1.026210] ACPI: x2apic entry ignored
[    1.026211] ACPI: x2apic entry ignored
[    1.026211] ACPI: x2apic entry ignored
[    1.026212] ACPI: x2apic entry ignored
[    1.026212] ACPI: x2apic entry ignored
[    1.026213] ACPI: x2apic entry ignored
[    1.026213] ACPI: x2apic entry ignored
[    1.026214] ACPI: x2apic entry ignored
[    1.026214] ACPI: x2apic entry ignored
[    1.026215] ACPI: x2apic entry ignored
[    1.026215] ACPI: x2apic entry ignored
[    1.026216] ACPI: x2apic entry ignored
[    1.026216] ACPI: x2apic entry ignored
[    1.026217] ACPI: x2apic entry ignored
[    1.026217] ACPI: x2apic entry ignored
[    1.026217] ACPI: x2apic entry ignored
[    1.026218] ACPI: x2apic entry ignored
[    1.026218] ACPI: x2apic entry ignored
[    1.026219] ACPI: x2apic entry ignored
[    1.026219] ACPI: x2apic entry ignored
[    1.026220] ACPI: x2apic entry ignored
[    1.026220] ACPI: x2apic entry ignored
[    1.026221] ACPI: x2apic entry ignored
[    1.026221] ACPI: x2apic entry ignored
[    1.026222] ACPI: x2apic entry ignored
[    1.026222] ACPI: x2apic entry ignored
[    1.026223] ACPI: x2apic entry ignored
[    1.026223] ACPI: x2apic entry ignored
[    1.026224] ACPI: x2apic entry ignored
[    1.026224] ACPI: x2apic entry ignored
[    1.026225] ACPI: x2apic entry ignored
[    1.026225] ACPI: x2apic entry ignored
[    1.026226] ACPI: x2apic entry ignored
[    1.026226] ACPI: x2apic entry ignored
[    1.026226] ACPI: x2apic entry ignored
[    1.026227] ACPI: x2apic entry ignored
[    1.026227] ACPI: x2apic entry ignored
[    1.026228] ACPI: x2apic entry ignored
[    1.026228] ACPI: x2apic entry ignored
[    1.026229] ACPI: x2apic entry ignored
[    1.026229] ACPI: x2apic entry ignored
[    1.026230] ACPI: x2apic entry ignored
[    1.026230] ACPI: x2apic entry ignored
[    1.026231] ACPI: x2apic entry ignored
[    1.026231] ACPI: x2apic entry ignored
[    1.026232] ACPI: x2apic entry ignored
[    1.026232] ACPI: x2apic entry ignored
[    1.026233] ACPI: x2apic entry ignored
[    1.026233] ACPI: x2apic entry ignored
[    1.026234] ACPI: x2apic entry ignored
[    1.026234] ACPI: x2apic entry ignored
[    1.026235] ACPI: x2apic entry ignored
[    1.026235] ACPI: x2apic entry ignored
[    1.026236] ACPI: x2apic entry ignored
[    1.026236] ACPI: x2apic entry ignored
[    1.026236] ACPI: x2apic entry ignored
[    1.026237] ACPI: x2apic entry ignored
[    1.026237] ACPI: x2apic entry ignored
[    1.026238] ACPI: x2apic entry ignored
[    1.026238] ACPI: x2apic entry ignored
[    1.026239] ACPI: x2apic entry ignored
[    1.026239] ACPI: x2apic entry ignored
[    1.026240] ACPI: x2apic entry ignored
[    1.026240] ACPI: x2apic entry ignored
[    1.026241] ACPI: x2apic entry ignored
[    1.026241] ACPI: x2apic entry ignored
[    1.026242] ACPI: x2apic entry ignored
[    1.026242] ACPI: x2apic entry ignored
[    1.026243] ACPI: x2apic entry ignored
[    1.026243] ACPI: x2apic entry ignored
[    1.026244] ACPI: x2apic entry ignored
[    1.026244] ACPI: x2apic entry ignored
[    1.026245] ACPI: x2apic entry ignored
[    1.026245] ACPI: x2apic entry ignored
[    1.026246] ACPI: x2apic entry ignored
[    1.026246] ACPI: x2apic entry ignored
[    1.026247] ACPI: x2apic entry ignored
[    1.026247] ACPI: x2apic entry ignored
[    1.026247] ACPI: x2apic entry ignored
[    1.026248] ACPI: x2apic entry ignored
[    1.026248] ACPI: x2apic entry ignored
[    1.026249] ACPI: x2apic entry ignored
[    1.026249] ACPI: x2apic entry ignored
[    1.026250] ACPI: x2apic entry ignored
[    1.026250] ACPI: x2apic entry ignored
[    1.026251] ACPI: x2apic entry ignored
[    1.026251] ACPI: x2apic entry ignored
[    1.026252] ACPI: x2apic entry ignored
[    1.026252] ACPI: x2apic entry ignored
[    1.026253] ACPI: x2apic entry ignored
[    1.026253] ACPI: x2apic entry ignored
[    1.026254] ACPI: x2apic entry ignored
[    1.026254] ACPI: x2apic entry ignored
[    1.026255] ACPI: x2apic entry ignored
[    1.026255] ACPI: x2apic entry ignored
[    1.026256] ACPI: x2apic entry ignored
[    1.026256] ACPI: x2apic entry ignored
[    1.026257] ACPI: x2apic entry ignored
[    1.026257] ACPI: x2apic entry ignored
[    1.026257] ACPI: x2apic entry ignored
[    1.026258] ACPI: x2apic entry ignored
[    1.026258] ACPI: x2apic entry ignored
[    1.026259] ACPI: x2apic entry ignored
[    1.026259] ACPI: x2apic entry ignored
[    1.026260] ACPI: x2apic entry ignored
[    1.026260] ACPI: x2apic entry ignored
[    1.026261] ACPI: x2apic entry ignored
[    1.026261] ACPI: x2apic entry ignored
[    1.026262] ACPI: x2apic entry ignored
[    1.026262] ACPI: x2apic entry ignored
[    1.026263] ACPI: x2apic entry ignored
[    1.026263] ACPI: x2apic entry ignored
[    1.026264] ACPI: x2apic entry ignored
[    1.026264] ACPI: x2apic entry ignored
[    1.026265] ACPI: x2apic entry ignored
[    1.026265] ACPI: x2apic entry ignored
[    1.026266] ACPI: x2apic entry ignored
[    1.026266] ACPI: x2apic entry ignored
[    1.026266] ACPI: x2apic entry ignored
[    1.026267] ACPI: x2apic entry ignored
[    1.026267] ACPI: x2apic entry ignored
[    1.026268] ACPI: x2apic entry ignored
[    1.026268] ACPI: x2apic entry ignored
[    1.026269] ACPI: x2apic entry ignored
[    1.026269] ACPI: x2apic entry ignored
[    1.026270] ACPI: x2apic entry ignored
[    1.026270] ACPI: x2apic entry ignored
[    1.026271] ACPI: x2apic entry ignored
[    1.026271] ACPI: x2apic entry ignored
[    1.026272] ACPI: x2apic entry ignored
[    1.026272] ACPI: x2apic entry ignored
[    1.026273] ACPI: x2apic entry ignored
[    1.026273] ACPI: x2apic entry ignored
[    1.026274] ACPI: x2apic entry ignored
[    1.026274] ACPI: x2apic entry ignored
[    1.026275] ACPI: x2apic entry ignored
[    1.026275] ACPI: x2apic entry ignored
[    1.026276] ACPI: x2apic entry ignored
[    1.026276] ACPI: x2apic entry ignored
[    1.026277] ACPI: x2apic entry ignored
[    1.026277] ACPI: x2apic entry ignored
[    1.026278] ACPI: x2apic entry ignored
[    1.026278] ACPI: x2apic entry ignored
[    1.026278] ACPI: x2apic entry ignored
[    1.026279] ACPI: x2apic entry ignored
[    1.026283] ACPI: X2APIC_NMI (uid[0xffffffff] high level lint[0x1])
[    1.026285] ACPI: LAPIC_NMI (acpi_id[0xff] high level lint[0x1])
[    1.026303] IOAPIC[0]: apic_id 8, version 32, address 0xfec00000, GSI 0-23
[    1.026307] IOAPIC[1]: apic_id 9, version 32, address 0xfec01000, GSI 24-31
[    1.026311] IOAPIC[2]: apic_id 10, version 32, address 0xfec08000, GSI 32-39
[    1.026315] IOAPIC[3]: apic_id 11, version 32, address 0xfec10000, GSI 40-47
[    1.026319] IOAPIC[4]: apic_id 12, version 32, address 0xfec18000, GSI 48-55
[    1.026323] IOAPIC[5]: apic_id 15, version 32, address 0xfec20000, GSI 72-79
[    1.026328] IOAPIC[6]: apic_id 16, version 32, address 0xfec28000, GSI 80-87
[    1.026332] IOAPIC[7]: apic_id 17, version 32, address 0xfec30000, GSI 88-95
[    1.026337] IOAPIC[8]: apic_id 18, version 32, address 0xfec38000, GSI 96-103
[    1.026340] ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
[    1.026342] ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 high level)
[    1.026348] Using ACPI (MADT) for SMP configuration information
[    1.026350] ACPI: HPET id: 0x8086a701 base: 0xfed00000
[    1.026353] smpboot: Allowing 40 CPUs, 0 hotplug CPUs
[    1.026370] [mem 0x90000000-0xfdffffff] available for PCI devices
[    1.026374] clocksource: refined-jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 1910969940391419 ns
[    1.031515] setup_percpu: NR_CPUS:256 nr_cpumask_bits:256 nr_cpu_ids:40 nr_node_ids:2
[    1.034956] percpu: Embedded 54 pages/cpu s180504 r8192 d32488 u262144
[    1.034999] Built 2 zonelists, mobility grouping on.  Total pages: 65922237
[    1.035000] Policy zone: Normal
[    1.035001] Kernel command line: BOOT_IMAGE=/boot/bzImage-5.6.0-rc2.mx64.322 root=LABEL=root ro crashkernel=256M console=ttyS1,115200n8 console=tty0 init=/bin/systemd audit=0 random.trust_cpu=on
[    1.035112] audit: disabled (until reboot)
[    1.035136] printk: log_buf_len individual max cpu contribution: 4096 bytes
[    1.035137] printk: log_buf_len total cpu_extra contributions: 159744 bytes
[    1.035138] printk: log_buf_len min size: 131072 bytes
[    1.035302] printk: log_buf_len: 524288 bytes
[    1.035303] printk: early log buf free: 106124(80%)
[    1.035646] mem auto-init: stack:off, heap alloc:off, heap free:off
[    1.632683] Memory: 263209212K/267879304K available (14340K kernel code, 1625K rwdata, 3656K rodata, 1540K init, 972K bss, 4670092K reserved, 0K cma-reserved)
[    1.633469] ftrace: allocating 41240 entries in 162 pages
[    1.648215] ftrace: allocated 162 pages with 3 groups
[    1.648467] rcu: Hierarchical RCU implementation.
[    1.648467] rcu:     RCU event tracing is enabled.
[    1.648468] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=40.
[    1.648470] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    1.648470] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=40
[    1.651303] NR_IRQS: 16640, nr_irqs: 2104, preallocated irqs: 16
[    1.651609] random: crng done (trusting CPU's manufacturer)
[    1.652452] Console: colour dummy device 80x25
[    1.652883] printk: console [tty0] enabled
[    3.669892] printk: console [ttyS1] enabled
[    3.674156] ACPI: Core revision 20200110
[    3.681230] clocksource: hpet: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635855245 ns
[    3.690285] APIC: Switch to symmetric I/O mode setup
[    3.695246] Switched APIC routing to physical flat.
[    3.700124] ------------[ cut here ]------------
[    3.704726] kernel BUG at arch/x86/kernel/apic/apic.c:1629!
[    3.710300] invalid opcode: 0000 [#1] SMP NOPTI
[    3.714815] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 5.6.0-rc2.mx64.322 #1
[    3.721756] Hardware name: Dell Inc. PowerEdge T640/04WYPY, BIOS 2.4.8 11/27/2019
[    3.729222] RIP: 0010:setup_local_APIC+0x32e/0x390
[    3.734001] Code: 78 57 2e 01 be 00 07 01 00 bf 50 03 00 00 48 8b 40 10 e8 35 85 db 00 eb a9 be 00 04 01 00 bf 60 03 00 00 e8 24 85 db 00 eb bb <0f> 0b e8 5b 3a 00 00 e9 11 ff ff ff be 00 04 00 00 bf 60 03 00 00
[    3.752700] RSP: 0000:ffffffff82403e90 EFLAGS: 00010246
[    3.757914] RAX: 0000000000000000 RBX: 00000000000000a2 RCX: ffffffff82456088
[    3.765029] RDX: 0000000000000000 RSI: 00000000fffffeff RDI: 0000000000000020
[    3.772144] RBP: 0000000000000000 R08: 00000000000001cc R09: 0720072007200720
[    3.779260] R10: ffffffff8258d940 R11: 0720072007200720 R12: ffff88c07ffeee80
[    3.786374] R13: 0000000000000000 R14: 00000000000000a2 R15: 000000004647bcbc
[    3.793492] FS:  0000000000000000(0000) GS:ffff889fffe00000(0000) knlGS:0000000000000000
[    3.801557] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.807288] CR2: ffff88c07ffff000 CR3: 000000000240a001 CR4: 00000000000606b0
[    3.814405] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    3.821520] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    3.828633] Call Trace:
[    3.831077]  apic_intr_mode_init+0xd6/0xef
[    3.835165]  x86_late_time_init+0x20/0x25
[    3.839167]  start_kernel+0x66b/0x71f
[    3.842825]  secondary_startup_64+0xa4/0xb0
[    3.846998] Modules linked in:
[    3.850077] ---[ end trace a223188007b81154 ]---
[    3.854697] RIP: 0010:setup_local_APIC+0x32e/0x390
[    3.859486] Code: 78 57 2e 01 be 00 07 01 00 bf 50 03 00 00 48 8b 40 10 e8 35 85 db 00 eb a9 be 00 04 01 00 bf 60 03 00 00 e8 24 85 db 00 eb bb <0f> 0b e8 5b 3a 00 00 e9 11 ff ff ff be 00 04 00 00 bf 60 03 00 00
[    3.878196] RSP: 0000:ffffffff82403e90 EFLAGS: 00010246
[    3.883418] RAX: 0000000000000000 RBX: 00000000000000a2 RCX: ffffffff82456088
[    3.890540] RDX: 0000000000000000 RSI: 00000000fffffeff RDI: 0000000000000020
[    3.897666] RBP: 0000000000000000 R08: 00000000000001cc R09: 0720072007200720
[    3.904790] R10: ffffffff8258d940 R11: 0720072007200720 R12: ffff88c07ffeee80
[    3.911913] R13: 0000000000000000 R14: 00000000000000a2 R15: 000000004647bcbc
[    3.919037] FS:  0000000000000000(0000) GS:ffff889fffe00000(0000) knlGS:0000000000000000
[    3.927113] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    3.932854] CR2: ffff88c07ffff000 CR3: 000000000240a001 CR4: 00000000000606b0
[    3.939977] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    3.947100] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    3.954225] Kernel panic - not syncing: Attempted to kill the idle task!
[    3.960923] ---[ end Kernel panic - not syncing: Attempted to kill the idle task! ]---

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 5174 bytes --]

  reply	other threads:[~2020-02-21 16:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-21 14:37 kernel BUG at arch/x86/kernel/apic/apic.c with Dell server with x2APIC enabled and unset X2APIC Paul Menzel
2020-02-21 15:57 ` Borislav Petkov
2020-02-21 16:15   ` Paul Menzel
2020-02-21 16:27     ` Paul Menzel [this message]
2020-02-21 16:27 ` Thomas Gleixner
2020-02-24 12:59   ` Paul Menzel
2022-12-02 13:35 ` [tip: x86/apic] x86/apic: Handle no CONFIG_X86_X2APIC on systems with x2APIC enabled by BIOS tip-bot2 for Mateusz Jończyk

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=ec43cce3-7d11-9f49-f8be-4f520abf32f2@molgen.mpg.de \
    --to=pmenzel@molgen.mpg.de \
    --cc=bp@alien8.de \
    --cc=it+linux-x86@molgen.mpg.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=x86@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;
as well as URLs for NNTP newsgroup(s).