Virtual Console

TP Reitzel
2004-08-26T06:48:22Z

Stas,

Here's the latest output from boot.log after running default-configure -d
and recompiling DOSEmu:

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: mapping driver = 'auto'
debug flags: -a+cw
CONF: Enabling use of pentium timer
CONF: dosbanner on
CONF: timer freq=18, update=54925
CONF: CPU set to 586
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 console
CONF: VGA-BIOS-Segment 0
CONF: VGA-BIOS-Segment set to 0xc000
CONF: VGA-BIOS-Size 0
CONF: VGA-BIOS-Size set to 0xf400
CHIPSET: 11
SER: directory /var/lock namestub LCK.. binary No
MOUSE: /dev/gpmdata, type 2 using internaldriver: yes, emulate3buttons: no
baudrate: 0
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: not allowing speaker port access
CONF: Packet Driver disabled.
device: /etc/dosemu/drives/c 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.3.1.0 is coming up on Linux version 2.6.8.1
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=0xbffff8c0
major = 4 minor = 6
CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
registering /dev/gpmdata for internal_mouse
SERIAL $Header: /cvsroot/dosemu/dosemu/src/base/serial/ser_init.c,v 1.9
2004/05/07 13:49:45 stsp Exp $
ERROR: cpu exception in dosemu code outside of VM86()!
trapno: 0x00 errorcode: 0x00000000 cr2: 0x00000000
eip: 0x4013d882 esp: 0xbffff874 eflags: 0x00013256
cs: 0x0073 ds: 0x007b es: 0x007b ss: 0x007b
Division by zero
VFLAGS(b): 010011001001010110
EAX: 00000000 EBX: 4015c590 ECX: 000003da EDX: 00000000 VFLAGS(h):
00013256
ESI: 40161240 EDI: bffff9f4 EBP: bffff8b8
CS: 0073 DS: 007b ES: 007b FS: 0000 GS: 0000
FLAGS: PF AF ZF IF RF IOPL: 3
OOPS : 24 18 8d b3 b0 4c 00 00 56 99 -> f7 bb 84 4c 00 00 6a 10 c7 83
System info:
libXxf86vm.so.1 => /usr/X11R6/lib/libXxf86vm.so.1 (0x4002b000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40031000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x4003f000)
libgpm.so.1 => /lib/libgpm.so.1 (0x40109000)
libvga.so.1 => /usr/lib/libvga.so.1 (0x4010f000)
libslang.so.1 => /usr/lib/libslang.so.1 (0x40162000)
libm.so.6 => /lib/libm.so.6 (0x401d4000)
libdl.so.2 => /lib/libdl.so.2 (0x401f8000)
libc.so.6 => /lib/libc.so.6 (0x401fb000)
libncurses.so.5 => /lib/libncurses.so.5 (0x40331000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.2.3/specs
Configured with: ../gcc-3.2.3/configure --prefix=/usr --enable-shared
--enable-threads=posix --enable-__cxa_atexit --disable-checking
--with-gnu-ld --verbose --target=i486-slackware-linux
--host=i486-slackware-linux
Thread model: posix
gcc version 3.2.3
Linux believers 2.6.8.1 #1 Wed Aug 18 00:13:53 MDT 2004 i686 unknown unknown
GNU/Linux
00000000-000a0000 rwxs 00000000 00:06 11842 /dev/zero (deleted)
000a0000-000c0000 rw-s 000a0000 03:41 458810 /dev/mem
000c0000-00110000 rwxs 000c0000 00:06 11842 /dev/zero (deleted)
08048000-0817e000 r-xp 00000000 03:41 2883692 /usr/local/bin/dosemu.bin
0817e000-081ae000 rw-p 00136000 03:41 2883692 /usr/local/bin/dosemu.bin
081ae000-084fd000 rw-p 081ae000 00:00 0
40000000-40015000 r-xp 00000000 03:41 786461 /lib/ld-2.3.2.so
40015000-40016000 rw-p 00014000 03:41 786461 /lib/ld-2.3.2.so
40016000-40017000 r--s 00000000 03:41 458810 /dev/mem
4002b000-4002f000 r-xp 00000000 03:41 2293856
/usr/X11R6/lib/libXxf86vm.so.1.0
4002f000-40030000 rw-p 00003000 03:41 2293856
/usr/X11R6/lib/libXxf86vm.so.1.0
40030000-40031000 rw-p 40030000 00:00 0
40031000-4003e000 r-xp 00000000 03:41 2293810
/usr/X11R6/lib/libXext.so.6.4
4003e000-4003f000 rw-p 0000c000 03:41 2293810
/usr/X11R6/lib/libXext.so.6.4
4003f000-40106000 r-xp 00000000 03:41 2293820
/usr/X11R6/lib/libX11.so.6.2
40106000-40109000 rw-p 000c6000 03:41 2293820
/usr/X11R6/lib/libX11.so.6.2
40109000-4010e000 r-xp 00000000 03:41 786453 /lib/libgpm.so.1.18.0
4010e000-4010f000 rw-p 00004000 03:41 786453 /lib/libgpm.so.1.18.0
4010f000-40158000 r-xp 00000000 03:41 1703963 /usr/lib/libvga.so.1.4.3
40158000-4015d000 rw-p 00049000 03:41 1703963 /usr/lib/libvga.so.1.4.3
4015d000-40162000 rw-p 4015d000 00:00 0
40162000-401b8000 r-xp 00000000 03:41 1703981 /usr/lib/libslang.so.1.4.9
401b8000-401bd000 rw-p 00056000 03:41 1703981 /usr/lib/libslang.so.1.4.9
401bd000-401d4000 rw-p 401bd000 00:00 0
401d4000-401f6000 r-xp 00000000 03:41 786467 /lib/libm-2.3.2.so
401f6000-401f7000 rw-p 00021000 03:41 786467 /lib/libm-2.3.2.so
401f7000-401f8000 rw-p 401f7000 00:00 0
401f8000-401fa000 r-xp 00000000 03:41 786466 /lib/libdl-2.3.2.so
401fa000-401fb000 rw-p 00001000 03:41 786466 /lib/libdl-2.3.2.so
401fb000-4032a000 r-xp 00000000 03:41 786464 /lib/libc-2.3.2.so
4032a000-4032f000 rw-p 0012f000 03:41 786464 /lib/libc-2.3.2.so
4032f000-40331000 rw-p 4032f000 00:00 0
40331000-40364000 r-xp 00000000 03:41 786451 /lib/libncurses.so.5.3
40364000-4036d000 rw-p 00032000 03:41 786451 /lib/libncurses.so.5.3
4036d000-40378000 r-xp 00000000 03:41 786470 /lib/libnss_compat-2.3.2.so
40378000-40379000 rw-p 0000a000 03:41 786470 /lib/libnss_compat-2.3.2.so
40379000-4038b000 r-xp 00000000 03:41 786469 /lib/libnsl-2.3.2.so
4038b000-4038c000 rw-p 00011000 03:41 786469 /lib/libnsl-2.3.2.so
4038c000-4038e000 rw-p 4038c000 00:00 0
4038e000-4049e000 rw-s 00000000 00:06 11842 /dev/zero (deleted)
bfffb000-c0000000 rw-p bfffb000 00:00 0
ffffe000-fffff000 ---p 00000000 00:00 0
Debug info:
gdb /usr/local/bin/dosemu.bin
attach 8115
info registers
backtrace full
detach
quit
GNU gdb 5.3
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-slackware-linux"...
(gdb) Attaching to program: /usr/local/bin/dosemu.bin, process 8115
Reading symbols from /usr/X11R6/lib/libXxf86vm.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXxf86vm.so.1
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/libgpm.so.1...done.
Loaded symbols for /lib/libgpm.so.1
Reading symbols from /usr/lib/libvga.so.1...done.
Loaded symbols for /usr/lib/libvga.so.1
Reading symbols from /usr/lib/libslang.so.1...done.
Loaded symbols for /usr/lib/libslang.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
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
0x402ab399 in waitpid () from /lib/libc.so.6
(gdb) eax 0xfffffe00 -512
ecx 0x84275e0 138573280
edx 0x0 0
ebx 0x1fd0 8144
esp 0x84275b0 0x84275b0
ebp 0x84275cc 0x84275cc
esi 0x0 0
edi 0x1fd0 8144
eip 0x402ab399 0x402ab399
eflags 0x3246 12870
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
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 0x72 114
(gdb) #0 0x402ab399 in waitpid () from /lib/libc.so.6
No symbol table info available.
#1 0x08079c07 in gdb_debug () at debug.c:112
dosemu_pid = 0
dbg_pid = 0
status = 1075042444
#2 0x08078221 in dosemu_fault1 (signal=-512, scp=0x1fd0) at sigsegv.c:327
csp = (unsigned char *) 0x1fd0 ""
i = 0
#3 0x080782c0 in dosemu_fault (signal=8, context=
{gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 123, __esh = 0, ds = 123,
__dsh = 0, edi = 3221223924, esi = 1075188288, ebp = 3221223608, esp =
3221223540, ebx = 1075168656, edx = 0, ecx = 986, eax = 0, trapno = 0, err =
0, eip = 1075042434, cs = 115, __csh = 0, eflags = 78422, esp_at_signal =
3221223540, ss = 123, __ssh = 0, fpstate = 0x84276c0, oldmask = 0, cr2 = 0})
at sigsegv.c:353
No locals.
#4 <signal handler called>
No symbol table info available.
#5 0x4013d882 in __svgalib_CHIPS_SetTransparency () from
/usr/lib/libvga.so.1
No symbol table info available.
#6 0x40161240 in __svgalib_fbdev_driverspecs () from /usr/lib/libvga.so.1
No symbol table info available.
#7 0x080517e7 in store_vga_mem (mem=0x84f4b80 "",
mem_size=0xfffffe00 <Address 0xfffffe00 out of bounds>, banks=1 '\001')
at vga.c:268
p = {8192, 8192, 8192, 8192}
bsize = 32768
position = 1075188288
cbank = 0 '\0'
plane = 79 'O'
planar = 1 '\001'
#8 0x08051d00 in save_vga_state (save_regs=0x84147a0) at vga.c:384
No locals.
#9 0x0804eafd in vga_post_init () at video.c:444
No locals.
#10 0x0804eb51 in video_post_init () at video.c:459
No locals.
#11 0x0804d71f in main (argc=1, argv=0xbffff9f4) at emu.c:374
e = 0
#12 0x40210d06 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) Detaching from program: /usr/local/bin/dosemu.bin, process 8115
(gdb)
leavedos(4|0x4) called - shutting down
leavedos() called from within a signal context!

_________________________________________________________________
Check out Election 2004 for up-to-date election news, plus voter tools and
more! http://special.msn.com/msn/election2004.armx