Dosemu Crash

2002-03-20 Thread Dosemu List

Hi !

A big problem for me...
I use dosemu-1.0.2.1 from Debian...really nice product !
I do a  remote novell server connection by SSH with this solution and I print some 
document in local. 
Sometimes ( random but often !) I have a crash with this sort of message :

Mar 19 15:09:25 costes kernel: IPX: bound socket 0x400C.
Mar 19 15:14:47 costes kernel: invalid operand: 
Mar 19 15:14:47 costes kernel: CPU:0
Mar 19 15:14:47 costes kernel: EIP:0008:[agp_frontend_cleanup+71/424]Not 
tainted
Mar 19 15:14:47 costes kernel: EFLAGS: 00030282
Mar 19 15:14:47 costes kernel: eax: c48f   ebx: a7d3   ecx: 0002   edx: 
ffdb
Mar 19 15:14:47 costes kernel: esi: 026b   edi: a7d4   ebp: a25a   esp: 
c5409f34
Mar 19 15:14:47 costes kernel: ds:    es:    ss: 0018
Mar 19 15:14:47 costes kernel: Process dosemu.bin (pid: 2138, stackpage=c5409000)
Mar 19 15:14:47 costes kernel: Stack:  0002 490c   
   
Mar 19 15:14:47 costes kernel:0005  8118   
   
Mar 19 15:14:47 costes kernel:00c0  1000   
   
Mar 19 15:14:47 costes kernel: Call Trace: [system_call+51/56] 
Mar 19 15:14:47 costes kernel: 
Mar 19 15:14:47 costes kernel: Code:  Bad EIP value.

OR
ERROR: unexpected CPU exception 0x06 errorcode: 0x while in vm86 (DOS)2
Program=sigsegv.c, Line=183¿EIP: 
000a:0a58 ESP: 162c:bbed  VFLAGS(b): 0 0010 00010010rtie  ³EAX: 
4d1c EBX: 000a ECX: 0009 EDX: 3337 VFLAGS(h): 0212ÙESI: 
ae7a EDI: c72b EBP: 7fff DS: 0216 ES: 000d FS:  GS: 
FLAGS: AF IF RF VM VIF  IOPL: 0
STACK: 84 04 0a 00 16 0a 0a 00 0a 00 - 40 0d 29 c7 78 ae 00 80 ff bb 
OPS  : 00 00 00 00 00 00 00 00 00 00 - ff ff ff ff ff 4e 4f 20 4e 41 
000a:0a58 ??? di

My debian is a woody with 2.4.18xfs and 2.4.17xfs. 
My processor 
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 8
model name  : Pentium III (Coppermine)
stepping: 10
cpu MHz : 999.764
cache size  : 256 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 2
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36 mmx fxsr sse
bogomips: 1992.29


Could you help me !

Thanx in advance.

Lionel




-
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



DOSEMU Instrument Control

2002-03-20 Thread Ken Rutledge

Help!!

We have an instrument that uses bidirectional EPP under dos/windows.

We feel our lives would be simplified if we could replace the windows OS

wirh LINUX.  Our instrument is a spectrophotometer, with DOS graphics.

Graphics launch when we try, but it seems the parallel port is not

interacting with the instrument.

Can anyone offer suggestions?  Are we asking to much from DOSEMU?  If not,

what guidance can you offer to get these units talking?

Thank you,

Ken

cc: Ken H.

--
+
+  Ken Rutledge  Analytical Services  Materials, Inc.  +
+  NASA Langley Research Center  Suite 300, One Enterprise Parkway  +
+  Atmos. Sci. CompetencyHampton, VA 23666-5845 +
+---+
+ PH:(757)827-4643 FAX:(757)825-8659 e-mail:[EMAIL PROTECTED]  +
+---+
+ CERES Surface / Airborne Radiation Measurement and Calibration Group  +
+http://www-svg.larc.nasa.gov/  +
+



-
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



Re: Printing Problem

2002-03-20 Thread Suporte

Hi Bart,

What can modify in the file src/base/dev/misc/lpt.c to resolve my
problem?

Problem:

The Dosemu starts to send the report for the spool of Linux(lpt1) before
the application finishes to generate the report, with this, the report
is printed in parts without control.

How to leave printer_timeout infinite? ==  This resolve?

---
Thank!
It forgives English.
Flavio Souza

-
Bart Oldeman wrote:

 On Tue, 12 Mar 2002, Suporte wrote:

  What I can modify in source of dosemu to resolve this problem?

 src/base/dev/misc/lpt.c

 Bart

 P.S. it does not help to send to the list AND dosemu-bugs AND me
 directly. This just gives three identical messages in my mail box.

-
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



Re: DOSEMU Instrument Control

2002-03-20 Thread Justin Zygmont

you didnt mention if you set the variable for the parallel port or
anything like that, also what version of dosemu, linux, etc?



On Wed, 20 Mar 2002, Ken Rutledge wrote:

 Help!!

 We have an instrument that uses bidirectional EPP under dos/windows.

 We feel our lives would be simplified if we could replace the windows OS

 wirh LINUX.  Our instrument is a spectrophotometer, with DOS graphics.

 Graphics launch when we try, but it seems the parallel port is not

 interacting with the instrument.

 Can anyone offer suggestions?  Are we asking to much from DOSEMU?  If not,

 what guidance can you offer to get these units talking?

 Thank you,

 Ken

 cc: Ken H.

 --
 +
 +  Ken Rutledge  Analytical Services  Materials, Inc.  +
 +  NASA Langley Research Center  Suite 300, One Enterprise Parkway  +
 +  Atmos. Sci. CompetencyHampton, VA 23666-5845 +
 +---+
 + PH:(757)827-4643 FAX:(757)825-8659 e-mail:[EMAIL PROTECTED]  +
 +---+
 + CERES Surface / Airborne Radiation Measurement and Calibration Group  +
 +http://www-svg.larc.nasa.gov/  +
 +



 -
 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


-
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



Re: DOSEMU Instrument Control

2002-03-20 Thread Ken Rutledge


 
 I am following up my earlier post with some clarifications.
 
 First the earlier post:
 
 We have an instrument that uses bidirectional EPP under dos/windows.
 We feel our lives would be simplified if we could replace the windows OS
 with LINUX.  Our instrument is a spectrophotometer, with DOS graphics.
 Graphics launch when we try, but it seems the parallel port is not
 interacting with the instrument.
 Can anyone offer suggestions?  Are we asking to much from DOSEMU?  If not,
 what guidance can you offer to get these units talking?



 Now clarifications:
  
DOSemu version is 1.0.2.

Linux version is Red Hat 7.2.

We are running a DOS executable. We have no source code for controlling this 
instrument.

The parallel port needs SPP not bidirectional EPP as I mentioned originally.

Thank you.

 
 

+
+  Ken Rutledge  Analytical Services  Materials, Inc.  +
+  NASA Langley Research Center  Suite 300, One Enterprise Parkway  +
+  Atmos. Sci. CompetencyHampton, VA 23666-5845 +
+---+
+ PH:(757)827-4643 FAX:(757)825-8659 e-mail:[EMAIL PROTECTED]  +
+---+
+ CERES Surface / Airborne Radiation Measurement and Calibration Group  +
+http://www-svg.larc.nasa.gov/  +
+

-
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



Re: DOSEMU Instrument Control

2002-03-20 Thread Bart Oldeman

On Wed, 20 Mar 2002, Ken Rutledge wrote:

  We have an instrument that uses bidirectional EPP under dos/windows.
  We feel our lives would be simplified if we could replace the windows OS
  with LINUX.  Our instrument is a spectrophotometer, with DOS graphics.
  Graphics launch when we try, but it seems the parallel port is not
  interacting with the instrument.
  Can anyone offer suggestions?  Are we asking to much from DOSEMU?  If not,
  what guidance can you offer to get these units talking?
 
 
 
  Now clarifications:
   
 DOSemu version is 1.0.2.
 
 Linux version is Red Hat 7.2.
 
 We are running a DOS executable. We have no source code for controlling this 
 instrument.
 
 The parallel port needs SPP not bidirectional EPP as I mentioned originally.

you could try running dosemu as root and putting the relevant port numbers
in $_ports in dosemu.conf

From the dosemu-howto:
4.8. How can I get the parallel ports to work?

   The dosemu.conf has lines at the end to redirect printers to either
   lpr or a file. If you want direct access to the bare metal, comment
   out these emulation lines, and add the line
$_ports { device /dev/lp0 fast range 0x3bc 0x3bf  } # lpt0

   for the monitor card printer port (corresponds to /dev/lp0), or
$_ports { device /dev/lp1 fast range 0x378 0x37f } # lpt1

   or
$_ports { device /dev/lp1 fast range 0x278 0x27f } # lpt2

   for LPT1 (/dev/lp1) or LPT2 (/dev/lp2) respectively(97/2/9).

   Hans Lermen ([EMAIL PROTECTED]) writes:

   But NOTE: these lines should not be _added_ simply, the string should
   be concatenated such as:
$_ports = 
$_ports = $_ports,  device /dev/lp0 fast range 0x3bc 0x3bf
=
This blank is important

Though this would not normally be a good idea security-wise, if it is a
stand-alone box it should not be a big deal.

If running dosemu as root you might need to copy
dosemu.conf to /etc/dosemu.conf
global.conf to /var/lib/dosemu/global.conf

Bart

-
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



Re: Printing Problem

2002-03-20 Thread Bart Oldeman

On Wed, 20 Mar 2002, Suporte wrote:

 What can modify in the file src/base/dev/misc/lpt.c to resolve my
 problem?
 
 Problem:
 
 The Dosemu starts to send the report for the spool of Linux(lpt1) before
 the application finishes to generate the report, with this, the report
 is printed in parts without control.
 
 How to leave printer_timeout infinite? ==  This resolve?

You should play with that value. In general, dosemu sends a file for
spooling timeout seconds after a write. If the DOS app waits longer
between any two characters you should make this value higher.

A very high value would mean that you'd have to wait infinitely long until
printing starts :-)

If that doesn't help then you could generate debug output with dosemu
options -D+p to investigate further.

Bart

-
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



Ultima Underworld

2002-03-20 Thread Jp Calderone

Anyone gotten Ultima Underworld to work properly w/ DOSEMU?
I can get it running, but moving the mouse corrupts the display
and the inventory and stats display portions of the screen don't
get drawn at all.  Running XFree86 4.2 w/ a TNT2 and NVidia's
driver, if that matters.

  Thanks in advance,
Jp

--
  9:21pm up 32 days, 21:42, 1 user, load average: 1.66, 1.90, 1.91

-
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



RE: NetWare dosemu: fate of ipxutils?

2002-03-20 Thread David Milligan


We use dosemu to connect to Netware servers. In board terms we :-

1   Use ipx_interface to start ipx networking
2   Edit the dosemu.conf for ipx support
3   Start dosemu
4   run VLM.EXE and connect to the server

This gives us true IPX access to Netware but alas no SPX (needed for
rconsole, btrieve etc).

Regards,

David

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]]On Behalf Of Alleman, Lowell
 Sent: Thursday, 21 March 2002 13:41
 To: [EMAIL PROTECTED]
 Subject: NetWare  dosemu: fate of ipxutils?



 Hi,

 I'm trying to connect to NetWare from within DOSEMU.  I've tried mounting
 the file systems on Linux then mapping them to the DOSEMU session using
 lredir, but the DOS app that I'm running needs direct access to
 NetWare and
 IPX stuff.  I read over the NOVELL-HOWTO file.  It mentions that I need a
 build the utilities under the ipxutils directory, but I can't find that
 directory in the current stable release (dosemu-1.0.2)

 The NOVELL-HOWTO was written in 1995, on linux 1.2.2 with DOSEMU
 pre0.53.55.
 I imaging that things have changed since then.  Does anybody have any new
 information regarding NetWare and DOSEMU?

 FYI:  I'm trying to use the Direct-IPX connection using the 802.3 frame
 type.



 Any information will be appreciated, thanks!

 Lowell Alleman
 [EMAIL PROTECTED]
 -
 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



-
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



Re: Printing Problem

2002-03-20 Thread Stas Sergeev

Hello.

Suporte wrote:
 Problem:
 The Dosemu starts to send the report for the spool of Linux(lpt1) before
 the application finishes to generate the report, with this, the report
 is printed in parts without control.
 How to leave printer_timeout infinite? ==  This resolve?
You mentioned that your program generates a report
for a 5 minutes, which seems to be unreasonably
long. Is it so also in a pure dos, or such a slowdown
is dosemu-specific?
If it is dosemu-specific, then you should try to
increase a $_hogthreshold value to make a faster
processing, so you will probably not trigger a
timeout then.
-
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



Re: Dosemu Crash

2002-03-20 Thread Stas Sergeev

Hello.

Dosemu List wrote:
 I use dosemu-1.0.2.1 from Debian...really nice product !
You may want to upgrade to dosemu-1.1.3

 Mar 19 15:14:47 costes kernel: invalid operand: 
 Mar 19 15:14:47 costes kernel: CPU:0
 Mar 19 15:14:47 costes kernel: EIP:
 Mar 19 15:14:47 costes kernel: Code:  Bad EIP value
This seems like a problem with the latest
2.4 kernels.
Get a kernel patches from
www.dosemu.org/~stas
and see if it fixes the Oops.
Of course it will not solve your IPX
problems, but atleast your kernel must
not execute an invalid opcode anymore
with them applied.

-
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