lkml.org 
[lkml]   [2002]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.38 semaphore.c calls sleeping function in illegal context
William Lee Irwin III wrote:
>> Trace; c01175f7 <__might_sleep+27/2b>
>> Trace; c011a4a1 <acquire_console_sem+2d/50>
>> Trace; c011a78a <register_console+122/1cc>
>> Trace; c0105000 <_stext+0/0>

On Mon, Sep 23, 2002 at 06:12:54PM -0700, Andrew Morton wrote:
> Don't know. Who called register_console()?
> But I suspect in_atomic() is returning incorrect or misleading
> answers early in boot.

I would suspect console_init(). I believe some kind of change was
done here for preempt bootstrap ordering issues (vm86_info: BAD) as
it's a bit too early to schedule here. Things have gotten interesting
down here in other contexts where sleeping and/or waitqueue fiddling
is illegal so early on. Getting a better stack dump might be helpful.
I'll see if I can do that soon.


Cheers,
Bill
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:29    [W:0.052 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site