[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ec43cce3-7d11-9f49-f8be-4f520abf32f2@molgen.mpg.de>
Date: Fri, 21 Feb 2020 17:27:38 +0100
From: Paul Menzel <pmenzel@...gen.mpg.de>
To: Borislav Petkov <bp@...en8.de>
Cc: Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>,
"x86@...nel.org" <x86@...nel.org>,
LKML <linux-kernel@...r.kernel.org>, it+linux-x86@...gen.mpg.de
Subject: Re: kernel BUG at arch/x86/kernel/apic/apic.c with Dell server with
x2APIC enabled and unset X2APIC
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
View attachment "linux-5.6-rc2-messages.txt" of type "text/plain" (26175 bytes)
Download attachment "smime.p7s" of type "application/pkcs7-signature" (5174 bytes)
Powered by blists - more mailing lists