Dos App hangs with DPMI / PIC problem
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?
Thanks.
Quoted 28 lines
From: Ryan Underwood <[email protected]>
To: anon permutation <[email protected]>
CC: [email protected]
Subject: Re: Dos App hangs with msg X: expose event
Date: Tue, 7 Sep 2004 23:34:11 -0500Quoted 2 lines · anon permutation
I have encoutered problems while uploading even 256KB chunks, as a
result,
Quoted 1 line
I have only pasted the top and bottom of my log online. The complete
log
Quoted 1 line
is about 23MB. Is there a place where I can email you the file?
Looking at the log, it looks like a DPMI or timer specific problem.
Quoted 1 line
If the GP fault from
run_vm86()is ok, does that mean I can just changethe
Quoted 1 line
codes that handle the fault in
vm_86_GP_fault()to do nothing? Wouldthat
Quoted 1 line
allow me to work around the problem?
No, GPFs are a normal and essential part of a V86 task's execution. When a GPF occurs, the virtual machine monitor (in this case, the kernel/DOSEMU) takes control, acts in some manner depending on the context of the task, and then returns control to the task.
Quoted 7 lines
What is probably happening is that you've found a bug in dosemu's DPMI or timer emulation, especially since you have the same problem under the console. Unfortunately, it will be really hard to debug this without the app.
--
Ryan Underwood, <[email protected]>
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Quoted 8 lines · anon permutation
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.
Signature · 1 line
Ryan Underwood, <[email protected]>