Re: Dos App hangs with DPMI / PIC problem

anon permutation
2004-09-09T04:10:38Z

I tried to reproduce the problem using the -D9+Mr log.
However, this time, dosemu actually crashed as opposed to
just hang. The complete log is 33M, so I am just pasting
the end of it here. Please let me know if there is a place
where i can email you the complete log.

Thank you for helping me.

------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, f000:3100 000005ac 00033012 00000000
DPMI: ret_vm86, f000:0602 000005ac 00033212 00000000 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 f000:602
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:381e 000005b2 000b3212 00000200
DPMI: ret_vm86, 0522:045f 000005bc 000b3282 00100200 ret=0
PIC: 0 32 00000000 fff8fff9 00000000 Requested irq lvl 17
successfully
PIC: 0 32 00000000 fff8fff9 00020000 Zeroing vm86, DPMI
from 00, k0
PIC: 0 32 00000000 fff8fff9 00020000 pic_itime[1]=
1129905085
PIC: 0 32 00000000 fff8fff9 00020000 pic_sys_time set to
1129873441
PIC: 0 32 00000000 fff8fff9 00020000 Activate ++ dos time
to 1129873441
PIC: 0 32 00000000 fff8fff9 00020000 pic_sys_time is
1129873441
PIC: 0 32 00000000 fff8fff9 00020000 Requested irq lvl 16
successfully
PIC: 0 32 00000000 fff8fff9 00030000 Zeroing vm86, DPMI
from 00, k0
DPMI: do_vm86, 0522:37b0 000005b8 001b3282 00100200
DPMI: ret_vm86, f800:47f1 000005bc 000b3202 00100200 ret=0x1
DPMI: do_vm86, 0522:37b0 000005b8 000b3202 00000200
DPMI: ret_vm86, 0522:380e 000005b4 00033202 00000200 ret=0x4
DPMI: do_vm86, 0522:380e 000005b4 00033202 00000200
DPMI: ret_vm86, 0522:0a5c 000005ac 000b3286 00000200 ret=0x4
DPMI: do_vm86, 0522:0a5c 000005ac 000b3286 00000200
DPMI: ret_vm86, 0522:0aa0 000005b0 00033246 00000200 ret=0x4
DPMI: do_vm86, 0522:0aa0 000005b0 00033246 00000200
DPMI: ret_vm86, 0522:0712 000005aa 00033246 00000200 ret=0x4
DPMI: do_vm86, 0522:0712 000005aa 00033246 00000200
DPMI: ret_vm86, 0522:0ace 000005a8 00033246 00000200 ret=0x4
DPMI: do_vm86, 0522:0ace 000005a8 00033246 00000200
DPMI: ret_vm86, f800:47f1 000005bc 00033246 00000200 ret=0x1
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:045f 000005bc 001b3282 00000200
DPMI: ret_vm86, c316:8ad7 000005c4 000b3246 00000200 ret=0x3
DPMI: Return from vm86() for timeout
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, c316:8ad7 000005c4 000b3246 00000200
DPMI: ret_vm86, 0522:381e 000005b2 000b3212 00000200 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 522:381e
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, f000:3100 000005ac 00033012 00000000
DPMI: ret_vm86, f000:0602 000005ac 00033212 00000000 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 f000:602
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:381e 000005b2 000b3212 00000200
DPMI: ret_vm86, 0522:045f 000005bc 000b3282 00100200 ret=0
PIC: cnt lvl pic_isr pic_imr pic_irr (column headers)
PIC: 0 32 00000000 fff8fff9 00000000 Requested irq lvl 16
successfully
PIC: 0 32 00000000 fff8fff9 00010000 Zeroing vm86, DPMI
from 00, k0
DPMI: do_vm86, 0522:37b0 000005b8 000b3282 00000200
DPMI: ret_vm86, f800:47f1 000005bc 000b3202 00000200 ret=0x1
DPMI: do_vm86, 0522:37b0 000005b8 000b3202 00000200
DPMI: ret_vm86, f800:47f1 000005bc 00033246 00000200 ret=0x1
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:045f 000005bc 000b3282 00000200
DPMI: ret_vm86, f800:490c 00004b54 00030202 00000200 ret=0x1
DPMI: realmode hlt: 0xfc90c
DPMI: Return from Real Mode Procedure
------ DPMI: dpmi loop ---------------------
DPMI SWITCH to 0x187:0x00000954 (0x409ca4c4), Stack
0x19f:0x00004d70 (0x409da230)
DPMI: sti
DPMI: Return to client at 0187:000006fd, Stack 0x19f:0x00004dea
DPMI: ESP bug, esp=0xc6b74e26 stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: sti
DPMI: Return to client at 00a7:00007412, Stack 0x19f:0x00004e26
DPMI: ESP bug, esp=0xc6b74e50 stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: cli
DPMI: searching blacklist (0 elements) for cli (lina=0x40996d91)
DPMI: Return to client at 00e7:00000d72, Stack 0x19f:0x00004e50
DPMI: ESP bug, esp=0xc6b74e54 stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: sti
DPMI: Return to client at 00e7:00000e6b, Stack 0x19f:0x00004e54
DPMI: ESP bug, esp=0xc6b74e56 stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: sti
DPMI: Return to client at 00e7:00000d20, Stack 0x19f:0x00004e56
DPMI: ESP bug, esp=0xc6b74e26 stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: int 0x31
DPMI: call inthandler 0x31(0x0b) at 0x187:0x0000c4
ret=0x187:0x00a7d5
DPMI: Return to client at 0187:000000c4, Stack 0x19f:0x00004e1a
DPMI: default protected mode interrupthandler 0x31 called
DPMI: int31, ax=000b, ebx=00000257, ecx=00002000, edx=00000000
edi=00004e82, esi=00000000, ebp=00004e2c, esp=00004d74
cs=0187, ds=0000, ss=019f, es=019f, fs=0000, gs=0257
DPMI: GetDescriptor[0x004a;0x0257]: 0x00cff3000000ffff
DPMI: Return to client at 0187:00000954, Stack 0x19f:0x00004d74
DPMI: sti
DPMI: Return to client at 0187:000006fd, Stack 0x19f:0x00004dec
DPMI: ESP bug, esp=0xc6b74e26 stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: int 0x31
DPMI: call inthandler 0x31(0x0c) at 0x187:0x0000c4
ret=0x187:0x00a7d5
DPMI: Return to client at 0187:000000c4, Stack 0x19f:0x00004e1a
DPMI: default protected mode interrupthandler 0x31 called
DPMI: int31, ax=000c, ebx=000001bf, ecx=00009f45, edx=00000000
edi=00004e82, esi=00000000, ebp=00004e2c, esp=00004d74
cs=0187, ds=0000, ss=019f, es=019f, fs=0000, gs=0257
DPMI: SetDescriptor[0x0037;0x01bf] 0x4100f336a048ffff
DPMI: SetSelector: 0x01bf base=0x4136a048 limit=0xffff big=0
DPMI: Return to client at 0187:00000954, Stack 0x19f:0x00004d74
DPMI: sti
DPMI: Return to client at 0187:000006fd, Stack 0x19f:0x00004dec
DPMI: ESP bug, esp=0xc6b74eb0 stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: int 0x31
DPMI: call inthandler 0x31(0x06) at 0x187:0x0000c4
ret=0x187:0x0026ca
DPMI: Return to client at 0187:000000c4, Stack 0x19f:0x00004ea4
DPMI: default protected mode interrupthandler 0x31 called
DPMI: int31, ax=0006, ebx=000001bf, ecx=00009f45, edx=00000000
edi=00004f7a, esi=00004ff2, ebp=00004f98, esp=00004dfc
cs=0187, ds=019f, ss=019f, es=019f, fs=0000, gs=0257
DPMI: Return to client at 0187:00000954, Stack 0x19f:0x00004dfc
DPMI: sti
DPMI: Return to client at 0187:000006fd, Stack 0x19f:0x00004e76
DPMI: ESP bug, esp=0xc6b74e5c stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: cli
DPMI: searching blacklist (0 elements) for cli (lina=0x40996cde)
DPMI: Return to client at 00e7:00000cbf, Stack 0x19f:0x00004e5c
DPMI: ESP bug, esp=0xc6b74e4c stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: int 0x31
DPMI: call inthandler 0x31(0x06) at 0x187:0x0000c4
ret=0xe7:0x0008a9
DPMI: Return to client at 0187:000000c4, Stack 0x19f:0x00004e40
DPMI: default protected mode interrupthandler 0x31 called
DPMI: int31, ax=0006, ebx=000001bf, ecx=00000000, edx=000000af
edi=40e201bf, esi=00004e72, ebp=41364e5a, esp=00004d98
cs=0187, ds=00af, ss=019f, es=00af, fs=0000, gs=0257
DPMI: Return to client at 0187:00000954, Stack 0x19f:0x00004d98
DPMI: sti
DPMI: Return to client at 0187:000006fd, Stack 0x19f:0x00004e12
DPMI: ESP bug, esp=0xc6b74e56 stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: sti
DPMI: Return to client at 00e7:00000e1f, Stack 0x19f:0x00004e56
DPMI: ESP bug, esp=0xc6b74e24 stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: cli
DPMI: searching blacklist (0 elements) for cli (lina=0x22a50)
DPMI: Return to client at 00a7:00007371, Stack 0x19f:0x00004e24
DPMI: ESP bug, esp=0xc6b74e24 stack_bot=0xbfffe000, cs32=0
ss32=0
DPMI: int 0x31
DPMI: call inthandler 0x31(0x302) at 0x187:0x0000c4
ret=0xa7:0x0073dc
DPMI: Return to client at 0187:000000c4, Stack 0x19f:0x00004e18
DPMI: default protected mode interrupthandler 0x31 called
DPMI: int31, ax=0302, ebx=00000000, ecx=00000000, edx=000000cf
edi=00004b54, esi=00000088, ebp=41364e30, esp=00004d70
cs=0187, ds=00cf, ss=019f, es=00af, fs=0000, gs=0257
DPMI: switching to realmode stack, in_dpmi_rm_stack=1
DPMI: RealModeCallStructure at 0x1b694
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, c316:07b8 00004b4e 00000000 00000000
DPMI: ret_vm86, 0522:381e 000005b2 000b3212 00000000 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 522:381e
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, f000:3100 000005ac 00033012 00000000
DPMI: ret_vm86, f000:0602 000005ac 00033212 00000000 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 f000:602
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:381e 000005b2 000b3212 00000200
DPMI: ret_vm86, 0522:045b 000005ba 00023a03 00100200 ret=0
PIC: 0 32 00000000 fff8fff9 00000000 Requested irq lvl 16
successfully
PIC: 0 32 00000000 fff8fff9 00010000 Zeroing vm86, DPMI
from 00, k0
DPMI: do_vm86, 0522:37b0 000005b6 00023a03 00000200
DPMI: ret_vm86, f800:47f1 000005ba 00033202 00000200 ret=0x1
DPMI: do_vm86, 0522:37b0 000005b6 00033202 00000200
DPMI: ret_vm86, f800:47f1 000005ba 00033246 00000200 ret=0x1
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:045b 000005ba 00023a03 00000200
DPMI: ret_vm86, 0522:381e 000005b2 000b3212 00000200 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 522:381e
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, f000:3100 000005ac 00033012 00000000
DPMI: ret_vm86, f000:0602 000005ac 00033212 00000000 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 f000:602
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:381e 000005b2 000b3212 00000200
DPMI: ret_vm86, 0522:0434 000005ba 000b3282 00100200 ret=0
PIC: 0 32 00000000 fff8fff9 00000000 Requested irq lvl 16
successfully
PIC: 0 32 00000000 fff8fff9 00010000 Zeroing vm86, DPMI
from 00, k0
DPMI: do_vm86, 0522:37b0 000005b6 000b3282 00000200
DPMI: ret_vm86, f800:47f1 000005ba 000b3202 00000200 ret=0x1
DPMI: do_vm86, 0522:37b0 000005b6 000b3202 00000200
DPMI: ret_vm86, f800:47f1 000005ba 00033246 00000200 ret=0x1
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:0434 000005ba 000b3282 00000200
DPMI: ret_vm86, 0522:381e 000005b2 000b3212 00000200 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 522:381e
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, f000:3100 000005ac 00033012 00000000
DPMI: ret_vm86, f000:0602 000005ac 00033212 00000000 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 f000:602
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:381e 000005b2 000b3212 00000200
DPMI: ret_vm86, 0522:045f 000005bc 000b3286 00100200 ret=0
PIC: 0 32 00000000 fff8fff9 00000000 Requested irq lvl 16
successfully
PIC: 0 32 00000000 fff8fff9 00010000 Zeroing vm86, DPMI
from 00, k0
DPMI: do_vm86, 0522:37b0 000005b8 000b3286 00000200
DPMI: ret_vm86, f800:47f1 000005bc 000b3202 00000200 ret=0x1
DPMI: do_vm86, 0522:37b0 000005b8 000b3202 00000200
DPMI: ret_vm86, f800:47f1 000005bc 00033246 00000200 ret=0x1
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:045f 000005bc 000b3286 00000200
DPMI: ret_vm86, 0522:381e 000005b2 000b3212 00000200 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 522:381e
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, f000:3100 000005ac 00033012 00000000
DPMI: ret_vm86, f000:0602 000005ac 00033212 00000000 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 f000:602
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:381e 000005b2 000b3212 00000200
DPMI: ret_vm86, 0522:0456 000005b8 00033a07 00100200 ret=0
PIC: 0 32 00000000 fff8fff9 00000000 Requested irq lvl 16
successfully
PIC: 0 32 00000000 fff8fff9 00010000 Zeroing vm86, DPMI
from 00, k0
DPMI: do_vm86, 0522:37b0 000005b4 00033a07 00000200
DPMI: ret_vm86, f800:47f1 000005b8 00033202 00000200 ret=0x1
DPMI: do_vm86, 0522:37b0 000005b4 00033202 00000200
DPMI: ret_vm86, 0522:0aa0 000005ac 00033246 00100200 ret=0
PIC: 0 -16 00010000 fff8fff9 00000000 Requested irq lvl 17
successfully
PIC: 0 16 00010000 fff8fff9 00020000 Zeroing vm86, DPMI
from 00, k0
PIC: 0 16 00010000 fff8fff9 00020000 pic_itime[1]=
1129905085
PIC: 0 16 00010000 fff8fff9 00020000 pic_sys_time set to
1129885335
PIC: 0 16 00010000 fff8fff9 00020000 Activate ++ dos time
to 1129885335
PIC: 0 16 00010000 fff8fff9 00020000 pic_sys_time is
1129885335
DPMI: do_vm86, 0522:0aa0 000005ac 00033246 00000200
DPMI: ret_vm86, 0522:0712 000005a6 00033246 00000200 ret=0x4
DPMI: do_vm86, 0522:0712 000005a6 00033246 00000200
DPMI: ret_vm86, 0522:0ace 000005a4 00033246 00000200 ret=0x4
DPMI: do_vm86, 0522:0ace 000005a4 00033246 00000200
DPMI: ret_vm86, f800:47f1 000005b8 00033246 00000200 ret=0x1
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:0456 000005b8 00033a07 00000200
DPMI: ret_vm86, 0522:381e 000005b2 000b3212 00000200 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 522:381e
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, f000:3100 000005ac 00033012 00000000
DPMI: ret_vm86, f000:0602 000005ac 00033212 00000000 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 f000:602
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:381e 000005b2 000b3212 00000200
DPMI: ret_vm86, 0522:0456 000005b8 00033a03 00100200 ret=0
PIC: cnt lvl pic_isr pic_imr pic_irr (column headers)
PIC: 0 +32 00000000 fff8fff9 00000000 Requested irq lvl 16
successfully
PIC: 0 32 00000000 fff8fff9 00010000 Zeroing vm86, DPMI
from 00, k0
DPMI: do_vm86, 0522:37b0 000005b4 00033a03 00000200
DPMI: ret_vm86, f800:47f1 000005b8 00033202 00000200 ret=0x1
DPMI: do_vm86, 0522:37b0 000005b4 00033202 00000200
DPMI: ret_vm86, f800:47f1 000005b8 00033246 00000200 ret=0x1

------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:0456 000005b8 00033a03 00000200
DPMI: ret_vm86, 0522:381e 000005b2 000b3212 00000200 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 522:381e
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, f000:3100 000005ac 00033012 00000000
DPMI: ret_vm86, f000:0602 000005ac 00033212 00000000 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 f000:602
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:381e 000005b2 000b3212 00000200
DPMI: ret_vm86, 0522:0434 000005ba 000b3286 00100200 ret=0
PIC: 0 32 00000000 fff8fff9 00000000 Requested irq lvl 16
successfully
PIC: 0 32 00000000 fff8fff9 00010000 Zeroing vm86, DPMI
from 00, k0
DPMI: do_vm86, 0522:37b0 000005b6 000b3286 00000200
DPMI: ret_vm86, f800:47f1 000005ba 000b3202 00000200 ret=0x1
DPMI: do_vm86, 0522:37b0 000005b6 000b3202 00000200
DPMI: ret_vm86, f800:47f1 000005ba 00033246 00000200 ret=0x1
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:0434 000005ba 000b3286 00000200
DPMI: ret_vm86, 0522:381e 000005b2 000b3212 00000200 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 522:381e
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, f000:3100 000005ac 00033012 00000000
DPMI: ret_vm86, f000:0602 000005ac 00033212 00000000 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 f000:602
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:381e 000005b2 000b3212 00000200
DPMI: ret_vm86, 0522:045f 000005bc 000b3286 00100200 ret=0
PIC: 0 32 00000000 fff8fff9 00000000 Requested irq lvl 16
successfully
PIC: 0 32 00000000 fff8fff9 00010000 Zeroing vm86, DPMI
from 00, k0
DPMI: do_vm86, 0522:37b0 000005b8 000b3286 00000200
DPMI: ret_vm86, f800:47f1 000005bc 000b3202 00000200 ret=0x1
DPMI: do_vm86, 0522:37b0 000005b8 000b3202 00000200
DPMI: ret_vm86, f800:47f1 000005bc 00033246 00000200 ret=0x1
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:045f 000005bc 000b3286 00000200
DPMI: ret_vm86, 0522:381e 000005b2 000b3212 00100200 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 522:381e
DPMI: do_int 60: dpmi_eflags=00100200
PIC: 0 32 00000000 fffeffff 00000000 Requested irq lvl 16
successfully
PIC: 0 32 00000000 fffeffff 00010000 Zeroing vm86, DPMI
from 00, k0
DPMI: do_vm86, 0522:37b0 000005a8 00033012 00000000
DPMI: ret_vm86, f800:47f1 000005ac 00033202 00000000 ret=0x1
DPMI: do_vm86, 0522:37b0 000005a8 00033202 00000200
DPMI: ret_vm86, f800:47f1 000005ac 00033246 00000200 ret=0x1
PIC: 0 -16 00010000 fff8fff9 00000000 Requested irq lvl 16
lost
PIC: 0 16 00010000 fff8fff9 00000000 pic_itime and
pic_ltime for timer 16 matched!
PIC: 0 16 00010000 fff8fff9 00000000 Zeroing vm86, DPMI
from 00, k0
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, f000:3100 000005ac 00033012 00000200
DPMI: ret_vm86, f000:0602 000005ac 00033212 00000200 ret=0x6002
DPMI: Return from vm86() for interrupt
DPMI: retval=60 f000:602
DPMI: do_int 60: dpmi_eflags=00000200
------ DPMI: dpmi loop ---------------------
DPMI: do_vm86, 0522:381e 000005b2 000b3212 00000200
DPMI: ret_vm86, 0522:0ab0 000005b0 00023212 00100200 ret=0
PIC: 0 +32 00000000 fff8fff9 00000000 Requested irq lvl 16
successfully
PIC: 0 32 00000000 fff8fff9 00010000 Zeroing vm86, DPMI
from 00, k0
DPMI: do_vm86, 0522:37b0 000005ac 00023212 00000200
DPMI: ret_vm86, f800:47f1 000005b0 00033202 00000200 ret=0x1
DPMI: do_vm86, 0522:37b0 000005ac 00033202 00000200
DPMI: ret_vm86, 0a3c:ffff 00000598 00033286 00000200 ret=0x1
ERROR: general protection at 0x1a3bf: 0
Program=do_vm86.c, Line=348
EIP: 0a3c:0000ffff ESP: c316:00000598 VFLAGS(b): 00000
00110000 10000110
EAX: 0000ffff EBX: 000000dc ECX: 000000e1 EDX: 0000ffff
VFLAGS(h): 00003086
ESI: 00008794 EDI: 0000326d EBP: 00000000 DS: 0522 ES: 0000
FS: 0000 GS: 0000
FLAGS: PF SF IF RF VM IOPL: 3
OPS : 34 07 00 34 48 07 00 4d 23 07 -> 00 4d 23 07 00 4a 24
01 00 31
004d23 0a3c:ffff add [di+0x23],cl
00| 0133:108a->0023ba 01| 0070:06f4->000df4 02|
039f:0016->003a06
03| 0070:06f4->000df4 04| 0070:44f4->004bf4 05|
f000:0050->0f0050
06| f000:0060->0f0060 07| f000:0070->0f0070 08|
0522:0622->005842
09| 2415:0000->024150 0a| 039f:0057->003a47 0b|
039f:006f->003a5f
0c| 039f:0087->003a77 0d| 039f:009f->003a8f 0e|
039f:00b7->003aa7
0f| 0070:06f4->000df4 10| c316:0792->0c38f2 11|
f000:0110->0f0110
12| f000:0120->0f0120 13| 0070:0774->000e74 14|
f000:0140->0f0140
15| 1b6e:7273->022953 16| f800:3500->0fb500 17|
c316:6884->0c99e4
18| f000:0180->0f0180 19| 045c:002f->0045ef 1a|
f000:01a0->0f01a0
1b| 1b6e:1168->01c848 1c| f000:01c0->0f01c0 1d|
f000:01d0->0f01d0
1e| 0000:0522->000522 1f| c000:0568->0c0568 20|
c316:07b6->0c3916
21| c316:07b8->0c3918 22| 0461:02b1->0048c1 23|
1b6e:1188->01c868
24| 1b6e:118c->01c86c 25| 0133:10a8->0023d8 26|
0133:10b2->0023e2
27| c316:09a1->0c3b01 28| 0133:10da->00240a 29|
0070:0762->000e62
2a| 0133:10da->00240a 2b| 0133:10da->00240a 2c|
0133:10da->00240a
2d| 0133:10da->00240a 2e| 0461:013f->00474f 2f|
c316:4d35->0c7e95
30| 3310:d0ea->0401ea 31| f000:0301->0f0301 32|
0133:10da->00240a
33| f000:0330->0f0330 34| 0133:10da->00240a 35|
0133:10da->00240a
leavedos(4|0x4) called - shutting down
calling SIG_close

Closing all IRQ you opened!
calling keyboard_close
00| 0133:108a->0023ba 01| 0070:06f4->000df4 02|
039f:0016->003a06
03| 0070:06f4->000df4 04| 0070:44f4->004bf4 05|
f000:0050->0f0050
06| f000:0060->0f0060 07| f000:0070->0f0070 08|
0522:0622->005842
09| 2415:0000->024150 0a| 039f:0057->003a47 0b|
039f:006f->003a5f
0c| 039f:0087->003a77 0d| 039f:009f->003a8f 0e|
039f:00b7->003aa7
0f| 0070:06f4->000df4 10| c316:0792->0c38f2 11|
f000:0110->0f0110
12| f000:0120->0f0120 13| 0070:0774->000e74 14|
f000:0140->0f0140
15| 1b6e:7273->022953 16| f800:3500->0fb500 17|
c316:6884->0c99e4
18| f000:0180->0f0180 19| 045c:002f->0045ef 1a|
f000:01a0->0f01a0
1b| 1b6e:1168->01c848 1c| f000:01c0->0f01c0 1d|
f000:01d0->0f01d0
1e| 0000:0522->000522 1f| c000:0568->0c0568 20|
c316:07b6->0c3916
21| c316:07b8->0c3918 22| 0461:02b1->0048c1 23|
1b6e:1188->01c868
24| 1b6e:118c->01c86c 25| 0133:10a8->0023d8 26|
0133:10b2->0023e2
27| c316:09a1->0c3b01 28| 0133:10da->00240a 29|
0070:0762->000e62
2a| 0133:10da->00240a 2b| 0133:10da->00240a 2c|
0133:10da->00240a
2d| 0133:10da->00240a 2e| 0461:013f->00474f 2f|
c316:4d35->0c7e95
30| 3310:d0ea->0401ea 31| f000:0301->0f0301 32|
0133:10da->00240a
33| f000:0330->0f0330 34| 0133:10da->00240a 35|
0133:10da->00240a
calling disk_close_all
calling video_close
releasing ports and blocked devices
calling shared memory exit
calling HMA exit
closing debugger pipes
calling mapping_close()
calling close_all_printers
calling mouse_close

>From: Ryan Underwood <nemesis-lists@icequake.net>
>To: anon permutation <anonpermutation@hotmail.com>
>CC: linux-msdos@vger.kernel.org
>Subject: Re: Dos App hangs with DPMI / PIC problem
>Date: Wed, 8 Sep 2004 15:49:15 -0500
>
>
>On Wed, Sep 08, 2004 at 09:54:49AM +0000, anon permutation wrote:
> >
> >
> > I am wondering, since this hanging problem is related to dosemu's dpmi
> > implementation, is it possible for me to use another dpmi
>implementation?
> > Can I turn off dosemu's dpmi inside dosemu.conf and then run some other
> > dpmi inside autoexec.bat?
> >
> > Is this feasible? What other DPMI implementation is compatible with
>dosemu?
>
>No, that is not possible. DPMI server runs in protected mode, so it has
>to be part of dosemu and a server cannot be installed from the v86 task.
>It is the same reason why you can't use another 386 EMS manager under
>dosemu, because the EMS manager runs in protected mode in order to use
>the 386 paging unit.
>
>Also, usually DPMI servers that are not integrated into the EMS manager
>will use VCPI to enter protected mode, since the EMS manager is already
>running in protected mode and provides a VCPI interface in case another
>program wants protected mode. Using VCPI is unfortunately also
>impossible under dosemu, not a fault of dosemu but the fault/intent of
>VCPI design.
>
>--
>Ryan Underwood, <nemesis@icequake.net>
>-
>To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at http://vger.kernel.org/majordomo-info.html

_________________________________________________________________
Get ready for school! Find articles, homework help and more in the Back to
School Guide! http://special.msn.com/network/04backtoschool.armx