Skip to contentSkip to conversation

New: sleeping function called from invalid context

Bug 1339 Andi Kleen 1 participant 1 message Oct 10, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 200010000.1065798616@[10.10.2.4].suse.lists.linux.kernel

Andi Kleen

author
#1 lore raw
Quoted 6 lines · Martin J. Bligh

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.

Quoted 8 lines
 [<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