public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* general protection error (Program=do_vm86.c, Line=348)
@ 2004-02-19 11:18 Ward Vandewege
  2004-02-19 11:36 ` Grigory Batalov
  2004-02-19 16:14 ` Nicolai Kuntze
  0 siblings, 2 replies; 5+ messages in thread
From: Ward Vandewege @ 2004-02-19 11:18 UTC (permalink / raw)
  To: linux-msdos

Hi there,

I have been playing with Dosemu/Freedos to get an old DOS/Novell application
to work on a linux box.

Here's my setup:

Novell 3.11 with 802.3 frametype (I know, it's ancient)
Linux kernel 2.4.24 (Debian testing/unstable)
Dosemu 1.2.0-2 from debian package
Freedos b8p-3 (dosemu-freedos debian package)

I can connect to the Novell server just fine through ncpmount; copy data off,
etc.

I've tried the Direct-IPX approach from the Novell HOWTO, which works - kind
of. I can load EMSNETX or NETX just fine, and then the Novell share is
accessible through the I drive. However, executing 'login' will crash dosemu
after providing login/password. Here is the debug output from dosemu:

=======================
using stderr for debug-output
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/dosemu.conf
CONF: closed include file /etc/dosemu/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: 16384k bytes XMS memory
CONF: 8192k bytes EMS memory
CONF: EMS-frame = 0xe000 
CONF: DPMI-Server on
CONF: dosemu running on _terminal
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 on
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/freedos 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.4.24
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
major = 136 minor = 3
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 $
Slang:S-Lang Error: Inconsistency in define key.
Slang:S-Lang Error: Inconsistency in define key.
CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
TIME: using 9154 usec for updating ALRM timer
SIGILL while in vm86()
ERROR: general protection at 0x603cf: 0
ERROR: general protection at 0x603cf: 0
Program=do_vm86.c, Line=348
EIP: 503d:0000ffff ESP: 192c:00009216  VFLAGS(b): 00000 00111000 00000111
EAX: 00000686 EBX: 00000000 ECX: 00000686 EDX: 0000192c VFLAGS(h): 00003807
ESI: 0000292d EDI: 00006320 EBP: 00001860 DS: 19e1 ES: 292d FS: 0000 GS: 0000
FLAGS: CF PF OF RF VM  IOPL: 3
STACK: 69 0f 20 92 dd 3f 69 0f 00 00 -> a7 33 00 00 06 30 86 06 3a 3b
OPS  : 00 00 00 00 00 00 00 00 00 00 -> 00 00 00 00 00 00 00 00 00 00
  0000                503d:ffff add     [bx+si],al
00| 0f69:0a76->010106   01| 5359:5300->058890   02| 4c4f:565f->051b4f
03| 5359:533d->0588cd   04| 5250:003a->05253a   05| 565f:474f->05ad3f
06| 503d:4c4f->05501f   07| 3a47:4f52->03f3c2   08| 4553:5500->04aa30
09| 4f56:5f52->0554b2   0a| 5355:3d4c->05729c   0b| 003a:5245->0055e5
0c| 445f:4f46->049536   0d| 4556:4952->049eb2   0e| 003a:473d->004add
0f| 5441:5045->059455   10| 3a47:3d48->03e1b8   11| 4449:465c->048aec
12| 4f49:4c45->0540d5   13| 5f4f:465c->063b4c   14| 4154:4144->045684
15| 4d4f:4800->051cf0   16| 5244:5f45->058385   17| 3d45:5649->042a99
18| 5300:3a48->056a48   19| 5244:5f43->058383   1a| 3d45:5649->042a99
1b| 4600:3a49->049a49   1c| 5244:5f42->058382   1d| 3d45:5649->042a99
1e| 4500:3a4a->048a4a   1f| 5244:5f4d->05838d   20| 3d45:5649->042a99
21| 0000:3a4b->003a4b   22| 0344:0382->0037c2   23| 0f69:2d1b->0123ab
24| 0344:0304->003744   25| 0070:001f->00071f   26| 0070:0027->000727
27| 0423:0cc3->004ef3   28| 0070:0000->000700   29| 0070:0166->000866
2a| 0070:0000->000700   2b| 0070:0000->000700   2c| 0070:0000->000700
2d| 0070:0000->000700   2e| 0070:0000->000700   2f| 0423:100b->00523b
30| 0070:0000->000700   31| 0070:0000->000700   32| 0070:0000->000700
33| f000:0330->0f0330   34| 0070:0000->000700   35| 0070:0000->000700
leavedos(4|0x4) called - shutting down
SPEAKER: sound off
calling SIG_close
calling keyboard_close
00| 0f69:0a76->010106   01| 5359:5300->058890   02| 4c4f:565f->051b4f
03| 5359:533d->0588cd   04| 5250:003a->05253a   05| 565f:474f->05ad3f
06| 503d:4c4f->05501f   07| 3a47:4f52->03f3c2   08| 4553:5500->04aa30
09| 4f56:5f52->0554b2   0a| 5355:3d4c->05729c   0b| 003a:5245->0055e5
0c| 445f:4f46->049536   0d| 4556:4952->049eb2   0e| 003a:473d->004add
0f| 5441:5045->059455   10| 3a47:3d48->03e1b8   11| 4449:465c->048aec
12| 4f49:4c45->0540d5   13| 5f4f:465c->063b4c   14| 4154:4144->045684
15| 4d4f:4800->051cf0   16| 5244:5f45->058385   17| 3d45:5649->042a99
18| 5300:3a48->056a48   19| 5244:5f43->058383   1a| 3d45:5649->042a99
1b| 4600:3a49->049a49   1c| 5244:5f42->058382   1d| 3d45:5649->042a99
1e| 4500:3a4a->048a4a   1f| 5244:5f4d->05838d   20| 3d45:5649->042a99
21| 0000:3a4b->003a4b   22| 0344:0382->0037c2   23| 0f69:2d1b->0123ab
24| 0344:0304->003744   25| 0070:001f->00071f   26| 0070:0027->000727
27| 0423:0cc3->004ef3   28| 0070:0000->000700   29| 0070:0166->000866
2a| 0070:0000->000700   2b| 0070:0000->000700   2c| 0070:0000->000700
2d| 0070:0000->000700   2e| 0070:0000->000700   2f| 0423:100b->00523b
30| 0070:0000->000700   31| 0070:0000->000700   32| 0070:0000->000700
33| f000:0330->0f0330   34| 0070:0000->000700   35| 0070:0000->000700
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
=======================

These are all the non-default lines in the default dosemu.conf file:

=======================
  $_hdimage = "freedos"
  $_xms = (16384)
  $_ems = (8192)
  $_ipxsupport = (on)
=======================

So then I thought I would try the Packet Driver approach (pdether 1.05).
Using the packet driver, I can execute my startnet.bat script that looks like
this:

=======================
  LOADHI C:\NWCLIENT\LSL /c=C:\NWCLIENT\net.cfg
  LOADHI C:\NWCLIENT\PDETHER.EXE
  LOADHI C:\NWCLIENT\IPXODI.COM
  VLM /MC /V4 > vlm_debug
=======================

VLM crashes dosemu, with a very similar error as the 'login.exe' application
above:

=======================
using stderr for debug-output
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/dosemu.conf
CONF: closed include file /etc/dosemu/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: 16384k bytes XMS memory
CONF: 8192k bytes EMS memory
CONF: EMS-frame = 0xe000
CONF: DPMI-Server on
CONF: dosemu running on _terminal
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 enabled.
device: /var/lib/dosemu/freedos 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.4.24
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
major = 136 minor = 3
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 $
Slang:S-Lang Error: Inconsistency in define key.
Slang:S-Lang Error: Inconsistency in define key.
CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
TIME: using 9154 usec for updating ALRM timer
ERROR: general protection at 0x242df: 0
ERROR: general protection at 0x242df: 0
Program=do_vm86.c, Line=348
EIP: 142e:0000ffff ESP: 8a73:0000355e  VFLAGS(b): 00000 00110010 00010010
EAX: 0000000f EBX: 0000000e ECX: 0000cc17 EDX: 00000008 VFLAGS(h): 00003212
ESI: 000033e9 EDI: 00000417 EBP: 0000000f DS: 137b ES: 13e9 FS: 0000 GS: 0000
FLAGS: AF IF RF VM VIF  IOPL: 3
STACK: 01 01 06 04 6e 35 46 32 da 33 -> 00 00 6e 35 73 8a 23 04 73 8a
OPS  : 00 00 00 00 00 00 00 00 00 00 -> 00 00 00 00 00 00 00 00 00 00
  0000                142e:ffff add     [bx+si],al
00| 0070:0037->000737   01| 0070:0000->000700   02| f000:0020->0f0020
03| 0070:0000->000700   04| f000:0040->0f0040   05| f000:0050->0f0050
06| 0070:003f->00073f   07| f000:0070->0f0070   08| c01a:0cb9->0c0e59
09| 0070:01f2->0008f2   0a| 0070:01f8->0008f8   0b| 0070:01fe->0008fe
0c| 0070:0204->000904   0d| 0070:020a->00090a   0e| 0070:0210->000910
0f| 0070:0216->000916   10| 0ecb:0170->00ee20   11| f000:0110->0f0110
12| f000:0120->0f0120   13| f000:0130->0f0130   14| f000:0140->0f0140
15| f000:0150->0f0150   16| f800:3500->0fb500   17| f000:0170->0f0170
18| f000:0180->0f0180   19| f000:0190->0f0190   1a| f000:01a0->0f01a0
1b| 0070:028e->00098e   1c| f000:01c0->0f01c0   1d| f000:01d0->0f01d0
1e| 00db:0f59->001d09   1f| f000:01f0->0f01f0   20| 0070:000f->00070f
21| 0070:0017->000717   22| 0344:0382->0037c2   23| 8a73:074b->08ae7b
24| 0344:0304->003744   25| 0070:001f->00071f   26| 0070:0027->000727
27| 0070:002f->00072f   28| 0ecb:011a->00edca   29| 0070:0166->000866
2a| 0070:0000->000700   2b| 0070:0000->000700   2c| 0070:0000->000700
2d| 0070:0000->000700   2e| 0070:0000->000700   2f| 07ab:0000->007ab0
30| 0070:0000->000700   31| 0070:0000->000700   32| 0070:0000->000700
33| f000:0330->0f0330   34| 0070:0000->000700   35| 0070:0000->000700
leavedos(4|0x4) called - shutting down
SPEAKER: sound off
calling SIG_close
calling keyboard_close
00| 0070:0037->000737   01| 0070:0000->000700   02| f000:0020->0f0020
03| 0070:0000->000700   04| f000:0040->0f0040   05| f000:0050->0f0050
06| 0070:003f->00073f   07| f000:0070->0f0070   08| c01a:0cb9->0c0e59
09| 0070:01f2->0008f2   0a| 0070:01f8->0008f8   0b| 0070:01fe->0008fe
0c| 0070:0204->000904   0d| 0070:020a->00090a   0e| 0070:0210->000910
0f| 0070:0216->000916   10| 0ecb:0170->00ee20   11| f000:0110->0f0110
12| f000:0120->0f0120   13| f000:0130->0f0130   14| f000:0140->0f0140
15| f000:0150->0f0150   16| f800:3500->0fb500   17| f000:0170->0f0170
18| f000:0180->0f0180   19| f000:0190->0f0190   1a| f000:01a0->0f01a0
1b| 0070:028e->00098e   1c| f000:01c0->0f01c0   1d| f000:01d0->0f01d0
1e| 00db:0f59->001d09   1f| f000:01f0->0f01f0   20| 0070:000f->00070f
21| 0070:0017->000717   22| 0344:0382->0037c2   23| 8a73:074b->08ae7b
24| 0344:0304->003744   25| 0070:001f->00071f   26| 0070:0027->000727
27| 0070:002f->00072f   28| 0ecb:011a->00edca   29| 0070:0166->000866
2a| 0070:0000->000700   2b| 0070:0000->000700   2c| 0070:0000->000700
2d| 0070:0000->000700   2e| 0070:0000->000700   2f| 07ab:0000->007ab0
30| 0070:0000->000700   31| 0070:0000->000700   32| 0070:0000->000700
33| f000:0330->0f0330   34| 0070:0000->000700   35| 0070:0000->000700
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
=======================

The VLM output is:

=======================
VLM.EXE      - NetWare virtual loadable module manager  v1.21 (960514)
(C) Copyright 1993 - 1996 Novell, Inc.  All Rights Reserved.
Patent pending.
Patent No. 5,349,642.
SET STATION TIME ON
VLM AUTO.VLM

The VLM.EXE file is pre-initializing the VLMs...............
The VLM.EXE file is using conventional memory.
CONN.VLM     - NetWare connection table manager  v1.21 (960514)
IPXNCP.VLM   - NetWare IPX transport module  v1.21 (960514)
TRAN.VLM     - NetWare transport multiplexor module  v1.21 (960514)
SECURITY.VLM - NetWare security enhancement module  v1.21 (960514)
NDS.VLM      - NetWare directory services protocol module  v1.21 (960514)
BIND.VLM     - NetWare bindery protocol module  v1.21 (960514)
PREFERRED SERVER SERV1
PNW.VLM      - Personal NetWare protocol module  v1.21 (960514)
NWP.VLM    - NetWare DOS Requestor NetWare protocol module  v1.21 (960514)
FIO.VLM      - NetWare file input-output module  v1.21 (960514)
GENERAL.VLM  - NetWare general purpose function module v1.21 (960514)
FIRST NETWORK DRIVE I
=======================

My net.cfg file looks like this:

=======================
Link Support
  Buffers 4 1514
  MemPool 2048

Link Driver PDETHER
  Int 60
  FRAME Ethernet_II
  USE DEFAULTS=OFF
  VLM=CONN.VLM
  VLM=IPXNCP.VLM
  VLM=TRAN.VLM
  VLM=SECURITY.VLM
  VLM=NDS.VLM
  VLM=NWP.VLM
  VLM=FIO.VLM
  VLM=BIND.VLM
  VLM=PRINT.VLM
  VLM=GENERAL.VLM
  VLM=REDIR.VLM
  VLM=NETX.VLM

NetWare DOS Requester
  FIRST NETWORK DRIVE   = I
  NETWORK PROTOCOL      = BIND
  SHOW DOTS             = ON
  SET STATION TIME      = ON
  PREFERRED SERVER      = SERV1
  FILE HANDLES          = 40
  LOCAL PRINTERS        = 1
  VLM                   = AUTO.VLM
=======================

And this are the non-default settings in dosemu.conf for this configuration:

=======================
  $_hdimage = "freedos"
  $_xms = (16384)
  $_ems = (8192)
  $_pktdriver = (on)
  $_novell_hack = (on)
  $_netdev = "eth1"
  $_vnet = ""
=======================

I would be most grateful for any clues to solve my problem...

Bye for now,
Ward.

-- 
Pong.be         -(  "Just wait,  My crystal ball is infallible." -- Linus  )-
Virtual hosting -( Torvalds, discussing the future of smart I/O hardware.  )-
http://pong.be  -(                                                         )-
GnuPG public key: http://gpg.dtype.org

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

* Re: general protection error (Program=do_vm86.c, Line=348)
  2004-02-19 11:18 general protection error (Program=do_vm86.c, Line=348) Ward Vandewege
@ 2004-02-19 11:36 ` Grigory Batalov
  2004-02-19 16:14 ` Nicolai Kuntze
  1 sibling, 0 replies; 5+ messages in thread
From: Grigory Batalov @ 2004-02-19 11:36 UTC (permalink / raw)
  To: linux-msdos

On Thu, 19 Feb 2004 12:18:59 +0100
Ward Vandewege <ward@pong.be> wrote:

> I have been playing with Dosemu/Freedos to get an old DOS/Novell application
> to work on a linux box.
> 
> Here's my setup:
> 
> Novell 3.11 with 802.3 frametype (I know, it's ancient)
> Linux kernel 2.4.24 (Debian testing/unstable)
> Dosemu 1.2.0-2 from debian package
> Freedos b8p-3 (dosemu-freedos debian package)
> 
> I can connect to the Novell server just fine through ncpmount; copy data off,
> etc.
> 
> I've tried the Direct-IPX approach from the Novell HOWTO, which works - kind
> of. I can load EMSNETX or NETX just fine, and then the Novell share is
> accessible through the I drive. However, executing 'login' will crash dosemu
> after providing login/password.

...

> I would be most grateful for any clues to solve my problem...

  Did you ever try DR-DOS 7.03?
  I use it for executing "netadmin" on the IPX network.

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

* Re: general protection error (Program=do_vm86.c, Line=348)
  2004-02-19 11:18 general protection error (Program=do_vm86.c, Line=348) Ward Vandewege
  2004-02-19 11:36 ` Grigory Batalov
@ 2004-02-19 16:14 ` Nicolai Kuntze
  2004-02-19 18:38   ` Ged Haywood
  1 sibling, 1 reply; 5+ messages in thread
From: Nicolai Kuntze @ 2004-02-19 16:14 UTC (permalink / raw)
  To: Ward Vandewege; +Cc: linux-msdos

I am using DOS 3.3 with netx and its working well. Freedos has an known bug and DOS 6 is a little bit unstable.

Nicolai

Am Do 19.02.2004 12:18, Ward Vandewege <ward@pong.be> schrieb:

> Hi there,
> 
> I have been playing with Dosemu/Freedos to get an old DOS/Novell application
> to work on a linux box.
> 
> Here's my setup:
> 
> Novell 3.11 with 802.3 frametype (I know, it's ancient)
> Linux kernel 2.4.24 (Debian testing/unstable)
> Dosemu 1.2.0-2 from debian package
> Freedos b8p-3 (dosemu-freedos debian package)
> 
> I can connect to the Novell server just fine through ncpmount; copy data off,
> etc.
> 
> I've tried the Direct-IPX approach from the Novell HOWTO, which works - kind
> of. I can load EMSNETX or NETX just fine, and then the Novell share is
> accessible through the I drive. However, executing 'login' will crash dosemu
> after providing login/password. Here is the debug output from dosemu:
> 
> =======================
> using stderr for debug-output
> 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/dosemu.conf
> CONF: closed include file /etc/dosemu/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: 16384k bytes XMS memory
> CONF: 8192k bytes EMS memory
> CONF: EMS-frame = 0xe000 
> CONF: DPMI-Server on
> CONF: dosemu running on _terminal
> 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 on
> 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/freedos 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.4.24
> CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
> CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
> major = 136 minor = 3
> 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 $
> Slang:S-Lang Error: Inconsistency in define key.
> Slang:S-Lang Error: Inconsistency in define key.
> CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
> TIME: using 9154 usec for updating ALRM timer
> SIGILL while in vm86()
> ERROR: general protection at 0x603cf: 0
> ERROR: general protection at 0x603cf: 0
> Program=do_vm86.c, Line=348
> EIP: 503d:0000ffff ESP: 192c:00009216  VFLAGS(b): 00000 00111000 00000111
> EAX: 00000686 EBX: 00000000 ECX: 00000686 EDX: 0000192c VFLAGS(h): 00003807
> ESI: 0000292d EDI: 00006320 EBP: 00001860 DS: 19e1 ES: 292d FS: 0000 GS: 0000
> FLAGS: CF PF OF RF VM  IOPL: 3
> STACK: 69 0f 20 92 dd 3f 69 0f 00 00 -> a7 33 00 00 06 30 86 06 3a 3b
> OPS  : 00 00 00 00 00 00 00 00 00 00 -> 00 00 00 00 00 00 00 00 00 00
>   0000                503d:ffff add     [bx+si],al
> 00| 0f69:0a76->010106   01| 5359:5300->058890   02| 4c4f:565f->051b4f
> 03| 5359:533d->0588cd   04| 5250:003a->05253a   05| 565f:474f->05ad3f
> 06| 503d:4c4f->05501f   07| 3a47:4f52->03f3c2   08| 4553:5500->04aa30
> 09| 4f56:5f52->0554b2   0a| 5355:3d4c->05729c   0b| 003a:5245->0055e5
> 0c| 445f:4f46->049536   0d| 4556:4952->049eb2   0e| 003a:473d->004add
> 0f| 5441:5045->059455   10| 3a47:3d48->03e1b8   11| 4449:465c->048aec
> 12| 4f49:4c45->0540d5   13| 5f4f:465c->063b4c   14| 4154:4144->045684
> 15| 4d4f:4800->051cf0   16| 5244:5f45->058385   17| 3d45:5649->042a99
> 18| 5300:3a48->056a48   19| 5244:5f43->058383   1a| 3d45:5649->042a99
> 1b| 4600:3a49->049a49   1c| 5244:5f42->058382   1d| 3d45:5649->042a99
> 1e| 4500:3a4a->048a4a   1f| 5244:5f4d->05838d   20| 3d45:5649->042a99
> 21| 0000:3a4b->003a4b   22| 0344:0382->0037c2   23| 0f69:2d1b->0123ab
> 24| 0344:0304->003744   25| 0070:001f->00071f   26| 0070:0027->000727
> 27| 0423:0cc3->004ef3   28| 0070:0000->000700   29| 0070:0166->000866
> 2a| 0070:0000->000700   2b| 0070:0000->000700   2c| 0070:0000->000700
> 2d| 0070:0000->000700   2e| 0070:0000->000700   2f| 0423:100b->00523b
> 30| 0070:0000->000700   31| 0070:0000->000700   32| 0070:0000->000700
> 33| f000:0330->0f0330   34| 0070:0000->000700   35| 0070:0000->000700
> leavedos(4|0x4) called - shutting down
> SPEAKER: sound off
> calling SIG_close
> calling keyboard_close
> 00| 0f69:0a76->010106   01| 5359:5300->058890   02| 4c4f:565f->051b4f
> 03| 5359:533d->0588cd   04| 5250:003a->05253a   05| 565f:474f->05ad3f
> 06| 503d:4c4f->05501f   07| 3a47:4f52->03f3c2   08| 4553:5500->04aa30
> 09| 4f56:5f52->0554b2   0a| 5355:3d4c->05729c   0b| 003a:5245->0055e5
> 0c| 445f:4f46->049536   0d| 4556:4952->049eb2   0e| 003a:473d->004add
> 0f| 5441:5045->059455   10| 3a47:3d48->03e1b8   11| 4449:465c->048aec
> 12| 4f49:4c45->0540d5   13| 5f4f:465c->063b4c   14| 4154:4144->045684
> 15| 4d4f:4800->051cf0   16| 5244:5f45->058385   17| 3d45:5649->042a99
> 18| 5300:3a48->056a48   19| 5244:5f43->058383   1a| 3d45:5649->042a99
> 1b| 4600:3a49->049a49   1c| 5244:5f42->058382   1d| 3d45:5649->042a99
> 1e| 4500:3a4a->048a4a   1f| 5244:5f4d->05838d   20| 3d45:5649->042a99
> 21| 0000:3a4b->003a4b   22| 0344:0382->0037c2   23| 0f69:2d1b->0123ab
> 24| 0344:0304->003744   25| 0070:001f->00071f   26| 0070:0027->000727
> 27| 0423:0cc3->004ef3   28| 0070:0000->000700   29| 0070:0166->000866
> 2a| 0070:0000->000700   2b| 0070:0000->000700   2c| 0070:0000->000700
> 2d| 0070:0000->000700   2e| 0070:0000->000700   2f| 0423:100b->00523b
> 30| 0070:0000->000700   31| 0070:0000->000700   32| 0070:0000->000700
> 33| f000:0330->0f0330   34| 0070:0000->000700   35| 0070:0000->000700
> 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
> =======================
> 
> These are all the non-default lines in the default dosemu.conf file:
> 
> =======================
>   $_hdimage = "freedos"
>   $_xms = (16384)
>   $_ems = (8192)
>   $_ipxsupport = (on)
> =======================
> 
> So then I thought I would try the Packet Driver approach (pdether 1.05).
> Using the packet driver, I can execute my startnet.bat script that looks like
> this:
> 
> =======================
>   LOADHI C:\NWCLIENT\LSL /c=C:\NWCLIENT\net.cfg
>   LOADHI C:\NWCLIENT\PDETHER.EXE
>   LOADHI C:\NWCLIENT\IPXODI.COM
>   VLM /MC /V4 > vlm_debug
> =======================
> 
> VLM crashes dosemu, with a very similar error as the 'login.exe' application
> above:
> 
> =======================
> using stderr for debug-output
> 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/dosemu.conf
> CONF: closed include file /etc/dosemu/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: 16384k bytes XMS memory
> CONF: 8192k bytes EMS memory
> CONF: EMS-frame = 0xe000
> CONF: DPMI-Server on
> CONF: dosemu running on _terminal
> 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 enabled.
> device: /var/lib/dosemu/freedos 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.4.24
> CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
> CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
> major = 136 minor = 3
> 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 $
> Slang:S-Lang Error: Inconsistency in define key.
> Slang:S-Lang Error: Inconsistency in define key.
> CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
> TIME: using 9154 usec for updating ALRM timer
> ERROR: general protection at 0x242df: 0
> ERROR: general protection at 0x242df: 0
> Program=do_vm86.c, Line=348
> EIP: 142e:0000ffff ESP: 8a73:0000355e  VFLAGS(b): 00000 00110010 00010010
> EAX: 0000000f EBX: 0000000e ECX: 0000cc17 EDX: 00000008 VFLAGS(h): 00003212
> ESI: 000033e9 EDI: 00000417 EBP: 0000000f DS: 137b ES: 13e9 FS: 0000 GS: 0000
> FLAGS: AF IF RF VM VIF  IOPL: 3
> STACK: 01 01 06 04 6e 35 46 32 da 33 -> 00 00 6e 35 73 8a 23 04 73 8a
> OPS  : 00 00 00 00 00 00 00 00 00 00 -> 00 00 00 00 00 00 00 00 00 00
>   0000                142e:ffff add     [bx+si],al
> 00| 0070:0037->000737   01| 0070:0000->000700   02| f000:0020->0f0020
> 03| 0070:0000->000700   04| f000:0040->0f0040   05| f000:0050->0f0050
> 06| 0070:003f->00073f   07| f000:0070->0f0070   08| c01a:0cb9->0c0e59
> 09| 0070:01f2->0008f2   0a| 0070:01f8->0008f8   0b| 0070:01fe->0008fe
> 0c| 0070:0204->000904   0d| 0070:020a->00090a   0e| 0070:0210->000910
> 0f| 0070:0216->000916   10| 0ecb:0170->00ee20   11| f000:0110->0f0110
> 12| f000:0120->0f0120   13| f000:0130->0f0130   14| f000:0140->0f0140
> 15| f000:0150->0f0150   16| f800:3500->0fb500   17| f000:0170->0f0170
> 18| f000:0180->0f0180   19| f000:0190->0f0190   1a| f000:01a0->0f01a0
> 1b| 0070:028e->00098e   1c| f000:01c0->0f01c0   1d| f000:01d0->0f01d0
> 1e| 00db:0f59->001d09   1f| f000:01f0->0f01f0   20| 0070:000f->00070f
> 21| 0070:0017->000717   22| 0344:0382->0037c2   23| 8a73:074b->08ae7b
> 24| 0344:0304->003744   25| 0070:001f->00071f   26| 0070:0027->000727
> 27| 0070:002f->00072f   28| 0ecb:011a->00edca   29| 0070:0166->000866
> 2a| 0070:0000->000700   2b| 0070:0000->000700   2c| 0070:0000->000700
> 2d| 0070:0000->000700   2e| 0070:0000->000700   2f| 07ab:0000->007ab0
> 30| 0070:0000->000700   31| 0070:0000->000700   32| 0070:0000->000700
> 33| f000:0330->0f0330   34| 0070:0000->000700   35| 0070:0000->000700
> leavedos(4|0x4) called - shutting down
> SPEAKER: sound off
> calling SIG_close
> calling keyboard_close
> 00| 0070:0037->000737   01| 0070:0000->000700   02| f000:0020->0f0020
> 03| 0070:0000->000700   04| f000:0040->0f0040   05| f000:0050->0f0050
> 06| 0070:003f->00073f   07| f000:0070->0f0070   08| c01a:0cb9->0c0e59
> 09| 0070:01f2->0008f2   0a| 0070:01f8->0008f8   0b| 0070:01fe->0008fe
> 0c| 0070:0204->000904   0d| 0070:020a->00090a   0e| 0070:0210->000910
> 0f| 0070:0216->000916   10| 0ecb:0170->00ee20   11| f000:0110->0f0110
> 12| f000:0120->0f0120   13| f000:0130->0f0130   14| f000:0140->0f0140
> 15| f000:0150->0f0150   16| f800:3500->0fb500   17| f000:0170->0f0170
> 18| f000:0180->0f0180   19| f000:0190->0f0190   1a| f000:01a0->0f01a0
> 1b| 0070:028e->00098e   1c| f000:01c0->0f01c0   1d| f000:01d0->0f01d0
> 1e| 00db:0f59->001d09   1f| f000:01f0->0f01f0   20| 0070:000f->00070f
> 21| 0070:0017->000717   22| 0344:0382->0037c2   23| 8a73:074b->08ae7b
> 24| 0344:0304->003744   25| 0070:001f->00071f   26| 0070:0027->000727
> 27| 0070:002f->00072f   28| 0ecb:011a->00edca   29| 0070:0166->000866
> 2a| 0070:0000->000700   2b| 0070:0000->000700   2c| 0070:0000->000700
> 2d| 0070:0000->000700   2e| 0070:0000->000700   2f| 07ab:0000->007ab0
> 30| 0070:0000->000700   31| 0070:0000->000700   32| 0070:0000->000700
> 33| f000:0330->0f0330   34| 0070:0000->000700   35| 0070:0000->000700
> 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
> =======================
> 
> The VLM output is:
> 
> =======================
> VLM.EXE      - NetWare virtual loadable module manager  v1.21 (960514)
> (C) Copyright 1993 - 1996 Novell, Inc.  All Rights Reserved.
> Patent pending.
> Patent No. 5,349,642.
> SET STATION TIME ON
> VLM AUTO.VLM
> 
> The VLM.EXE file is pre-initializing the VLMs...............
> The VLM.EXE file is using conventional memory.
> CONN.VLM     - NetWare connection table manager  v1.21 (960514)
> IPXNCP.VLM   - NetWare IPX transport module  v1.21 (960514)
> TRAN.VLM     - NetWare transport multiplexor module  v1.21 (960514)
> SECURITY.VLM - NetWare security enhancement module  v1.21 (960514)
> NDS.VLM      - NetWare directory services protocol module  v1.21 (960514)
> BIND.VLM     - NetWare bindery protocol module  v1.21 (960514)
> PREFERRED SERVER SERV1
> PNW.VLM      - Personal NetWare protocol module  v1.21 (960514)
> NWP.VLM    - NetWare DOS Requestor NetWare protocol module  v1.21 (960514)
> FIO.VLM      - NetWare file input-output module  v1.21 (960514)
> GENERAL.VLM  - NetWare general purpose function module v1.21 (960514)
> FIRST NETWORK DRIVE I
> =======================
> 
> My net.cfg file looks like this:
> 
> =======================
> Link Support
>   Buffers 4 1514
>   MemPool 2048
> 
> Link Driver PDETHER
>   Int 60
>   FRAME Ethernet_II
>   USE DEFAULTS=OFF
>   VLM=CONN.VLM
>   VLM=IPXNCP.VLM
>   VLM=TRAN.VLM
>   VLM=SECURITY.VLM
>   VLM=NDS.VLM
>   VLM=NWP.VLM
>   VLM=FIO.VLM
>   VLM=BIND.VLM
>   VLM=PRINT.VLM
>   VLM=GENERAL.VLM
>   VLM=REDIR.VLM
>   VLM=NETX.VLM
> 
> NetWare DOS Requester
>   FIRST NETWORK DRIVE   = I
>   NETWORK PROTOCOL      = BIND
>   SHOW DOTS             = ON
>   SET STATION TIME      = ON
>   PREFERRED SERVER      = SERV1
>   FILE HANDLES          = 40
>   LOCAL PRINTERS        = 1
>   VLM                   = AUTO.VLM
> =======================
> 
> And this are the non-default settings in dosemu.conf for this configuration:
> 
> =======================
>   $_hdimage = "freedos"
>   $_xms = (16384)
>   $_ems = (8192)
>   $_pktdriver = (on)
>   $_novell_hack = (on)
>   $_netdev = "eth1"
>   $_vnet = ""
> =======================
> 
> I would be most grateful for any clues to solve my problem...
> 
> Bye for now,
> Ward.
> 
> -- 
> Pong.be         -(  "Just wait,  My crystal ball is infallible." -- Linus  )-
> Virtual hosting -( Torvalds, discussing the future of smart I/O hardware.  )-
> http://pong.be  -(                                                         )-
> GnuPG public key: http://gpg.dtype.org
> -
> 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
> 
> ---- 
> Diese Nachricht wurde auf Viren und andere gefaehrliche Inhalte sowie Spam untersucht.
> 
> 



---- 
Diese Nachricht wurde auf Viren und andere gefaehrliche Inhalte sowie Spam untersucht.



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

* Re: general protection error (Program=do_vm86.c, Line=348)
  2004-02-19 16:14 ` Nicolai Kuntze
@ 2004-02-19 18:38   ` Ged Haywood
  2004-02-22 14:44     ` Nicolai Kuntze
  0 siblings, 1 reply; 5+ messages in thread
From: Ged Haywood @ 2004-02-19 18:38 UTC (permalink / raw)
  To: Nicolai Kuntze; +Cc: Ward Vandewege, linux-msdos

Hello there,

On Thu, 19 Feb 2004, Nicolai Kuntze wrote:

> I am using DOS 3.3 with netx and its working well. Freedos has an
> known bug and DOS 6 is a little bit unstable.

What problems have you had with DOS6?

73,
Ged.


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

* Re: general protection error (Program=do_vm86.c, Line=348)
  2004-02-19 18:38   ` Ged Haywood
@ 2004-02-22 14:44     ` Nicolai Kuntze
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolai Kuntze @ 2004-02-22 14:44 UTC (permalink / raw)
  To: Ged Haywood; +Cc: Ward Vandewege, linux-msdos

Am Do 19.02.2004 19:38, Ged Haywood <ged@www2.jubileegroup.co.uk> schrieb:

> Hello there,
> 
> On Thu, 19 Feb 2004, Nicolai Kuntze wrote:
> 
> > I am using DOS 3.3 with netx and its working well. Freedos has an
> > known bug and DOS 6 is a little bit unstable.
> 
> What problems have you had with DOS6?
> 
> 73,
> Ged.

Nothing special dosemu related. Just a little problem running netx.com under DOS 6. This was at no time very stable and not sugested. But under dosemu I have to use netx and have not figured out how to use lsl in th box yet. If you can give me a working configuration, I will be glad to get one.

Nicolai


---- 
Diese Nachricht wurde auf Viren und andere gefaehrliche Inhalte sowie Spam untersucht.



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

end of thread, other threads:[~2004-02-22 14:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-19 11:18 general protection error (Program=do_vm86.c, Line=348) Ward Vandewege
2004-02-19 11:36 ` Grigory Batalov
2004-02-19 16:14 ` Nicolai Kuntze
2004-02-19 18:38   ` Ged Haywood
2004-02-22 14:44     ` Nicolai Kuntze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox