Wind River Support Network

HomeDefectsOVP-565
Fixed

OVP-565 : [migration] live migration caught 'invalid context' calltrace on guest

Created: Oct 22, 2013    Updated: Mar 11, 2016
Resolved Date: Nov 25, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.10
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Userspace

Description

Problem Description
======================
[migration] live migration caught 'invalid context' calltrace on guest


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

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

Logs
======================
eth0: no IPv6 routers present
nfsd4: failed to purge old clients from recovery directory v4recovery
BUG: sleeping function called from invalid context at /buildarea2/wgao/guest_1022/bitbake_build/tmp/work/x86_64_kvm_guest-wrs-linux/linux-windriver-3.4-r1/linux/kernel/rtmutex.c:659
in_atomic(): 1, irqs_disabled(): 1, pid: 0, name: swapper/0
Preemption disabled at:[<ffffffff81635df7>] rest_init+0x7b/0x84

Pid: 0, comm: swapper/0 Not tainted 3.4.66-ovp-ga-rt77-WR5.0.1.0_preempt-rt #1
Call Trace:
 [<ffffffff81068767>] __might_sleep+0x107/0x180
 [<ffffffff81659444>] rt_spin_lock+0x24/0x50
 [<ffffffff81025bd6>] apf_task_wake_all+0x46/0xb0
 [<ffffffff81025d50>] kvm_async_pf_task_wake+0x110/0x120
 [<ffffffff8165c758>] do_async_page_fault+0x78/0x90
 [<ffffffff81659f35>] async_page_fault+0x25/0x30
 [<ffffffff8102628b>] ? native_safe_halt+0xb/0x10
 [<ffffffff81009f15>] default_idle+0xc5/0x320
 [<ffffffff8100b0b6>] cpu_idle+0xe6/0x130
 [<ffffffff81635df7>] rest_init+0x7b/0x84
 [<ffffffff81cc4bde>] start_kernel+0x39f/0x3ac
 [<ffffffff81cc463d>] ? repair_env_string+0x5a/0x5a
 [<ffffffff81cc432a>] x86_64_start_reservations+0x131/0x135
 [<ffffffff81cc4140>] ? early_idt_handlers+0x140/0x140
 [<ffffffff81cc4430>] x86_64_start_kernel+0x102/0x111
(END)

Steps to Reproduce

1) guest: /lpg-build/cdc/fast_prod/wrlinuxovp/wrlinux-x/wrlinux/configure --enable-board=x86-64-kvm-guest --enable-rootfs=ovp-guest --enable-addons=wr-ovp --enable-bootimage=iso --enable-parallel-pkgbuilds=16 --enable-jobs=16 --with-rcpl-version=0
    node: /lpg-build/cdc/fast_prod/wrlinuxovp/wrlinux-x/wrlinux/configure --enable-kernel=preempt-rt --enable-addons=wr-ovp --enable-rootfs=ovp-ovirt-node --enable-board=intel_xeon_core --enable-jobs=24 --enable-parallel-pkgbuilds=24 --with-rcpl-version=0
    engine: /lpg-build/cdc/fast_prod/wrlinuxovp/wrlinux-x/wrlinux/configure --enable-board=intel-xeon-core --enable-rootfs=ovp-ovirt-engine --enable-addons=wr-ovp --with-package=wrs-kvm-helper --enable-parallel-pkgbuilds=24 --enable-jobs=24 --with-rcpl-version=0

2) make fs  those three project.
3) deploy images
4) setting ovirt-engine
5) up 2 ovirt-nodes to ovirt-engine
    with the workaround of WIND00440223. modify 'listen_tls = 1' in /etc/libvirt/libvirtd.conf on both nodes side.
6) create storage domain(data) and iso domain
7) upload guest iso image.
8) create a vm and startup it.
9) click Migrate and select another node.
10) click 'OK'

Check the behaving and logs.
* login to guest and check dmesg information. 
Live chat
Online