2002-08-10 08:45:23

by Kasper Dupont

[permalink] [raw]
Subject: [RFC] vm86 bugs in 2.5.30

I'm trying to port the vm86 bugfixes from 2.4.19 to 2.5.30.
A premature patch is available at:
http://www.daimi.au.dk/~kasperd/linux_kernel/vm86.2.5.30.patch
The second chunk in mark_screen_rdonly had to be applied by
hand, so I'd appreachiate if whoever made that bugfix would
verify I got the patch applied correctly.

I am however currently fighting with another vm86 problem.
I get this oops on 2.5.30:

<4> invalid operand: 0000
<4>CPU: 0
<4>EIP: 0000:[<00000000>] Not tainted
<4>EFLAGS: 00030282
<4>eax: 00000000 ebx: 00000000 ecx: 00000000 edx: 00000000
<4>esi: 00000000 edi: 00000000 ebp: 00000000 esp: cb5dbf24
<4>ds: 0000 es: 0000 ss: 0018
<4>Stack: 00007c00 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4> 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4> 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
<4>Call Trace: [<c0108c87>]
<4>Code: Bad EIP value.

>>EIP; 00000000 Before first symbol
Trace; c0108c87 <syscall_call+7/b>

It happens during the vm86 system call, but it is not fixed
by any of the changes in vm86.c. Who remember which patch
fixed this problem?

--
Kasper Dupont -- der bruger for meget tid p? usenet.
For sending spam use mailto:[email protected]
or mailto:[email protected]


2002-08-10 19:54:16

by Stas Sergeev

[permalink] [raw]
Subject: Re: [RFC] vm86 bugs in 2.5.30

Hello.

Kasper Dupont wrote:
> <4> invalid operand: 0000
> <4>Code: Bad EIP value.
> It happens during the vm86 system call, but it is not fixed
> by any of the changes in vm86.c. Who remember which patch
> fixed this problem?
This one:
http://dosemu.sourceforge.net/stas/traps.diff
Was not included in 2.4.19, exists only in -ac
for now.

2002-08-10 20:06:33

by Kasper Dupont

[permalink] [raw]
Subject: Re: [RFC] vm86 bugs in 2.5.30

Stas Sergeev wrote:
>
> Hello.
>
> Kasper Dupont wrote:
> > <4> invalid operand: 0000
> > <4>Code: Bad EIP value.
> > It happens during the vm86 system call, but it is not fixed
> > by any of the changes in vm86.c. Who remember which patch
> > fixed this problem?
> This one:
> http://dosemu.sourceforge.net/stas/traps.diff
> Was not included in 2.4.19, exists only in -ac
> for now.

Thanks. I'm actually using -ac kernels. The reason I missed
this patch was that the change was in another file. Tomorrow
I'll try this against 2.5.30.

--
Kasper Dupont -- der bruger for meget tid p? usenet.
For sending spam use mailto:[email protected]
or mailto:[email protected]