All of lore.kernel.org
 help / color / mirror / Atom feed
* dosemu-1.2.0 and unhandled exception
@ 2004-01-19 16:05 James B. Hiller
  2004-01-19 17:21 ` Robert Komar
  2004-01-19 17:31 ` Bart Oldeman
  0 siblings, 2 replies; 7+ messages in thread
From: James B. Hiller @ 2004-01-19 16:05 UTC (permalink / raw)
  To: linux-msdos

Hi.

Since my earlier report, wanted to simplify a few things, so here's what
I have now:

linux-2.6.1-mm4
dosemu-1.2.0
command.com, msdos.sys, and io.sys from 7.0 (Win95)

dosemu.conf has exactly one line in it:

$_hdimage = "/dosc"

autoexec.bat has:

@echo off
echo "Welcome to dosemu 1.0.2.1!"
SET PATH=C:\;C:\DOS;C:\DOS\COMMAND;C:\BUDGET;C:\BATCH;C:\MENU;C:\MSCMOUSE;
lredir e: linux\fs
lredir d: linux\fs\dosd
lredir c: linux\fs\dosc
rem gmouse

config.sys has:

rem this sets up the redirector to look at the Linux root directory.
rem this is probably not a good idea once you have dosemu installed
rem device=c:\emufs.sys /
LASTDRIVE=I
device=c:\ems.sys

I start xdosemu:

Linux DOS emulator 1.2.0.0 $Date: 2004/01/18$
Last configured at Mon Jan 19 01:23:08 EST 2004 on linux
This is work in progress.
Please test against a recent version before reporting bugs and problems.
Submit Bug Reports, Patches & New Code to linux-msdos@vger.kernel.org or via
the SourceForge tracking system at http://www.sourceforge.net/projects/dosemu
 
DPMI-Server Version 0.9 installed
 
Starting Windows 95...
 
 
 
 
 
 
"Welcome to dosemu 1.0.2.1!
E: = LINUX\FS  attrib = READ/WRITE
D: = LINUX\FS\DOSD  attrib = READ/WRITE
Redirection for drive C: was deleted.
C: = LINUX\FS\DOSC  attrib = READ/WRITE
C:\> 

All good so far.  I start my DOS app, and then exit it:

C:\>cd ppm
C:\>ppm

(App screen, "Exit" in the menu)

ERROR: general protection at 0x242f7: 26

and boot.log is:

CONF: config variable parser_version_3 set
CONF: config variable c_system set
CONF: Parsing built-in dosemu.conf file.
CONF: config variable version_3_style_used set
CONF: Parsing built-in global.conf file.
CONF: config variable version_3_style_used unset
CONF: config variable version_3_style_used set
CONF: opened include file /etc/dosemu.conf
CONF: closed include file /etc/dosemu.conf
debug flags: -a+cw
CONF: Disabling use of pentium timer
CONF: dosbanner on
CONF: timer freq=18, update=54925
CONF: CPU set to 386
CONF: 8192k bytes XMS memory
CONF: 2048k bytes EMS memory
CONF: EMS-frame = 0xe000
CONF: DPMI-Server on
CONF: dosemu running on 
CONF: x keycode keycode 2 aspect_43 mode13fact 2 gamma 100 font 'vga' mgrab_key "Home"
SER: directory /var/lock namestub LCK.. binary No
CONF: Keyboard-layout keyb-user
CONF: Keyboard-layout auto
device: /dev/fd0 type 2 h: 0  s: 0   t: 0 floppy A:
CONF: fastfloppy = 1
CONF: IPX support off
CONF(LPT0) f: (null)   c: lpr  o: -Plp  t: 20  port: 0
CONF(LPT1) f: (null)   c: lpr  o: ''  t: 20  port: 0
CONF: not allowing speaker port access
CONF: Packet Driver disabled.
device: /dosc type 4 h: -1  s: -1   t: -1 drive C:
CONF: config variable c_system unset
CONF: running exclusively as ROOT: uid=0 (cached 0) gid=0 (cached 0)
DBG_FD already set
DOSEMU-1.2.0.0 is coming up on Linux version 2.6.1-mm4
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
major = 3 minor = 4
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
SERIAL $Header: /cvsroot/dosemu/dosemu/src/base/serial/ser_init.c,v 1.1.2.3 2004/01/16 21:48:23 bartoldeman Exp $
CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
TIME: using 9154 usec for updating ALRM timer
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
ERROR: general protection at 0x242f7: 26
Program=do_vm86.c, Line=348
EIP: 23cf:00000607 ESP: 0000:0000103f  VFLAGS(b): 00000 01110010 10000110
EAX: 58034801 EBX: 0000ffff ECX: 0000000b EDX: 0044e400 VFLAGS(h): 00007286
ESI: 00002004 EDI: 0000fcd8 EBP: 00001045 DS: 0000 ES: ffff FS: 0000 GS: 0000
FLAGS: PF SF IF NT RF VM VIF  IOPL: 3
STACK: 00 00 00 00 00 00 00 00 00 00 -> 04 20 90 00 00 00 01 d0 cf fc 
OPS  : 00 c4 5e 06 26 c7 47 04 00 00 -> 26 ff 37 9a 0d 02 ac 15 83 c4 
	26ff37              23cf:0607 push     word ptr es:[bx]
00| 00c9:0fee->001c7e   01| 0070:0465->000b65   02| 0300:0016->003016
03| 0070:0465->000b65   04| 0070:0465->000b65   05| f000:0050->0f0050
06| f000:0060->0f0060   07| f000:0070->0f0070   08| 0300:001f->00301f
09| 0300:0028->003028   0a| 0300:003a->00303a   0b| 0300:0052->003052
0c| 0300:006a->00306a   0d| 0300:0082->003082   0e| 0300:009a->00309a
0f| 0070:0465->000b65   10| f800:4240->0fc240   11| f000:0110->0f0110
12| f000:0120->0f0120   13| 0070:03ee->000aee   14| f000:0140->0f0140
15| 0070:03f6->000af6   16| 0070:042d->000b2d   17| f000:0170->0f0170
18| f000:0180->0f0180   19| 03c1:002f->003c3f   1a| f000:01a0->0f01a0
1b| 0070:045f->000b5f   1c| f000:01c0->0f01c0   1d| f000:01d0->0f01d0
1e| f000:01e0->0f01e0   1f| c000:0568->0c0568   20| 00c9:0fa8->001c38
21| 00c9:0fb2->001c42   22| f433:392f->0f7c5f   23| 0000:f4fc->00f4fc
24| 4944:5600->04ea40   25| 00c9:0fbc->001c4c   26| 00c9:0fc6->001c56
27| 00c9:0fd0->001c60   28| 00c9:106f->001cff   29| 0070:0466->000b66
2a| 00c9:106f->001cff   2b| 00c9:106f->001cff   2c| 00c9:106f->001cff
2d| 00c9:106f->001cff   2e| 03c9:0162->003df2   2f| 03ca:01cc->003e6c
30| c90f:e4ea->0d75da   31| f000:0300->0f0300   32| 00c9:106f->001cff
33| f000:0330->0f0330   34| 00c9:106f->001cff   35| 00c9:106f->001cff
leavedos(4|0x4) called - shutting down
SPEAKER: sound off
calling SIG_close
calling keyboard_close
00| 00c9:0fee->001c7e   01| 0070:0465->000b65   02| 0300:0016->003016
03| 0070:0465->000b65   04| 0070:0465->000b65   05| f000:0050->0f0050
06| f000:0060->0f0060   07| f000:0070->0f0070   08| 0300:001f->00301f
09| 0300:0028->003028   0a| 0300:003a->00303a   0b| 0300:0052->003052
0c| 0300:006a->00306a   0d| 0300:0082->003082   0e| 0300:009a->00309a
0f| 0070:0465->000b65   10| f800:4240->0fc240   11| f000:0110->0f0110
12| f000:0120->0f0120   13| 0070:03ee->000aee   14| f000:0140->0f0140
15| 0070:03f6->000af6   16| 0070:042d->000b2d   17| f000:0170->0f0170
18| f000:0180->0f0180   19| 03c1:002f->003c3f   1a| f000:01a0->0f01a0
1b| 0070:045f->000b5f   1c| f000:01c0->0f01c0   1d| f000:01d0->0f01d0
1e| f000:01e0->0f01e0   1f| c000:0568->0c0568   20| 00c9:0fa8->001c38
21| 00c9:0fb2->001c42   22| f433:392f->0f7c5f   23| 0000:f4fc->00f4fc
24| 4944:5600->04ea40   25| 00c9:0fbc->001c4c   26| 00c9:0fc6->001c56
27| 00c9:0fd0->001c60   28| 00c9:106f->001cff   29| 0070:0466->000b66
2a| 00c9:106f->001cff   2b| 00c9:106f->001cff   2c| 00c9:106f->001cff
2d| 00c9:106f->001cff   2e| 03c9:0162->003df2   2f| 03ca:01cc->003e6c
30| c90f:e4ea->0d75da   31| f000:0300->0f0300   32| 00c9:106f->001cff
33| f000:0330->0f0330   34| 00c9:106f->001cff   35| 00c9:106f->001cff
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

There seems to be an issue with the LOCK prefix, just as it says, during
boot up.

# ls -ld /var
drwxr-xr-x   25 root     root         4096 Mar 21  2002 /var/
# ls -ld /var/lock
drwxrwxrwt    4 root     root         4096 Jan 19 02:57 /var/lock/

I tried a run setting $_ttylocks = "", but all that hanges is
getting rid of

SER: directory /var/lock namestub LCK.. binary No

No other behavior changes.

I did a web search on

ERROR: LOCK prefix not permitted!

and found two other persons reporting a similar behavior (both on this
list) but no further discussion on what may have caused it or what the
fix would be.

Thx!

jbh

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dosemu-1.2.0 and unhandled exception
  2004-01-19 17:21 ` Robert Komar
@ 2004-01-19 16:23   ` James B Hiller
  2004-01-19 17:54     ` Justin Zygmont
  0 siblings, 1 reply; 7+ messages in thread
From: James B Hiller @ 2004-01-19 16:23 UTC (permalink / raw)
  To: Robert Komar; +Cc: linux-msdos

Hi back.

On Mon, 19 Jan 2004, Robert Komar wrote:

> On Mon, 19 Jan 2004, James B. Hiller wrote:
> 
> > @echo off
> > echo "Welcome to dosemu 1.0.2.1!"
> 			  ^^^^^^^
> 
> Hi,
> you seem to have multiple versions of dosemu lying around.  Better
> do some clean-up.

Thx - but that's inconsequential.  That is text that I write into
my autoexec.bat file to greet me at startup.  Has nothing to do
with dosemu.

In fact, when I install a new version, I do a complete trace of
everything that gets installed; then do a find on every file name
to ensure it's not replicated in an older version in some now-stale
directory.

Pain in the neck, but worthwhile.

Anyway - as I said, non-issue.

thx,
jbh



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dosemu-1.2.0 and unhandled exception
  2004-01-19 16:05 dosemu-1.2.0 and unhandled exception James B. Hiller
@ 2004-01-19 17:21 ` Robert Komar
  2004-01-19 16:23   ` James B Hiller
  2004-01-19 17:31 ` Bart Oldeman
  1 sibling, 1 reply; 7+ messages in thread
From: Robert Komar @ 2004-01-19 17:21 UTC (permalink / raw)
  To: James B. Hiller; +Cc: linux-msdos

On Mon, 19 Jan 2004, James B. Hiller wrote:

> @echo off
> echo "Welcome to dosemu 1.0.2.1!"
			  ^^^^^^^

Hi,
you seem to have multiple versions of dosemu lying around.  Better
do some clean-up.

Cheers,
Rob Komar

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dosemu-1.2.0 and unhandled exception
  2004-01-19 16:05 dosemu-1.2.0 and unhandled exception James B. Hiller
  2004-01-19 17:21 ` Robert Komar
@ 2004-01-19 17:31 ` Bart Oldeman
  2004-01-19 17:58   ` James B. Hiller
  1 sibling, 1 reply; 7+ messages in thread
From: Bart Oldeman @ 2004-01-19 17:31 UTC (permalink / raw)
  To: James B. Hiller; +Cc: linux-msdos

On Mon, 19 Jan 2004, James B. Hiller wrote:

> autoexec.bat has:
>
> @echo off
> echo "Welcome to dosemu 1.0.2.1!"

confusing isn't it?

> SET PATH=C:\;C:\DOS;C:\DOS\COMMAND;C:\BUDGET;C:\BATCH;C:\MENU;C:\MSCMOUSE;
> lredir e: linux\fs
> lredir d: linux\fs\dosd
> lredir c: linux\fs\dosc

you can remove this last line. it happens automatically if you boot from
/dosc.

> C:\>cd ppm
> C:\>ppm
>
> (App screen, "Exit" in the menu)
>
> ERROR: general protection at 0x242f7: 26
> SIGILL while in vm86()
> ERROR: LOCK prefix not permitted!
> Program=do_vm86.c, Line=348
> EIP: 23cf:00000607 ESP: 0000:0000103f  VFLAGS(b): 00000 01110010 10000110
> EAX: 58034801 EBX: 0000ffff ECX: 0000000b EDX: 0044e400 VFLAGS(h): 00007286
> ESI: 00002004 EDI: 0000fcd8 EBP: 00001045 DS: 0000 ES: ffff FS: 0000 GS: 0000
> FLAGS: PF SF IF NT RF VM VIF  IOPL: 3
> STACK: 00 00 00 00 00 00 00 00 00 00 -> 04 20 90 00 00 00 01 d0 cf fc
> OPS  : 00 c4 5e 06 26 c7 47 04 00 00 -> 26 ff 37 9a 0d 02 ac 15 83 c4
> 	26ff37              23cf:0607 push     word ptr es:[bx]

most likely the DOS program went into zombie land, executing wrong
instructions, and now executing an instruction that wraps around. Same
with "arpl" being invalid the other mail.

Very difficult to track this one down. Is it 100% reliable in real DOS?
Can you compare debug logs for 1.0.2.1 when it did run? Or can you run it
directly from an hdimage (as you might have done before)?

> There seems to be an issue with the LOCK prefix, just as it says, during
> boot up. # ls -ld /var/lock drwxrwxrwt 4 root root 4096 Jan 19 02:57
> /var/lock/

No, /var/lock is completely unrelated to the LOCK prefix intel x86 CPU
instruction -- what's in a name?

Bart


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dosemu-1.2.0 and unhandled exception
  2004-01-19 16:23   ` James B Hiller
@ 2004-01-19 17:54     ` Justin Zygmont
  0 siblings, 0 replies; 7+ messages in thread
From: Justin Zygmont @ 2004-01-19 17:54 UTC (permalink / raw)
  To: James B Hiller; +Cc: Robert Komar, linux-msdos

hi, I would just use the isemu.com executable for that if you can.


On Mon, 19 Jan 2004, James B Hiller wrote:

> Hi back.
> 
> On Mon, 19 Jan 2004, Robert Komar wrote:
> 
> > On Mon, 19 Jan 2004, James B. Hiller wrote:
> > 
> > > @echo off
> > > echo "Welcome to dosemu 1.0.2.1!"
> > 			  ^^^^^^^
> > 
> > Hi,
> > you seem to have multiple versions of dosemu lying around.  Better
> > do some clean-up.
> 
> Thx - but that's inconsequential.  That is text that I write into
> my autoexec.bat file to greet me at startup.  Has nothing to do
> with dosemu.
> 
> In fact, when I install a new version, I do a complete trace of
> everything that gets installed; then do a find on every file name
> to ensure it's not replicated in an older version in some now-stale
> directory.
> 
> Pain in the neck, but worthwhile.
> 
> Anyway - as I said, non-issue.
> 
> thx,
> jbh
> 
> 
> -
> 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
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dosemu-1.2.0 and unhandled exception
  2004-01-19 17:31 ` Bart Oldeman
@ 2004-01-19 17:58   ` James B. Hiller
  2004-01-19 18:37     ` Bart Oldeman
  0 siblings, 1 reply; 7+ messages in thread
From: James B. Hiller @ 2004-01-19 17:58 UTC (permalink / raw)
  To: Bart Oldeman; +Cc: linux-msdos

> > autoexec.bat has:
> >
> > @echo off
> > echo "Welcome to dosemu 1.0.2.1!"
> 
> confusing isn't it?

Ok, ok.  Two comments made in < 5 sec = I'll change my autoexec :-)

> > SET PATH=C:\;C:\DOS;C:\DOS\COMMAND;C:\BUDGET;C:\BATCH;C:\MENU;C:\MSCMOUSE;
> > lredir e: linux\fs
> > lredir d: linux\fs\dosd
> > lredir c: linux\fs\dosc
> 
> you can remove this last line. it happens automatically if you boot from
> /dosc.

Understand, and will do.  Just wanted to keep everything identical between
things on my hdimage and the /dosc sequence until this gets resolved.

[snip exception text]

> most likely the DOS program went into zombie land, executing wrong
> instructions, and now executing an instruction that wraps around. Same
> with "arpl" being invalid the other mail.
> 
> Very difficult to track this one down. Is it 100% reliable in real DOS?

It has been for the 10 or so years I've had it.  The only error behavior
I've ever seen from it is if I try to run two instances at once, say,
from a command line in pick-your-windows-version.  The second instance
generates some kind of error (don't remember what it is, but could
generate it if you think would be helpful).

> Can you compare debug logs for 1.0.2.1 when it did run? Or can you run it
> directly from an hdimage (as you might have done before)?

Whichever you prefer.  I'm thinking it's not necessary to go back to
1.0.2.1, since it runs just fine in 1.2.0 from an hdimage - since the
last email I did in fact do this an compare the two log results, and
will post below for ref.  But if you think there's a diff that can
be achieved going back to 1.0.2.1, let me know and I will.

This seems to have something to do with the difference between running
from hdimage and running from a real drive using redirection.  In addition
to the observable behavior, I say this because, in one of the multi-MB
log files I got when I ran with debug option +a, there seemed to be a lot
of error-variety messages referring to lredir.

I also once again copied the artifacts from my hdimage to /dosc to ensure
equivalence (autoexec.bat, io.sys, msdos.sys, config.sys, command.com; and I
now have attrib from a Win95 boot disk, so I correctly reset the attribs on
the copied-over copies on /dosc).  That had no effect.

> > There seems to be an issue with the LOCK prefix, just as it says, during
> > boot up. # ls -ld /var/lock drwxrwxrwt 4 root root 4096 Jan 19 02:57
> > /var/lock/
> 
> No, /var/lock is completely unrelated to the LOCK prefix intel x86 CPU
> instruction -- what's in a name?

Ok.

Here is the log from each variant.  This was produced with the default
debug setting.  Please let me know if there are other options you want
turned on.

Booting from /dosc:

CONF: config variable parser_version_3 set
CONF: config variable c_system set
CONF: Parsing built-in dosemu.conf file.
CONF: config variable version_3_style_used set
CONF: Parsing built-in global.conf file.
CONF: config variable version_3_style_used unset
CONF: config variable version_3_style_used set
CONF: opened include file /etc/dosemu.conf
CONF: closed include file /etc/dosemu.conf
debug flags: -a+cw
CONF: Disabling use of pentium timer
CONF: dosbanner on
CONF: timer freq=18, update=54925
CONF: CPU set to 386
CONF: 8192k bytes XMS memory
CONF: 2048k bytes EMS memory
CONF: EMS-frame = 0xe000
CONF: DPMI-Server on
CONF: dosemu running on 
CONF: x keycode keycode 2 aspect_43 mode13fact 2 gamma 100 font 'vga' mgrab_key "Home"
SER: directory /var/lock namestub LCK.. binary No
CONF: Keyboard-layout keyb-user
CONF: Keyboard-layout auto
device: /dev/fd0 type 2 h: 0  s: 0   t: 0 floppy A:
CONF: fastfloppy = 1
CONF: IPX support off
CONF(LPT0) f: (null)   c: lpr  o: -Plp  t: 20  port: 0
CONF(LPT1) f: (null)   c: lpr  o: ''  t: 20  port: 0
CONF: not allowing speaker port access
CONF: Packet Driver disabled.
device: /dosc type 4 h: -1  s: -1   t: -1 drive C:
CONF: config variable c_system unset
CONF: running exclusively as ROOT: uid=0 (cached 0) gid=0 (cached 0)
DBG_FD already set
DOSEMU-1.2.0.0 is coming up on Linux version 2.6.1-mm4
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
major = 3 minor = 4
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
SERIAL $Header: /cvsroot/dosemu/dosemu/src/base/serial/ser_init.c,v 1.1.2.3 2004/01/16 21:48:23 bartoldeman Exp $
CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
TIME: using 9154 usec for updating ALRM timer
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
SIGILL while in vm86()
ERROR: LOCK prefix not permitted!
ERROR: general protection at 0x242f7: 26
Program=do_vm86.c, Line=348
EIP: 23cf:00000607 ESP: 0000:0000103f  VFLAGS(b): 00000 01110010 10000110
EAX: 58034801 EBX: 0000ffff ECX: 0000000b EDX: 0044e400 VFLAGS(h): 00007286
ESI: 00002004 EDI: 0000fcd8 EBP: 00001045 DS: 0000 ES: ffff FS: 0000 GS: 0000
FLAGS: PF SF IF NT RF VM VIF  IOPL: 3
STACK: 00 00 00 00 00 00 00 00 00 00 -> 04 20 90 00 00 00 01 d0 cf fc 
OPS  : 00 c4 5e 06 26 c7 47 04 00 00 -> 26 ff 37 9a 0d 02 ac 15 83 c4 
	26ff37              23cf:0607 push     word ptr es:[bx]
00| 00c9:0fee->001c7e   01| 0070:0465->000b65   02| 0300:0016->003016
03| 0070:0465->000b65   04| 0070:0465->000b65   05| f000:0050->0f0050
06| f000:0060->0f0060   07| f000:0070->0f0070   08| 0300:001f->00301f
09| 0300:0028->003028   0a| 0300:003a->00303a   0b| 0300:0052->003052
0c| 0300:006a->00306a   0d| 0300:0082->003082   0e| 0300:009a->00309a
0f| 0070:0465->000b65   10| f800:4240->0fc240   11| f000:0110->0f0110
12| f000:0120->0f0120   13| 0070:03ee->000aee   14| f000:0140->0f0140
15| 0070:03f6->000af6   16| 0070:042d->000b2d   17| f000:0170->0f0170
18| f000:0180->0f0180   19| 03c1:002f->003c3f   1a| f000:01a0->0f01a0
1b| 0070:045f->000b5f   1c| f000:01c0->0f01c0   1d| f000:01d0->0f01d0
1e| f000:01e0->0f01e0   1f| c000:0568->0c0568   20| 00c9:0fa8->001c38
21| 00c9:0fb2->001c42   22| f433:392f->0f7c5f   23| 0000:f4fc->00f4fc
24| 4944:5600->04ea40   25| 00c9:0fbc->001c4c   26| 00c9:0fc6->001c56
27| 00c9:0fd0->001c60   28| 00c9:106f->001cff   29| 0070:0466->000b66
2a| 00c9:106f->001cff   2b| 00c9:106f->001cff   2c| 00c9:106f->001cff
2d| 00c9:106f->001cff   2e| 03c9:0162->003df2   2f| 03ca:01cc->003e6c
30| c90f:e4ea->0d75da   31| f000:0300->0f0300   32| 00c9:106f->001cff
33| f000:0330->0f0330   34| 00c9:106f->001cff   35| 00c9:106f->001cff
leavedos(4|0x4) called - shutting down
SPEAKER: sound off
calling SIG_close
calling keyboard_close
00| 00c9:0fee->001c7e   01| 0070:0465->000b65   02| 0300:0016->003016
03| 0070:0465->000b65   04| 0070:0465->000b65   05| f000:0050->0f0050
06| f000:0060->0f0060   07| f000:0070->0f0070   08| 0300:001f->00301f
09| 0300:0028->003028   0a| 0300:003a->00303a   0b| 0300:0052->003052
0c| 0300:006a->00306a   0d| 0300:0082->003082   0e| 0300:009a->00309a
0f| 0070:0465->000b65   10| f800:4240->0fc240   11| f000:0110->0f0110
12| f000:0120->0f0120   13| 0070:03ee->000aee   14| f000:0140->0f0140
15| 0070:03f6->000af6   16| 0070:042d->000b2d   17| f000:0170->0f0170
18| f000:0180->0f0180   19| 03c1:002f->003c3f   1a| f000:01a0->0f01a0
1b| 0070:045f->000b5f   1c| f000:01c0->0f01c0   1d| f000:01d0->0f01d0
1e| f000:01e0->0f01e0   1f| c000:0568->0c0568   20| 00c9:0fa8->001c38
21| 00c9:0fb2->001c42   22| f433:392f->0f7c5f   23| 0000:f4fc->00f4fc
24| 4944:5600->04ea40   25| 00c9:0fbc->001c4c   26| 00c9:0fc6->001c56
27| 00c9:0fd0->001c60   28| 00c9:106f->001cff   29| 0070:0466->000b66
2a| 00c9:106f->001cff   2b| 00c9:106f->001cff   2c| 00c9:106f->001cff
2d| 00c9:106f->001cff   2e| 03c9:0162->003df2   2f| 03ca:01cc->003e6c
30| c90f:e4ea->0d75da   31| f000:0300->0f0300   32| 00c9:106f->001cff
33| f000:0330->0f0330   34| 00c9:106f->001cff   35| 00c9:106f->001cff
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

Booting from hdimage:

CONF: config variable parser_version_3 set
CONF: config variable c_system set
CONF: Parsing built-in dosemu.conf file.
CONF: config variable version_3_style_used set
CONF: Parsing built-in global.conf file.
CONF: config variable version_3_style_used unset
CONF: config variable version_3_style_used set
CONF: opened include file /etc/dosemu.conf
CONF: closed include file /etc/dosemu.conf
debug flags: -a+cw
CONF: Disabling use of pentium timer
CONF: dosbanner on
CONF: timer freq=18, update=54925
CONF: CPU set to 386
CONF: 8192k bytes XMS memory
CONF: 2048k bytes EMS memory
CONF: EMS-frame = 0xe000
CONF: DPMI-Server on
CONF: dosemu running on 
CONF: x keycode keycode 2 aspect_43 mode13fact 2 gamma 100 font 'vga' mgrab_key "Home"
SER: directory /var/lock namestub LCK.. binary No
CONF: Keyboard-layout keyb-user
CONF: Keyboard-layout auto
device: /dev/fd0 type 2 h: 0  s: 0   t: 0 floppy A:
CONF: fastfloppy = 1
CONF: IPX support off
CONF(LPT0) f: (null)   c: lpr  o: -Plp  t: 20  port: 0
CONF(LPT1) f: (null)   c: lpr  o: ''  t: 20  port: 0
CONF: not allowing speaker port access
CONF: Packet Driver disabled.
device: /var/lib/dosemu/hdimage type 0 header_size: 128 h: -1  s: -1   t: -1 drive C:
CONF: config variable c_system unset
CONF: running exclusively as ROOT: uid=0 (cached 0) gid=0 (cached 0)
DBG_FD already set
DOSEMU-1.2.0.0 is coming up on Linux version 2.6.1-mm4
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
major = 3 minor = 4
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
SERIAL $Header: /cvsroot/dosemu/dosemu/src/base/serial/ser_init.c,v 1.1.2.3 2004/01/16 21:48:23 bartoldeman Exp $
CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
TIME: using 9154 usec for updating ALRM timer
DOS termination requested
leavedos(0|0x0) called - shutting down

Thx!
jbh

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: dosemu-1.2.0 and unhandled exception
  2004-01-19 17:58   ` James B. Hiller
@ 2004-01-19 18:37     ` Bart Oldeman
  0 siblings, 0 replies; 7+ messages in thread
From: Bart Oldeman @ 2004-01-19 18:37 UTC (permalink / raw)
  To: James B. Hiller; +Cc: linux-msdos

On Mon, 19 Jan 2004, James B. Hiller wrote:

> Whichever you prefer.  I'm thinking it's not necessary to go back to
> 1.0.2.1, since it runs just fine in 1.2.0 from an hdimage - since the
> last email I did in fact do this an compare the two log results, and
> will post below for ref.  But if you think there's a diff that can
> be achieved going back to 1.0.2.1, let me know and I will.

no, if it runs fine from an hdimage in 1.2.0 then it doesn't make sense to
go back to 1.0.2.1 indeed -- most likely not a regression since you wrote
that you booted 1.0.2.1 from an hdimage.

It means that there are two possible causes
a) the DOS app tries to use direct access bypassing the "network drive"
b) DOSEMUs "network drive" implementation (MFS) is buggy.

if it's a) then you *have* to use an hdimage (or direct partition access,
which would mean you couldn't mount the partition at the same time) and
if it's b) we might be able to fix it.

I'll have a look at your other email to find out.

Bart


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-01-19 18:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-01-19 16:05 dosemu-1.2.0 and unhandled exception James B. Hiller
2004-01-19 17:21 ` Robert Komar
2004-01-19 16:23   ` James B Hiller
2004-01-19 17:54     ` Justin Zygmont
2004-01-19 17:31 ` Bart Oldeman
2004-01-19 17:58   ` James B. Hiller
2004-01-19 18:37     ` Bart Oldeman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.