Wind River Support Network

HomeDefectsLIN5-18561
Fixed

LIN5-18561 : [wrLinux501 Async BSP altera-socfpga] Kernel panic and system hang when using trace-cmd to invoke ftrace on target altera-socfpga-arriaV

Created: Apr 22, 2014    Updated: Dec 19, 2017
Resolved Date: May 12, 2014
Found In Version: 5.0.1
Fix Version: 5.0.1.15
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP - Async

Description

On wrLinux501 Async BSP altera-socfpga, Kernel panic and system hang when using trace-cmd to invoke ftrace on target altera-socfpga-arriaV

# trace-cmd record -p function_graph -e sunrpc -O print-parent -o sunrpc.log -g sys_read ls

/sys/kernel/debug/tracing/events/sunrpc/filter
/sys/kernel/debug/tracing/events/*/sunrpc/filter
  plugin 'function_graph'
Unable to handle kernel paging request at virtual address 4d86049f
pgd = 80004000
[4d86049f] *pgd=00000000
Internal error: Oops: 805 [#1] PREEMPT SMP ARM
Modules linked in: fat vfat minix nls_cp437 nls_iso8859_1
CPU: -1    Not tainted  (3.4.43-rt56-WR5.0.1.0_preempt-rt #1)
PC is at ftrace_push_return_trace+0x7c/0xfc
LR is at sched_clock+0x1c/0x94
pc : [<800cf01c>]    lr : [<80011ad0>]    psr: 400f0193
sp : bf91e098  ip : 00000029  fp : bf91e0c4
r10: bf91e114  r9 : 80097210  r8 : bf91e0cc
r7 : 804d5778  r6 : 804d5778  r5 : 80011ad0  r4 : bf91e000
r3 : e21c3021  r2 : 43860420  r1 : 0a00007f  r0 : 00000000
Flags: nZcv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c5387d  Table: 3d3e404a  DAC: 00000015
Process  (pid: 0, stack limit = 0xbf91c2f0)
Stack: (0xbf91e098 to 0x00002000)
[<800cf01c>] (ftrace_push_return_trace+0x7c/0xfc) from [<80015ba0>] (prepare_ftrace_return+0x54/0x98)
[<80015ba0>] (prepare_ftrace_return+0x54/0x98) from [<8000e964>] (ftrace_graph_caller+0x18/0x20)
Code: e594100c e1a02283 e3a00000 e591199c (e7815283) 
Alignment trap: not handling instruction e1962f9f at [<800af9d0>]
Unhandled fault: alignment exception (0x001) at 0x808e811d
Internal error: : 1 [#2] PREEMPT SMP ARM

Steps to Reproduce

1. configure and build project

--enable-board=altera-socfpga --enable-kernel=preempt-rt --enable-rootfs=glibc-std --enable-jobs=8 --enable-parallel-pkgbuilds=8 --enable-test --with-layer=/wr-testing-dev/kts,/wr-testing-dev/bts,/wr-testing-dev/ltp

2. boot target altera-socfpga-arriaV and run trace-cmd test

trace-cmd record -p function_graph -e sunrpc -O print-parent -o sunrpc.log -g sys_read ls

Other Downloads


Live chat
Online