* [announce] dosemu-1.2.2
@ 2004-07-11 8:43 Bart Oldeman
2004-07-11 19:28 ` Ralph Alvy
2004-07-13 0:17 ` Ralph Alvy
0 siblings, 2 replies; 23+ messages in thread
From: Bart Oldeman @ 2004-07-11 8:43 UTC (permalink / raw)
To: linux-msdos
A new stable version is out, 1.2.2, and you can obtain it from
http://www.dosemu.org/stable
Version 1.2.2 (2004-07-11)
=============
* Backported bitmap font support for xdosemu from the development code.
These are used by default! If you want to use the X fonts you must
explicitly set $_X_font="vga" or use "xmode -font vga" at the DOS
prompt. $_X_bilin_filt=(on) may help for prettier fonts in full-screen
mode and scaled windows.
* Backported via-Unicode translations for filenames on lredir'ed drives
(from iso-8859x to cpxxx and so on).
* The hogtheshold code was reorganized to be able to pass through certain
events quicker (such as loading a file in FreeDOS EDIT) even when you
have it set to "1".
* Fixed all new warnings with GCC 3.4.
* Fixed compilation problem with Fedora Core 2 headers.
* Added cp895 and bg-mik character set support.
* Many VGAEMU bugs were fixed, and bitmap fonts are much quicker.
* Allow "fast" i/o ports above 0x400 for kernels that support it
(2.6.7-mm kernels only for now)
* Implemented VxD hooks for WinOS2: seems to solve all remaining problems with
Win3.1(WinOS2): allows Alt-Tab and the timer.
* Some non-intrusive DPMI and DOS extender fixes.
* An automatic backtrace using GDB (output in ~/.dosemu/boot.log)
is attempted when DOSEMU crashes.
* Serial code fixes.
* Corrected int15/ax=e801 for so $_xms > 64M is reported correctly by MEM.
* Fix NPTL issues when switching VC's on the console.
* Check /proc/net/ipx/route etc for kernel 2.6.x.
* Fixed read/write problem for files with negative file offsets on
lredir'ed drives.
List of SourceForge tracker numbers with bugs that were closed:
#885692 (Support) Serial port problem
#909015 bugs/suggestions concerning DOSEMU's DPMI implementation (partly)
#909588 keystroke command kills dosemu
#911174 Problem with graphics under X
#929123 Microsoft LINK.EXE 5.31.009 causes segmentation fault
#930572 Only the half of the screen is displayed in xdosemu
#934921 pmode/w extended 32bit dos app causes DOSEMU to terminate
#944346 Serial port trouble
#951087 IPX and kernel 2.6.5
#958717 Only small part of the screen visible under X
#959015 dosemu xterm mouse & network traffic
#962683 graphical problems with win98/DOS
#982872 Regression with VGA emu
#984975 (Patches) Console & S3 graphic: No portserver
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-11 8:43 Bart Oldeman
@ 2004-07-11 19:28 ` Ralph Alvy
2004-07-13 0:17 ` Ralph Alvy
1 sibling, 0 replies; 23+ messages in thread
From: Ralph Alvy @ 2004-07-11 19:28 UTC (permalink / raw)
To: linux-msdos
Bart Oldeman wrote:
> A new stable version is out, 1.2.2, and you can obtain it from
> http://www.dosemu.org/stable
I'm sure it doesn't need to be said, but thanks for what you do here. Your
work, and the work of your predecessors, allows me to continue to use my
DOS database to run my office, on a Linux box.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-11 8:43 Bart Oldeman
2004-07-11 19:28 ` Ralph Alvy
@ 2004-07-13 0:17 ` Ralph Alvy
2004-07-13 16:41 ` Ralph Alvy
1 sibling, 1 reply; 23+ messages in thread
From: Ralph Alvy @ 2004-07-13 0:17 UTC (permalink / raw)
To: linux-msdos
Bart Oldeman wrote:
> A new stable version is out, 1.2.2, and you can obtain it from
> http://www.dosemu.org/stable
With this version, I notice with a particular database program
(DataPerfect), setting hogthreshold to 1 causes printing problems (jobs not
sent to the printer without first doing other things in the application
unrelated to printing). This occurs even with a low printer timeout value.
If I set hogsthreshold to 2, this problem vanishes, but the CPU usage rises
from 0 to 86% and stays there.
With version 1.2.1, hogthreshold at 2 keeps the CPU at 60% and printing is
almost immediate at a timeout value of 10.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-13 0:17 ` Ralph Alvy
@ 2004-07-13 16:41 ` Ralph Alvy
0 siblings, 0 replies; 23+ messages in thread
From: Ralph Alvy @ 2004-07-13 16:41 UTC (permalink / raw)
To: linux-msdos
Ralph Alvy wrote:
> Bart Oldeman wrote:
>
>> A new stable version is out, 1.2.2, and you can obtain it from
>> http://www.dosemu.org/stable
>
> With this version, I notice with a particular database program
> (DataPerfect), setting hogthreshold to 1 causes printing problems (jobs
> not sent to the printer without first doing other things in the
> application unrelated to printing). This occurs even with a low printer
> timeout value. If I set hogsthreshold to 2, this problem vanishes, but the
> CPU usage rises from 0 to 86% and stays there.
>
> With version 1.2.1, hogthreshold at 2 keeps the CPU at 60% and printing is
> almost immediate at a timeout value of 10.
>
I know this doesn't give you much information regarding this problem, but I
can say that with 1.2.2 (hog = 1, printer timeout = 10), printing occurs as
soon as I switch away from the app in question, and back to the shell
program that calls it. This seems to release the DOS TSR that spools the
data to the printer. If I don't do that, printing will not occur no matter
how long I wait. However, if I increase the hog value to 2, I don't need to
switch back to the shell for immediate printing. For now, I'm using hog
value 2, which keeps my CPU up around 86%.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
@ 2004-07-16 17:40 Stas Sergeev
2004-07-19 4:05 ` Ralph Alvy
0 siblings, 1 reply; 23+ messages in thread
From: Stas Sergeev @ 2004-07-16 17:40 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 204 bytes --]
Hello.
Ralph Alvy wrote:
> With version 1.2.1, hogthreshold at 2 keeps the CPU at 60% and printing
> is almost immediate at a timeout value of 10.
Probably the attached patch can
rectify the problem?
[-- Attachment #2: lpt.diff --]
[-- Type: text/x-patch, Size: 1521 bytes --]
--- src/base/dev/misc/lpt.c 2004-06-07 00:14:59.000000000 +0400
+++ src/base/dev/misc/lpt.c 2004-07-16 21:26:10.157433832 +0400
@@ -20,6 +20,7 @@
#include <sys/wait.h>
#include "emu.h"
+#include "timers.h"
#include "lpt.h"
#include "utilities.h"
#include "dos2linux.h"
@@ -53,11 +54,13 @@
return 1;
}
+ reset_idle();
+
switch (HI(ax)) {
case 0: /* write char */
/* p_printf("print character on lpt%d : %c (%d)\n",
LO(dx), LO(ax), LO(ax)); */
- HI(ax) = (lpt[LO(dx)].fops.write) (LO(dx), LO(ax));
+ HI(ax) = printer_write(LO(dx), LO(ax));
break;
case 1: /* init */
@@ -178,12 +181,12 @@
int
stub_printer_write(int prnum, int outchar)
{
- (lpt[prnum].fops.open) (prnum);
+ printer_open(prnum);
/* from now on, use real write */
lpt[prnum].fops.write = lpt[prnum].fops.realwrite;
- return ((lpt[prnum].fops.write) (prnum, outchar));
+ return printer_write(prnum, outchar);
}
int
@@ -234,8 +237,7 @@
for (loop = 0; loop < NUM_PRINTERS; loop++) {
p_printf("LPT: closing printer %d (%s)\n", loop,
lpt[loop].dev ? lpt[loop].dev : "<<NODEV>>");
- if (lpt[loop].fops.close)
- (lpt[loop].fops.close) (loop);
+ printer_close(loop);
}
}
@@ -248,9 +250,10 @@
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);
+ printer_flush(i);
}
}
}
[-- Attachment #3: Type: text/plain, Size: 82 bytes --]
Scanned by evaluation version of Dr.Web antivirus Daemon
http://drweb.ru/unix/
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-16 17:40 Stas Sergeev
@ 2004-07-19 4:05 ` Ralph Alvy
0 siblings, 0 replies; 23+ messages in thread
From: Ralph Alvy @ 2004-07-19 4:05 UTC (permalink / raw)
To: linux-msdos
Stas Sergeev wrote:
>
> Hello.
>
> Ralph Alvy wrote:
>> With version 1.2.1, hogthreshold at 2 keeps the CPU at 60% and printing
>> is almost immediate at a timeout value of 10.
> Probably the attached patch can
> rectify the problem?
Well, I'll wait until the next binary. I'm not sure how to use that patch.
I'm clearly not a very sophistated Linux user.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
@ 2004-07-19 10:04 Stas Sergeev
2004-07-19 14:47 ` Ralph Alvy
2004-07-20 4:48 ` Ralph Alvy
0 siblings, 2 replies; 23+ messages in thread
From: Stas Sergeev @ 2004-07-19 10:04 UTC (permalink / raw)
To: linux-msdos
Hello.
Ralph Alvy wrote:
> Well, I'll wait until the next binary.
> I'm not sure how to use that patch.
You can also upgrade from CVS. As a bonus,
all the remaining problems with MaxThink
(if there are still), should vanish.
If you do neither, then the next binary
is not guaranteed to have your problem
eliminated.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-19 10:04 [announce] dosemu-1.2.2 Stas Sergeev
@ 2004-07-19 14:47 ` Ralph Alvy
2004-07-20 4:48 ` Ralph Alvy
1 sibling, 0 replies; 23+ messages in thread
From: Ralph Alvy @ 2004-07-19 14:47 UTC (permalink / raw)
To: linux-msdos
Stas Sergeev wrote:
> Hello.
>
> Ralph Alvy wrote:
>> Well, I'll wait until the next binary.
>> I'm not sure how to use that patch.
> You can also upgrade from CVS. As a bonus,
> all the remaining problems with MaxThink
> (if there are still), should vanish.
> If you do neither, then the next binary
> is not guaranteed to have your problem
> eliminated.
I understand. Well, MaxThink has worked well since 1.2.1. I'll check out CVS
and see what I can do. Thanks.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-19 10:04 [announce] dosemu-1.2.2 Stas Sergeev
2004-07-19 14:47 ` Ralph Alvy
@ 2004-07-20 4:48 ` Ralph Alvy
2004-07-20 4:56 ` Bart Oldeman
1 sibling, 1 reply; 23+ messages in thread
From: Ralph Alvy @ 2004-07-20 4:48 UTC (permalink / raw)
To: linux-msdos
Stas Sergeev wrote:
> Hello.
>
> Ralph Alvy wrote:
>> Well, I'll wait until the next binary.
>> I'm not sure how to use that patch.
> You can also upgrade from CVS. As a bonus,
> all the remaining problems with MaxThink
> (if there are still), should vanish.
> If you do neither, then the next binary
> is not guaranteed to have your problem
> eliminated.
I downloaded and successfully compiled and installed dosemu 1.3.1. I find
the same problems with printing that I outlined before. I assume that 1.3.1
has the patch you talked about earlier.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-20 4:48 ` Ralph Alvy
@ 2004-07-20 4:56 ` Bart Oldeman
2004-07-20 6:26 ` Ralph Alvy
0 siblings, 1 reply; 23+ messages in thread
From: Bart Oldeman @ 2004-07-20 4:56 UTC (permalink / raw)
To: Ralph Alvy; +Cc: linux-msdos
On Mon, 19 Jul 2004, Ralph Alvy wrote:
> I downloaded and successfully compiled and installed dosemu 1.3.1. I find
> the same problems with printing that I outlined before. I assume that 1.3.1
> has the patch you talked about earlier.
No, 1.3.1 was released on the same day as 1.2.2, it doesn't contain Stas'
fix.
Since you have successfully compiled and installed 1.3.1, you've done most
of the hard work already. What you'd need to do is:
save Stas' patch as lpt.diff in the dosemu source directory, and cd to it.
Then type
patch -p0 < lpt.diff
make
su
make install
Bart
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-20 4:56 ` Bart Oldeman
@ 2004-07-20 6:26 ` Ralph Alvy
0 siblings, 0 replies; 23+ messages in thread
From: Ralph Alvy @ 2004-07-20 6:26 UTC (permalink / raw)
To: linux-msdos
Bart Oldeman wrote:
> On Mon, 19 Jul 2004, Ralph Alvy wrote:
>
>> I downloaded and successfully compiled and installed dosemu 1.3.1. I find
>> the same problems with printing that I outlined before. I assume that
>> 1.3.1 has the patch you talked about earlier.
>
> No, 1.3.1 was released on the same day as 1.2.2, it doesn't contain Stas'
> fix.
>
> Since you have successfully compiled and installed 1.3.1, you've done most
> of the hard work already. What you'd need to do is:
>
> save Stas' patch as lpt.diff in the dosemu source directory, and cd to it.
> Then type
>
> patch -p0 < lpt.diff
> make
> su
> make install
>
> Bart
>
> -
> 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
Ah, okay. Well I followed the directions for patching and installing. What I
I get now, when attempting to load the app in question, is 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
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
@ 2004-07-20 21:35 Stas Sergeev
2004-07-21 1:39 ` Ralph Alvy
0 siblings, 1 reply; 23+ messages in thread
From: Stas Sergeev @ 2004-07-20 21:35 UTC (permalink / raw)
To: linux-msdos
Hello.
Ralph Alvy wrote:
> I get now, when attempting to load the app in question, is this:
Please attach your boot.log.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-20 21:35 Stas Sergeev
@ 2004-07-21 1:39 ` Ralph Alvy
2004-07-21 2:16 ` Bart Oldeman
0 siblings, 1 reply; 23+ messages in thread
From: Ralph Alvy @ 2004-07-21 1:39 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 974 bytes --]
Stas Sergeev wrote:
> Hello.
>
> Ralph Alvy wrote:
>> 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.
[-- Attachment #2: boot.log --]
[-- Type: text/plain, Size: 2152 bytes --]
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
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-21 1:39 ` Ralph Alvy
@ 2004-07-21 2:16 ` Bart Oldeman
2004-07-21 2:25 ` Ralph Alvy
0 siblings, 1 reply; 23+ messages in thread
From: Bart Oldeman @ 2004-07-21 2:16 UTC (permalink / raw)
To: linux-msdos
On Tue, 20 Jul 2004, Ralph Alvy wrote:
> 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
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-21 2:16 ` Bart Oldeman
@ 2004-07-21 2:25 ` Ralph Alvy
2004-07-21 3:24 ` Bart Oldeman
0 siblings, 1 reply; 23+ messages in thread
From: Ralph Alvy @ 2004-07-21 2:25 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 709 bytes --]
Bart Oldeman wrote:
> On Tue, 20 Jul 2004, Ralph Alvy wrote:
>
>> 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.
Yes. I just realized that after attaching that boot.log. So I attached
another one here, with the crash data in it.
[-- Attachment #2: boot.log --]
[-- Type: text/plain, Size: 11644 bytes --]
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!
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-21 2:25 ` Ralph Alvy
@ 2004-07-21 3:24 ` Bart Oldeman
2004-07-21 3:39 ` Ralph Alvy
2004-07-21 3:42 ` Ralph Alvy
0 siblings, 2 replies; 23+ messages in thread
From: Bart Oldeman @ 2004-07-21 3:24 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: TEXT/PLAIN, Size: 577 bytes --]
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
[-- Attachment #2: Type: TEXT/PLAIN, Size: 685 bytes --]
--- 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
@@ -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);
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-21 3:24 ` Bart Oldeman
@ 2004-07-21 3:39 ` Ralph Alvy
2004-07-21 3:44 ` Ralph Alvy
2004-07-21 3:42 ` Ralph Alvy
1 sibling, 1 reply; 23+ messages in thread
From: Ralph Alvy @ 2004-07-21 3:39 UTC (permalink / raw)
To: linux-msdos
Bart Oldeman wrote:
> 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
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.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-21 3:24 ` Bart Oldeman
2004-07-21 3:39 ` Ralph Alvy
@ 2004-07-21 3:42 ` Ralph Alvy
1 sibling, 0 replies; 23+ messages in thread
From: Ralph Alvy @ 2004-07-21 3:42 UTC (permalink / raw)
To: linux-msdos
Bart Oldeman wrote:
> 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
Should that have been
patch -p0 < lpt.diff
instead?
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-21 3:39 ` Ralph Alvy
@ 2004-07-21 3:44 ` Ralph Alvy
2004-07-21 3:52 ` Bart Oldeman
0 siblings, 1 reply; 23+ messages in thread
From: Ralph Alvy @ 2004-07-21 3:44 UTC (permalink / raw)
To: linux-msdos
>> patch < lpt2.diff
>>
>> and try again.
>>
>> Bart
I mean, should that have been
patch -p0 < lpt2.diff
instead?
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-21 3:44 ` Ralph Alvy
@ 2004-07-21 3:52 ` Bart Oldeman
2004-07-21 4:09 ` Ralph Alvy
0 siblings, 1 reply; 23+ messages in thread
From: Bart Oldeman @ 2004-07-21 3:52 UTC (permalink / raw)
To: linux-msdos
On Tue, 20 Jul 2004, Ralph Alvy wrote:
> >> 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
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-21 3:52 ` Bart Oldeman
@ 2004-07-21 4:09 ` Ralph Alvy
2004-07-22 14:03 ` Ryan Underwood
0 siblings, 1 reply; 23+ messages in thread
From: Ralph Alvy @ 2004-07-21 4:09 UTC (permalink / raw)
To: linux-msdos
Bart Oldeman wrote:
> On Tue, 20 Jul 2004, Ralph Alvy wrote:
>
>> >> patch < lpt2.diff
>> >>
>> >> and try again.
>> >>
>> >> 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.
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-21 4:09 ` Ralph Alvy
@ 2004-07-22 14:03 ` Ryan Underwood
2004-07-22 15:26 ` Ralph Alvy
0 siblings, 1 reply; 23+ messages in thread
From: Ryan Underwood @ 2004-07-22 14:03 UTC (permalink / raw)
To: linux-msdos
[-- Attachment #1: Type: text/plain, Size: 652 bytes --]
On Tue, Jul 20, 2004 at 09:09:03PM -0700, Ralph Alvy wrote:
>
> 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.
--
Ryan Underwood, <nemesis@icequake.net>
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [announce] dosemu-1.2.2
2004-07-22 14:03 ` Ryan Underwood
@ 2004-07-22 15:26 ` Ralph Alvy
0 siblings, 0 replies; 23+ messages in thread
From: Ralph Alvy @ 2004-07-22 15:26 UTC (permalink / raw)
To: linux-msdos
Ryan Underwood wrote:
> 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.
^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~2004-07-22 15:26 UTC | newest]
Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-19 10:04 [announce] dosemu-1.2.2 Stas Sergeev
2004-07-19 14:47 ` Ralph Alvy
2004-07-20 4:48 ` Ralph Alvy
2004-07-20 4:56 ` Bart Oldeman
2004-07-20 6:26 ` Ralph Alvy
-- strict thread matches above, loose matches on Subject: below --
2004-07-20 21:35 Stas Sergeev
2004-07-21 1:39 ` Ralph Alvy
2004-07-21 2:16 ` Bart Oldeman
2004-07-21 2:25 ` Ralph Alvy
2004-07-21 3:24 ` Bart Oldeman
2004-07-21 3:39 ` Ralph Alvy
2004-07-21 3:44 ` Ralph Alvy
2004-07-21 3:52 ` Bart Oldeman
2004-07-21 4:09 ` Ralph Alvy
2004-07-22 14:03 ` Ryan Underwood
2004-07-22 15:26 ` Ralph Alvy
2004-07-21 3:42 ` Ralph Alvy
2004-07-16 17:40 Stas Sergeev
2004-07-19 4:05 ` Ralph Alvy
2004-07-11 8:43 Bart Oldeman
2004-07-11 19:28 ` Ralph Alvy
2004-07-13 0:17 ` Ralph Alvy
2004-07-13 16:41 ` Ralph Alvy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox