Wind River Support Network

HomeDefectsLIN5-5764
Fixed

LIN5-5764 : [ WRL5.0.1 Async] [ BSP: bcm-xlp ] The LTP proc01 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:
  =====================================================
root@XLP832B2-RV2:~# dmesg
 28:<1>CPU 28 Unable to handle kernel paging request at virtual address 0000000000000000, epc == ffffffffc16531bc, ra == ffffffffc1653198
 28:Oops[#2]:
 28:Cpu 28
 28:$ 0   : 28: 0000000000000000 28: ffffffffc12b1508 28: 0000000000000001 28: 0000000000000000 28:
 28:$ 4   : 28: 0000000000000000 28: ffffffffc19211b7 28: 0000000000000000 28: ffffffffffffffff 28:
 28:$ 8   : 28: 000000000000000a 28: 0000000000000002 28: 0000000000000001 28: 0000000000000001 28:
 28:$12   : 28: fffffffffffffffc 28: ffffffffffffff80 28: ffffffffc1239150 28: ffffffffac000000 28:
 28:$16   : 28: 0000000000000000 28: 0000000000000000 28: 00000000000000fb 28: ffffffffc1f81d00 28:
 28:$20   : 28: 0000000000000000 28: c0000000fd800000 28: 0000000000000400 28: c0000000f7d4fd10 28:
 28:$24   : 28: 0000000000000010 28: 00000094c2a34f44 28:                  28:                  28:
 28:$28   : 28: c0000000f7d40000 28: c0000000f7d4fba8 28: c0000000f7d4fba8 28: ffffffffc1653198 28:
 28:Hi    : 000000000002f880
 28:Lo    : 000000000000fd80
 28:epc   : ffffffffc16531bc nlm_crypto_read_stats_proc+0x354/0x360
 28:    Tainted: G      D    
 28:ra    : ffffffffc1653198 nlm_crypto_read_stats_proc+0x330/0x360
 28:Status: 5400b8e3     28:KX  28:SX  28:UX  28:KERNEL  28:EXL  28:IE  28:
 28:Cause : 8080000c
 28:BadVA : 0000000000000000
 28:PrId  : 000c1005 (XLP832 Rev B2)
 28:<d>Modules linked in: 28: jbd2 28: ext4 28: fat 28: vfat 28: minix 28: nls_cp437 28: nls_iso8859_1 28:
 28:Process proc01 (pid: 2738, threadinfo=c0000000f7d40000, task=c0000000e9ff0dc0, tls=00000094c293dbc0)
 28:Stack : 28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28:
        28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28:
        28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28:
        28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28:
        28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28:
        28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28:
        28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28:
        28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28: 0000000000000000 28:
        28: 0000000000000000 28: c0000000f7540840 28: c0000000f61dd440 28: c0000000fd800000 28:
        28: 0000000000000400 28: 0000000120035730 28: c0000000f7d4fe00 28: 0000000000000000 28:
        28: ... 28:
 28:Call Trace:
 28:[<ffffffffc16531bc>] nlm_crypto_read_stats_proc+0x354/0x360
 28:[<ffffffffc12b1508>] proc_file_read+0x1f8/0x378
 28:[<ffffffffc12aa514>] proc_reg_read+0xac/0x108
 28:[<ffffffffc1239054>] vfs_read+0xb4/0x1b0
 28:[<ffffffffc12391c8>] SyS_read+0x78/0x170
 28:[<ffffffffc10cd164>] handle_sys64+0x44/0x64
 28:
 28:
Code: 28: 0064800b  28: dfc30100  28: 24020001  28:<08594be7> 28: ac620000  28: 00000000  28: 67bdffd0  28: ffbe0020  28: ffbf0028  28:
 28:<4>---[ end trace 0000000000000003 ]---
root@XLP832B2-RV2:~#

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 proc01

6) dmesg

Other Downloads


Live chat
Online