PowerPC kernel linux-2.6.29.6 crashes at mm/slab.c for ipsec application

srikanth krishnakar skrishnakar at gmail.com
Thu Aug 6 23:16:26 EST 2009


Hi all,

Here is kernel bug for linux-2.6.29.6 for PowerPC (ppc440) target, while
running ipsec application it is observed that kernel oops'es oftenly as show
below :

root at powerpc:~# ./ipsec
------------[ cut here ]------------
kernel BUG at mm/slab.c:3002!
Oops: Exception in kernel mode, sig: 5 [#1]
PREEMPT LTT NESTING LEVEL : 0
Xilinx Virtex440
Modules linked in: nls_iso8859_1 nfsd
NIP: c00a1e94 LR: c00a1d3c CTR: 0000000b
REGS: ce8c9d20 TRAP: 0700   Not tainted
(2.6.29.6.xilinx-ml507.0908010910-ipsec)
MSR: 00021000 <ME,CE>  CR: 22024428  XER: 00000005
TASK = cfa2a430[974] 'watchdog' THREAD: ce8c8000
GPR00: 00000028 ce8c9dd0 cfa2a430 cf802ea8 cf9e001c 0000000a cf9e0000 ffffffff
GPR08: 00000d80 00000001 0000000a 00000028 cf802ea0 1002b58c c0547bd0 c0547bd4
GPR16: c0547ba0 c050dd78 c050e60c 000000d0 00000000 00200200 00100100 00000001
GPR24: ce8c8034 ce8c8000 00000000 c0520000 00000000 cf802eb0 cf807560 cf809e00
NIP [c00a1e94] cache_alloc_refill+0x138/0x630
LR [c00a1d3c] kmem_cache_alloc+0x80/0xa0
Call Trace:
[ce8c9dd0] [c050e60c] 0xc050e60c (unreliable)
[ce8c9e30] [c00a1d3c] kmem_cache_alloc+0x80/0xa0
[ce8c9e50] [c00534ec] prepare_creds+0x3c/0xcc
[ce8c9e70] [c005382c] copy_creds+0xa0/0x12c
[ce8c9e80] [c00307dc] copy_process+0x1c0/0xe20
[ce8c9ee0] [c00314b8] do_fork+0x7c/0x338
[ce8c9f20] [c00065b4] sys_clone+0x58/0x88
[ce8c9f40] [c000e164] ret_from_syscall+0x0/0x3c
Instruction dump:
2f8a0000 3bac0010 386c0008 409d0104 80cc0000 7f8c3000 419e00e8 81660010
801e001c 7d205810 39200000 7d294914 <0f090000> 7f8b0040 7d455378 409c0074
---[ end trace b098f3001b420338 ]---
note: watchdog[974] exited with preempt_count 1
BUG: scheduling while atomic: watchdog/974/0x10000002
Modules linked in: nls_iso8859_1 nfsd
Call Trace:
[ce8c99e0] [c0006184] show_stack+0x40/0x15c (unreliable)
[ce8c9a10] [c002bab4] __schedule_bug+0x68/0x6c
[ce8c9a20] [c03d5138] schedule+0x2bc/0x36c
[ce8c9a70] [c002bae0] __cond_resched+0x28/0x54
[ce8c9a80] [c03d5304] _cond_resched+0x50/0x58
[ce8c9a90] [c00925c8] __mlock_vma_pages_range+0x84/0x2c4
[ce8c9b20] [c0094084] exit_mmap+0x60/0x1b0
[ce8c9b50] [c002fe64] mmput+0x50/0x114
[ce8c9b60] [c0034120] exit_mm+0x130/0x14c
[ce8c9b90] [c0035db4] do_exit+0xd0/0x6b8
[ce8c9be0] [c000c234] die+0x1b0/0x1b8
[ce8c9c10] [c000c554] _exception+0x1d4/0x2b4
[ce8c9d10] [c000e78c] ret_from_except_full+0x0/0x4c
[ce8c9dd0] [c050e60c] 0xc050e60c
[ce8c9e30] [c00a1d3c] kmem_cache_alloc+0x80/0xa0
[ce8c9e50] [c00534ec] prepare_creds+0x3c/0xcc
[ce8c9e70] [c005382c] copy_creds+0xa0/0x12c
[ce8c9e80] [c00307dc] copy_process+0x1c0/0xe20
[ce8c9ee0] [c00314b8] do_fork+0x7c/0x338
[ce8c9f20] [c00065b4] sys_clone+0x58/0x88
[ce8c9f40] [c000e164] ret_from_syscall+0x0/0x3c
BUG: scheduling while atomic: watchdog/974/0x10000002
Modules linked in: nls_iso8859_1 nfsd
Call Trace:
[ce8c99e0] [c0006184] show_stack+0x40/0x15c (unreliable)
[ce8c9a10] [c002bab4] __schedule_bug+0x68/0x6c
[ce8c9a20] [c03d5138] schedule+0x2bc/0x36c
[ce8c9a70] [c002bae0] __cond_resched+0x28/0x54
[ce8c9a80] [c03d5304] _cond_resched+0x50/0x58
[ce8c9a90] [c00925c8] __mlock_vma_pages_range+0x84/0x2c4
[ce8c9b20] [c0094084] exit_mmap+0x60/0x1b0
[ce8c9b50] [c002fe64] mmput+0x50/0x114
[ce8c9b60] [c0034120] exit_mm+0x130/0x14c
[ce8c9b90] [c0035db4] do_exit+0xd0/0x6b8
[ce8c9be0] [c000c234] die+0x1b0/0x1b8
[ce8c9c10] [c000c554] _exception+0x1d4/0x2b4
[ce8c9d10] [c000e78c] ret_from_except_full+0x0/0x4c
[ce8c9dd0] [c050e60c] 0xc050e60c
[ce8c9e30] [c00a1d3c] kmem_cache_alloc+0x80/0xa0
[ce8c9e50] [c00534ec] prepare_creds+0x3c/0xcc
[ce8c9e70] [c005382c] copy_creds+0xa0/0x12c
[ce8c9e80] [c00307dc] copy_process+0x1c0/0xe20
[ce8c9ee0] [c00314b8] do_fork+0x7c/0x338
[ce8c9f20] [c00065b4] sys_clone+0x58/0x88
[ce8c9f40] [c000e164] ret_from_syscall+0x0/0x3c

root at inson:~#
root at inson:~# ------------[ cut here ]------------
kernel BUG at mm/slab.c:3002!
Oops: Exception in kernel mode, sig: 5 [#2]
PREEMPT LTT NESTING LEVEL : 0
Xilinx Virtex440
Modules linked in: nls_iso8859_1 nfsd
NIP: c00a1e94 LR: c00a1d3c CTR: 0000000a
REGS: ce9cbd20 TRAP: 0700   Tainted: G      D
(2.6.29.6.xilinx-ml507.0908010910-ipsec)
MSR: 00021000 <ME,CE>  CR: 22424848  XER: 00000001
TASK = ce8fe030[1400] 'mvtsd.py' THREAD: ce9ca000
GPR00: 00000028 ce9cbdd0 ce8fe030 cf802ea8 cf9e001c 00000009 cf9e0000 ffffffff
GPR08: 00000d20 00000001 00000009 00000028 cf802ea0 10018a3c c0547bd0 c0547bd4
GPR16: c0547ba0 c050dd78 c050e60c 000000d0 00000000 00200200 00100100 00000001
GPR24: ce9ca034 ce9ca000 00000000 c0520000 00000000 cf802eb0 cf807560 cf809e00
NIP [c00a1e94] cache_alloc_refill+0x138/0x630
LR [c00a1d3c] kmem_cache_alloc+0x80/0xa0
Call Trace:
[ce9cbdd0] [c050e60c] 0xc050e60c (unreliable)
[ce9cbe30] [c00a1d3c] kmem_cache_alloc+0x80/0xa0
[ce9cbe50] [c00534ec] prepare_creds+0x3c/0xcc
[ce9cbe70] [c005382c] copy_creds+0xa0/0x12c
[ce9cbe80] [c00307dc] copy_process+0x1c0/0xe20
[ce9cbee0] [c00314b8] do_fork+0x7c/0x338
[ce9cbf20] [c00065b4] sys_clone+0x58/0x88
[ce9cbf40] [c000e164] ret_from_syscall+0x0/0x3c
Instruction dump:
2f8a0000 3bac0010 386c0008 409d0104 80cc0000 7f8c3000 419e00e8 81660010
801e001c 7d205810 39200000 7d294914 <0f090000> 7f8b0040 7d455378 409c0074
---[ end trace b098f3001b420339 ]---
note: mvtsd.py[1400] exited with preempt_count 1
BUG: scheduling while atomic: mvtsd.py/1400/0x10000002
Modules linked in: nls_iso8859_1 nfsd
Call Trace:
[ce9cb9e0] [c0006184] show_stack+0x40/0x15c (unreliable)
[ce9cba10] [c002bab4] __schedule_bug+0x68/0x6c
[ce9cba20] [c03d5138] schedule+0x2bc/0x36c
[ce9cba70] [c002bae0] __cond_resched+0x28/0x54
[ce9cba80] [c03d5304] _cond_resched+0x50/0x58
[ce9cba90] [c008f074] unmap_vmas+0x4d0/0x698
[ce9cbb20] [c00940ec] exit_mmap+0xc8/0x1b0
[ce9cbb50] [c002fe64] mmput+0x50/0x114
[ce9cbb60] [c0034120] exit_mm+0x130/0x14c
[ce9cbb90] [c0035db4] do_exit+0xd0/0x6b8
[ce9cbbe0] [c000c234] die+0x1b0/0x1b8
[ce9cbc10] [c000c554] _exception+0x1d4/0x2b4
[ce9cbd10] [c000e78c] ret_from_except_full+0x0/0x4c
[ce9cbdd0] [c050e60c] 0xc050e60c
[ce9cbe30] [c00a1d3c] kmem_cache_alloc+0x80/0xa0
[ce9cbe50] [c00534ec] prepare_creds+0x3c/0xcc
[ce9cbe70] [c005382c] copy_creds+0xa0/0x12c
[ce9cbe80] [c00307dc] copy_process+0x1c0/0xe20
[ce9cbee0] [c00314b8] do_fork+0x7c/0x338
[ce9cbf20] [c00065b4] sys_clone+0x58/0x88
[ce9cbf40] [c000e164] ret_from_syscall+0x0/0x3c
BUG: scheduling while atomic: mvtsd.py/1400/0x10000002
Modules linked in: nls_iso8859_1 nfsd
Call Trace:
[ce9cb9e0] [c0006184] show_stack+0x40/0x15c (unreliable)
[ce9cba10] [c002bab4] __schedule_bug+0x68/0x6c
[ce9cba20] [c03d5138] schedule+0x2bc/0x36c
[ce9cba70] [c002bae0] __cond_resched+0x28/0x54
[ce9cba80] [c03d5304] _cond_resched+0x50/0x58
[ce9cba90] [c008f074] unmap_vmas+0x4d0/0x698
[ce9cbb20] [c00940ec] exit_mmap+0xc8/0x1b0
[ce9cbb50] [c002fe64] mmput+0x50/0x114
[ce9cbb60] [c0034120] exit_mm+0x130/0x14c
[ce9cbb90] [c0035db4] do_exit+0xd0/0x6b8
[ce9cbbe0] [c000c234] die+0x1b0/0x1b8
[ce9cbc10] [c000c554] _exception+0x1d4/0x2b4
[ce9cbd10] [c000e78c] ret_from_except_full+0x0/0x4c
[ce9cbdd0] [c050e60c] 0xc050e60c
[ce9cbe30] [c00a1d3c] kmem_cache_alloc+0x80/0xa0
[ce9cbe50] [c00534ec] prepare_creds+0x3c/0xcc
[ce9cbe70] [c005382c] copy_creds+0xa0/0x12c
[ce9cbe80] [c00307dc] copy_process+0x1c0/0xe20
[ce9cbee0] [c00314b8] do_fork+0x7c/0x338
[ce9cbf20] [c00065b4] sys_clone+0x58/0x88
[ce9cbf40] [c000e164] ret_from_syscall+0x0/0x3c
------------[ cut here ]------------
kernel BUG at mm/slab.c:3002!
Oops: Exception in kernel mode, sig: 5 [#3]
PREEMPT LTT NESTING LEVEL : 0
Xilinx Virtex440
Modules linked in: nls_iso8859_1 nfsd
NIP: c00a1e94 LR: c00a1d3c CTR: 00000009
REGS: ce837d20 TRAP: 0700   Tainted: G      D
(2.6.29.6.xilinx-ml507.0908010910-ipsec)
MSR: 00021000 <ME,CE>  CR: 22424428  XER: 00000005
TASK = cfaf5030[970] 'sshd' THREAD: ce836000
GPR00: 00000028 ce837dd0 cfaf5030 cf802ea8 cf9e001c 00000008 cf9e0000 ffffffff
GPR08: 00000ea0 00000001 00000008 00000028 cf802ea0 100639ac c0547bd0 c0547bd4
GPR16: c0547ba0 c050dd78 c050e60c 000000d0 00000000 00200200 00100100 00000001
GPR24: ce836034 ce836000 00000000 c0520000 00000000 cf802eb0 cf807560 cf809e00
NIP [c00a1e94] cache_alloc_refill+0x138/0x630
LR [c00a1d3c] kmem_cache_alloc+0x80/0xa0
Call Trace:
[ce837dd0] [c050e60c] 0xc050e60c (unreliable)
[ce837e30] [c00a1d3c] kmem_cache_alloc+0x80/0xa0
[ce837e50] [c00534ec] prepare_creds+0x3c/0xcc
[ce837e70] [c005382c] copy_creds+0xa0/0x12c
[ce837e80] [c00307dc] copy_process+0x1c0/0xe20
[ce837ee0] [c00314b8] do_fork+0x7c/0x338
[ce837f20] [c00065b4] sys_clone+0x58/0x88
[ce837f40] [c000e164] ret_from_syscall+0x0/0x3c
Instruction dump:
2f8a0000 3bac0010 386c0008 409d0104 80cc0000 7f8c3000 419e00e8 81660010
801e001c 7d205810 39200000 7d294914 <0f090000> 7f8b0040 7d455378 409c0074
---[ end trace b098f3001b42033a ]---
note: sshd[970] exited with preempt_count 1
------------[ cut here ]------------
Badness at kernel/softirq.c:150
NIP: c0038e30 LR: c039ba74 CTR: c037667c
REGS: ce837a00 TRAP: 0700   Tainted: G      D
(2.6.29.6.ml507.0908010910-ipsec)
MSR: 00021000 <ME,CE>  CR: 22424442  XER: 20000005
TASK = cfaf5030[970] 'sshd' THREAD: ce836000
GPR00: 00000001 ce837ab0 cfaf5030 cf389760 cf3e0ca0 00000000 00000000 00000000
GPR08: 00001b22 c0522ca0 cf4114c8 00000000 82424448 100639ac c0547bd0 c0547bd4
GPR16: c0547ba0 c050dd78 c050e60c 000000d0 00000000 00200200 00100100 00000001
GPR24: ce836034 00000005 cf389760 cf389b80 cf4bfd94 ce836000 00000000 ce836000
NIP [c0038e30] local_bh_enable+0x9c/0xbc
LR [c039ba74] ipv6_sock_mc_close+0x160/0x190
Call Trace:
[ce837ab0] [c0148aa8] __put_nfs_open_context+0xa8/0xc4 (unreliable)
[ce837ac0] [c039ba74] ipv6_sock_mc_close+0x160/0x190
[ce837af0] [c03766a8] inet6_release+0x2c/0x50
[ce837b00] [c02f0be4] sock_release+0x30/0xd0
[ce837b20] [c02f0ca0] sock_close+0x1c/0x40
[ce837b30] [c00a8588] __fput+0xc4/0x204
[ce837b50] [c00a4524] filp_close+0x6c/0xa0
[ce837b70] [c0034364] put_files_struct+0xe0/0xfc
[ce837b90] [c0035e28] do_exit+0x144/0x6b8
[ce837be0] [c000c234] die+0x1b0/0x1b8
[ce837c10] [c000c554] _exception+0x1d4/0x2b4
[ce837d10] [c000e78c] ret_from_except_full+0x0/0x4c
[ce837dd0] [c050e60c] 0xc050e60c
[ce837e30] [c00a1d3c] kmem_cache_alloc+0x80/0xa0
[ce837e50] [c00534ec] prepare_creds+0x3c/0xcc
[ce837e70] [c005382c] copy_creds+0xa0/0x12c
[ce837e80] [c00307dc] copy_process+0x1c0/0xe20
[ce837ee0] [c00314b8] do_fork+0x7c/0x338
[ce837f20] [c00065b4] sys_clone+0x58/0x88
[ce837f40] [c000e164] ret_from_syscall+0x0/0x3c
Instruction dump:
41a20008 4839c591 80010014 83e1000c 38210010 7c0803a6 4e800020 3d20c052
39292ca0 800900c0 7c000034 5400d97e <0f000000> 2f800000 41beff88 38000001
BUG: scheduling while atomic: sshd/970/0x10000002
Modules linked in: nls_iso8859_1 nfsd
Call Trace:
[ce837ac0] [c0006184] show_stack+0x40/0x15c (unreliable)
[ce837af0] [c002bab4] __schedule_bug+0x68/0x6c
[ce837b00] [c03d5138] schedule+0x2bc/0x36c
[ce837b50] [c002bae0] __cond_resched+0x28/0x54
[ce837b60] [c03d5304] _cond_resched+0x50/0x58
[ce837b70] [c0034368] put_files_struct+0xe4/0xfc
[ce837b90] [c0035e28] do_exit+0x144/0x6b8
[ce837be0] [c000c234] die+0x1b0/0x1b8
[ce837c10] [c000c554] _exception+0x1d4/0x2b4
[ce837d10] [c000e78c] ret_from_except_full+0x0/0x4c
[ce837dd0] [c050e60c] 0xc050e60c
[ce837e30] [c00a1d3c] kmem_cache_alloc+0x80/0xa0
[ce837e50] [c00534ec] prepare_creds+0x3c/0xcc
[ce837e70] [c005382c] copy_creds+0xa0/0x12c
[ce837e80] [c00307dc] copy_process+0x1c0/0xe20
[ce837ee0] [c00314b8] do_fork+0x7c/0x338
[ce837f20] [c00065b4] sys_clone+0x58/0x88
[ce837f40] [c000e164] ret_from_syscall+0x0/0x3c

root at inson:~#

Any Clue or any bugs found in mm/slab.c for linux-2.6.29.6 while
running IPSEC applications ?

Thanks in Advance !


Regards
Srikanth Krishnakar
**********************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20090806/c2e68d5f/attachment-0001.htm>


More information about the Linuxppc-dev mailing list