Running with -o (debug) option gives the following 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: 8192k bytes XMS memory CONF: 2048k bytes EMS memory CONF: EMS-frame = 0xe000 CONF: DPMI-Server on CONF: dosemu running on _xterm SER: directory /var/lock namestub LCK.. binary No MOUSE: no device specified, type 0 using internaldriver: yes, emulate3buttons: no baudrate: 0 CONF: Keyboard-layout keyb-user ERROR: Unable to open console to evaluate the keyboard map. Please specify your keyboard map explicitly via the $_layout option CONF: Keyboard-layout us CONF: **** Warning: floppy /dev/fd0 not accessable, disabled CONF: fastfloppy = 1 CONF: IPX support off CONF(LPT0) f: (null) c: lpr o: -Plp 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: mostly running as USER: uid=1000 (cached 1000) gid=1000 (cached 1000) DBG_FD already set DOSEMU-1.2.2.0 is coming up on Linux version 2.6.15-23-386 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 0xbfaf9000, top 0xbfb0e000, esp=0xbfb0b6b0 major = 136 minor = 4 CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory) SERIAL $Header: /cvsroot/dosemu/dosemu/src/base/serial/ser_init.c,v 1.1.2.5 2004/02/10 00:36:26 bartoldeman 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: 0x00000004 cr2: 0x468a5b2d eip: 0x468a5b2d esp: 0xbfabffb5 eflags: 0x00210282 cs: 0x0073 ds: 0x007b es: 0x007b ss: 0x007b Page fault: read instruction to linear address: 0x468a5b2d CPU was in user mode Exception was caused by non-available page VFLAGS(b): 010000001010000010 EAX: 89d2d1e3 EBX: 00003440 ECX: 080f1c21 EDX: 00000003 VFLAGS(h): 00210282 ESI: 00000000 EDI: 0000694d EBP: 00000000 CS: 0073 DS: 007b ES: 007b FS: 0000 GS: 0033 FLAGS: SF IF RF IOPL: 0 OOPS : ERROR: Fault handler re-entered! signal=11 _trapno=0xE ERROR: cpu exception in dosemu code outside of VM86()! trapno: 0x0e errorcode: 0x00000004 cr2: 0x468a5b23 eip: 0x0805f160 esp: 0x083dd860 eflags: 0x00210202 cs: 0x0073 ds: 0x007b es: 0x007b ss: 0x007b Page fault: read instruction to linear address: 0x468a5b23 CPU was in user mode Exception was caused by non-available page VFLAGS(b): 010000001000000010 EAX: 00000007 EBX: 468a5b23 ECX: 08179ac0 EDX: 00000000 VFLAGS(h): 00210202 ESI: 0000000a EDI: 083dd8e4 EBP: 08104149 CS: 0073 DS: 007b ES: 007b FS: 0000 GS: 0033 FLAGS: IF RF IOPL: 0 OOPS : 0a 89 f6 8d bc 27 00 00 00 00 -> 0f b6 03 43 c7 04 24 0a 00 00 System info: linux-gate.so.1 => (0xffffe000) libslang.so.2 => /lib/libslang.so.2 (0xb7e1e000) libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb7dfc000) libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb7df8000) libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7cc9000) /lib/ld-linux.so.2 (0xb7ef1000) glibc 2.3.6 NPTL 2.3.6 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-awt=gtk-default --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --with-tune=pentium4 --enable-checking=release i486-linux-gnu Thread model: posix gcc version 4.0.3 (Ubuntu 4.0.3-1ubuntu5) Linux green 2.6.15-23-386 #1 PREEMPT Tue May 23 13:49:40 UTC 2006 i686 GNU/Linux00000000-00010000 rwxs 00010000 00:07 2162712 /SYSV00000000 (deleted) 00010000-000a0000 rwxp 00010000 00:00 0 000a0000-000c1000 rwxs 00020000 00:07 2162712 /SYSV00000000 (deleted) 000c1000-00100000 rwxp 000c1000 00:00 0 00100000-00110000 rwxs 00000000 00:07 2162712 /SYSV00000000 (deleted) 08048000-08151000 r-xp 00000000 03:01 1212835 /usr/bin/dosemu.bin 08151000-08179000 rwxp 00108000 03:01 1212835 /usr/bin/dosemu.bin 08179000-084be000 rwxp 08179000 00:00 0 [heap] b5d7f000-b7b89000 rwxs 00000000 00:07 2162712 /SYSV00000000 (deleted) b7b89000-b7b92000 r-xp 00000000 03:01 377014 /lib/tls/i686/cmov/libnss_files-2.3.6.so b7b92000-b7b93000 rwxp 00008000 03:01 377014 /lib/tls/i686/cmov/libnss_files-2.3.6.so b7b93000-b7ba5000 r-xp 00000000 03:01 376998 /lib/tls/i686/cmov/libnsl-2.3.6.so b7ba5000-b7ba6000 rwxp 00012000 03:01 376998 /lib/tls/i686/cmov/libnsl-2.3.6.so b7ba6000-b7ba8000 rwxp b7ba6000 00:00 0 b7ba8000-b7bb0000 r-xp 00000000 03:01 377000 /lib/tls/i686/cmov/libnss_compat-2.3.6.so b7bb0000-b7bb1000 rwxp 00007000 03:01 377000 /lib/tls/i686/cmov/libnss_compat-2.3.6.so b7bc6000-b7bf9000 r-xp 00000000 03:01 2835392 /usr/lib/locale/en_AU.utf8/LC_CTYPE b7bf9000-b7cd0000 r-xp 00000000 03:01 2835395 /usr/lib/locale/en_AU.utf8/LC_COLLATE b7cd0000-b7cd1000 rwxp b7cd0000 00:00 0 b7cd1000-b7df6000 r-xp 00000000 03:01 376932 /lib/tls/i686/cmov/libc-2.3.6.so b7df6000-b7dfd000 rwxp 00125000 03:01 376932 /lib/tls/i686/cmov/libc-2.3.6.so b7dfd000-b7e00000 rwxp b7dfd000 00:00 0 b7e00000-b7e02000 r-xp 00000000 03:01 376950 /lib/tls/i686/cmov/libdl-2.3.6.so b7e02000-b7e03000 rwxp 00001000 03:01 376950 /lib/tls/i686/cmov/libdl-2.3.6.so b7e03000-b7e04000 rwxp b7e03000 00:00 0 b7e04000-b7e25000 r-xp 00000000 03:01 376952 /lib/tls/i686/cmov/libm-2.3.6.so b7e25000-b7e26000 rwxp 00020000 03:01 376952 /lib/tls/i686/cmov/libm-2.3.6.so b7e26000-b7eb2000 r-xp 00000000 03:01 376949 /lib/libslang.so.2.0.5 b7eb2000-b7ec1000 rwxp 0008b000 03:01 376949 /lib/libslang.so.2.0.5 b7ec1000-b7ee1000 rwxp b7ec1000 00:00 0 b7ee3000-b7eeb000 r-xp 00000000 03:01 377022 /lib/tls/i686/cmov/libnss_nis-2.3.6.so b7eeb000-b7eec000 rwxp 00007000 03:01 377022 /lib/tls/i686/cmov/libnss_nis-2.3.6.so b7eec000-b7eed000 r-xp 00000000 03:01 2835393 /usr/lib/locale/en_AU.utf8/LC_NUMERIC b7eed000-b7eee000 r-xp 00000000 03:01 2835394 /usr/lib/locale/en_AU.utf8/LC_TIME b7eee000-b7eef000 r-xp 00000000 03:01 2835396 /usr/lib/locale/en_AU.utf8/LC_MONETARY b7eef000-b7ef0000 r-xp 00000000 03:01 2835398 /usr/lib/locale/en_AU.utf8/LC_MESSAGES/SYS_LC_MESSAGES b7ef0000-b7ef1000 r-xp 00000000 03:01 2835399 /usr/lib/locale/en_AU.utf8/LC_PAPER b7ef1000-b7ef2000 r-xp 00000000 03:01 2835400 /usr/lib/locale/en_AU.utf8/LC_NAME b7ef2000-b7ef3000 r-xp 00000000 03:01 2835401 /usr/lib/locale/en_AU.utf8/LC_ADDRESS b7ef3000-b7ef4000 r-xp 00000000 03:01 2835402 /usr/lib/locale/en_AU.utf8/LC_TELEPHONE b7ef4000-b7ef5000 r-xp 00000000 03:01 2835403 /usr/lib/locale/en_AU.utf8/LC_MEASUREMENT b7ef5000-b7ef6000 r-xp 00000000 03:01 2835404 /usr/lib/locale/en_AU.utf8/LC_IDENTIFICATION b7ef6000-b7ef9000 rwxp b7ef6000 00:00 0 b7ef9000-b7f0e000 r-xp 00000000 03:01 377072 /lib/ld-2.3.6.so b7f0e000-b7f0f000 rwxp 00014000 03:01 377072 /lib/ld-2.3.6.so bfa80000-bfb0e000 rwxp bfa80000 00:00 0 [stack] ffffe000-fffff000 ---p 00000000 00:00 0 [vdso] Debug info: gdb /usr/bin/dosemu.bin attach 26040 info registers backtrace full detach quit GNU gdb 6.4-debian Copyright 2005 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 "i486-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) Attaching to program: /usr/bin/dosemu.bin, process 26040 (no debugging symbols found) Reading symbols from /lib/libslang.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libslang.so.2 Reading symbols from /lib/tls/i686/cmov/libm.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libm.so.6 Reading symbols from /lib/tls/i686/cmov/libdl.so.2... (no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libdl.so.2 Reading symbols from /lib/tls/i686/cmov/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libc.so.6 Reading symbols from /lib/ld-linux.so.2... (no debugging symbols found)...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /lib/tls/i686/cmov/libnss_compat.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libnss_compat.so.2 Reading symbols from /lib/tls/i686/cmov/libnsl.so.1... (no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libnsl.so.1 Reading symbols from /lib/tls/i686/cmov/libnss_nis.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libnss_nis.so.2 Reading symbols from /lib/tls/i686/cmov/libnss_files.so.2... (no debugging symbols found)...done. Loaded symbols for /lib/tls/i686/cmov/libnss_files.so.2 0xffffe410 in __kernel_vsyscall () (gdb) eax 0xfffffe00 -512 ecx 0x83dd4f0 138269936 edx 0x0 0 ebx 0x65cd 26061 esp 0x83dd4b8 0x83dd4b8 ebp 0x8103f0e 0x8103f0e esi 0x65b8 26040 edi 0x8110fd3 135335891 eip 0xffffe410 0xffffe410 <__kernel_vsyscall+16> eflags 0x200246 2097734 cs 0x73 115 ss 0x7b 123 ds 0x7b 123 es 0x7b 123 fs 0x0 0 gs 0x33 51 (gdb) #0 0xffffe410 in __kernel_vsyscall () No symbol table info available. #1 0xb7d5c933 in waitpid () from /lib/tls/i686/cmov/libc.so.6 No symbol table info available. #2 0x08060b7d in ?? () No symbol table info available. #3 0x000065cd in ?? () No symbol table info available. #4 0x083dd4f0 in optind () No symbol table info available. #5 0x00000000 in ?? () No symbol table info available. (gdb) Detaching from program: /usr/bin/dosemu.bin, process 26040 (gdb) leavedos(4|0x4) called - shutting down leavedos() called from within a signal context!