All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Bug 1339] New: sleeping function called from invalid context
       [not found] <200010000.1065798616@[10.10.2.4].suse.lists.linux.kernel>
@ 2003-10-10 15:33 ` Andi Kleen
  0 siblings, 0 replies; 3+ messages in thread
From: Andi Kleen @ 2003-10-10 15:33 UTC (permalink / raw)
  To: Martin J. Bligh; +Cc: linux-kernel

"Martin J. Bligh" <mbligh@aracnet.com> writes:
> 
> Debug: sleeping function called from invalid context at include/asm/uaccess.h:473
> in_atomic():0, irqs_disabled():1
> Call Trace:
>  [<c011bd58>] __might_sleep+0x88/0x90
>  [<c010c55f>] save_v86_state+0x6f/0x1f0

Old bug. We already discussed it some time ago, but didn't get to a conclusion.

It's really the might_sleep that is buggy here.

>  [<c010d017>] handle_vm86_fault+0xb7/0xa10
>  [<c0141e21>] do_no_page+0x191/0x2f0
>  [<c0140fc6>] zeromap_pte_range+0x36/0x70
>  [<c010b070>] do_general_protection+0x0/0xa0
>  [<c010a399>] error_code+0x2d/0x38
>  [<c010a1ef>] syscall_call+0x7/0xb
>
> I don't have a method to reproduce - this just appeared in the log.

Run dosemu.

-Andi

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

* Re: [Bug 1339] New: sleeping function called from invalid context
  2003-10-10 15:10 Martin J. Bligh
@ 2003-10-11  5:35 ` Matt Mackall
  0 siblings, 0 replies; 3+ messages in thread
From: Matt Mackall @ 2003-10-11  5:35 UTC (permalink / raw)
  To: Martin J. Bligh; +Cc: linux-kernel, kbugs

On Fri, Oct 10, 2003 at 08:10:16AM -0700, Martin J. Bligh wrote:
>            Summary: sleeping function called from invalid context
>     Kernel Version: 2.6.0-test6
>             Status: NEW
>           Severity: normal
>              Owner: akpm@digeo.com
>          Submitter: kbugs@pelvoux.nildram.co.uk
> 
> 
> Distribution: Debian Sarge
> 
> Hardware Environment:
> 
> Gateway PC, Intel Pentium III (Katmai) 450Mhz, Intel 440BX Chipset, 640Mb RAM
> 
> Software Environment:
> 
> Gnu C                  3.3.2
> Gnu make               3.80
> util-linux             2.12
> mount                  2.12
> e2fsprogs              1.35-WIP
> nfs-utils              1.0.5
> Linux C Library        2.3.2
> Dynamic linker (ldd)   2.3.2
> Procps                 3.1.12
> Net-tools              1.60
> Console-tools          0.2.3
> Sh-utils               5.0
> Modules Loaded         nfsd exportfs lockd sunrpc reiserfs 8250 serial_core
> eepro100 mii rtc
> 
> Problem Description:
> 
> The following message appeared on the system log:
> 
> Debug: sleeping function called from invalid context at include/asm/uaccess.h:473
> in_atomic():0, irqs_disabled():1
> Call Trace:
>  [<c011bd58>] __might_sleep+0x88/0x90
>  [<c010c55f>] save_v86_state+0x6f/0x1f0
>  [<c010d017>] handle_vm86_fault+0xb7/0xa10
>  [<c0141e21>] do_no_page+0x191/0x2f0
>  [<c0140fc6>] zeromap_pte_range+0x36/0x70
>  [<c010b070>] do_general_protection+0x0/0xa0
>  [<c010a399>] error_code+0x2d/0x38
>  [<c010a1ef>] syscall_call+0x7/0xb
> 
> Steps to reproduce:
> 
> I don't have a method to reproduce - this just appeared in the log.
> 

I have a fix for this in the works.

-- 
Matt Mackall : http://www.selenic.com : Linux development and consulting

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

* [Bug 1339] New: sleeping function called from invalid context
@ 2003-10-10 15:10 Martin J. Bligh
  2003-10-11  5:35 ` Matt Mackall
  0 siblings, 1 reply; 3+ messages in thread
From: Martin J. Bligh @ 2003-10-10 15:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: kbugs

           Summary: sleeping function called from invalid context
    Kernel Version: 2.6.0-test6
            Status: NEW
          Severity: normal
             Owner: akpm@digeo.com
         Submitter: kbugs@pelvoux.nildram.co.uk


Distribution: Debian Sarge

Hardware Environment:

Gateway PC, Intel Pentium III (Katmai) 450Mhz, Intel 440BX Chipset, 640Mb RAM

Software Environment:

Gnu C                  3.3.2
Gnu make               3.80
util-linux             2.12
mount                  2.12
e2fsprogs              1.35-WIP
nfs-utils              1.0.5
Linux C Library        2.3.2
Dynamic linker (ldd)   2.3.2
Procps                 3.1.12
Net-tools              1.60
Console-tools          0.2.3
Sh-utils               5.0
Modules Loaded         nfsd exportfs lockd sunrpc reiserfs 8250 serial_core
eepro100 mii rtc

Problem Description:

The following message appeared on the system log:

Debug: sleeping function called from invalid context at include/asm/uaccess.h:473
in_atomic():0, irqs_disabled():1
Call Trace:
 [<c011bd58>] __might_sleep+0x88/0x90
 [<c010c55f>] save_v86_state+0x6f/0x1f0
 [<c010d017>] handle_vm86_fault+0xb7/0xa10
 [<c0141e21>] do_no_page+0x191/0x2f0
 [<c0140fc6>] zeromap_pte_range+0x36/0x70
 [<c010b070>] do_general_protection+0x0/0xa0
 [<c010a399>] error_code+0x2d/0x38
 [<c010a1ef>] syscall_call+0x7/0xb

Steps to reproduce:

I don't have a method to reproduce - this just appeared in the log.



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

end of thread, other threads:[~2003-10-11  5:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <200010000.1065798616@[10.10.2.4].suse.lists.linux.kernel>
2003-10-10 15:33 ` [Bug 1339] New: sleeping function called from invalid context Andi Kleen
2003-10-10 15:10 Martin J. Bligh
2003-10-11  5:35 ` Matt Mackall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.