Skip to contentSkip to conversation

Crash "not emulated EE 3d8"

DISCUSSION Frederic Herman 3 participants 7 messages Apr 9, 2008 – Apr 15, 2008

lore
Share & tools
lore
#0 lore raw

I am trying to run an app that worked in a previous Linux box. The current one is an x86_64 (AMD) fedora fc7 system. When I try to run the app from dosemu, it immediately crashes, and the boot.log ends with:

DOSEMU-1.4.0.0 is coming up on Linux version 2.6.23.15-80.fc7
WARN: vm86plus service not available in your kernel
WARN: using CPU emulation for vm86()
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 48Kb at 0xF4000 for 'r' (Dosemu reserved area)
CPU: Stack bottom 0x7fffda184000, top 0x7fffda1a9000, esp=0x7fffda186300
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
CONF: reserving 8256Kb at 0x100000 for 'x' (Extended memory (HMA+XMS)) Registering HWRAM, type=e base=0x40000000 size=0x400000
CONF: reserving 4096Kb at 0x40000000 for 'e' (VGAEMU LFB)
CONF: reserving 12Kb at 0xC0000 for 'V' (VGAEMU Video BIOS) SERIAL $Id: ser_init.c 1769 2007-05-04 05:59:48Z bartoldeman $
PKT: Cannot allocate TAP device (dynamic): Operation not permitted
CONF: detected layout is "auto"
CONF: detected alternate layout: (null)
CONF: reserving 64Kb at 0xE4000 for 'E' (EMS page frame)
CONF: reserving 132Kb at 0xC3000 for 'U' (Upper Memory Block (UMB, XMS 3.0))
TIME: using 9154 usec for updating ALRM timer ======================= ENTER CPU-EMU ===============

ERROR: MFS: couldn't find root path /media/CDROM not emulated EE 3d8
leavedos(0|0x0) called - shutting down ======================= LEAVE CPU-EMU ===============
Total cpuemu time 1343323 us (incl.trace)

Total codgen time           105892 us
Total linker time           117651 us
Total exec   time           501636 us (incl.faults)
Total insert time           100441 us

Total search time 31550 us
Total clean time 33822 us
Max tree nodes 3208
Max node size 354
Max tree depth 14
Nodes parsed 226832
Find misses 147127
Nodes executed 1862859
Find hits 267063 (14%)
Find last hits 1595796 (85%)
Page faults 34545
Signals received 242
Tree cleanups 13

Any help would be appreciated.

Fred

#1 lore raw

Re: Crash "not emulated EE 3d8" - Update

I have now tested dosEmu on both a x86 and another x86_64 system with the same Fedora FC7 OS. The x86 system has no problems with the application, and the 2nd x86_64 system crashes the same way with the app. So it looks like the problem is with running on the 64 bit processor.

Note that I did try running some simple dos programs on the x86_64 system and there was no crash with them. The application that crashed was a dos accounting system.

#3 lore raw

I rebuilt the rpm using the patch. Now dosemu hangs when the app is started. The end of the boot file shows:

!!! Illegal op ff ff ff
==============================================================
CPU exception 0x06 err=0x00000000 cr2=00017e6d eip=000093a3
==============================================================
SIGILL while in vm86(): 1f9c:99e3
leavedos(0|0x0) called - shutting down ======================= LEAVE CPU-EMU ===============
Total cpuemu time 1795249 us (incl.trace)
Total codgen time 34624 us
Total linker time 111231 us
Total exec time 370894 us (incl.faults)

Total insert time            37167 us
Total search time            95057 us
Total clean  time            14680 us

Max tree nodes 2242
Max node size 523
Max tree depth 13
Nodes parsed 93241
Find misses 77215
Nodes executed 4209688
Find hits 3283006 (77%)
Find last hits 926682 (22%)
Page faults 28860
Signals received 1265
Tree cleanups 16

Is there anyone who has build dosemu to run on fedora x86_64 platforms?
I really don't want to become an expert in the application. I just
want to use it.

PS The app runs fine on an i386 platform.

Fred

Quoted 11 lines · Bart Oldeman

Hi,

Quoted 2 lines

not emulated EE 3d8
leavedos(0|0x0) called - shutting down

This problem is fixed in the 1.4.0.1 update. It doesn't show up on 32bit by default because in that case the CPU emulator is not needed.
http://dosemu.sourceforge.net/prereleases/patch-1.4.0.1.gz

Bart

Signature · 1 line
Love your country but never trust its government.
#4 lore raw
Quoted 1 line · On Mon, 14 Apr 2008 19:59:32 -0600 Frederic Herman <[email protected]>…

Is there anyone who has build dosemu to run on fedora x86_64 platforms?

Yes. I use it on my Fedora 8/x86_64 machines with no problems. I use it to run PowerBasic/DOS and programs that I have written in PowerBasic/DOS.

Signature · 1 line
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com
#5 lore raw

Are you using a stock rpm, and if so, where I can I find it. If you patched it yourself, would you be willing to send me a copy?

Thanks you.

Fred

Quoted 8 lines · Frank Cox
Quoted 1 line · On Mon, 14 Apr 2008 19:59:32 -0600 Frederic Herman <[email protected]>…

Is there anyone who has build dosemu to run on fedora x86_64 platforms?

Yes. I use it on my Fedora 8/x86_64 machines with no problems. I use it to run PowerBasic/DOS and programs that I have written in PowerBasic/DOS.

Signature · 1 line
Love your country but never trust its government.
#6 lore raw
Quoted 2 lines · On Tue, 15 Apr 2008 08:33:48 -0600 Frederic Herman <[email protected]>…

If you
patched it yourself, would you be willing to send me a copy?

Done.

Signature · 1 line
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com