2005-04-05 06:08:18

by Akinobu Mita

[permalink] [raw]
Subject: 2.6.12-rc2: random oops on nmi_watchdog=1

With nmi_watchdog=1, I got random Oopses (Unable to handle kernel
paging request, not by the NMI oopser) from many processes.
It is not happend with -rc1.

The following change fixes this problem. but I'm not familiar with
these area. If anyone wants more information, let me know.


--- 2.6-rc/arch/i386/kernel/entry.S.orig 2005-04-05 14:21:57.000000000 +0900
+++ 2.6-rc/arch/i386/kernel/entry.S 2005-04-05 14:22:36.000000000 +0900
@@ -550,7 +550,7 @@ nmi_stack_correct:
xorl %edx,%edx # zero error code
movl %esp,%eax # pt_regs pointer
call do_nmi
- jmp restore_all
+ jmp restore_nocheck

nmi_stack_fixup:
FIX_STACK(12,nmi_stack_correct, 1)