Re: [ia64] BUG: sleeping in atomic

2007-12-21 Thread Petr Tesarik
David Chinner wrote: > On Wed, Dec 19, 2007 at 11:42:04AM -0500, Kyle McMartin wrote: > >> On Wed, Dec 19, 2007 at 04:54:30PM +1100, David Chinner wrote: >> >>> [ 5667.086055] BUG: sleeping function called from invalid context at >>> kernel/fork.c:401 >>> >>> >> The problem is that

Re: [ia64] BUG: sleeping in atomic

2007-12-19 Thread David Chinner
On Wed, Dec 19, 2007 at 11:42:04AM -0500, Kyle McMartin wrote: > On Wed, Dec 19, 2007 at 04:54:30PM +1100, David Chinner wrote: > > [ 5667.086055] BUG: sleeping function called from invalid context at > > kernel/fork.c:401 > > > > The problem is that mmput is called under the read_lock by > find

Re: [ia64] BUG: sleeping in atomic

2007-12-19 Thread Kyle McMartin
On Wed, Dec 19, 2007 at 04:54:30PM +1100, David Chinner wrote: > [ 5667.086055] BUG: sleeping function called from invalid context at > kernel/fork.c:401 > The problem is that mmput is called under the read_lock by find_thread_for_addr... The comment above seems to indicate that gdb needs to be

[ia64] BUG: sleeping in atomic

2007-12-18 Thread David Chinner
Just saw this again: [ 5667.086055] BUG: sleeping function called from invalid context at kernel/fork.c:401 [ 5667.087314] in_atomic():1, irqs_disabled():0 [ 5667.088210] [ 5667.088212] Call Trace: [ 5667.089104] [] show_stack+0x80/0xa0 [ 5667.089106] sp=e038f