Hello,
I am running ltp on Keystone2 board with TI's kernel (git://arago-project.org/git/projects/linux-keystone.git branch releases/03.00.00.11/master), but the test result of one ltp
case (fork13 -i 1000000) always failed, mostly the case
triggered the following errs.
1. root@localhost:/opt/ltp/testcases/bin# ./fork13 -i 1000000 [ 107.930433] INFO: rcu_sched detected stalls on CPUs/tasks: { 2} (detected by 1, t=2102 jiffies, g=1793, c=1792, q=155) [ 107.941132] Task dump for CPU 2: [ 107.944349] fork13 S c04769fc 0 1793 1790 0x00000000 [ 107.950727] [<c04769fc>] (__schedule+0x1e8/0x5a8) from [<c00252a0>] (do_wait+0xf4/0x264) [ 107.958804] [<c00252a0>] (do_wait+0xf4/0x264) from [<c0026074>] (sys_wait4+0x5c/0xc0) [ 107.966620] [<c0026074>] (sys_wait4+0x5c/0xc0) from [<c000db20>] (ret_fast_syscall+0x0/0x30) 2. root@localhost:/opt/ltp/testcases/bin# ./fork13 -i 1000000 [ 193.520480] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 193.520480] [ 193.529622] [<c0015278>] (unwind_backtrace+0x0/0xf8) from [<c04f3214>] (panic+0x90/0x1e4) [ 193.537787] [<c04f3214>] (panic+0x90/0x1e4) from [<c0025c28>] (do_exit+0x818/0x8ac) [ 193.545430] [<c0025c28>] (do_exit+0x818/0x8ac) from [<c0025e20>] (do_group_exit+0x3c/0xd0) [ 193.553676] [<c0025e20>] (do_group_exit+0x3c/0xd0) from [<c0033824>] (get_signal_to_deliver+0x194/0x60c) [ 193.563136] [<c0033824>] (get_signal_to_deliver+0x194/0x60c) from [<c0010ec0>] (do_signal+0x7c/0x480) [ 193.572334] [<c0010ec0>] (do_signal+0x7c/0x480) from [<c001175c>] (do_work_pending+0x68/0xa8) [ 193.580840] [<c001175c>] (do_work_pending+0x68/0xa8) from [<c000db60>] (work_pending+0xc/0x20) [ 193.589426] CPU3: stopping [ 193.592144] [<c0015278>] (unwind_backtrace+0x0/0xf8) from [<c0013834>] (handle_IPI+0x11c/0x160) [ 193.600821] [<c0013834>] (handle_IPI+0x11c/0x160) from [<c000854c>] (gic_handle_irq+0x54/0x5c) [ 193.609414] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c04f9540>] (__irq_svc+0x40/0x50) [ 193.617736] Exception stack(0xde8e9f90 to 0xde8e9fd8) [ 193.622772] 9f80: c0dbbb20 00000000 000371f4 00000000 [ 193.630925] 9fa0: de8e8000 de8e8000 c0763b88 de8e8000 c0730450 412fc0f4 00000000 00000000 [ 193.639075] 9fc0: 00000000 de8e9fd8 c000eafc c000eb00 60000013 ffffffff [ 193.645678] [<c04f9540>] (__irq_svc+0x40/0x50) from [<c000eb00>] (default_idle+0x28/0x30) [ 193.653838] [<c000eb00>] (default_idle+0x28/0x30) from [<c000ec44>] (cpu_idle+0x64/0xa0) [ 193.661907] [<c000ec44>] (cpu_idle+0x64/0xa0) from [<80703348>] (0x80703348) [ 193.668933] CPU1: stopping [ 193.671647] [<c0015278>] (unwind_backtrace+0x0/0xf8) from [<c0013834>] (handle_IPI+0x11c/0x160) [ 193.680324] [<c0013834>] (handle_IPI+0x11c/0x160) from [<c000854c>] (gic_handle_irq+0x54/0x5c) [ 193.688916] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c04f9540>] (__irq_svc+0x40/0x50) [ 193.697238] Exception stack(0xde8e3f90 to 0xde8e3fd8) [ 193.702275] 3f80: c0dabb20 00000000 0006a2d2 00000000 [ 193.710429] 3fa0: de8e2000 de8e2000 c0763b88 de8e2000 c0730450 412fc0f4 00000000 00000000 [ 193.718580] 3fc0: 00000000 de8e3fd8 c000eafc c000eb00 60000013 ffffffff [ 193.725181] [<c04f9540>] (__irq_svc+0x40/0x50) from [<c000eb00>] (default_idle+0x28/0x30) [ 193.733338] [<c000eb00>] (default_idle+0x28/0x30) from [<c000ec44>] (cpu_idle+0x64/0xa0) [ 193.741407] [<c000ec44>] (cpu_idle+0x64/0xa0) from [<80703348>] (0x80703348) [ 193.748432] CPU2: stopping [ 193.751148] [<c0015278>] (unwind_backtrace+0x0/0xf8) from [<c0013834>] (handle_IPI+0x11c/0x160) [ 193.759826] [<c0013834>] (handle_IPI+0x11c/0x160) from [<c000854c>] (gic_handle_irq+0x54/0x5c) [ 193.768417] [<c000854c>] (gic_handle_irq+0x54/0x5c) from [<c04f9540>] (__irq_svc+0x40/0x50) [ 193.776739] Exception stack(0xdd685e68 to 0xdd685eb0) [ 193.781776] 5e60: c0760780 00695000 000000ba 0000009b c0d3f540 c0723830 [ 193.789929] 5e80: 00695000 c0db8830 80000013 dd684000 c0760780 dd684000 00000004 dd685eb0 [ 193.798078] 5ea0: c009d438 c009e288 60000013 ffffffff [ 193.803128] [<c04f9540>] (__irq_svc+0x40/0x50) from [<c009e288>] (free_hot_cold_page+0x118/0x138) [ 193.811983] [<c009e288>] (free_hot_cold_page+0x118/0x138) from [<c00bf1e4>] (exit_mmap+0x130/0x1f0) [ 193.821008] [<c00bf1e4>] (exit_mmap+0x130/0x1f0) from [<c001e440>] (mmput+0x3c/0xfc) [ 193.828734] [<c001e440>] (mmput+0x3c/0xfc) from [<c0025654>] (do_exit+0x244/0x8ac) [ 193.836286] [<c0025654>] (do_exit+0x244/0x8ac) from [<c0025e20>] (do_group_exit+0x3c/0xd0) [ 193.844531] [<c0025e20>] (do_group_exit+0x3c/0xd0) from [<c0025ec4>] (__wake_up_parent+0x0/0x18) 3. root@localhost:/opt/ltp/testcases/bin# ./fork13 -i 1000000 fork13 1 TFAIL : Unexpected exit status 0, iteration 24848.
Did I miss something? Could you give some advice about this problem? thanks.
BTW: The kernel need to enable ARM_ERRATA_720789 option otherwise
there are some segmentation fault appeared.
Regards,
Guoqing