Messages in this thread | | | Date | Mon, 23 Sep 2002 18:22:01 -0700 | From | William Lee Irwin III <> | Subject | Re: 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/
| |