Checking if this processor honours the WP bit even in supervisor mode...
This patch makes the kernel work (I doubt it's the correct fix but maybe
someone who knows the mm code can take it from here.)
diff -urN linux-pre-2.1.125-2/arch/i386/mm/fault.c linux/arch/i386/mm/fault.c
--- linux-pre-2.1.125-2/arch/i386/mm/fault.c Wed Oct 7 07:22:32 1998
+++ linux/arch/i386/mm/fault.c Wed Oct 7 07:25:42 1998
@@ -103,7 +103,7 @@
tsk = current;
mm = tsk->mm;
- if (in_interrupt() || mm == &init_mm)
+ if (in_interrupt())
die("page fault without a user context",regs,error_code);
down(&mm->mmap_sem);
-- Niels Kristian Bech Jensen - nkbj@image.dk - http://www.image.dk/~nkbj/---------->> Stop software piracy --- use free software! <<----------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/