This patch fixes the problem reported by Stas Sergeev, that kprobes steals the virtual-8086 exceptions. This fix modifies kprobe_handler() to return 0 when in virtual-8086 mode. --- linux-2.6.10-rc2-prasanna/arch/i386/kernel/kprobes.c | 4 ++++ 1 files changed, 4 insertions(+) diff -puN arch/i386/kernel/kprobes.c~kprobes-vm86-interrupt-miss arch/i386/kernel/kprobes.c --- linux-2.6.10-rc2/arch/i386/kernel/kprobes.c~kprobes-vm86-interrupt-miss 2004-11-17 18:30:11.000000000 +0530 +++ linux-2.6.10-rc2-prasanna/arch/i386/kernel/kprobes.c 2004-11-17 18:38:20.000000000 +0530 @@ -117,6 +117,10 @@ static inline int kprobe_handler(struct p = get_kprobe(addr); if (!p) { unlock_kprobes(); + if (regs->eflags & VM_MASK) + /*we are in virtual-8086 mode, return 0*/ + goto no_kprobe; + if (*addr != BREAKPOINT_INSTRUCTION) { /* * The breakpoint instruction was removed right _