Wind River Support Network

HomeDefectsOVP8-380
Fixed

OVP8-380 : CLONE - generate 'kvm: vcpu0 unhandled rdmsr' when booting guest

Created: Jun 24, 2017    Updated: Nov 21, 2019
Resolved Date: Jul 21, 2017
Previous ID: OVP7-96
Found In Version: 8.0
Fix Version: 8.0.0.20
Severity: Standard
Applicable for: Wind River Linux 8
Component/s: Kernel

Description

generate 'kvm: vcpu0 unhandled rdmsr' when booting guest.

root@128:~# kvm [2071]: vcpu0 unhandled rdmsr: 0x1c9
kvm [2071]: vcpu0 unhandled rdmsr: 0x1a6
kvm [2071]: vcpu0 unhandled rdmsr: 0x1a7
kvm [2071]: vcpu0 unhandled rdmsr: 0x3f6
kvm [2071]: vcpu0 unhandled rdmsr: 0x606
kvm [2071]: vcpu0 unhandled rdmsr: 0x606
kvm [2071]: vcpu0 unhandled rdmsr: 0x606
kvm [2071]: vcpu0 unhandled rdmsr: 0x606

root@128:~# journal
-sh: journal: command not found
root@128:~# dmesg |tail -n 20
[   63.145125] ip_tables: (C) 2000-2006 Netfilter Core Team
[   63.580766] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   63.615624] Ebtables v2.0 registered
[   63.900938] device virbr0-nic entered promiscuous mode
[   64.061151] virbr0: port 1(virbr0-nic) entered listening state
[   64.066218] virbr0: port 1(virbr0-nic) entered listening state
[   64.071608] IPv6: ADDRCONF(NETDEV_UP): virbr0: link is not ready
[   64.141095] virbr0: port 1(virbr0-nic) entered disabled state
[ 1116.452280] device ovs-netdev left promiscuous mode
[ 1169.756833] device ovs-netdev entered promiscuous mode
[ 1169.766668] device br0 entered promiscuous mode
[ 1199.122875] kvm [2171]: vcpu0 unhandled rdmsr: 0x1c9
[ 1199.126973] kvm [2171]: vcpu0 unhandled rdmsr: 0x1a6
[ 1199.131063] kvm [2171]: vcpu0 unhandled rdmsr: 0x1a7
[ 1199.135153] kvm [2171]: vcpu0 unhandled rdmsr: 0x3f6
[ 1199.581578] kvm [2171]: vcpu0 unhandled rdmsr: 0x606
[ 1199.585696] kvm [2171]: vcpu0 unhandled rdmsr: 0x606
[ 1199.589816] kvm [2171]: vcpu0 unhandled rdmsr: 0x606
[ 1199.593928] kvm [2171]: vcpu0 unhandled rdmsr: 0x606
[ 1201.251829] NOHZ: local_softirq_pending 40
root@128:~# 

Steps to Reproduce

1. Build host
/lpg-build/cdc/fast_prod/wrlinux80/WRL80_GIT/wrlinux-8/wrlinux/configure \
--enable-addons=wr-ovp --with-license-flags-whitelist=non-commercial --enable-rm-oldimgs=yes \
--enable-bootimage=hdd,tar.bz2 --with-bootimage-space=1024 --enable-patchresolve=noop \
--enable-board=intel-x86-64 --enable-kernel=ovp --enable-rootfs=ovp-kvm+installer-support \
--enable-jobs=48 --enable-parallel-pkgbuilds=48 --enable-reconfig --enable-test=yes --enable-ccache=no \
--with-template=feature/kexec,feature/kdump,feature/rt-tune,feature/ovs-2.7.0 --with-layer=wr-dpdk \
--with-package=iproute2,gdb,iperf,netperf,sysstat

2. Build guest
/lpg-build/cdc/fast_prod/wrlinux80/WRL80_GIT/wrlinux-8/wrlinux/configure \
--enable-addons=wr-ovp --with-license-flags-whitelist=non-commercial --enable-patchresolve=noop \
--enable-board=x86-64-kvm-guest --enable-kernel=ovp --enable-rootfs=ovp-guest \
--enable-jobs=48 --enable-parallel-pkgbuilds=48 --enable-reconfig --enable-test=yes --enable-ccache=no \
--with-template=feature/rt-tune,feature/target-toolchain,feature/ovs-2.7.0 --with-layer=wr-dpdk \
--with-package=iperf,netperf,sysstat

3. boot target
# cat /proc/cmdline 
fs1:\bzImage.efi root=/dev/sdb2 rootwait rw ip=128.224.162.122::128.224.162.1:255.255.254.0:Harcuvar:eth0:off console=ttyS0,115200 ignore_loglevel selinux=0 enforcing=0 transparent_hugepage=never default_hugepagesz=1G hugepagesz=11
root@Harcuvar:~#

4. boot guest
taskset -c 1 /usr/bin/qemu-system-x86_64 \
-k en-us \
-enable-kvm \
-m 1024 \
-smp 2 \
-name vm1,process=rt-kvm \
-no-reboot \
-no-hpet \
-nographic \
-kernel /root/guest.kernel.vm1 \
-append "root=/dev/vda rw console=ttyS0,115200 selinux=0 enforcing=0 ip=192.168.1.11::192.168.1.1:255.255.254.0:VM1:eth0:off" \
-netdev tap,script=$script_file1,downscript=$downscript_file1,id=net0,vhost=on -device virtio-net-pci,netdev=net0,mac=de:ef:be:74:ae:11 \
-drive file=/root/guest.rootfs.vm1,if=virtio,cache=none

Other Downloads


Live chat
Online