Wind River Support Network

HomeDefectsLIN5-6793
Fixed

LIN5-6793 : [ WRL5.0.1 Async] [ BSP: bcm-xlp ] The KTS ptrace test case could cause the preempt-rt kernel print Call Trace.

Created: Jun 27, 2013    Updated: Dec 19, 2017
Resolved Date: Jul 11, 2013
Found In Version: 5.0.1
Fix Version: 5.0.1.5
Severity: Severe
Applicable for: Wind River Linux 5
Component/s: BSP
Host OS: Linux Red Hat
Architecture: MIPS

Description

  The KTS ptrace test case could cause the preempt-rt kernel print Call Trace.

  The bcm-xlp BSP ptrace Call Trace information as follow:
  =====================================================
There was Call Trace information during the testing
  2:<3>BUG: sleeping function called from invalid context at /BCM/git/Testing/RT-64-LTP-POSIX-KTS-BTS-622/bitbake_build/tmp/work/bcm_xlp-wrs-linux/linux-windriver-3.4-r0/linux/kernel/rtmutex.c:658
  2:<3>in_atomic(): 0, irqs_disabled(): 1, pid: 2283, name: dummy
  2:Call Trace:
  2:[<ffffffffc17c19d8>] dump_stack+0x1c/0x50
  2:[<ffffffffc1135a50>] __might_sleep+0x140/0x148
  2:[<ffffffffc17ce420>] rt_spin_lock+0x38/0x100
  2:[<ffffffffc110f1ec>] do_force_sig_info+0x4c/0x140
  2:[<ffffffffc110f308>] force_sig+0x28/0x40
  2:[<ffffffffc10c7ee0>] do_trap_or_bp+0xb0/0x1c0
  2:[<ffffffffc10c8888>] do_bp+0x80/0x138
  2:[<ffffffffc10c0284>] ret_from_exception+0x0/0x10
  2:

Workaround

No

Steps to Reproduce

1) /wr_project/PEK-git/wrlinx-x-501/wrlinux/configure  --enable-board=bcm-xlp --enable-kernel=preempt-rt  --enable-rootfs=glibc_std  --enable-jobs=16 --enable-parallel-pkgbuilds=6 --enable-internet-download=yes --with-layer=/wr_project/WR-TESTING-501-Async/wr-testing/kts

2) make fs

3) boot the new kernel and FS

4) cd /opt/wr-test

5) ./main_test.sh -s ptrace

Other Downloads


Live chat
Online