My Oracle Support Banner

Oracle Linux UEK3: KVM Hangs And Shows "BUG: soft lockup - CPU#2 stuck for 23s! [qemu-kvm:6431]" (Doc ID 2333516.1)

Last updated on FEBRUARY 03, 2019

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 7.0 to Oracle Linux 7.4 [Release OL7 to OL7U4]
Linux x86
Linux x86-64

Symptoms

Oracle Linux 7.4 running KVM hangs  whenever many guests are started or if the hypervisor is being rebooted.  The log file shows:

[ 903.190057] BUG: soft lockup - CPU#2 stuck for 23s! [qemu-kvm:6431]
[ 903.195997] Modules linked in: vfat fat vhost_net macvtap macvlan tun mpt3sas mpt2sas raid_class scsi_transport_sas mptctl mptbase ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ipmi_devintf ipmi_si ipmi_msghandler dell_rbu 8021q garp bridge stp llc bonding ext4 coretemp jbd2 mbcache mperf freq_table intel_powerclamp kvm_intel kvm ghash_clmulni_intel aesni_intel xts aes_x86_64 lrw gf128mul ablk_helper cryptd dm_mod microcode dcdbas mxm_wmi pcspkr sg wmi shpchp nfsd auth_rpcgss nfs_acl lockd sunrpc ip_tables xfs libcrc32c sr_mod cdrom sd_mod crc_t10dif crc32c_intel mgag200 i2c_algo_bit drm_kms_helper ttm drm tg3 i2c_core ahci xhci_hcd ptp libahci megaraid_sas pps_core hwmon ipv6 autofs4 [last unloaded: usb_storage]
[ 903.196038] CPU 2
[ 903.196040] Pid: 6431, comm: qemu-kvm Tainted: G W 3.8.13-118.19.7.el7uek.x86_64 #2 Dell Inc. PowerEdge R630/02C2CP
[ 903.196041] RIP: 0010:[<ffffffff810bcbba>] [<ffffffff810bcbba>] generic_exec_single+0x7a/0xa0
[ 903.196046] RSP: 0018:ffff887efd779bd8 EFLAGS: 00000202
[ 903.196047] RAX: 00000000000000c0 RBX: ffff887efd779c00 RCX: 0000000000000017
[ 903.196048] RDX: 00000000000000c0 RSI: 0000000000000000 RDI: 0000000000000282
[ 903.196049] RBP: ffff887efd779c10 R08: ffffffff8159f468 R09: ffff883f7f2305f0
[ 903.196050] R10: 7fffffffffffffff R11: 0000000000000000 R12: 0000000000000016
[ 903.196051] R13: 000000010003e447 R14: ffff887efd779d0c R15: ffff887efd779c78
[ 903.196053] FS: 00007fa48499d700(0000) GS:ffff883f7f220000(0000) knlGS:0000000000000000
[ 903.196053] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 903.196054] CR2: 000056132c6c6170 CR3: 0000007efd024000 CR4: 00000000001427e0
[ 903.196055] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 903.196056] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 903.196057] Process qemu-kvm (pid: 6431, threadinfo ffff887efd778000, task ffff887f234e45c0)
[ 903.196057] Stack:
[ 903.196057] 0000000000000286 ffff883f7f373c00 0000000000000016 0000000000000002
[ 903.196060] ffffffff819a40a0 ffffffffa3027070 ffff887f234e45c0 ffff887efd779c88
[ 903.196063] ffffffff810bccbd 0000000000013100 ffff883f7ec24400 ffff883f7f373c00
[ 903.196066] Call Trace:
[ 903.196071] [<ffffffffa3027070>] ? handle_tpr_below_threshold+0x20/0x20 [kvm_intel]
[ 903.196074] [<ffffffff810bccbd>] smp_call_function_single+0xdd/0x180
[ 903.196077] [<ffffffffa3027070>] ? handle_tpr_below_threshold+0x20/0x20 [kvm_intel]
[ 903.196079] [<ffffffffa3024117>] loaded_vmcs_clear+0x27/0x30 [kvm_intel]
[ 903.196082] [<ffffffffa3028826>] vmx_vcpu_load+0x176/0x1a0 [kvm_intel]
[ 903.196097] [<ffffffffa176154c>] kvm_arch_vcpu_load+0x3c/0x200 [kvm]
[ 903.196101] [<ffffffffa174a652>] kvm_sched_in+0x12/0x20 [kvm]
[ 903.196105] [<ffffffff8108f179>] finish_task_switch+0x99/0x110
[ 903.196109] [<ffffffff8157e309>] __schedule+0x3d9/0x810
[ 903.196111] [<ffffffff8157e769>] schedule+0x29/0x70
[ 903.196118] [<ffffffffa174f74d>] kvm_vcpu_block+0x6d/0xb0 [kvm]
[ 903.196120] [<ffffffff81081ea0>] ? wake_up_bit+0x30/0x30
[ 903.196128] [<ffffffffa17648b5>] kvm_arch_vcpu_ioctl_run+0x135/0x490 [kvm]
[ 903.196133] [<ffffffffa174d552>] kvm_vcpu_ioctl+0x322/0x600 [kvm]
[ 903.196137] [<ffffffff8119a6d5>] do_vfs_ioctl+0x305/0x520
[ 903.196143] [<ffffffffa1758874>] ? kvm_on_user_return+0x74/0x80 [kvm]
[ 903.196145] [<ffffffff8119a971>] sys_ioctl+0x81/0xa0
[ 903.196147] [<ffffffff815881f9>] system_call_fastpath+0x16/0x1b

Changes

 None

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!


In this Document
Symptoms
Changes
Cause
Solution
References


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