Wind River Support Network

HomeDefectsLIN5-2830
Fixed

LIN5-2830 : BSP Testing:[Async BSP] [fsl-imx6] [preempt-rt] calltrace will be popped out when tracing

Created: Mar 11, 2013    Updated: Dec 19, 2017
Resolved Date: Mar 21, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.1
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: Kernel

Description

Problem Description
=================
tracing test will pop out some calltrace

Expected Behavior
================
It should be OK.


Observed Behavior
================

BUG: sleeping function called from invalid context at /buildarea3/fast_build/BUILD/WRLinux_5.0.1-WIND00386015-fsl-imx6/14406/bitbake_b    uil8
in_atomic(): 1, irqs_disabled(): 128, pid: 1944, name: jbd2/loop0-8
[<80017f18>] (unwind_backtrace+0x0/0x104) from [<806aff68>] (dump_stack+0x20/0x24)
[<806aff68>] (dump_stack+0x20/0x24) from [<80069404>] (__might_sleep+0x11c/0x120)
[<80069404>] (__might_sleep+0x11c/0x120) from [<806ba494>] (rt_spin_lock+0x2c/0x38)
[<806ba494>] (rt_spin_lock+0x2c/0x38) from [<80017d54>] (unwind_frame+0x350/0x514)
[<80017d54>] (unwind_frame+0x350/0x514) from [<80012c9c>] (walk_stackframe+0x34/0x40)
[<80012c9c>] (walk_stackframe+0x34/0x40) from [<80012d44>] (save_stack_trace_tsk+0x9c/0xa0)
[<80012d44>] (save_stack_trace_tsk+0x9c/0xa0) from [<80012d74>] (save_stack_trace+0x2c/0x30)
[<80012d74>] (save_stack_trace+0x2c/0x30) from [<800cf8f8>] (__ftrace_trace_stack+0x1f8/0x228)
[<800cf8f8>] (__ftrace_trace_stack+0x1f8/0x228) from [<800cfd5c>] (__trace_stack+0x20/0x28)
[<800cfd5c>] (__trace_stack+0x20/0x28) from [<806b1e8c>] (check_critical_timing+0x1e4/0x200)
[<806b1e8c>] (check_critical_timing+0x1e4/0x200) from [<800d720c>] (trace_preempt_on+0x118/0x134)
[<800d720c>] (trace_preempt_on+0x118/0x134) from [<806bd148>] (sub_preempt_count+0xbc/0xf4)
[<806bd148>] (sub_preempt_count+0xbc/0xf4) from [<8006ba34>] (migrate_disable+0x68/0xcc)
[<8006ba34>] (migrate_disable+0x68/0xcc) from [<80130dc4>] (kmem_cache_free+0x24/0x18c)
[<80130dc4>] (kmem_cache_free+0x24/0x18c) from [<7f00b1d4>] (jbd2_journal_put_journal_head+0xf4/0x170 [jbd2])
[<7f00b1d4>] (jbd2_journal_put_journal_head+0xf4/0x170 [jbd2]) from [<8000e938>] (return_to_handler+0x0/0x18)

Workaround

N/A

Steps to Reproduce

1. Build a preempt-rt kernel and rootfs on LX29

2. deploy and boot the board with NFS rootfs

3. run test
cd /opt/wr-test/testcases/kts/tracing# ./runtest.sh

Other Downloads


Live chat
Online