Re: 2.5.38 semaphore.c calls sleeping function in illegal context

From: William Lee Irwin III (
Date: Mon Sep 23 2002 - 20:22:01 EST

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:41 EST