Index: ntoskrnl/ke/i386/traphdlr.c =================================================================== --- ntoskrnl/ke/i386/traphdlr.c (revision 55714) +++ ntoskrnl/ke/i386/traphdlr.c (working copy) @@ -1183,11 +1183,15 @@ /* HACK: Check if interrupts are disabled and enable them */ if (!(TrapFrame->EFlags & EFLAGS_INTERRUPT_MASK)) { - /* Enable interupts */ + ///* Enable interupts */ _enable(); -#ifdef HACK_ABOVE_FIXED + if (!(TrapFrame->EFlags & EFLAGS_INTERRUPT_MASK)) { + DbgPrint("Page fault with interrupts disabled!\n"); + KeRosDumpStackFrames(NULL, 0); + +#if 0 /* This is illegal */ KeBugCheckWithTf(IRQL_NOT_LESS_OR_EQUAL, Cr2, @@ -1195,8 +1199,8 @@ TrapFrame->ErrCode & 1, TrapFrame->Eip, TrapFrame); +#endif } -#endif } /* Check for S-LIST fault in kernel mode */