Openmoko Bug #2326: BUG: sleeping function called from invalid context at /local/lindi/scm/neolinux/kernel/rwsem.c:21

Openmoko Public Trac bugs at docs.openmoko.org
Tue Jan 5 11:44:06 CET 2010


#2326: BUG: sleeping function called from invalid context at
/local/lindi/scm/neolinux/kernel/rwsem.c:21
-----------------------------+----------------------------------------------
 Reporter:  lindi            |          Owner:  openmoko-kernel
     Type:  defect           |         Status:  new            
 Priority:  normal           |      Milestone:                 
Component:  System Software  |        Version:                 
 Severity:  normal           |       Keywords:                 
 Haspatch:  0                |      Blockedby:                 
Estimated:                   |    Patchreview:                 
 Blocking:                   |   Reproducible:                 
-----------------------------+----------------------------------------------
 I just noticed this when reading old logs, I do not know how to reproduce
 it but I probably used strace with omhacks. Kernel was andy-tracking
 a3587e4ed77974ad


 {{{
 [206244.795000] BUG: sleeping function called from invalid context at
 /local/lindi/scm/neolinux/kernel/rwsem.c:21
 [206244.795000] in_atomic(): 0, irqs_disabled(): 128, pid: 7341, name: om
 [206244.795000] no locks held by om/7341.
 [206244.795000] [<c02aa270>] (dump_stack+0x0/0x14) from [<c004ac98>]
 (__might_sleep+0x108/0x128)
 [206244.795000] [<c004ab90>] (__might_sleep+0x0/0x128) from [<c02ac130>]
 (down_read+0x28/0x88)
 [206244.795000]  r5:c2c36480 r4:00000000
 [206244.795000] [<c02ac108>] (down_read+0x0/0x88) from [<c0099170>]
 (access_process_vm+0x3c/0x18c)
 [206244.795000]  r7:c2c367e0 r6:0000961c r5:c2c36480 r4:00000004
 [206244.795000] [<c0099134>] (access_process_vm+0x0/0x18c) from
 [<c003077c>] (swap_insn+0x30/0x64)
 [206244.795000] [<c003074c>] (swap_insn+0x0/0x64) from [<c003087c>]
 (ptrace_cancel_bpt+0xcc/0x12c)
 [206244.795000]  r7:00000001 r6:00000000 r5:c2c36480 r4:0000961c
 [206244.795000] [<c00307b0>] (ptrace_cancel_bpt+0x0/0x12c) from
 [<c0030cd4>] (ptrace_break+0x1c/0x58)
 [206244.795000] [<c0030cb8>] (ptrace_break+0x0/0x58) from [<c0030d30>]
 (break_trap+0x20/0x28)
 [206244.795000]  r5:e7f001f0 r4:c0030d10
 [206244.795000] [<c0030d10>] (break_trap+0x0/0x28) from [<c002e150>]
 (do_undefinstr+0xe4/0x13c)
 [206244.795000] [<c002e06c>] (do_undefinstr+0x0/0x13c) from [<c002ee20>]
 (ret_from_exception+0x0/0x10)
 [206244.795000] Exception stack(0xc2fd1fb0 to 0xc2fd1ff8)
 [206244.795000] 1fa0:                                     00009988
 00000003 bee003b4 0000b644
 [206244.795000] 1fc0: 00000000 00000000 00009828 00000000 00000000
 00000000 40025000 00000000
 [206244.795000] 1fe0: 00009620 bee003a8 00009850 0000961c 60000010
 ffffffff
 [206244.795000]  r8:00000000 r7:00000000 r6:00009828 r5:00000000
 r4:0000961c
 }}}

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2326>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the openmoko-kernel mailing list