Fixed
Created: Nov 10, 2023
Updated: Dec 28, 2023
Resolved Date: Dec 28, 2023
Found In Version: 10.23.30.4
Fix Version: 10.23.30.5
Severity: Standard
Applicable for: Wind River Linux LTS 23
Component/s: Userspace
Environment
======================
Requirement No.: LINUXEXEC-29580
Peer Reviewer: Xiangyu Dong
WRLinux Version: LTS23
Workbench Version:
Binary/FS From:
BSP/Configuration: qemuriscv64 + glibc-std
HOST OS: Ubuntu-20.04
Log location
======================
7. Symptom Details
****************************
root@qemuriscv64:~# reboot
120.824419] systemd-journald[160]: Failed to send WATCHDOG=1 notifica tion message: Connection refused
Call to Reboot failed: Connection timed out
Failed to open /run/initctl: No such device or address
Failed to talk to init daemon: Connection timed out
root@qemuriscv64:~# shutdown -h now
[ 189.537548] systemd-journald[160]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
Call to PowerOff failed: Connection timed out
Failed to open /run/initctl: No such device or address
Failed to talk to init daemon: Connection timed out
Console crash info:
oot@qemuriscv64:/opt/wr-test# ./main_test.py -x fs:gf18 -u
['gf18']
==================================================
Case Number: 1
===================== Case List =====================
SuiteName CaseName Group Option
fs gf18 ltp
==================================================
Test Case : gf18
1/ 1: ######################################################
>>>>>>>>>>>>>>>>>> test case start >>>>>>>>>>>>>>>>>>>>
START_TIME: 2023-03-03T10:40:32
[ 3091.795180] LTP: starting gf18 (growfiles -W gf18 -b -e 1 -i 0 -L 120 -w -u -r 10-5000 -I r -l -S 2 -f Lgf04_ -d $TMPDIR)
[ 3091.807343] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
END_TIME: 2023-03-03T10:41:43
Duration: 70.80 S
FAIL: gf18
>>>>>>>>>>>>>>>>>> test case end >>>>>>>>>>>>>>>>>>>>
=====================================
fs Log:
#########################################################
Start testcase fs (keyword: ) testing
#########################################################
<< [do_test1] start >>
********************
root@qemuriscv64:/opt/wr-test/testcases/ltp/fs# rm -rf /opt/ltp/results/fs.log
root@qemuriscv64:/opt/wr-test/testcases/ltp/fs# mkdir -p /opt/ltp/results/
root@qemuriscv64:/opt/wr-test/testcases/ltp/fs# /opt/ltp/runltp -p -f fs -l /opt/ltp/results/fs.log -S /opt/wr-test/skipfile.ltp -s gf18
Checking for required user/group ids
'root' user id and group found.
'nobody' user id and group found.
'bin' user id and group found.
'daemon' user id and group found.
Users group found.
Sys group found.
Required users/groups exist.
If some fields are empty or look unusual you may have an old version.
Compare to the current minimal requirements in Documentation/Changes.
/etc/os-release
ID=wrlinux
NAME="Wind River Linux LTS"
VERSION="10.23.30.4 (mickledore)"
VERSION_ID=10.23.30.4
VERSION_CODENAME="mickledore"
PRETTY_NAME="Wind River Linux LTS 23.30 Update 4"
uname:
Linux qemuriscv64 6.1.61-yocto-standard #1 SMP PREEMPT Tue Nov 7 02:49:39 UTC 2023 riscv64 GNU/Linux
/proc/cmdline
root=/dev/vda rw mem=8192M console=ttyS0 console=hvc0 earlycon=sbi
Gnu C
Clang
util-linux 2.38.1
mount linux 2.38.1 (libmount 2.38.1: btrfs, namespaces, assert, debug)
modutils 30
PPP 2.4.9
Linux C Library x 1 root root 1175128 Mar 9 2018 /lib/libc.so.6
Dynamic linker (ldd) 2.37
Procps 4.0.3-dirty
Net-tools 2.10
iproute2 iproute2-6.2.0
iputils 20221126
ethtool 6.2
Sh-utils 9.1
Modules Loaded ppp_async crc_ccitt ppp_generic slip slhc 8021q virtio_input sch_fq_codel openvswitch nsh nf_conncount nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 fuse configfs
free reports:
total used free shared buff/cache available
Mem: 8151560 193024 7918756 9664 130996 7958536
Swap: 0 0 0
cpuinfo:
Architecture: riscv64
Byte Order: Little Endian
CPU(s): 8
On-line CPU(s) list: 0-7
available filesystems:
autofs bdev bpf btrfs cgroup cgroup2 cifs configfs cpuset debugfs devpts devtmpfs ext2 ext3 ext4 fuse fuseblk fusectl mqueue nfs nfs4 overlay pipefs proc ramfs rpc_pipefs smb3 sockfs sysfs tmpfs tracefs vfat
mounted filesystems (/proc/mounts):
/dev/root / ext4 rw,relatime 0 0
devtmpfs /dev devtmpfs rw,relatime,size=4074668k,nr_inodes=1018667,mode=755 0 0
proc /proc proc rw,relatime 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,relatime,gid=5,mode=620,ptmxmode=666 0 0
tmpfs /run tmpfs rw,nosuid,nodev,size=1630312k,nr_inodes=819200,mode=755 0 0
tmpfs /sys/fs/cgroup tmpfs ro,nosuid,nodev,noexec,size=4096k,nr_inodes=1024,mode=755 0 0
cgroup2 /sys/fs/cgroup/unified cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
cgroup /sys/fs/cgroup/blkio cgroup rw,nosuid,nodev,noexec,relatime,blkio 0 0
cgroup /sys/fs/cgroup/cpu,cpuacct cgroup rw,nosuid,nodev,noexec,relatime,cpu,cpuacct 0 0
cgroup /sys/fs/cgroup/cpuset cgroup rw,nosuid,nodev,noexec,relatime,cpuset 0 0
cgroup /sys/fs/cgroup/freezer cgroup rw,nosuid,nodev,noexec,relatime,freezer 0 0
cgroup /sys/fs/cgroup/net_cls,net_prio cgroup rw,nosuid,nodev,noexec,relatime,net_cls,net_prio 0 0
cgroup /sys/fs/cgroup/devices cgroup rw,nosuid,nodev,noexec,relatime,devices 0 0
cgroup /sys/fs/cgroup/perf_event cgroup rw,nosuid,nodev,noexec,relatime,perf_event 0 0
cgroup /sys/fs/cgroup/memory cgroup rw,nosuid,nodev,noexec,relatime,memory 0 0
cgroup /sys/fs/cgroup/pids cgroup rw,nosuid,nodev,noexec,relatime,pids 0 0
mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,nr_inodes=1048576 0 0
fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
ramfs /run/credentials/systemd-sysctl.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
ramfs /run/credentials/systemd-sysusers.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
ramfs /run/credentials/systemd-tmpfiles-setup-dev.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
tmpfs /var/volatile tmpfs rw,relatime 0 0
ramfs /run/credentials/systemd-tmpfiles-setup.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
ramfs /run/credentials/systemd-resolved.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
tmpfs /run/user/0 tmpfs rw,nosuid,nodev,relatime,size=815156k,nr_inodes=203789,mode=700 0 0
tmpfs /run/netns tmpfs rw,nosuid,nodev,size=1630312k,nr_inodes=819200,mode=755 0 0
nsfs /run/netns/tst_net_ns0 nsfs rw 0 0
nsfs /run/netns/tst_net_ns0 nsfs rw 0 0
nsfs /run/netns/tst_net_ns1 nsfs rw 0 0
nsfs /run/netns/tst_net_ns1 nsfs rw 0 0
mounted filesystems (df):
Filesystem Type Size Used Avail Use% Mounted on
/dev/root ext4 2.5G 2.0G 315M 87% /
devtmpfs devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs tmpfs 1.6G 8.5M 1.6G 1% /run
tmpfs tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
tmpfs tmpfs 3.9G 20K 3.9G 1% /tmp
tmpfs tmpfs 3.9G 1.1M 3.9G 1% /var/volatile
tmpfs tmpfs 797M 0 797M 0% /run/user/0
AppArmor disabled
SELinux mode: unknown
no big block device was specified on commandline.
Tests which require a big block device are disabled.
You can specify it with option -z
COMMAND: /opt/ltp/bin/ltp-pan -e -S -a 12918 -n 12918 -p -f /tmp/ltp-Y8MWGiVoIY/alltests -l /opt/ltp/results/fs.log -C /opt/ltp/output/LTP_RUN_ON-fs.log.failed -T /opt/ltp/output/LTP_RUN_ON-fs.log.tconf
INFO: Restricted to gf18
LOG File: /opt/ltp/results/fs.log
FAILED COMMAND File: /opt/ltp/output/LTP_RUN_ON-fs.log.failed
TCONF COMMAND File: /opt/ltp/output/LTP_RUN_ON-fs.log.tconf
Running tests.......
<<<test_start>>>
tag=gf18 stime=1677840046
cmdline="growfiles -W gf18 -b -e 1 -i 0 -L 120 -w -u -r 10-5000 -I r -l -S 2 -f Lgf04_ -d $TMPDIR"
contacts=""
analysis=exit
<<<test_output>>>
growfiles(gf18): 13070 growfiles.c/1700: received unexpected signal: 11
gf18 1 TFAIL : growfiles.c:134: Test failed
incrementing stop
<<<execution_status>>>
initiation_status="ok"
duration=51 termination_type=exited termination_id=1 corefile=no
cutime=973 cstime=4117
<<<test_end>>>
INFO: ltp-pan reported some tests FAIL
LTP Version: 20230127
###############################################################
Done executing testcases.
LTP Version: 20230127
###############################################################
root@qemuriscv64:/opt/wr-test/testcases/ltp/fs# cat /opt/ltp/results/fs.log
Test Start Time: Fri Mar 3 10:40:46 2023
-----------------------------------------
Testcase Result Exit Value
-------- ------ ----------
gf18 FAIL 1
-----------------------------------------------
Total Tests: 1
Total Skipped Tests: 0
Total Failures: 1
Kernel Version: 6.1.61-yocto-standard
Machine Architecture: riscv64
Hostname: qemuriscv64
<<end >>
********************
<<clean subcase>>
********************
<< [do_check_call_trace] start check testcase call trace>>
********************
root@qemuriscv64:/opt/wr-test/testcases/ltp/fs# dmesg (grep -i -w -E -B10 -A50 'Call Trace|BUG:|WARNING:' ||return 0
<<end check testcase call trace>>
********************
<<clean subcase>>
********************
#########################################################################
fs (keyword: ) test results:
*1 (gf18) FAIL
ERROR CMD OR INFO IS :
line:23 "sub case failures."
*2 check testcase call trace(do_check_call_trace) PASS
Test Summary
Total number : 2
Pass number : 1
Fail number : 1
Skip number : 0
Excution Time: 69 seconds
#########################################################
End testcase fs (keyword: ) testing
#########################################################
####################################################################################################################################
Testing Env
####################################################################################################################################
------------------
Project Build Path:
------------------
pek-lpgtest18.wrs.com:/buildarea1/xdong/qemuriscv64_wrlinux_linux-yocto_git_ltp_debug__LTS23/build
To Get The Testing Layer:
------------------------
# git clone ssh://git@lxgit.wrs.com/wrlinux-testing/testcases
# cd wrlinux;git checkout WRLINUX_10_23_HEAD
Project Build:
----------------------
--machines qemuriscv64 --distro wrlinux --dl-layers
Build Steps:
. oe-init-build-env
Add KTS layer
1.bitbake-layers add-layer <path to wr-testing/kts-dev>
2.echo "require templates/feature/wr-kts/template.conf" >> conf/local.conf
3.echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-yocto"' >> conf/local.conf
build image:
# bitbake IMAGE_NAME
Build Configuration:
----------------------------
WRLINUX_VERSION = "10.23.30.4"
WRLINUX_BRANCH = "LTS"
BB_VERSION = "2.4.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "ubuntu-20.04"
DISTRO = "wrlinux"
DISTRO_VERSION = "10.23.30.4"
MACHINE = "qemuriscv64"
DEFAULTTUNE = "riscv64"
TARGET_SYS = "riscv64-wrs-linux"
TUNE_FEATURES = "riscv64"
wrlinux
wrlinux-distro = "HEAD:7eca213aac26c90b63340b955adbcb49e777d19f"
meta = "HEAD:75055c0f1d83ca7e4e958d97d4be8c7e5f9bb6bf"
wr-template = "HEAD:607d441de15d3e52f09477446f863a6acfc64136"
meta-filesystems
meta-gnome
meta-initramfs
meta-python
meta-multimedia
meta-networking
meta-oe
meta-perl = "HEAD:70988d84e5e628ab86ad236f7ae0566cde35b297"
meta-virtualization = "HEAD:eee52ce2301ecd759f2ff2196e41f959af59917f"
meta-webserver
meta-xfce = "HEAD:70988d84e5e628ab86ad236f7ae0566cde35b297"
meta-clang = "HEAD:bf29a471d9f40cf2e34cf3c57a780842eabc2141"
meta-dpdk = "HEAD:7ff536bb5f6431123c43bcfc8c5d3afd43ae8b88"
meta-anaconda = "HEAD:6e7d09140c34d324c38f34b11ba1b2fb8863f450"
wrlinux-src-dl = "HEAD:8e728d91fbf4f32168cb1875cee0a3009328d8f2"
meta-efi-secure-boot
meta-encrypted-storage
meta-ids
meta-integrity
meta = "HEAD:58d54d20ee570d17b910a334da71a6977a1361bd"
meta-security = "HEAD:8e137dc369db682f83416ce40b714b751bc4da1d"
meta-selinux = "HEAD:6c95c5e507cb0b6b6fb9869ebf3d73ba9965617e"
meta-signing-key
meta-tpm2 = "HEAD:58d54d20ee570d17b910a334da71a6977a1361bd"
local = "master:2a154ecb5fb1681ee5eaafcedef453c8116a7146"
kts-dev = "WRLINUX_10_23_HEAD:00869ac4ddead216ef2827ddeb4f662d8f9d9c42"
Kernel source top 10 commits:
----------------------------
Lei Yang 643ea1b35f6a just touch a file to test do_patch function in yocto style Thu Mar 28 15:09:32 2013 +0800
Greg Kroah-Hartman 4a61839152cc Linux 6.1.61 Thu Nov 2 09:35:33 2023 +0100
John Sperbeck 5926b0886d0c objtool/x86: add missing embedded_insn check Thu Nov 2 09:35:33 2023 +0100
Baokun Li 2afa9f7eb15c ext4: avoid overlapping preallocations due to overflow Thu Nov 2 09:35:32 2023 +0100
Baokun Li fcefddf3a151 ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow Thu Nov 2 09:35:32 2023 +0100
Baokun Li 495c4c58d684 ext4: add two helper functions extent_logical_end() and pa_logical_end() Thu Nov 2 09:35:32 2023 +0100
David Lazar d022e4ea9c2f platform/x86: Add s2idle quirk for more Lenovo laptops Thu Nov 2 09:35:32 2023 +0100
Alessandro Carminati 48ebeab0eda1 clk: Sanitize possible_parent_show to Handle Return Value of of_clk_get_parent_name Thu Nov 2 09:35:32 2023 +0100
Al Viro 65e5a9890e03 sparc32: fix a braino in fault handling in csum_and_copy_..._user() Thu Nov 2 09:35:32 2023 +0100
Peter Zijlstra 8b8cde8ebb87 perf/core: Fix potential NULL deref Thu Nov 2 09:35:32 2023 +0100
Kernel cache top 5 commits:
----------------------------
Bruce Ashfield 29ec3dc6 kver: bumping to v6.1.61 Mon Nov 6 21:57:58 2023 -0500
Zhantao Tang 0192a720 nxp-s32g: update to compatile with SDK BSP38 Mon Nov 6 21:14:19 2023 -0500
Bruce Ashfield 829e2509 docs: add SECURITY.md and README.md Fri Nov 3 13:06:52 2023 -0400
C. Andy Martin 3ec1b83a security.cfg: restore strict-only /dev/mem access Thu Nov 2 16:06:22 2023 -0400
Bruce Ashfield 0553e01c kver: bumping to v6.1.60 Fri Oct 27 15:55:37 2023 -0400
Kernel config enabled by the testing layer:
------------------------------------------
CONFIG_DEBUG_KMEMLEAK=y
CONFIG_PRINT_QUOTA_WARNING=y
CONFIG_QFMT_V2=m
CONFIG_QUOTA=y
CONFIG_QUOTACTL=y
CONFIG_QUOTA_TREE=m
CONFIG_VETH=y
Kernel Boot Parameter:
---------------------
root@qemuriscv64:/opt/wr-test/testcases/ltp/fs# cat /proc/cmdline
root=/dev/vda rw mem=8192M console=ttyS0 console=hvc0 earlycon=sbi
To reproduce it:
---------------
# /opt/wr-test/testcases/ltp/fs/runtest.sh
=============
Extra Info:
=============
=====================================
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
WRL Test Completed Unsuccessfully
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
------------------------------------------------------------
fs ltp
release_name must be set in upload_env !!!!
Upload Log Fail
The case list :
======================= Summary =======================
TOTAL Case Number: 1
PASS Case Number: 0
FAIL Case Number: 1
SKIP Case Number: 0
=======================================================
-------------------------------------------------------
PASS List:
-------------------------------------------------------
-------------------------------------------------------
FAIL List:
-------------------------------------------------------
gf18
-------------------------------------------------------
SKIP List:
-------------------------------------------------------
-------------------------------------------------------
root@qemuriscv64:/opt/wr-test#
root@qemuriscv64:/opt/wr-test# [ 3171.552319) systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 3291.554215] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 3351.551185] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 3471.555031] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 3531.551295] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 3620.205559] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 3711.551499] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 3831.551886] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 3891.558214] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4011.550789] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4071.553407] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4191.551099] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4251.549915] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4371.550529] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4431.552270] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4551.551833] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4611.550818] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4694.278869] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4791.550575] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4910.055353] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 4961.302381] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 5091.555038] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 5151.550407] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 5271.550872] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 5331.551569] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 5451.551211] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 5511.552058] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 5594.438999] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 5691.550550] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 5811.550005] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 5871.549993] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
root@qemuriscv64:/opt/wr-test# ./main_test.py -x syscalls:sendmsg03 -u[ 5991.552300] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
fs:gf18 -u^C
root@qemuriscv64:/opt/wr-test# ^C
root@qemuriscv64:/opt/wr-test# ^C
root@qemuriscv64:/opt/wr-test# ^C
root@qemuriscv64:/opt/wr-test# [ 6051.550660] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 6171.550840] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
[ 6231.550801] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
root@qemuriscv64:/opt/wr-test# shutdown -h now
Call to PowerOff failed: Connection timed out
[ 6317.457925] systemd-journald[163]: Failed to send WATCHDOG=1 notification message: Transport endpoint is not connected
Failed to open /run/initctl: No such device or address
Failed to talk to init daemon: Connection timed out
root@qemuriscv64:/opt/wr-test#
8. Steps To Reproduce
****************************
1. build
$ setup.sh --machine qemuriscv64 --distro wrlinux --templates feature/ptest feature/xfce --all-layers --dl-layers --accept-eula=yes
$ . ./environment-setup-x86_64-wrlinuxsdk-linux
$ . ./oe-init-build-env
2. Build
$ bitbake wrlinux-image-std
4. Boot up qemu
$ QB_NET="none" runqemu qemuriscv64 slirp nographic qemuparams=" -device virtio-net-pci,netdev=net0 -netdev user,id=net0,hostfwd=tcp::5340-:22 -m 8192 -smp cpus=8" bootparams="selinux=0 enforcing=0" ext4 snapshot
5. Try to reboot or shutdown
$ reboot
$ shutdown -h now