Wind River Support Network

HomeDefectsLIN1018-3828
Fixed

LIN1018-3828 : poweroff error

Created: Apr 2, 2019    Updated: Apr 24, 2019
Resolved Date: Apr 14, 2019
Found In Version: 10.18.44.5
Fix Version: 10.18.44.6
Severity: Severe
Applicable for: Wind River Linux LTS 18
Component/s: Build & Config

Description

When doing poweroff on the qemu target, got the following error on the host at the end of shutdown:

[  248.328059] reboot: Power down
runqemu - INFO - Cleaning up
Set 'tap0' nonpersistent
Traceback (most recent call last):
  File "/target-qemux86-64_small/scripts/runqemu", line 1346, in <module>
    sys.exit(main())
  File "/target-qemux86-64_small/scripts/runqemu", line 1343, in main
    subprocess.check_call(["tput", "smam"])
  File "/target-qemux86-64_small/bin/buildtools.buildtools-standalone-20181115/sysroots/x86_64-wrll
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['tput', 'smam']' returned non-zero exit status 1

Steps to Reproduce

//  Create a mirror
mkdir wrlx-mirror
cd wrlx-mirror
git clone --branch WRLINUX_10_18_LTS_RCPL0005 git://yow-git.wrs.com/wrlinux-x
./wrlinux-x/setup.sh --mirror --all-layers --dl-layers

// Create project
mkdir Builds
cd Builds
mkdir target-qemux86-64_small
cd target-qemux86-64_small
git clone /home/wruser/wrlx-mirror/wrlinux-x
./wrlinux-x/setup.sh --machines qemux86-64 --dl-layers \
--templates feature/gdb feature/debug feature/package-management
sync

// Source env
. environment-setup-x86_64-wrlinuxsdk-linux
. oe-init-build-env
echo 'SSTATE_DIR ?= "/home/wruser/Builds/sstate-cache"' >>  conf/local.conf
echo 'PRSERV_HOST = "localhost:0"' >> conf/local.conf
echo 'IMAGE_INSTALL_append = " bash perf"' >>  conf/local.conf

// Also did the following changes on local.conf
EXTRA_IMAGE_FEATURES ?= "debug-tweaks dbg-pkgs"
INHERIT += "packagefeed-stability"
INHERIT += "buildhistory"
BUILDHISTORY_COMMIT = "1"

// Build
bitbake wrlinux-image-glibc-small

// Run qemu target
runqemu qemux86-64 nographic

// Poweroff the target
# poweroff
Live chat
Online