Skip to contentSkip to conversation

dosemu-1.2.2

announce Stas Sergeev 4 participants 12 messages Jul 20, 2004 – Jul 22, 2004

lore
Share & tools
lore
#0 lore raw

Hello.

Quoted 1 line · Ralph Alvy

I get now, when attempting to load the app in question, is this:

Please attach your boot.log.

#1 lore raw
Quoted 5 lines · Stas Sergeev

Hello.

Quoted 1 line · Ralph Alvy

I get now, when attempting to load the app in question, is this:

Please attach your boot.log.

Here's more detail I have extracted from this. With 1.3.1, I can't print with hogthreshold at either 1 or 2. With 1.2.2, I can print with hog at 1 only if I switch back to the shell application that calls the app, and I can print with hog at 2 without having to switch back to the shell application at all.

With 1.3.1, if I attempt to kick off the printing by switching back to the shell application, I get this:

ralvy@libranet:~/dosemu-1.3.1/bin$ ./xdosemu
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x0e  errorcode: 0x00000006  cr2: 0x053f3805
eip: 0x40165512  esp: 0xbffff79c  eflags: 0x00210207
cs: 0x0023  ds: 0x002b  es: 0x002b  ss: 0x002b
Page fault: write instruction to linear address: 0x053f3805
CPU was in user mode
Exception was caused by non-available page

Attached is my boot.log.

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
CONF: opened include file /home/ralvy/.dosemurc
CONF: closed include file /home/ralvy/.dosemurc
CONF: config variable skip_dosrc set
CONF: mapping driver = 'auto'
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: PM DOS API Translator 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
MOUSE: no device specified, type 7 using internaldriver: yes, emulate3buttons: no baudrate: 0
CONF: Keyboard-layout keyb-user
CONF: Keyboard-layout us
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: -PLexMark t: 10 port: 0
CONF: not allowing speaker port access
CONF: Packet Driver disabled.
device: /home/ralvy/.dosemu/drives/c type 4 h: -1 s: -1 t: -1 drive C:
CONF: config variable c_system unset
CONF: mostly running as USER: uid=1000 (cached 1000) gid=1000 (cached 1000)
DBG_FD already set
DOSEMU-1.3.1.0 is coming up on Linux version 2.4.26-1-686
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
CPU: Stack bottom 0xbfffe000, top 0xc0000000, esp=0xbffff820
major = 136 minor = 0
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
SERIAL $Header: /cvsroot/dosemu/dosemu/src/base/serial/ser_init.c,v 1.9 2004/05/07 13:49:45 stsp Exp $
CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
TIME: using 9154 usec for updating ALRM timer
leavedos(0|0x0) called - shutting down

#2 lore raw
Quoted 10 lines · Ralph Alvy
ralvy@libranet:~/dosemu-1.3.1/bin$ ./xdosemu
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x0e  errorcode: 0x00000006  cr2: 0x053f3805
eip: 0x40165512  esp: 0xbffff79c  eflags: 0x00210207
cs: 0x0023  ds: 0x002b  es: 0x002b  ss: 0x002b
Page fault: write instruction to linear address: 0x053f3805
CPU was in user mode
Exception was caused by non-available page

Attached is my boot.log.

We'd like to see boot.log when DOSEMU has crashed, not when it has terminated normally.

Alternatively try
xdosemu -o logfile.txt
make it crash and send the contents of logfile.txt. Please make sure you have gdb installed.

Bart

#3 lore raw
Quoted 11 lines · Bart Oldeman
Quoted 9 lines · Ralph Alvy
ralvy@libranet:~/dosemu-1.3.1/bin$ ./xdosemu
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x0e  errorcode: 0x00000006  cr2: 0x053f3805
eip: 0x40165512  esp: 0xbffff79c  eflags: 0x00210207
cs: 0x0023  ds: 0x002b  es: 0x002b  ss: 0x002b
Page fault: write instruction to linear address: 0x053f3805
CPU was in user mode
Exception was caused by non-available page
Quoted 4 lines
Quoted 1 line

Attached is my boot.log.

We'd like to see boot.log when DOSEMU has crashed, not when it has terminated normally.

Yes. I just realized that after attaching that boot.log. So I attached another one here, with the crash data in it.

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
CONF: opened include file /home/ralvy/.dosemurc
CONF: closed include file /home/ralvy/.dosemurc
CONF: config variable skip_dosrc set
CONF: mapping driver = 'auto'
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: PM DOS API Translator 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
MOUSE: no device specified, type 7 using internaldriver: yes, emulate3buttons: no baudrate: 0
CONF: Keyboard-layout keyb-user
CONF: Keyboard-layout us
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: -PLexMark t: 10 port: 0
CONF: not allowing speaker port access
CONF: Packet Driver disabled.
device: /home/ralvy/.dosemu/drives/c type 4 h: -1 s: -1 t: -1 drive C:
CONF: config variable c_system unset
CONF: mostly running as USER: uid=1000 (cached 1000) gid=1000 (cached 1000)
DBG_FD already set
DOSEMU-1.3.1.0 is coming up on Linux version 2.4.26-1-686
CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
CPU: Stack bottom 0xbfffe000, top 0xc0000000, esp=0xbffff820
major = 136 minor = 0
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
SERIAL $Header: /cvsroot/dosemu/dosemu/src/base/serial/ser_init.c,v 1.9 2004/05/07 13:49:45 stsp Exp $
CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
TIME: using 9154 usec for updating ALRM timer
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x0e errorcode: 0x00000006 cr2: 0x053f3805
eip: 0x40166512 esp: 0xbffff79c eflags: 0x00210207
cs: 0x0023 ds: 0x002b es: 0x002b ss: 0x002b
Page fault: write instruction to linear address: 0x053f3805
CPU was in user mode
Exception was caused by non-available page
VFLAGS(b): 010000001000000111
EAX: 0000001b EBX: 4022f550 ECX: 00000000 EDX: 053f3805 VFLAGS(h): 00210207
ESI: 00000000 EDI: 0000001b EBP: bffff7c8
CS: 0023 DS: 002b ES: 002b FS: 0000 GS: 0000
FLAGS: CF PF IF RF IOPL: 0
OOPS : 18 73 47 0f b6 45 08 0f b6 f8 -> 88 02 ff 46 14 0f b7 06 25 00
System info:

	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4002c000)
	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40039000)
	libc.so.6 => /lib/libc.so.6 (0x40100000)
	libdl.so.2 => /lib/libdl.so.2 (0x40234000)
	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

glibc 2.3.2
linuxthreads-0.10
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.4/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux Thread model: posix
gcc version 3.3.4 (Debian 1:3.3.4-3)
Linux libranet 2.4.26-1-686 #1 Sat May 1 18:04:05 EST 2004 i686 unknown unknown GNU/Linux

00000000-000a0000 rwxs 00000000 00:04 17435      /dev/zero (deleted)
000a0000-000a1000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000a1000-000a2000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000a2000-000a3000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000a3000-000a4000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000a4000-000a5000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000a5000-000a6000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000a6000-000a7000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000a7000-000a8000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000a8000-000a9000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000a9000-000aa000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000aa000-000ab000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000ab000-000ac000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000ac000-000ad000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000ad000-000ae000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000ae000-000af000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000af000-000b0000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000b0000-000b1000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000b1000-000b2000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000b2000-000b3000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000b3000-000b4000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000b4000-000b5000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000b5000-000b6000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000b6000-000b7000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000b7000-000b8000 rwxs 00100000 00:04 17438      /dev/zero (deleted)
000b8000-000c0000 rwxs 00000000 00:04 17438      /dev/zero (deleted)
000c0000-000c1000 r-xs 000c0000 00:04 17435      /dev/zero (deleted)
000c1000-000c2000 r-xs 000c1000 00:04 17435      /dev/zero (deleted)
000c2000-000c3000 r-xs 000c2000 00:04 17435      /dev/zero (deleted)
000c3000-000e0000 rwxs 000c3000 00:04 17435      /dev/zero (deleted)
000e0000-000e4000 rwxs 00000000 00:04 17446      /dev/zero (deleted)
000e4000-000e8000 rwxs 00004000 00:04 17446      /dev/zero (deleted)
000e8000-000ec000 rwxs 00008000 00:04 17446      /dev/zero (deleted)
000ec000-000f0000 rwxs 0001c000 00:04 17446      /dev/zero (deleted)
000f0000-00100000 rwxs 000f0000 00:04 17435      /dev/zero (deleted)
00100000-00110000 rwxs 00100000 00:04 17435      /dev/zero (deleted)
08048000-0817c000 r-xp 00000000 03:07 327687     /home/ralvy/dosemu-1.3.1/bin/dosemu.bin
0817c000-081aa000 rw-p 00134000 03:07 327687     /home/ralvy/dosemu-1.3.1/bin/dosemu.bin

081aa000-08526000 rwxp 00000000 00:00 0
40000000-40016000 r-xp 00000000 03:08 655431 /lib/ld-2.3.2.so
40016000-40017000 rw-p 00015000 03:08 655431 /lib/ld-2.3.2.so
40017000-40018000 rw-p 00000000 00:00 0

40018000-4001a000 r-xp 00000000 03:08 740186     /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
4001a000-4001b000 rw-p 00001000 03:08 740186     /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2
4002c000-40038000 r-xp 00000000 03:08 163893     /usr/X11R6/lib/libXext.so.6.4
40038000-40039000 rw-p 0000c000 03:08 163893     /usr/X11R6/lib/libXext.so.6.4
40039000-400fd000 r-xp 00000000 03:08 165785     /usr/X11R6/lib/libX11.so.6.2
400fd000-40100000 rw-p 000c4000 03:08 165785     /usr/X11R6/lib/libX11.so.6.2
40100000-40228000 r-xp 00000000 03:08 657644     /lib/libc-2.3.2.so
40228000-40230000 rw-p 00127000 03:08 657644     /lib/libc-2.3.2.so
40230000-40234000 rw-p 00000000 00:00 0 
40234000-40236000 r-xp 00000000 03:08 657646     /lib/libdl-2.3.2.so
40236000-40237000 rw-p 00002000 03:08 657646     /lib/libdl-2.3.2.so
40237000-4023e000 r-xp 00000000 03:08 657651     /lib/libnss_compat-2.3.2.so
4023e000-4023f000 rw-p 00006000 03:08 657651     /lib/libnss_compat-2.3.2.so
4023f000-40251000 r-xp 00000000 03:08 657650     /lib/libnsl-2.3.2.so
40251000-40252000 rw-p 00011000 03:08 657650     /lib/libnsl-2.3.2.so
40252000-40254000 rw-p 00000000 00:00 0 
40254000-4025c000 r-xp 00000000 03:08 657655     /lib/libnss_nis-2.3.2.so
4025c000-4025d000 rw-p 00007000 03:08 657655     /lib/libnss_nis-2.3.2.so
4025d000-40265000 r-xp 00000000 03:08 657653     /lib/libnss_files-2.3.2.so
40265000-40266000 rw-p 00008000 03:08 657653     /lib/libnss_files-2.3.2.so
40266000-40376000 rw-s 00000000 00:04 17435      /dev/zero (deleted)
40376000-4037d000 r-xp 00000000 03:08 163919     /usr/X11R6/lib/libXcursor.so.1.0
4037d000-4037e000 rw-p 00007000 03:08 163919     /usr/X11R6/lib/libXcursor.so.1.0
4037e000-40384000 r-xp 00000000 03:08 163923     /usr/X11R6/lib/libXrender.so.1.2
40384000-40385000 rw-p 00006000 03:08 163923     /usr/X11R6/lib/libXrender.so.1.2
40385000-40486000 rw-s 00000000 00:04 17438      /dev/zero (deleted)
40486000-40586000 rw-s 00000000 00:04 17439      /dev/zero (deleted)

40586000-405b8000 rw-p 00000000 00:00 0
405b8000-405d8000 rw-s 00000000 00:04 17446 /dev/zero (deleted)
bfff7000-c0000000 rwxp ffff8000 00:00 0
Debug info:
gdb /home/ralvy/dosemu-1.3.1/bin/dosemu.bin
GNU gdb 5.3-debian
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-linux"...attach 2917
info registers
backtrace full
detach
quit

(gdb) Attaching to program: /home/ralvy/dosemu-1.3.1/bin/dosemu.bin, process 2917 Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/libnss_compat.so.2...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2...done. Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 0x401a76f8 in waitpid () from /lib/libc.so.6
(gdb) eax 0xfffffe00 -512

ecx            0x8429fb4	138583988
edx            0x0	0
ebx            0xb85	2949
esp            0x8429f9c	0x8429f9c
ebp            0xbffff7c8	0xbffff7c8
esi            0xb65	2917
edi            0x811ca3e	135383614
eip            0x401a76f8	0x401a76f8
eflags         0x200246	2097734
cs             0x23	35
ss             0x2b	43
ds             0x2b	43
es             0x2b	43
fs             0x0	0
gs             0x0	0
fctrl          0x37f	895
fstat          0x0	0
ftag           0xffff	65535
fiseg          0x0	0
fioff          0x0	0
foseg          0x0	0
fooff          0x0	0
fop            0x0	0
mxcsr          0x1f80	8064
orig_eax       0x7	7

(gdb) #0 0x401a76f8 in waitpid () from /lib/libc.so.6
No symbol table info available.
#1 0x000003e8 in ?? ()
No symbol table info available.
#2 0x0808ad30 in printer_write ()
No symbol table info available.
#3 0x40115dc6 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) Detaching from program: /home/ralvy/dosemu-1.3.1/bin/dosemu.bin, process 2917 (gdb)
leavedos(4|0x4) called - shutting down
leavedos() called from within a signal context!

#4 lore raw

Hi Ralph,

Stas did not only try to fix something, but also cleaned up. This cleaning up was problematic (note to Stas: fops.write can be either printer_write or stub_printer_write; printer_write is not a wrapper that calls the function pointer -- and *if* you're cleaning up you should change *that* and preferably in a seperate patch to make it easier for me to merge with -stable!)

Ralph, please revert Stas' patch using
patch -R < lpt.diff
(or by untarring the 1.3.1 or 1.2.2 source code) and then apply my patch (attached):

patch < lpt2.diff

and try again.

Bart

base/dev/misc/lpt.c +4 -0
@@ -20,6 +20,7 @@
 #include <sys/wait.h>
 
 #include "emu.h"
+#include "timers.h"
 #include "lpt.h"
 #include "utilities.h"
 #include "dos2linux.h"
@@ -53,6 +54,8 @@
     return 1;
   }
 
+  reset_idle();
+
   switch (HI(ax)) {
   case 0:			/* write char */
     /* p_printf("print character on lpt%d : %c (%d)\n",
@@ -248,6 +251,7 @@
     if (lpt[i].remaining >= 0) {
       p_printf("LPT: doing real tick for %d\n", i);
       if (lpt[i].remaining) {
+        reset_idle();
 	lpt[i].remaining--;
 	if (!lpt[i].remaining)
 	  (lpt[i].fops.flush) (i);
#5 lore raw
Quoted 14 lines · Bart Oldeman

Hi Ralph,

Stas did not only try to fix something, but also cleaned up. This cleaning up was problematic (note to Stas: fops.write can be either printer_write or stub_printer_write; printer_write is not a wrapper that calls the function pointer -- and *if* you're cleaning up you should change *that* and preferably in a seperate patch to make it easier for me to merge with -stable!)

Ralph, please revert Stas' patch using
patch -R < lpt.diff
(or by untarring the 1.3.1 or 1.2.2 source code) and then apply my patch (attached):

Quoted 5 lines

patch < lpt2.diff

and try again.

Bart

I untarred 1.3.1, did a ./configure, and then did

patch < lpt2.diff

Here's what I get:

        ralvy@libranet:~/dosemu-1.3.1-src$ patch < lpt2.diff
        (Stripping trailing CRs from patch.)
        can't find file to patch at input line 3
        Perhaps you should have used the -p or --strip option?
        The text leading up to this was:
        --------------------------
        |--- src/base/dev/misc/lpt.c    Wed Jul 21 15:11:38 2004
        |+++ src/base/dev/misc/lpt.c    Wed Jul 21 15:14:31 2004
        --------------------------
        File to patch:

I'm not sure what to tell it at this point.

#6 lore raw
Quoted 5 lines
Quoted 5 lines

patch < lpt2.diff

and try again.

Bart

I mean, should that have been

patch -p0 < lpt2.diff

instead?

#7 lore raw
Quoted 10 lines · Ralph Alvy
Quoted 5 lines
Quoted 5 lines

patch < lpt2.diff

and try again.

Bart

I mean, should that have been

patch -p0 < lpt2.diff

instead?

yes, sorry for forgetting that -p0.

Bart

#8 lore raw
Quoted 6 lines · Bart Oldeman
Quoted 4 lines · Ralph Alvy
Quoted 4 lines
Quoted 4 lines

patch < lpt2.diff

and try again.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line

Bart

I mean, should that have been

patch -p0 < lpt2.diff

instead?

yes, sorry for forgetting that -p0.

Okay, I figured that after reading the patch man page, so went ahead and did

patch -p0 < lpt2.diff

on a configured 1.3.1 untarred source. After 'make' and 'make install' I find that I no longer crash like before, but I have the same problems previously outlined:

hogthreshold of 1 lets my cpu stay down, but won't let me print without
taking extraneous steps after issuing the print command.

hogthreshold of 2 keeps my cpu at about 86%, but lets the app's print
command yield immediate printing without extraneous steps.

#9 lore raw
Quoted 4 lines · Ralph Alvy

on a configured 1.3.1 untarred source. After 'make' and 'make install' I find that I no longer crash like before, but I have the same problems previously outlined:

Dumb question, but are you certain that you are running the new dosemu executable? Issue a 'which dosemu' to see which one the shell is running, and ls -l that file to ensure that the timestamp indicates that it is the freshly compiled one. It is possible that you have one sitting around e.g. both in /usr/bin and /usr/local/bin, or something like that.

Signature · 1 line
Ryan Underwood, <[email protected]>
#10 lore raw
Quoted 7 lines · Ryan Underwood

Dumb question, but are you certain that you are running the new dosemu executable? Issue a 'which dosemu' to see which one the shell is running, and ls -l that file to ensure that the timestamp indicates that it is the freshly compiled one. It is possible that you have one sitting around e.g. both in /usr/bin and /usr/local/bin, or something like that.

I have the config file set to install in

        ~/dosemu-1.3.1

and I run xdosemu from

        ~/dosemu-1.3.1/bin

Simply typing

xdosemu

instead of

./xdosemu

from that directory yields nothing. So I don't have any stray dosemu occurrences being grabbed. My 1.2.1 and 1.2.2 versions are also all local installs.

And the splash screen that arises on loading, shows the correct version and configure date.

#11 lore raw
In reply to Bart Oldeman
Quoted 9 lines · Bart Oldeman

Hi Ralph,

Stas did not only try to fix something, but also cleaned up. This cleaning up was problematic (note to Stas: fops.write can be either printer_write or stub_printer_write; printer_write is not a wrapper that calls the function pointer -- and *if* you're cleaning up you should change *that* and preferably in a seperate patch to make it easier for me to merge with -stable!)

Quoted 6 lines

Ralph, please revert Stas' patch using
patch -R < lpt.diff
(or by untarring the 1.3.1 or 1.2.2 source code) and then apply my patch (attached):

patch < lpt2.diff

Should that have been

patch -p0 < lpt.diff

instead?