My Oracle Support Banner

Virtual Machine Stuck with 'BUG: soft lockup' messages after increasing/decreasing vcpus by command vcpu-set (Doc ID 1980110.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle VM - Version 3.2.2 and later
Information in this document applies to any platform.
Reviewing currency at 21th.Dec 2017

Symptoms

Dom0 OVS 3.2.x, virtual machine run with kernel 3.8.13-40.el6uek.x86_64 kernel.
Increasing amount of VCPUs with 'xm vcpu-set' results in the following errors and the virtual machine is stuck and finally only 'xm destroy' helps to stop the virtual machine .

Error in /var/log/messages on virtual machine :

BUG: soft lockup - CPU#3 stuck for 22s! [bash:2457]
Modules linked in: fuse ebtable_nat ebtables ipt_MASQUERADE iptable_nat
nf_nat_ipv4 nf_nat xt_CHECKSUM iptable_mangle bridge autofs4 8021q garp
stpllc ipt_REJECT nf_conntrack_ipv4 nf_defrag_ipv4 iptable_filter ip_tables
ip6t_REJECT nf_conntrack_ipv6 nf_defrag_ipv6 xt_state nf_conntrack
ip6table_filter ip6_tables ipv6 vhost_net macvtap macvlan tun uinput
xen_netfront coretemp hwmon microcode pcspkr ext4 jbd2 mbcache xen_blkfront
dm_mirror dm_region_hash dm_log dm_mod
CPU 3
Pid: 2457, comm: bash Not tainted 3.8.13-40.el6uek.x86_64 #2
RIP: e030:[<ffffffff810bfa28>] [<ffffffff810bfa28>]
generic_exec_single+0x88/0xc0
RSP: e02b:ffff880074a27c98 EFLAGS: 00000202
RAX: 0000000000000008 RBX: ffff88007a914b40 RCX: 0000000000000038
RDX: 00000000000000ff RSI: 0000000000000008 RDI: 0000000000000008
RBP: ffff880074a27cd8 R08: ffffffff815af3e0 R09: 0000000000000000
R10: 0000000000000010 R11: 0000000000000002 R12: ffff880074a27cf8
R13: ffff88007a914b50 R14: 0000000000000004 R15: 0000000000000001
FS: 00007f72be53b700(0000) GS:ffff88007a8c0000(0000) knlGS:0000000000000000
CS: e033 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000003f1946f380 CR3: 0000000078783000 CR4: 0000000000002660
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process bash (pid: 2457, threadinfo ffff880074a26000, task ffff88007736a100)
Stack:
0000000000000204 ffff88007a914b40 000000017a914ac0 0000000000000004
ffffffff81586a73 0000000000000003 ffffffff819b2b00 ffffffff81992a20
ffff880074a27d48 ffffffff810bfc8a ffff880074a27d08 0000000000000001
Call Trace:
[<ffffffff81586a73>] ? x86_init_noop+0x6/0x6
[<ffffffff810bfc8a>] smp_call_function_single+0x14a/0x160
[<ffffffff81586a73>] ? x86_init_noop+0x6/0x6
[<ffffffff810d7cd1>] ? cpuset_update_active_cpus+0x81/0x90
[<ffffffff81586b52>] cpu_vsyscall_notifier+0x26/0x2a
[<ffffffff8159c085>] notifier_call_chain+0x55/0x80
[<ffffffff8108986e>] __raw_notifier_call_chain+0xe/0x10
[<ffffffff81061480>] __cpu_notify+0x20/0x40
[<ffffffff8158eaea>] _cpu_up+0x103/0x14b
[<ffffffff8158ec0b>] cpu_up+0xd9/0xec
[<ffffffff81585b2c>] store_online+0x9c/0xd0
[<ffffffff8138dae0>] dev_attr_store+0x20/0x30
[<ffffffff81207a1f>] sysfs_write_file+0xef/0x170
[<ffffffff81191ff4>] vfs_write+0xb4/0x130
[<ffffffff8119279f>] sys_write+0x5f/0xa0
[<ffffffff815a08d9>] system_call_fastpath+0x16/0x1b

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.