It looks like being a lucky "side-effect" of
commit 90ad9e2d91067983f3328e21b306323877e5f48a
Author: Thomas Gleixner <[email protected]>
Date: Wed Sep 13 23:29:49 2017 +0200
x86/io_apic: Reevaluate vector configuration on activate()
This changes factors out the code that accesses the chip data, but at
the same time limits this to only do this for the ioapic chip:
static void ioapic_configure_entry(struct irq_data *irqd)
+{
+ struct mp_chip_data *mpd = irqd->chip_data;
+ struct irq_cfg *cfg = irqd_cfg(irqd);
+ struct irq_pin_list *entry;
+
+ /*
+ * Only update when the parent is the vector domain, don't touch it
+ * if the parent is the remapping domain. Check the installed
+ * ioapic chip to verify that.
+ */
+ if (irqd->chip == &ioapic_chip) {
+ mpd->entry.dest = cfg->dest_apicid;
+ mpd->entry.vector = cfg->vector;
+ }
...
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1896725
Title:
xenial 4.4.0-191-generic in -proposed has a regression
Status in ubuntu-kernel-tests:
Confirmed
Status in linux package in Ubuntu:
Confirmed
Status in linux source package in Xenial:
Confirmed
Bug description:
[Impact]
The new xenial kernel in -proposed, 4.4.0-191-generic, and its
derivatives, such as 4.4.0-1115-aws suffer a kernel panic on boot on
AWS.
I tested t2.micro and t2.medium, it happens every time. Simply install
the kernel from -proposed and reboot, we get the following oops:
[ 0.549557] BUG: unable to handle kernel paging request at ffffffffff5f3000
[ 0.552000] IP: [<ffffffff810592ff>] mp_irqdomain_activate+0x5f/0xa0
[ 0.552000] PGD 1e0f067 PUD 1e11067 PMD 1e12067 PTE 0
[ 0.552000] Oops: 0002 [#1] SMP
[ 0.552000] Modules linked in:
[ 0.552000] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.4.0-191-generic
#221-Ubuntu
[ 0.552000] Hardware name: Xen HVM domU, BIOS 4.2.amazon 08/24/2006
[ 0.552000] task: ffff88010a0f0000 ti: ffff88010a0f8000 task.ti:
ffff88010a0f8000
[ 0.552000] RIP: 0010:[<ffffffff810592ff>] [<ffffffff810592ff>]
mp_irqdomain_activate+0x5f/0xa0
[ 0.552000] RSP: 0000:ffff88010a0fbc48 EFLAGS: 00010086
[ 0.552000] RAX: 0000000000000086 RBX: ffff88010a1df480 RCX:
0000000000000000
[ 0.552000] RDX: ffffffffff5f3000 RSI: 0000000000000001 RDI:
000000000020c000
[ 0.552000] RBP: ffff88010a0fbc50 R08: ffffffff81ebdfd0 R09:
00000000ffffffff
[ 0.552000] R10: 0000000000000011 R11: 0000000000000009 R12:
ffff88010ad95400
[ 0.552000] R13: 0000000000000001 R14: 0000000000000009 R15:
ffff88010a1fc480
[ 0.552000] FS: 0000000000000000(0000) GS:ffff88010b240000(0000)
knlGS:0000000000000000
[ 0.552000] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.552000] CR2: ffffffffff5f3000 CR3: 0000000001e0a000 CR4:
0000000000160670
[ 0.552000] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[ 0.552000] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7:
0000000000000400
[ 0.552000] Stack:
[ 0.552000] ffff88010ac0ba58 ffff88010a0fbc70 ffffffff810ea644
ffff88010ac0ba00
[ 0.552000] ffff88010ac0ba58 ffff88010a0fbca0 ffffffff810e6d88
ffffffff810e1009
[ 0.552000] ffff88010ac0ba00 ffff88010ac0baa0 ffff88010a1fc480
ffff88010a0fbd38
[ 0.552000] Call Trace:
[ 0.552000] [<ffffffff810ea644>] irq_domain_activate_irq+0x44/0x50
[ 0.552000] [<ffffffff810e6d88>] irq_startup+0x38/0x90
[ 0.552000] [<ffffffff810e1009>] ? vprintk_default+0x29/0x40
[ 0.552000] [<ffffffff810e55e2>] __setup_irq+0x5a2/0x650
[ 0.552000] [<ffffffff811fc064>] ? kmem_cache_alloc_trace+0x1d4/0x1f0
[ 0.552000] [<ffffffff814a3870>] ? acpi_osi_handler+0xb0/0xb0
[ 0.552000] [<ffffffff810e582b>] request_threaded_irq+0xfb/0x1a0
[ 0.552000] [<ffffffff814a3870>] ? acpi_osi_handler+0xb0/0xb0
[ 0.552000] [<ffffffff814bf624>] ? acpi_ev_sci_dispatch+0x64/0x64
[ 0.552000] [<ffffffff814a3f0a>]
acpi_os_install_interrupt_handler+0xaa/0x100
[ 0.552000] [<ffffffff81fb26e1>] ? acpi_sleep_proc_init+0x28/0x28
[ 0.552000] [<ffffffff814bf689>] acpi_ev_install_sci_handler+0x23/0x25
[ 0.552000] [<ffffffff814bcf03>] acpi_ev_install_xrupt_handlers+0x1c/0x6c
[ 0.552000] [<ffffffff81fb3e9d>] acpi_enable_subsystem+0x8f/0x93
[ 0.552000] [<ffffffff81fb276c>] acpi_init+0x8b/0x2c4
[ 0.552000] [<ffffffff8141ee1e>] ? kasprintf+0x4e/0x70
[ 0.552000] [<ffffffff81fb26e1>] ? acpi_sleep_proc_init+0x28/0x28
[ 0.552000] [<ffffffff810021f5>] do_one_initcall+0xb5/0x200
[ 0.552000] [<ffffffff810a6fda>] ? parse_args+0x29a/0x4a0
[ 0.552000] [<ffffffff81f69152>] kernel_init_freeable+0x177/0x218
[ 0.552000] [<ffffffff8185dcf0>] ? rest_init+0x80/0x80
[ 0.552000] [<ffffffff8185dcfe>] kernel_init+0xe/0xe0
[ 0.552000] [<ffffffff8186aea5>] ret_from_fork+0x55/0x80
[ 0.552000] [<ffffffff8185dcf0>] ? rest_init+0x80/0x80
[ 0.552000] Code: 8d 1c d2 8d ba 0b 02 00 00 44 8d 51 11 42 8b 14 dd 74 ec
10 82 c1 e7 0c 48 63 ff 81 e2 ff 0f 00 00 48 81 ea 00 10 80 00 48 29 fa <44> 89
12 89 72 10 42 8b 14 dd 74 ec 10 82 83 c1 10 81 e2 ff 0f
[ 0.552000] RIP [<ffffffff810592ff>] mp_irqdomain_activate+0x5f/0xa0
[ 0.996006] RSP <ffff88010a0fbc48>
[ 0.996006] CR2: ffffffffff5f3000
[ 0.996006] ---[ end trace 1d0c3bd610d641a0 ]---
[ 1.012018] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x00000009
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1896725/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp