linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.5.38 semaphore.c calls sleeping function in illegal context
@ 2002-09-24  0:20 William Lee Irwin III
  2002-09-24  1:12 ` Andrew Morton
  0 siblings, 1 reply; 3+ messages in thread
From: William Lee Irwin III @ 2002-09-24  0:20 UTC (permalink / raw)
  To: linux-kernel

ksymoops 2.4.6 on i686 2.5.38-2.  Options used
     -v /mnt/b/2.5.38/vmlinux-2.5.38-2 (specified)
     -K (specified)
     -L (specified)
     -O (specified)
     -m /boot/System.map-2.5.38-2 (specified)

Reading Oops report from the terminal
c02c9f6c c02c9f84 c01175f7 c0260f80 c0261500 0000007e c02c9f98 c011a4a1 
       c0261500 0000007e 00000000 c02c9fac c011a78a c0312480 c0278213 c0383244 
       c02c9fb8 c02d8316 c02ba640 c02c9fc0 c02d8164 c02c9fd0 c02d8a4b 00000000 
Call Trace: [<c01175f7>] [<c011a4a1>] [<c011a78a>] [<c0105000>]                
Warning (Oops_read): Code line not seen, dumping what data is available


Trace; c01175f7 <__might_sleep+27/2b>
Trace; c011a4a1 <acquire_console_sem+2d/50>
Trace; c011a78a <register_console+122/1cc>
Trace; c0105000 <_stext+0/0>


1 warning issued.  Results may not be reliable.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.5.38 semaphore.c calls sleeping function in illegal context
  2002-09-24  0:20 2.5.38 semaphore.c calls sleeping function in illegal context William Lee Irwin III
@ 2002-09-24  1:12 ` Andrew Morton
  2002-09-24  1:22   ` William Lee Irwin III
  0 siblings, 1 reply; 3+ messages in thread
From: Andrew Morton @ 2002-09-24  1:12 UTC (permalink / raw)
  To: William Lee Irwin III; +Cc: linux-kernel

William Lee Irwin III wrote:
> 
> ksymoops 2.4.6 on i686 2.5.38-2.  Options used
>      -v /mnt/b/2.5.38/vmlinux-2.5.38-2 (specified)
>      -K (specified)
>      -L (specified)
>      -O (specified)
>      -m /boot/System.map-2.5.38-2 (specified)
> 
> Reading Oops report from the terminal
> c02c9f6c c02c9f84 c01175f7 c0260f80 c0261500 0000007e c02c9f98 c011a4a1
>        c0261500 0000007e 00000000 c02c9fac c011a78a c0312480 c0278213 c0383244
>        c02c9fb8 c02d8316 c02ba640 c02c9fc0 c02d8164 c02c9fd0 c02d8a4b 00000000
> Call Trace: [<c01175f7>] [<c011a4a1>] [<c011a78a>] [<c0105000>]
> Warning (Oops_read): Code line not seen, dumping what data is available
> 
> Trace; c01175f7 <__might_sleep+27/2b>
> Trace; c011a4a1 <acquire_console_sem+2d/50>
> Trace; c011a78a <register_console+122/1cc>
> Trace; c0105000 <_stext+0/0>
> 

Don't know.  Who called register_console()?

But I suspect in_atomic() is returning incorrect or misleading
answers early in boot.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: 2.5.38 semaphore.c calls sleeping function in illegal context
  2002-09-24  1:12 ` Andrew Morton
@ 2002-09-24  1:22   ` William Lee Irwin III
  0 siblings, 0 replies; 3+ messages in thread
From: William Lee Irwin III @ 2002-09-24  1:22 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-24  1:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-24  0:20 2.5.38 semaphore.c calls sleeping function in illegal context William Lee Irwin III
2002-09-24  1:12 ` Andrew Morton
2002-09-24  1:22   ` William Lee Irwin III

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).