|
[ 5899.685000] BUG: sleeping function called from invalid context at /home/kai/openmoko/linux-2.6/mm/slab.c:3046
|
|
[ 5899.690000] in_atomic(): 1, irqs_disabled(): 0, pid: 2085, name: bash
|
|
[ 5899.695000] 1 lock held by bash/2085:
|
|
[ 5899.700000] #0: (rcu_read_lock){....}, at: [<bf0779f4>] hardif_check_interfaces_status+0x20/0x12c [batman_adv]
|
|
[ 5899.705000] [<c0034960>] (dump_stack+0x0/0x14) from [<c004b924>] (__might_sleep+0xf0/0x110)
|
|
[ 5899.710000] [<c004b834>] (__might_sleep+0x0/0x110) from [<c00ac868>] (kmem_cache_alloc+0x24/0xa4)
|
|
[ 5899.720000] r5:c7b7c000 r4:c7815000
|
|
[ 5899.725000] [<c00ac844>] (kmem_cache_alloc+0x0/0xa4) from [<c02b0e94>] (sock_alloc_inode+0x20/0x64)
|
|
[ 5899.730000] r7:c6c508c0 r6:c7815000 r5:c7b7c000 r4:c7815000
|
|
[ 5899.740000] [<c02b0e74>] (sock_alloc_inode+0x0/0x64) from [<c00c3754>] (alloc_inode+0x30/0x68)
|
|
[ 5899.745000] r4:c7815000
|
|
[ 5899.750000] [<c00c3724>] (alloc_inode+0x0/0x68) from [<c00c3b00>] (new_inode+0x18/0xac)
|
|
[ 5899.755000] r4:00000011
|
|
[ 5899.760000] [<c00c3ae8>] (new_inode+0x0/0xac) from [<c02b1af8>] (sock_alloc+0x24/0x98)
|
|
[ 5899.765000] r6:00000065 r5:c7b7c000 r4:00000011
|
|
[ 5899.770000] [<c02b1ad4>] (sock_alloc+0x0/0x98) from [<c02b249c>] (__sock_create+0x7c/0x2c8)
|
|
[ 5899.780000] r5:00000003 r4:00000011
|
|
[ 5899.785000] [<c02b2420>] (__sock_create+0x0/0x2c8) from [<c02b2720>] (sock_create_kern+0x38/0x44)
|
|
[ 5899.795000] [<c02b26e8>] (sock_create_kern+0x0/0x44) from [<bf077750>] (hardif_activate_interface+0x44/0x158 [batman_adv])
|
|
[ 5899.805000] [<bf07770c>] (hardif_activate_interface+0x0/0x158 [batman_adv]) from [<bf077a58>] (hardif_check_interfaces_status+0x84/0x12c [batman_adv])
|
|
[ 5899.815000] r4:c6985de0
|
|
[ 5899.820000] [<bf0779d4>] (hardif_check_interfaces_status+0x0/0x12c [batman_adv]) from [<bf071ad4>] (proc_interfaces_write+0x204/0x33c [batman_adv])
|
|
[ 5899.835000] r4:bf07df69
|
|
[ 5899.835000] [<bf0718d0>] (proc_interfaces_write+0x0/0x33c [batman_adv]) from [<c00eaa18>] (proc_reg_write+0x90/0xa4)
|
|
[ 5899.845000] r8:c7b7df78 r7:c7b52f00 r6:fffffffb r5:c7b3ca80 r4:bf0718d0
|
|
[ 5899.850000] [<c00ea988>] (proc_reg_write+0x0/0xa4) from [<c00b01b4>] (vfs_write+0xbc/0x14c)
|
|
[ 5899.860000] [<c00b00f8>] (vfs_write+0x0/0x14c) from [<c00b0780>] (sys_write+0x4c/0x7c)
|
|
[ 5899.870000] r7:00000004 r6:00000000 r5:00000000 r4:c7b52f00
|
|
[ 5899.875000] [<c00b0734>] (sys_write+0x0/0x7c) from [<c002fdc0>] (ret_fast_syscall+0x0/0x2c)
|
|
[ 5899.880000] r6:401ab5e0 r5:000c3408 r4:00000005
|
|
[ 5899.885000] BUG: scheduling while atomic: bash/2085/0x00000002
|
|
[ 5899.890000] 2 locks held by bash/2085:
|
|
[ 5899.890000] #0: (rcu_read_lock){....}, at: [<bf0779f4>] hardif_check_interfaces_status+0x20/0x12c [batman_adv]
|
|
[ 5899.900000] #1: (sk_lock-AF_PACKET){....}, at: [<c0336300>] packet_do_bind+0x24/0x12c
|
|
[ 5899.910000] Modules linked in: batman_adv ipv6
|
|
[ 5899.915000] [<c0034960>] (dump_stack+0x0/0x14) from [<c004ced8>] (__schedule_bug+0x58/0x64)
|
|
[ 5899.920000] [<c004ce80>] (__schedule_bug+0x0/0x64) from [<c036a2b0>] (schedule+0x68/0x354)
|
|
[ 5899.930000] r5:c681a8a0 r4:c7b7dddc
|
|
[ 5899.935000] [<c036a248>] (schedule+0x0/0x354) from [<c036a85c>] (schedule_timeout+0x20/0xc0)
|
|
[ 5899.940000] [<c036a83c>] (schedule_timeout+0x0/0xc0) from [<c036a114>] (wait_for_common+0xdc/0x17c)
|
|
[ 5899.950000] r7:c7b7c000 r6:7fffffff r5:c7b7ddd8 r4:c7b7dddc
|
|
[ 5899.955000] [<c036a038>] (wait_for_common+0x0/0x17c) from [<c036a244>] (wait_for_completion+0x18/0x1c)
|
|
[ 5899.965000] r8:00000001 r7:00000543 r6:c7a30000 r5:c7be5aa0 r4:c7b7ddd0
|
|
[ 5899.975000] [<c036a22c>] (wait_for_completion+0x0/0x1c) from [<c00653c4>] (synchronize_rcu+0x38/0x44)
|
|
[ 5899.980000] [<c006538c>] (synchronize_rcu+0x0/0x44) from [<c02bf278>] (synchronize_net+0x1c/0x28)
|
|
[ 5899.990000] r4:c7be5800
|
|
[ 5899.995000] [<c02bf25c>] (synchronize_net+0x0/0x28) from [<c02bf298>] (dev_remove_pack+0x14/0x18)
|
|
[ 5900.000000] [<c02bf284>] (dev_remove_pack+0x0/0x18) from [<c0336358>] (packet_do_bind+0x7c/0x12c)
|
|
[ 5900.010000] [<c03362dc>] (packet_do_bind+0x0/0x12c) from [<c033796c>] (packet_bind+0x70/0xa4)
|
|
[ 5900.020000] r7:c6c508c0 r6:c7be5800 r5:c7a30000 r4:c7b7de94
|
|
[ 5900.025000] [<c03378fc>] (packet_bind+0x0/0xa4) from [<c02b0d7c>] (kernel_bind+0x18/0x1c)
|
|
[ 5900.035000] r6:00000065 r5:00000005 r4:c6985de0
|
|
[ 5900.040000] [<c02b0d64>] (kernel_bind+0x0/0x1c) from [<bf077790>] (hardif_activate_interface+0x84/0x158 [batman_adv])
|
|
[ 5899.900000] #1: (sk_lock-AF_PACKET){....}, at: [<c0336300>] packet_do_bind+0x24/0x12c
|
|
[ 5899.910000] Modules linked in: batman_adv ipv6
|
|
[ 5899.915000] [<c0034960>] (dump_stack+0x0/0x14) from [<c004ced8>] (__schedule_bug+0x58/0x64)
|
|
[ 5899.920000] [<c004ce80>] (__schedule_bug+0x0/0x64) from [<c036a2b0>] (schedule+0x68/0x354)
|
|
[ 5899.930000] r5:c681a8a0 r4:c7b7dddc
|
|
[ 5899.935000] [<c036a248>] (schedule+0x0/0x354) from [<c036a85c>] (schedule_timeout+0x20/0xc0)
|
|
[ 5899.940000] [<c036a83c>] (schedule_timeout+0x0/0xc0) from [<c036a114>] (wait_for_common+0xdc/0x17c)
|
|
[ 5899.950000] r7:c7b7c000 r6:7fffffff r5:c7b7ddd8 r4:c7b7dddc
|
|
[ 5899.955000] [<c036a038>] (wait_for_common+0x0/0x17c) from [<c036a244>] (wait_for_completion+0x18/0x1c)
|
|
[ 5899.965000] r8:00000001 r7:00000543 r6:c7a30000 r5:c7be5aa0 r4:c7b7ddd0
|
|
[ 5899.975000] [<c036a22c>] (wait_for_completion+0x0/0x1c) from [<c00653c4>] (synchronize_rcu+0x38/0x44)
|
|
[ 5899.980000] [<c006538c>] (synchronize_rcu+0x0/0x44) from [<c02bf278>] (synchronize_net+0x1c/0x28)
|
|
[ 5899.990000] r4:c7be5800
|
|
[ 5899.995000] [<c02bf25c>] (synchronize_net+0x0/0x28) from [<c02bf298>] (dev_remove_pack+0x14/0x18)
|
|
[ 5900.000000] [<c02bf284>] (dev_remove_pack+0x0/0x18) from [<c0336358>] (packet_do_bind+0x7c/0x12c)
|
|
[ 5900.010000] [<c03362dc>] (packet_do_bind+0x0/0x12c) from [<c033796c>] (packet_bind+0x70/0xa4)
|
|
[ 5900.020000] r7:c6c508c0 r6:c7be5800 r5:c7a30000 r4:c7b7de94
|
|
[ 5900.025000] [<c03378fc>] (packet_bind+0x0/0xa4) from [<c02b0d7c>] (kernel_bind+0x18/0x1c)
|
|
[ 5900.035000] r6:00000065 r5:00000005 r4:c6985de0
|
|
[ 5900.040000] [<c02b0d64>] (kernel_bind+0x0/0x1c) from [<bf077790>] (hardif_activate_interface+0x84/0x158 [batman_adv])
|
|
[ 5900.050000] [<bf07770c>] (hardif_activate_interface+0x0/0x158 [batman_adv]) from [<bf077a58>] (hardif_check_interfaces_status+0x84/0x12c [batman_adv])
|
|
[ 5900.060000] r4:c6985de0
|
|
[ 5900.065000] [<bf0779d4>] (hardif_check_interfaces_status+0x0/0x12c [batman_adv]) from [<bf071ad4>] (proc_interfaces_write+0x204/0x33c [batman_adv])
|
|
[ 5900.075000] r4:bf07df69
|
|
[ 5900.080000] [<bf0718d0>] (proc_interfaces_write+0x0/0x33c [batman_adv]) from [<c00eaa18>] (proc_reg_write+0x90/0xa4)
|
|
[ 5900.090000] r8:c7b7df78 r7:c7b52f00 r6:fffffffb r5:c7b3ca80 r4:bf0718d0
|
|
[ 5900.095000] [<c00ea988>] (proc_reg_write+0x0/0xa4) from [<c00b01b4>] (vfs_write+0xbc/0x14c)
|
|
[ 5900.105000] [<c00b00f8>] (vfs_write+0x0/0x14c) from [<c00b0780>] (sys_write+0x4c/0x7c)
|
|
[ 5900.115000] r7:00000004 r6:00000000 r5:00000000 r4:c7b52f00
|
|
[ 5900.120000] [<c00b0734>] (sys_write+0x0/0x7c) from [<c002fdc0>] (ret_fast_syscall+0x0/0x2c)
|
|
[ 5900.125000] r6:401ab5e0 r5:000c3408 r4:00000005
|
|
[ 5900.845000] Unable to handle kernel NULL pointer dereference at virtual address 0000000c
|
|
[ 5900.845000] pgd = c0004000
|
|
[ 5900.850000] [0000000c] *pgd=00000000
|
|
[ 5900.855000] Internal error: Oops: 17 [#1] PREEMPT
|
|
[ 5900.855000] Modules linked in: batman_adv ipv6
|
|
[ 5900.855000] CPU: 0 Not tainted (2.6.29-GTA02_andy-tracking-mokodev #2)
|
|
[ 5900.855000] PC is at sock_recvmsg+0xb0/0xec
|
|
[ 5900.855000] LR is at 0xc7b8fe34
|
|
[ 5900.855000] pc : [<c02b1e94>] lr : [<c7b8fe34>] psr: 60000013
|
|
[ 5900.855000] sp : c7b8fde8 ip : 00000000 fp : c7b8feec
|
|
[ 5900.855000] r10: 00000000 r9 : 00000000 r8 : 00000040
|
|
[ 5900.855000] r7 : 000007d0 r6 : c7b8ff14 r5 : c68809c0 r4 : c7b8fdf0
|
|
[ 5900.855000] r3 : 000007d0 r2 : c7b8ff14 r1 : 00000000 r0 : 00000000
|
|
[ 5900.855000] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
|
|
[ 5900.855000] Control: c000717f Table: 369b0000 DAC: 00000017
|
|
[ 5900.855000] Process batman-adv (pid: 2099, stack limit = 0xc7b8e268)
|
|
[ 5900.855000] Stack: (0xc7b8fde8 to 0xc7b90000)
|
|
[ 5900.855000] fde0: 00000040 00000001 00000011 00000000 00000000 00000001
|
|
[ 5900.855000] fe00: ffffffff 00000000 00000000 00000000 00000000 00000000 c68809c0 c7b8fe28
|
|
[ 5900.855000] fe20: 00000000 00000000 c7b8fe4c c68809c0 c0067fc0 c7b8fe34 c7b8fe34 c004be28
|
|
[ 5900.855000] fe40: c7b8fe74 c7b8fe50 c7b8fe80 c00728a4 c0073ce8 c6880df8 c68809c0 c006c71c
|
|
[ 5900.855000] fe60: 00000000 c6880df8 00000000 00000000 c7b8fe94 c7b8fe80 c7b8fe94 c7b8fe88
|
|
[ 5900.855000] fe80: c00728a8 c004be28 00000040 000007d0 00000000 c00728a4 00000000 c7b8ff14
|
|
[ 5900.855000] fea0: c68809c0 c00680e4 c7b8fecc c7b8feb8 c7b8fecc c7b8fec0 c00728a8 c004be28
|
|
[ 5900.855000] fec0: c7b8fef4 c7b8e000 00000000 bf073fa0 00000000 00000000 c7b15000 00000000
|
|
[ 5900.855000] fee0: c7b8ff04 c7b8fef0 c02b34f0 c02b1df4 00000040 00000000 c7b8ff4c c7b8ff08
|
|
[ 5900.855000] ff00: bf073094 c02b34bc 000007d0 00000040 60000013 00000000 00000000 c7b8ff30
|
|
[ 5900.855000] ff20: 00000001 00000000 c0075c68 00000040 c7b15000 000007d0 c7b8ff50 00000000
|
|
[ 5900.855000] ff40: c7b8ffd4 c7b8ff50 bf074154 bf073058 00000001 00000000 bf0740bc 00000000
|
|
[ 5900.855000] ff80: c7b8ffa4 c7b8ff90 c006c7f4 c006c72c 00000000 c68809c0 c7b8ffd4 c7b8ffa8
|
|
[ 5900.855000] ffa0: c036a57c c004be28 c0049c0c c7b8e000 00000000 bf073fa0 00000000 00000000
|
|
[ 5900.855000] ffc0: 00000000 00000000 c7b8fff4 c7b8ffd8 c0067ebc bf073fb0 00000000 00000000
|
|
[ 5900.855000] ffe0: 00000000 00000000 00000000 c7b8fff8 c00553f4 c0067e6c 00000000 00000000
|
|
[ 5900.855000] Backtrace:
|
|
[ 5900.855000] [<c02b1de4>] (sock_recvmsg+0x0/0xec) from [<c02b34f0>] (kernel_recvmsg+0x44/0x74)
|
|
[ 5900.855000] [<c02b34ac>] (kernel_recvmsg+0x0/0x74) from [<bf073094>] (receive_raw_packet+0x4c/0x54 [batman_adv])
|
|
[ 5900.855000] r5:00000000 r4:00000040
|
|
[ 5900.855000] [<bf073048>] (receive_raw_packet+0x0/0x54 [batman_adv]) from [<bf074154>] (packet_recv_thread+0x1b4/0x810 [batman_adv])
|
|
[ 5900.855000] r4:00000000
|
|
[ 5900.855000] [<bf073fa0>] (packet_recv_thread+0x0/0x810 [batman_adv]) from [<c0067ebc>] (kthread+0x60/0x94)
|
|
[ 5900.855000] [<c0067e5c>] (kthread+0x0/0x94) from [<c00553f4>] (do_exit+0x0/0x268)
|
|
[ 5900.855000] r6:00000000 r5:00000000 r4:00000000
|
|
[ 5900.855000] Code: e50b8064 e1a01000 e1a02006 e1a03007 (e590c00c)
|
|
[ 5900.860000] ---[ end trace 03c146cbf2d75922 ]---
|