Wind River Support Network

HomeDefectsOVP-19
Fixed

OVP-19 : Need to update the Chapter 9 debugging

Created: Dec 3, 2013    Updated: Mar 11, 2016
Resolved Date: Dec 3, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.11
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Documentation

Description

Review the documentation "wr_linux_ovp_virtual_node_users_guide_5.0.1.pdf. (Chapter 9 - Debugging - p133).

1. Output Warning using 'ps -x', so replace 'ps -x' with 'ps x' for Step 2 in p137 and Step 5 in p139

root@localhost:~# ps -x | grep usermode
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
 1801 ttyS0    S+     0:00 grep usermode
root@localhost:~# ps x | grep usermode
 1803 ttyS0    S+     0:00 grep usermode
root@localhost:~# 

2. Command error for Step 4 in p139
root@localhost:~# cd /
root@localhost:~# taskset -c 2,3 /usr/bin/qemu-system-x86_64 \
-enablekvm \ 
-m 512 \
-mlock \
-smp 2 \
-name rt,process=rtkvm \
-noreboot \
-nographic \
-append "console=ttyS0,115200 root=/dev/hda" \
-hda /opt/windriver/wrlinux-image-ovp-guest-x86-64-kvm-guest.ext3 \
-vcpu 0,affinity=0x4,prio=0 \
-vcpu 1,affinity=0x8,prio=80 \
-kernel /opt/windriver/bzImage-x86-64-kvm-guest.bin \
-net nic \
-net user,hostfwd=udp::5555-:17185,hostfwd=tcp::5678-:5678

1). Replace '-enablekvm \ ' with '-enable-kvm \'
2). Replace '-noreboot \' with '-no-reboot \'
3). Replace '-name rt,process=rtkvm \' with '-name rt,process=rt-kvm \'

3. overlap 'hostfwd=udp::5555-:17185' in b) of step 1 of p114
root@localhost:~# cd /
root@localhost:~# /usr/bin/qemu-system-x86_64 -enable-kvm -m 512 \
-name rt,process=rt-kvm -no-reboot -nographic -kernel kernel.bin -append \
"root=/dev/hda2 rw console=ttyS0,115200 oprofile.timer=1 ip=dhcp" -hda usb.img \
-mlock -net nic -net
 user,hostfwd=udp::5555-:17185,hostfwd=udp::5555-:17185,hostfwd=tcp::5678-:5678

Steps to Reproduce

http://internal.wrs.com/engineering/engops/techpubs/docDrafts/WRLinux/Wind_River_Linux_5.0.1_docs/wr-linux-ovp-virtual-node-users-guide/wr_linux_ovp_virtual_node_users_guide_5.0.1.pdf

Other Downloads


Live chat
Online