Wind River Support Network

HomeDefectsLIN5-7626
Fixed

LIN5-7626 : [5.0.1][BSP: CF Cavium Octeon II ] cpu_hotplug test failed with calltrace the target snuff out

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

Description

Problem Description
======================
cpu_hotplug test failed with calltrace the target snuff out.
Here tested on cav-cn63xx-pass1.2 (18728)

Expected Behavior
======================
PASS

Observed Behavior
======================
NONE

Logs(Key error logs)
======================
root@localhost:/opt/wr-test# ./main_test.sh -s CPU_HOTPLUG
/opt/wr-test/lib/lib_env.sh: line 21: rdate: command not found

	>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	The test case list : 
	 CPU_HOTPLUG
	<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

	Start bts Case CPU_HOTPLUG at Tue Mar  5 00:19:23 UTC 2013 with duration 1800 s
loop: module loaded | 
kmemleak: 7 new suspected memory leaks (see /sys/kernel/debug/kmemleak)
EXT4-fs (loop0): mounted filesystem with ordered data mode. Opts: (null)
nfs: server 128.224.178.20 not responding, still trying
nfs: server 128.224.178.20 OK
EXT4-fs (loop1): mounted filesystem with ordered data mode. Opts: (null)
Reset core 5. Available Coremask = 0x20 
Reset core 4. Available Coremask = 0x30 
Reset core 3. Available Coremask = 0x38 
Reset core 2. Available Coremask = 0x3c 
Reset core 1. Available Coremask = 0x3e 
SMP: Booting CPU05 (CoreId  5)...
CPU revision is: 000d9002 (Cavium Octeon II)
Cpu 5 online
SMP: Booting CPU04 (CoreId  4)...
CPU revision is: 000d9002 (Cavium Octeon II)
Cpu 4 online
SMP: Booting CPU03 (CoreId  3)...
CPU revision is: 000d9002 (Cavium Octeon II)
Cpu 3 online
SMP: Booting CPU02 (CoreId  2)...
CPU revision is: 000d9002 (Cavium Octeon II)
Cpu 2 online
SMP: Booting CPU01 (CoreId  1)...
CPU revision is: 000d9002 (Cavium Octeon II)
Cpu 1 onlinese wait | 
Kernel bug detected[#1]:
Cpu 2
$ 0   : 0000000000000000 ffffffff81258ce4 0000000000000000 a80000008c694440
$ 4   : a80000008c9324c0 a80000008c694440 a80000008c3a7bb0 a80000008c3a7ba0
$ 8   : 0000000010016000 0000000000000001 a800000001991180 000000000003a782
$12   : a80000008c3a7c08 ffffffff814bbd18 ffffffff81152470 0000000010010000
$16   : a80000008c9324c0 a80000008c694440 0000000000000001 a80000008c3a7ca8
$20   : 0000000000000000 0000000000000000 0000000010000000 3ff0000000000000
$24   : 0000000010016b10 00000000374bd7f0                                  
$28   : a80000008c3a4000 a80000008c3a7ba0 a80000008c3a7ba0 ffffffff81245ef0
Hi    : 00000000000002bc
Lo    : 72e275ab7dc7ae77
epc   : ffffffff814b1180 prio_tree_remove+0x100/0x138
    Not tainted
ra    : ffffffff81245ef0 vma_prio_tree_remove+0xb8/0x158
Status: 10108ce3    KX SX UX KERNEL EXL IE 
Cause : 00800034
PrId  : 000d9002 (Cavium Octeon II)
Modules linked in: jbd2 ext4 nls_base fat vfat minix loop
Process sleep (pid: 2698, threadinfo=a80000008c3a4000, task=a80000008c223c00, tls=000000007770d4a0)
Stack : a80000008c3a7bb0 ffffffff81275ad8 0000000000100100 a800000001991150
        a80000008c694450 0000000000000000 a80000008c6943f0 0000000000200000
        a80000008c3a7bf0 ffffffff81245ef0 a80000008c9324e0 a80000008c6943f0
        a80000008c3a7c10 ffffffff81258ce4 a80000008c3a7c20 ffffffff81258f30
        a80000008cd28a00 a80000008c9324a0 a80000008c6943f0 a80000008c694348
        a80000008c3a7c50 ffffffff812507a8 a80000008c3a7c60 a800000083112c00
        a800000083112c00 a80000008c2245c8 a800000083112c60 0000000000000004
        0000000000000002 0000000000000001 a80000008c3a7ca0 ffffffff8125b8b0
        0000000000000052 a800000083112c00 a800000000000001 a80000008c7c3000
        a80000008c7c3000 0000000800000008 a8000000036ce5a0 a8000000036cd618
        ...
Call Trace:
[<ffffffff814b1180>] prio_tree_remove+0x100/0x138
[<ffffffff81245ef0>] vma_prio_tree_remove+0xb8/0x158
[<ffffffff81258ce4>] __remove_shared_vm_struct+0x74/0xa8
[<ffffffff81258f30>] unlink_file_vma+0x58/0x80
[<ffffffff812507a8>] free_pgtables+0xe0/0x178
[<ffffffff8125b8b0>] exit_mmap+0x118/0x168
[<ffffffff81149560>] mmput+0x80/0x148
[<ffffffff81151804>] exit_mm+0x15c/0x190
[<ffffffff81151e6c>] do_exit+0x634/0x8d8
[<ffffffff81152414>] do_group_exit+0x5c/0xb8
[<ffffffff81152494>] SyS_exit_group+0x24/0x28
[<ffffffff811308e4>] handle_sysn32+0x44/0xe4


Code: 67bd0050  de020000  7052902b 
 24020001  03c0e82d  fe000000  a6020008  dfbf0048 
Kernel bug detected[#2]:
---[ end trace 48d0f0c53e060817 ]---
Fixing recursive fault but reboot is needed!
Cpu 1
$ 0   : 0000000000000000 ffffffff81258ce4 0000000000000000 a80000008c11bd70
$ 4   : a80000008c9955c0 a80000008c11bd70 a8000000858ffbb0 a8000000858ffba0
$ 8   : 000000001001f000 0000000000000000 ffffffff8194ed80 00000000000c7b61
$12   : a8000000858ffc08 ffffffff814bbd18 ffffffff81152470 0000000010020000
$16   : a80000008c9955c0 a80000008c11bd70 0000000000000001 a8000000858ffca8
$20   : 0000000000000000 0000000000000000 0000000010000000 0000000010020000
$24   : 000000001001f530 00000000374bd7f0                                  
$28   : a8000000858fc000 a8000000858ffba0 a8000000858ffba0 ffffffff81245ef0
Hi    : 00000000000002f4
Lo    : a70669a68cc725ee
epc   : ffffffff814b1180 prio_tree_remove+0x100/0x138
    Tainted: G      D     
ra    : ffffffff81245ef0 vma_prio_tree_remove+0xb8/0x158
Status: 10108ce3    KX SX UX KERNEL EXL IE 
Cause : 00800034
PrId  : 000d9002 (Cavium Octeon II)
Modules linked in: jbd2 ext4 nls_base fat vfat minix loop
Process tail (pid: 2715, threadinfo=a8000000858fc000, task=a80000007e01ec00, tls=000000007707c4a0)
Stack : a8000000858ffbb0 ffffffff81275b34 0000000000100100 a80000008c61cab0
        a80000008c11bd80 0000000000000000 a80000008c11bd20 0000000000200000
        a8000000858ffbf0 ffffffff81245ef0 a80000008c9955e0 a80000008c11bd20
        a8000000858ffc10 ffffffff81258ce4 a8000000858ffc20 ffffffff81258f30
        a80000008ee5fe00 a80000008c9955a0 a80000008c11bd20 a80000008c5f0930
        a8000000858ffc50 ffffffff812507a8 a8000000858ffc60 a80000008d8ba800
        a80000008d8ba800 a80000007e01f5c8 a80000008d8ba860 0000000000000004
        0000000000000002 0000000000000001 a8000000858ffca0 ffffffff8125b8b0
        0000000000000052 a80000008d8ba800 a800000000000001 a80000008b9ea000
        a80000008b9ea000 0000000800000008 a8000000036e5da8 a8000000036e5d70
        ...
Call Trace:
[<ffffffff814b1180>] prio_tree_remove+0x100/0x138
[<ffffffff81245ef0>] vma_prio_tree_remove+0xb8/0x158
[<ffffffff81258ce4>] __remove_shared_vm_struct+0x74/0xa8
[<ffffffff81258f30>] unlink_file_vma+0x58/0x80
[<ffffffff812507a8>] free_pgtables+0xe0/0x178
[<ffffffff8125b8b0>] exit_mmap+0x118/0x168
[<ffffffff81149560>] mmput+0x80/0x148
[<ffffffff81151804>] exit_mm+0x15c/0x190
[<ffffffff81151e6c>] do_exit+0x634/0x8d8
[<ffffffff81152414>] do_group_exit+0x5c/0xb8
[<ffffffff81152494>] SyS_exit_group+0x24/0x28
[<ffffffff811308e4>] handle_sysn32+0x44/0xe4


Code: 67bd0050  de020000  7052902b 
 24020001  03c0e82d  fe000000  a6020008  dfbf0048 
---[ end trace 48d0f0c53e060818 ]---
Fixing recursive fault but reboot is needed!
INIT: Id "2" respawning too fast: disabled for 5 minutes
INIT: Id "4" respawning too fast: disabled for 5 minutes
INIT: Id "6" respawning too fast: disabled for 5 minutes
INIT: Id "3" respawning too fast: disabled for 5 minutes
INIT: Id "5" respawning too fast: disabled for 5 minutes
Kernel bug detected[#3]:
Cpu 3
$ 0   : 0000000000000000 ffffffff81258ce4 a80000008c07a1f8 0000000000000001
$ 4   : a80000008c07a1f8 a80000008c96e880 a80000008c96e860 ffffffff8125dbdc
$ 8   : 0000000010012000 0000000000000000 ffffffff8194ed80 0000000000048743
$12   : a80000008cd77c08 ffffffff814bbd18 ffffffff81152470 0000000010010000
$16   : a80000008da21498 a80000008c07a1f8 0000000000200000 a80000008cd77ca8
$20   : 0000000000000000 0000000000000000 0000000010000000 0000000010010000
$24   : 000000001001267c 00000000374bd7f0                                  
$28   : a80000008cd74000 a80000008cd77bf0 a80000008cd77bf0 ffffffff81258ce4
Hi    : 0000000000002154
Lo    : e45de30a25f3cdcc
epc   : ffffffff81245e70 vma_prio_tree_remove+0x38/0x158
    Tainted: G      D     
ra    : ffffffff81258ce4 __remove_shared_vm_struct+0x74/0xa8
Status: 10108ce3    KX SX UX KERNEL EXL IE 
Cause : 00800034
PrId  : 000d9002 (Cavium Octeon II)
Modules linked in: jbd2 ext4 nls_base fat vfat minix loop
Process mingetty (pid: 2791, threadinfo=a80000008cd74000, task=a80000008bba0c00, tls=00000000775d34a0)
Stack : a80000008c96e8a0 a80000008c07a1f8 a80000008cd77c10 ffffffff81258ce4
        a80000008cd77c20 ffffffff81258f30 a80000008da22d00 a80000008c96e860
        a80000008c07a1f8 a80000008cd27000 a80000008cd77c50 ffffffff812507a8
        a80000008cd77c60 a80000008cd8c000 a80000008cd8c000 a80000008bba15c8
        a80000008cd8c060 0000000000000004 0000000000000002 0000000000000001
        a80000008cd77ca0 ffffffff8125b8b0 0000000000000052 a80000008cd8c000
        a800000000000001 a80000008d454000 a80000008d454000 0000000800000008
        a8000000036e0510 a8000000036e04d8 a8000000036e04a0 a8000000036c9c58
        a8000000036c8fa8 a8000000036c9d38 a8000000036c9d00 a800000001c780d8
        000000018cd8c000 a80000008cd8c000 a80000008c07a3f0 a80000008cd8c060
        ...
Call Trace:
[<ffffffff81245e70>] vma_prio_tree_remove+0x38/0x158
[<ffffffff81258ce4>] __remove_shared_vm_struct+0x74/0xa8
[<ffffffff81258f30>] unlink_file_vma+0x58/0x80
[<ffffffff812507a8>] free_pgtables+0xe0/0x178
[<ffffffff8125b8b0>] exit_mmap+0x118/0x168
[<ffffffff81149560>] mmput+0x80/0x148
[<ffffffff81151804>] exit_mm+0x15c/0x190
[<ffffffff81151e6c>] do_exit+0x634/0x8d8
[<ffffffff81152414>] do_group_exit+0x5c/0xb8
[<ffffffff81152494>] SyS_exit_group+0x24/0x28
[<ffffffff811308e4>] handle_sysn32+0x44/0xe4


Code: 0080102d  de030068  7064182b 
 dc830060  10600025  66030050  de110050  1071002e 
---[ end trace 48d0f0c53e060819 ]---
Fixing recursive fault but reboot is needed!

Steps to Reproduce

1) /lpg-build/cdc/fast_prod/wrlinux501/dvd_install/lx32_12sp/wrlinux-5/wrlinux/configure --enable-jobs=8 --enable-parallel-pkgbuilds=4 --enable-kernel=standard --with-layer=/lpg-build/cdc/bsp/wrlinux-5.0.1/wr-testing/kts,/lpg-build/cdc/bsp/wrlinux-5.0.1/wr-testing/bts --enable-test=yes --enable-rootfs=glibc-std --enable-board=cav_octeon2
2) Modify .config 
   CONFIG_CAVIUM_CN63XXP1=y
   CONFIG_SOFT_WATCHDOG=m  
3) rebuild image and using it boot target  
   root@localhost:/opt/wr-test# ./main_test.sh -s CPU_HOTPLUG

Other Downloads


Live chat
Online