Wind River Support Network

HomeDefectsLIN6-1057
Fixed

LIN6-1057 : [WRLinux60] Fail to read a lttng2 trace data via babeltrace in BSP ti-66ak2hxx

Created: Dec 10, 2013    Updated: Mar 5, 2016
Resolved Date: Sep 23, 2014
Found In Version: 6.0
Fix Version: 6.0.0.6
Severity: Severe
Applicable for: Wind River Linux 6
Component/s: BSP

Description

Fail to read a lttng2 trace data via babeltrace in BSP ti-66ak2hxx as follows:

root@localhost:~# lttng list -k | grep sched_switch
      sched_switch (loglevel: TRACE_EMERG (0)) (type: tracepoint)
root@localhost:~# lttng create lttng2x-session
Session lttng2x-session created.
Traces will be written in /root/lttng-traces/lttng2x-session-20131210-091737
root@localhost:~# lttng set-session lttng2x-session
Session set to lttng2x-session
root@localhost:~# lttng enable-event -k sched_switch
kernel event sched_switch created in channel channel0
root@localhost:~# lttng start
Tracing started for session lttng2x-session

wait for a while

root@localhost:~# lttng stop
Waiting for data availability.
Tracing stopped for session lttng2x-session
root@localhost:~# babeltrace /root/lttng-traces/lttng2x-session-20131210-091737/
Bus error
root@localhost:~# 
root@localhost:~# babeltrace /root/lttng-traces/lttng2x-session-20131210-091737/
Bus error
root@localhost:~# dmesg | tail -10
[86880.092318] ring buffer relay-discard, cpu 0: 1540 records written, 0 records overrun
[86880.092544] ring buffer relay-discard, cpu 1: 116 records written, 0 records overrun
[86880.092749] ring buffer relay-discard, cpu 2: 117 records written, 0 records overrun
[86880.092948] ring buffer relay-discard, cpu 3: 109 records written, 0 records overrun
[86988.466504] Alignment trap: babeltrace (29212) PC=0x4ac45874 Instr=0xedc00b0a Address=0x000287d6 FSR 0xa21
[86988.474783] Alignment trap: not handling instruction edc00b0a at [<4ac45874>]
[86988.480478] Unhandled fault: alignment exception (0xa21) at 0x000287d6
[86995.787155] Alignment trap: babeltrace (29213) PC=0x4ac45874 Instr=0xedc00b0a Address=0x000287d6 FSR 0xa21
[86995.795309] Alignment trap: not handling instruction edc00b0a at [<4ac45874>]
[86995.801048] Unhandled fault: alignment exception (0xa21) at 0x000287d6
root@localhost:~# 
root@localhost:~# uname -a
Linux localhost 3.10.19-WR6.0.0.1_standard #1 SMP PREEMPT Fri Dec 6 07:38:39 CST 2013 armv7l GNU/Linux
root@localhost:~# 

Steps to Reproduce

1. configure and build project with

--enable-board=ti-66ak2hxx --enable-kernel=standard --enable-rootfs=glibc_std --enable-jobs=8 --enable-parallel-pkgbuilds=8 --with-template=feature/lttng2

2. follow the test log in "Symptom Details"
Live chat
Online