Wind River Support Network

HomeDefectsLIN10-4482
Acknowledged

LIN10-4482 : OVP10: kvm guest: BUG: scheduling while atomic while running cyclictest

Created: Aug 1, 2018    Updated: Nov 18, 2020
Resolved Date: Sep 22, 2019
Found In Version: 10.17.41.9
Severity: Standard
Applicable for: Wind River Linux LTS 17
Component/s: Kernel

Description

OVP10: kvm guest: BUG: scheduling while atomic while running cyclictest

Steps to Reproduce

1.
build host image
setup.sh --machines intel-x86-64 --distro wrlinux-ovp --templates feature/host-rt-tune --dl-layers

2.
build guest image
setup.sh --machines qemux86-64 --templates feature/guest-rt-tune feature/kernel-ovp-guest feature/guest-rt-tune --distro wrlinux-ovp --dl-layers

3. 
boot host (e.g. #22680)
# cat /proc/cmdline 
console=ttyS0,115200 root=/dev/nfs nfsroot=128.224.165.20:/export/pxeboot/vlm-boards/22680/rootfs rw ip=dhcp selinux=0 enforcing=0 intel_iommu=off intel_pstate=disable isolcpus=2,3 nohz_full=2,3 rcu_nocbs=2,3 irqaffinity=0,1 intel_idle.max_cstate=0 selinux=0 audit=0 tsc=reliable

4.
boot guest
taskset -c 2 /usr/bin/qemu-system-x86_64 \
-cpu qemu64,+x2apic \
-enable-kvm \
-m 2048 \
-smp 2,sockets=2,cores=1,threads=1 \
-name rt,process=rt-kvm \
-no-reboot \
-no-hpet \
-nographic \
-kernel /root/bzImage \
-append "root=/dev/vda rw console=ttyS0 isolcpus=1 irqaffinity=0 clocksource=tsc tsc=perfect intel_idle.max_cstate=0 processor.max_cstate=1 highres=on selinux=0 enforcing=0 ip=10.0.2.3 idle=poll" \
-drive file=/root/wrlinux-image-ovp-guest-qemux86-64.ext4,if=virtio,cache=none,aio=native \
-vcpu 0,affinity=0x4,prio=0 \
-vcpu 1,affinity=0x8,prio=80 \
-realtime mlock=on

5.
root@qemux86-64:~# cyclictest -m -p 80 -q -a 1 -t 1 -i 1000 -n -l 3600000

Other Downloads


Live chat
Online