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 [EMAIL PROTECTED] 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
-
To unsubscribe from this list: send the line "unsubscribe linux-msdos" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to