Wind River Support Network

HomeDefectsLIN5-4814
Fixed

LIN5-4814 : [ WRL5.0.1 Async] [ BSP: bcm-xlp ] The LTP float_exp_log test case could cause the kernel print Call Trace.

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

Description

  The LTP float_exp_log test case could cause the preempt-rt kernel print Call Trace.

  The bcm-xlp BSP Call Trace information as follow:
  =====================================================
  23:<3>BUG: using smp_processor_id() in preemptible [00000000 00000000] code: genexp/1137
 23:caller is fpu_emu+0xb9c/0x1688
 23:Call Trace:
 23:[<ffffffffc17d1998>] dump_stack+0x1c/0x50
 23:[<ffffffffc14a31d8>] debug_smp_processor_id+0x128/0x150
 23:[<ffffffffc10e4014>] fpu_emu+0xb9c/0x1688
 23:[<ffffffffc10e4df0>] cop1Emulate+0x2f0/0x1ad8
 23:[<ffffffffc10e66d4>] fpu_emulator_cop1Handler+0xfc/0x2a8
 23:[<ffffffffc10c8468>] do_fpe+0x238/0x550
 23:[<ffffffffc10c0284>] ret_from_exception+0x0/0x10
 23:
 23:<3>BUG: using smp_processor_id() in preemptible [00000000 00000000] code: genexp/1137
 23:caller is fpu_emu+0xbf8/0x1688
 23:Call Trace:
 23:[<ffffffffc17d1998>] dump_stack+0x1c/0x50
 23:[<ffffffffc14a31d8>] debug_smp_processor_id+0x128/0x150
 23:[<ffffffffc10e4070>] fpu_emu+0xbf8/0x1688
 23:[<ffffffffc10e4df0>] cop1Emulate+0x2f0/0x1ad8
 23:[<ffffffffc10e66d4>] fpu_emulator_cop1Handler+0xfc/0x2a8
 23:[<ffffffffc10c8468>] do_fpe+0x238/0x550
 23:[<ffffffffc10c0284>] ret_from_exception+0x0/0x10
 23:
 23:<3>BUG: using smp_processor_id() in preemptible [00000000 00000000] code: genexp/1137
 23:caller is fpu_emu+0x490/0x1688
 23:Call Trace:
 23:[<ffffffffc17d1998>] dump_stack+0x1c/0x50
 23:[<ffffffffc14a31d8>] debug_smp_processor_id+0x128/0x150
 23:[<ffffffffc10e3908>] fpu_emu+0x490/0x1688
 23:[<ffffffffc10e4df0>] cop1Emulate+0x2f0/0x1ad8
 23:[<ffffffffc10e66d4>] fpu_emulator_cop1Handler+0xfc/0x2a8
 23:[<ffffffffc10c8468>] do_fpe+0x238/0x550
 23:[<ffffffffc10c0284>] ret_from_exception+0x0/0x10
 23:
 23:<3>BUG: using smp_processor_id() in preemptible [00000000 00000000] code: genexp/1137
 23:caller is fpu_emu+0xb9c/0x1688
 23:Call Trace:
 23:[<ffffffffc17d1998>] dump_stack+0x1c/0x50
 23:[<ffffffffc14a31d8>] debug_smp_processor_id+0x128/0x150
 23:[<ffffffffc10e4014>] fpu_emu+0xb9c/0x1688
 23:[<ffffffffc10e4df0>] cop1Emulate+0x2f0/0x1ad8
 23:[<ffffffffc10e66d4>] fpu_emulator_cop1Handler+0xfc/0x2a8
 23:[<ffffffffc10c8468>] do_fpe+0x238/0x550
 23:[<ffffffffc10c0284>] ret_from_exception+0x0/0x10
 23:
 23:<3>BUG: using smp_processor_id() in preemptible [00000000 00000000] code: genexp/1137
 23:caller is fpu_emu+0xbf8/0x1688
 23:Call Trace:
 23:[<ffffffffc17d1998>] dump_stack+0x1c/0x50
 23:[<ffffffffc14a31d8>] debug_smp_processor_id+0x128/0x150
 23:[<ffffffffc10e4070>] fpu_emu+0xbf8/0x1688
 23:[<ffffffffc10e4df0>] cop1Emulate+0x2f0/0x1ad8
 23:[<ffffffffc10e66d4>] fpu_emulator_cop1Handler+0xfc/0x2a8
 23:[<ffffffffc10c8468>] do_fpe+0x238/0x550
 23:[<ffffffffc10c0284>] ret_from_exception+0x0/0x10
 23:
 23:<3>BUG: using smp_processor_id() in preemptible [00000000 00000000] code: genexp/1137
 23:caller is fpu_emu+0x490/0x1688
 23:Call Trace:
 23:[<ffffffffc17d1998>] dump_stack+0x1c/0x50
 23:[<ffffffffc14a31d8>] debug_smp_processor_id+0x128/0x150
 23:[<ffffffffc10e3908>] fpu_emu+0x490/0x1688
 23:[<ffffffffc10e4df0>] cop1Emulate+0x2f0/0x1ad8
 23:[<ffffffffc10e66d4>] fpu_emulator_cop1Handler+0xfc/0x2a8
 23:[<ffffffffc10c8468>] do_fpe+0x238/0x550
 23:[<ffffffffc10c0284>] ret_from_exception+0x0/0x10
 23:
 23:<3>BUG: using smp_processor_id() in preemptible [00000000 00000000] code: genexp/1137
 23:caller is fpu_emu+0xb9c/0x1688
 23:Call Trace:
 23:[<ffffffffc17d1998>] dump_stack+0x1c/0x50
 23:[<ffffffffc14a31d8>] debug_smp_processor_id+0x128/0x150
 23:[<ffffffffc10e4014>] fpu_emu+0xb9c/0x1688
 23:[<ffffffffc10e4df0>] cop1Emulate+0x2f0/0x1ad8
 23:[<ffffffffc10e66d4>] fpu_emulator_cop1Handler+0xfc/0x2a8
 23:[<ffffffffc10c8468>] do_fpe+0x238/0x550
 23:[<ffffffffc10c0284>] ret_from_exception+0x0/0x10
 23:
 23:<3>BUG: using smp_processor_id() in preemptible [00000000 00000000] code: genexp/1137
 23:caller is fpu_emu+0xbf8/0x1688
 23:Call Trace:
 23:[<ffffffffc17d1998>] dump_stack+0x1c/0x50
 23:[<ffffffffc14a31d8>] debug_smp_processor_id+0x128/0x150
 23:[<ffffffffc10e4070>] fpu_emu+0xbf8/0x1688
 23:[<ffffffffc10e4df0>] cop1Emulate+0x2f0/0x1ad8
 23:[<ffffffffc10e66d4>] fpu_emulator_cop1Handler+0xfc/0x2a8
 23:[<ffffffffc10c8468>] do_fpe+0x238/0x550
 23:[<ffffffffc10c0284>] ret_from_exception+0x0/0x10
 23:
 23:<3>BUG: using smp_processor_id() in preemptible [00000000 00000000] code: genexp/1137
 23:caller is fpu_emu+0x490/0x1688
 23:Call Trace:
 23:[<ffffffffc17d1998>] dump_stack+0x1c/0x50
 23:[<ffffffffc14a31d8>] debug_smp_processor_id+0x128/0x150
 23:[<ffffffffc10e3908>] fpu_emu+0x490/0x1688
 23:[<ffffffffc10e4df0>] cop1Emulate+0x2f0/0x1ad8
 23:[<ffffffffc10e66d4>] fpu_emulator_cop1Handler+0xfc/0x2a8
 23:[<ffffffffc10c8468>] do_fpe+0x238/0x550
 23:[<ffffffffc10c0284>] ret_from_exception+0x0/0x10
 23:
 23:<3>BUG: using smp_processor_id() in preemptible [00000000 00000000] code: genexp/1137
 23:caller is fpu_emu+0xb9c/0x1688
 23:Call Trace:
 23:[<ffffffffc17d1998>] dump_stack+0x1c/0x50
 23:[<ffffffffc14a31d8>] debug_smp_processor_id+0x128/0x150
 23:[<ffffffffc10e4014>] fpu_emu+0xb9c/0x1688
 23:[<ffffffffc10e4df0>] cop1Emulate+0x2f0/0x1ad8
 23:[<ffffffffc10e66d4>] fpu_emulator_cop1Handler+0xfc/0x2a8
 23:[<ffffffffc10c8468>] do_fpe+0x238/0x550
 23:[<ffffffffc10c0284>] ret_from_exception+0x0/0x10
 23:
root@XLP832B2-RV2:/opt/ltp#

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 --enable-test=yes

2) make fs

3) boot the new kernel and FS

4) cd /opt/ltp

5) ./runltp -s float_exp_log

6) dmesg

Other Downloads


Live chat
Online