public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
* Virtual Console
@ 2004-08-25  6:01 TP Reitzel
  0 siblings, 0 replies; 6+ messages in thread
From: TP Reitzel @ 2004-08-25  6:01 UTC (permalink / raw)
  To: linux-msdos


I'm getting a blank screen when using DOSEmu 1.3.1 or 1.2.2 with the newer 
2.6.x kernels and the virtual console. The screen blanks and DOSEmu silently 
exits. I need the virtual console with the SVGA driver instead of X with 
some games. Speaking of games, will someone please add FM synthesis to 
DOSEmu soon? I'd really prefer to use DOSEmu instead of DOSBox with my DOS 
games.

TIA

Slackware 9.1
Dropline GNOME 2.6.1
Kernel 2.6.8.1
nVIDIA GeForce FX5200

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Virtual Console
@ 2004-08-25 17:28 Stas Sergeev
  0 siblings, 0 replies; 6+ messages in thread
From: Stas Sergeev @ 2004-08-25 17:28 UTC (permalink / raw)
  To: linux-msdos

Hello.

TP Reitzel wrote:
> The screen blanks and DOSEmu silently 
> exits.
Have a look into ~/.dosemu/boot.log for
info.

> I need the virtual console with the SVGA driver instead of X 
> with some games.
Configuring dosemu for "fast" VESA under
console may be not easy. There are no docs
about that and this is a very specific to the
particular video card. And if you want LFB -
not possible at all (currently).

> Speaking of games, will someone please add FM synthesis to 
> DOSEmu soon?
No but you can try this patch:
http://dosemu.sourceforge.net/stas/opl1c.diff
And you can also use MIDI if the game supports
that.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Virtual Console
@ 2004-08-25 23:43 TP Reitzel
  0 siblings, 0 replies; 6+ messages in thread
From: TP Reitzel @ 2004-08-25 23:43 UTC (permalink / raw)
  To: linux-msdos

Output from boot.log while running virtual console as root with the SVGA 
library:

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: 0xbffff894  eflags: 0x00013256
cs: 0x0073  ds: 0x007b  es: 0x007b  ss: 0x007b
Division by zero
  VFLAGS(b): 010011001001010110
EAX: 00000000  EBX: 4015c590  ECX: 000003c0  EDX: 00000000  VFLAGS(h): 
00013256
ESI: 40161240  EDI: 00000000  EBP: 00008000
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 7074       /dev/zero (deleted)
000a0000-000c0000 rw-s 000a0000 03:41 458810     /dev/mem
000c0000-00110000 rwxs 000c0000 00:06 7074       /dev/zero (deleted)
08048000-0816c000 r-xp 00000000 03:41 2883692    /usr/local/bin/dosemu.bin
0816c000-0819b000 rw-p 00123000 03:41 2883692    /usr/local/bin/dosemu.bin
0819b000-0849f000 rw-p 0819b000 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 7074       /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
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) attach 2106
info registers
backtrace full
detach
quit
Attaching to program: /usr/local/bin/dosemu.bin, process 2106
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            0x8414574	138495348
edx            0x0	0
ebx            0x857	2135
esp            0x8414540	0x8414540
ebp            0x841455c	0x841455c
esi            0x0	0
edi            0x857	2135
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.
(gdb) Detaching from program: /usr/local/bin/dosemu.bin, process 2106
(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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Virtual Console
@ 2004-08-26  3:43 Stas Sergeev
  0 siblings, 0 replies; 6+ messages in thread
From: Stas Sergeev @ 2004-08-26  3:43 UTC (permalink / raw)
  To: linux-msdos

Hello.

TP Reitzel wrote:
> Output from boot.log while running virtual console as root with the 
> SVGA library:
[]
> (gdb) #0  0x402ab399 in waitpid () from /lib/libc.so.6
> No symbol table info available.
Please run "default-configure -d" in a
source tree and recompile your dosemu to
get a debug info in, then retry things.
Oh, and if your glibc is compilled without
a frame pointers, I am wondering whether
the gdb will be able to rewind the stack
out of waitpid() even with the debug info
for dosemu...


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Virtual Console
@ 2004-08-26  6:48 TP Reitzel
  2004-08-26  9:10 ` Bart Oldeman
  0 siblings, 1 reply; 6+ messages in thread
From: TP Reitzel @ 2004-08-26  6:48 UTC (permalink / raw)
  To: linux-msdos

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Virtual Console
  2004-08-26  6:48 TP Reitzel
@ 2004-08-26  9:10 ` Bart Oldeman
  0 siblings, 0 replies; 6+ messages in thread
From: Bart Oldeman @ 2004-08-26  9:10 UTC (permalink / raw)
  To: TP Reitzel; +Cc: linux-msdos

On Thu, 26 Aug 2004, TP Reitzel wrote:

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

Following the last legit line number (in vga.c) it crashes in
vga_setpage() in svgalib. What's the chipset you configured svgalib to
use? nv3?

IMHO being able to use svgalib+dosemu is sheer luck, and highly hardware
dependent, that's why it's not compiled in by default. You mentioned
though that the only thing you changed was the kernel version right (it
worked on 2.4.x but not 2.6.x?)

In any case you could try $_chipset = "plainvga". No guarantees though,
but if the console runs in text mode (no fbdev) that normally works, at
least for basic VGA graphics mode, and ctrl-alt-fn flipping with other
text consoles.

Personally I use fbdev on the console with an ATI card.
lspci -vv mentions under
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon
Mobility M6 LY (prog-if 00 [VGA])
...
Region 1: I/O ports at c000 [size=256]

Respecting this, using plainvga and
$_console_pci = (on)
$_console_ports = "fast range 0xc000,0xc0ff"
DOSEMU works for me even with fbdev (radeonfb) but vc switching is
completely broken (ie. entering dosemu that way temporarily causes Linux
to be single-tasking ignoring remote connections), so this still not very
nice (I rarely use it, except for comparing bugs in VGAEMU with the real
thing, thus avoiding a reboot).

Anyway, maybe this gives you some ideas about alternatives.

Bart

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-08-26  9:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-25  6:01 Virtual Console TP Reitzel
  -- strict thread matches above, loose matches on Subject: below --
2004-08-25 17:28 Stas Sergeev
2004-08-25 23:43 TP Reitzel
2004-08-26  3:43 Stas Sergeev
2004-08-26  6:48 TP Reitzel
2004-08-26  9:10 ` Bart Oldeman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox