Re: [Bug 1339] New: sleeping function called from invalid context

From: Andi Kleen
Date: Fri Oct 10 2003 - 10:35:25 EST


"Martin J. Bligh" <mbligh@xxxxxxxxxxx> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/