Bug#773355: linux-image-3.16.0-4-amd64: kernel bug when hotplugging a CPU
Package: linux-image-3.16.0-4-amd64
Version: 3.16.7-ckt2-1
Severity: normal
Tags: upstream fixed-upstream
Hi,
When I hot-plug a CPU to an Ubuntu 14.10 VM running on KVM, I get following
kernel bug:
# uname -a
Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux
# dmesg
[ 87.542111] CPU1 has been hot-added
[ 87.543866] SMP alternatives: switching to SMP code
[ 87.562752] x86: Booting SMP configuration:
[ 87.562754] smpboot: Booting Node 0 Processor 1 APIC 0x1
[ 0.004000] kvm-clock: cpu 1, msr 0:3ffe1041, secondary cpu clock
[ 87.741175] kvm: enabling virtualization on CPU1
[ 87.750602] KVM setup async PF for cpu 1
[ 87.750602] kvm-stealtime: cpu 1, msr 3de2d080
[ 87.750602] microcode: CPU1: patch_level=0x01000065
[ 87.751534] Will online and init hotplugged CPU: 1
[ 87.752345] kobject '(null)' (ffff88003de39dd8): tried to add an uninitialized object, something is seriously wrong.
[ 87.752650] CPU: 0 PID: 422 Comm: systemd-udevd Not tainted 3.16.0-4-amd64 #1 Debian 3.16.7-ckt2-1
[ 87.752652] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
[ 87.752654] ffff88003ca3bd98 ffffffff81507263 ffff88003de39dd8 ffffffff812a9e63
[ 87.752656] ffffffff00000020 ffff88003ca3bda8 ffff88003ca3bd50 00000001372c4be0
[ 87.752658] 000000000000a0a0 000000005b2fd4c0 0000000000000001 ffff8800372c46d0
[ 87.752661] Call Trace:
[ 87.752668] [<ffffffff81507263>] ? dump_stack+0x41/0x51
[ 87.752671] [<ffffffff812a9e63>] ? kobject_add+0xa3/0xb0
[ 87.752675] [<ffffffff81288a51>] ? blk_mq_register_hctx+0x91/0xb0
[ 87.752678] [<ffffffff8128930e>] ? blk_mq_sysfs_register+0x3e/0x50
[ 87.752680] [<ffffffff81286f72>] ? blk_mq_queue_reinit_notify+0x72/0xb0
[ 87.752683] [<ffffffff8108a08c>] ? notifier_call_chain+0x4c/0x70
[ 87.752686] [<ffffffff81065a7f>] ? cpu_notify+0x1f/0x40
[ 87.752688] [<ffffffff81065c67>] ? _cpu_up+0x157/0x170
[ 87.752691] [<ffffffff81065cf9>] ? cpu_up+0x79/0xa0
[ 87.752693] [<ffffffff814fe925>] ? cpu_subsys_online+0x35/0x80
[ 87.752696] [<ffffffff8139d1fd>] ? device_online+0x5d/0xa0
[ 87.752698] [<ffffffff8139d2b5>] ? online_store+0x75/0x80
[ 87.752701] [<ffffffff81214d6a>] ? kernfs_fop_write+0xda/0x150
[ 87.752704] [<ffffffff811a5ad2>] ? vfs_write+0xb2/0x1f0
[ 87.752707] [<ffffffff811a6612>] ? SyS_write+0x42/0xa0
[ 87.752710] [<ffffffff8150f398>] ? async_page_fault+0x28/0x30
[ 87.752712] [<ffffffff8150d32d>] ? system_call_fast_compare_end+0x10/0x15
I initially reported this bug in openSUSE and it was fixed in the Linus tree:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=06a41a9
Bug-openSUSE: https://bugzilla.novell.com/show_bug.cgi?id=908794
Bug-Ubuntu: https://launchpad.net/bugs/1403459
--
Benjamin Drung
System Developer
ProfitBricks GmbH - The IaaS-Company
Greifswalder Str. 207
D - 10405 Berlin
Mail: benjamin.drung@profitbricks.com
Fax: +49 30 577 008 598
URL: http://www.profitbricks.com
Sitz der Gesellschaft: Berlin.
Registergericht: Amtsgericht Charlottenburg, HRB 125506 B.
Geschäftsführer: Andreas Gauger, Achim Weiss.
Reply to: