lkml.org 
[lkml]   [2001]   [Aug]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [OOPS] repeatable 2.4.8-ac7, 2.4.7-ac6 just run xdos
Andi Kleen <ak@suse.de>, on Wed Aug 22, 2001 [03:22:03 PM] said:
>
> Here is a new patch with both checks.
>

Dear Andi;

Well, with this patch, the kernel doesnt oops, but vm86
seems to be busted now. save_v86_state() pops out:
'vm86: could not access userspace vm86_info'
and gives dosemu a segv.

Paul
set@pobox.com

>
> --- include/asm-i386/hw_irq.h-SEG2 Mon Aug 20 02:54:53 2001
> +++ include/asm-i386/hw_irq.h Wed Aug 22 13:02:16 2001
> @@ -114,8 +114,10 @@
> "cmpl %eax,7*4(%esp)\n\t" \
> "je 1f\n\t" \
> "movl %eax,%ds\n\t" \
> + "1: cmpl %eax,8*4(%esp)\n\t" \
> + "je 2f\n\t" \
> "movl %eax,%es\n\t" \
> - "1:\n\t"
> + "2:\n\t"
>
> #define IRQ_NAME2(nr) nr##_interrupt(void)
> #define IRQ_NAME(nr) IRQ_NAME2(IRQ##nr)
> --- arch/i386/kernel/entry.S-SEG2 Sat Aug 18 08:41:53 2001
> +++ arch/i386/kernel/entry.S Wed Aug 22 15:07:44 2001
> @@ -292,8 +292,11 @@
> cmpl %edx,%ecx
> jz 1f
> movl %edx,%ds
> +1: movl %ds,%ecx
> + cmpl $(__KERNEL_DS),%edx
> + jz 2f
> movl %edx,%es
> -1: GET_CURRENT(%ebx)
> +2: GET_CURRENT(%ebx)
> call *%edi
> addl $8,%esp
> jmp ret_from_exception
>
>
> -Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.094 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site