Wind River Support Network

HomeDefectsOVP-399
Fixed

OVP-399 : [ovirt-node] kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly with calltrace.

Created: Aug 27, 2013    Updated: Mar 11, 2016
Resolved Date: Oct 28, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.9
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

Problem Description
======================
[ovirt-node] kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly with calltrace.

Expected Behavior
======================
it works well

Observed Behavior
======================
None

Logs
======================
kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround


udevadm settle - timeout of 180 seconds reached, the event queue contains:
  INFO: rcu_preempt detected stalls on CPUs/tasks:
    14: (0 ticks this GP) idle=70d/140000000000000/0 softirq=550/550
    (detected by 19, t=21002 jiffies, g=299, c=298, q=2624)
Task dump for CPU 14:
swapper/14      R  running task        0     0     15 0x00000000
 ffff88003d101ed8 ffffffff81812fa4 0000000000000000 0000000000000000
 0000000000004000 00000000fffffffc ffff88003d101e08 ffffffff8108e067
 ffff88003d100000 0000000000000008 ffff88003fcf7570 0000000000000003
Call Trace:
 [<ffffffff81812fa4>] ? __schedule+0x514/0x9b0
 [<ffffffff8108e067>] ? getnstimeofday+0x57/0xe0
 [<ffffffff8108e106>] ? ktime_get_real+0x16/0x50
 [<ffffffff813f2cfc>] ? intel_idle+0x7c/0x180
 [<ffffffff81654069>] ? menu_select+0xf9/0x3b0
 [<ffffffff816523d8>] ? cpuidle_enter+0x18/0x20
 [<ffffffff81652a44>] ? cpuidle_idle_call+0xd4/0x400
 [<ffffffff8100c7ea>] ? cpu_idle+0x8a/0x120
 [<ffffffff81803d05>] ? start_secondary+0x1ab/0x1b0
INFO: rcu_sched detected stalls on CPUs/tasks:
    14: (42 GPs behind) idle=a14/0/0 softirq=0/550
    (detected by 11, t=21002 jiffies, g=18446744073709551358, c=18446744073709551357, q=1)
Task dump for CPU 14:
swapper/14      R  running task        0     0     15 0x00000000
 ffff88003d101ed8 ffffffff81812fa4 0000000000000000 0000000000000000
 0000000000004000 00000000fffffffc ffff88003d101e08 ffffffff8108e067
 ffff88003d100000 0000000000000008 ffff88003fcf7570 0000000000000003
Call Trace:
 [<ffffffff81812fa4>] ? __schedule+0x514/0x9b0
 [<ffffffff8108e067>] ? getnstimeofday+0x57/0xe0
 [<ffffffff8108e106>] ? ktime_get_real+0x16/0x50
 [<ffffffff813f2cfc>] ? intel_idle+0x7c/0x180
 [<ffffffff81654069>] ? menu_select+0xf9/0x3b0
 [<ffffffff816523d8>] ? cpuidle_enter+0x18/0x20
 [<ffffffff81652a44>] ? cpuidle_idle_call+0xd4/0x400
 [<ffffffff8100c7ea>] ? cpu_idle+0x8a/0x120
 [<ffffffff81803d05>] ? start_secondary+0x1ab/0x1b0
INFO: rcu_preempt detected stalls on CPUs/tasks:
    14: (6 GPs behind) idle=3ee/0/0 softirq=550/550
    (detected by 11, t=21002 jiffies, g=305, c=304, q=951)
Task dump for CPU 14:
swapper/14      R  running task        0     0     15 0x00000000
 ffff88003d101ed8 ffffffff81812fa4 0000000000000000 0000000000000000
 0000000000004000 00000000fffffffc ffff88003d101e08 ffffffff8108e067
 ffff88003d100000 0000000000000008 ffff88003fcf7570 0000000000000003
Call Trace:
 [<ffffffff81812fa4>] ? __schedule+0x514/0x9b0
 [<ffffffff8108e067>] ? getnstimeofday+0x57/0xe0
 [<ffffffff8108e106>] ? ktime_get_real+0x16/0x50
 [<ffffffff813f2cfc>] ? intel_idle+0x7c/0x180
 [<ffffffff81654069>] ? menu_select+0xf9/0x3b0
 [<ffffffff816523d8>] ? cpuidle_enter+0x18/0x20
 [<ffffffff81652a44>] ? cpuidle_idle_call+0xd4/0x400
 [<ffffffff8100c7ea>] ? cpu_idle+0x8a/0x120
 [<ffffffff81803d05>] ? start_secondary+0x1ab/0x1b0
/sys/devices/system/cpu/cpu21 (1814)
udevd[257]: worker [512] unexpectedly returned with status 0x0100

udevd[257]: worker [512] failed while handling '/devices/system/cpu/cpu21' 

Steps to Reproduce

1. /home/wgao/source_code/ovp/wrlinux-x/wrlinux/configure --enable-board=intel-xeon-core --enable-rootfs=ovp-ovirt-node --enable-addons=wr-ovp --with-package=wrs-kvm-helper --enable-parallel-pkgbuilds=4 --enable-jobs=8 --with-layer=wr-intel-support --with-rcpl-version=0
2. deploy images and startup target

Check the behaving and logs. 
Live chat
Online