Wind River Support Network

HomeDefectsLIN1019-3419
Fixed

LIN1019-3419 : intel-x86-64: Failed to run sleepgraph in rt kernel on NUC7i5DNKE

Created: Nov 11, 2019    Updated: Jul 14, 2020
Resolved Date: Jul 10, 2020
Found In Version: 10.19.45.1
Fix Version: 10.19.45.10
Severity: Standard
Applicable for: Wind River Linux LTS 19
Component/s: BSP

Description

intel-x86-64: Failed to run sleepgraph in rt kernel

root@intel-x86-64:~# sleepgraph -m mem -rtcwake 60 -o suspend/
Checking this system (intel-x86-64)...
have root access: YES
is sysfs mounted: YES
is "mem" a valid power mode: YES
is ftrace supported: YES
are kprobes supported: NO
timeline data source: FTRACE (all trace events found)
is rtcwake supported: YES
baseboard-manufacturer : Intel Corporation
baseboard-product-name : NUC7i5DNB
baseboard-serial-number : BTDN9240094K
baseboard-version : J57626-513
bios-release-date : 05/23/2019
bios-vendor : Intel Corp.
bios-version : DNKBLi5v.86A.0064.2019.0523.1933
chassis-manufacturer : Intel Corporation
chassis-version : 2
processor-manufacturer : Intel(R) Corporation
processor-version : Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz
system-manufacturer : Intel(R) Client Systems
system-product-name : NUC7i5DNKE
system-serial-number : BTDN9240094K
system-version : J72865-513
cpucount : 4
memtotal : 8035440 kB
memfree : 7339772 kB
INITIALIZING FTRACE...
Setting trace buffers to 65536 kB (16384 kB per cpu)
START TRACING
SUSPEND START
will issue an rtcwake in 60 seconds
002: Restarting tasks ... done.
002: PM: suspe
000: (elapsed 0.002 seconds)
n
000: done.
d
000:
entry (deep)
001: (elapsed 0.001 seconds)
0
001: done.
0
001:
2: Filesystems sync: 0.000 seconds
002: PM: Preparing system for sleep (deep)
002: Freezing user space processes ...
000: OOM killer disabled.
000: Freezing remaining freezable tasks ...
001: PM: Suspending system (deep)

37 printk messages dropped **
003: serial 00:02: activated
002: nvme nvme0: 4/0/0 default/read/poll queues
002: ata1: SATA link down (SStatus 4 SControl 300)
000: PM: resume of devices complete after 432.351 msecs
003: acpi LNXPOWER:01: Turning OFF
003: PM: Finishing wakeup.
003: OOM killer enabled.
003: done.
003: thermal thermal_zone4: failed to read out thermal zone (-61)
003: Restarting tasks ... done.
003: video LNXVIDEO:00: Restoring backlight state
000: PM: suspend exit
001: e1000e: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: None
RESUME COMPLETE
CAPTURING DMESG
CAPTURING TRACE
PROCESSING DATA
WARNING: ftrace start marker is missing
Traceback (most recent call last):
File "/usr/bin/sleepgraph", line 6748, in <module>
ret = runTest()
File "/usr/bin/sleepgraph", line 5894, in runTest
testruns, stamp = processData(True)
File "/usr/bin/sleepgraph", line 5802, in processData
for key in sorted(sysvals.stamp):
TypeError: 'int' object is not iterable

Steps to Reproduce

Project Build:
----------------------
    --machines=intel-x86-64 --templates feature/kexec feature/kdump feature/tpm2 feature/xfce feature/docker feature/lxc --distro wrlinux --dl-layers
    Build Steps:
    . oe-init-build-env
    Add BTS layer  
    1.bitbake-layers add-layer <path to wr-testing/bts-dev>
    2.echo "require templates/feature/bts/template.conf" >> conf/local.conf
    3.echo 'PREFERRED_PROVIDER_virtual/kernel = "linux-yocto-rt"' >> conf/local.conf
    
    build image:
    # bitbake wrlinux-image-glibc-std

Live chat
Online