From mboxrd@z Thu Jan 1 00:00:00 1970 From: Disnel Subject: Dosemu 1.2.0 & kernel 2.6 crash Date: Sat, 24 Jan 2004 12:53:27 +0100 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <1074945207.4126.6.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-msdos@vger.kernel.org Thanks for new dosemu. It works for me with 2.4 kernel. But I'am unable to run it with 2.6 kernel, it crashes every time when I try to start it. Setting mapping to mapfile in dosemu.conf does not help. Here is what it writes to console: [disnel@Infimo disnel]$ xdosemu ERROR: unexpected CPU exception 0x0e err=0x00000006 cr2=000279fe while in vm86 (DOS) Program=sigsegv.c, Line=162 EIP: 0060:0000b32f ESP: 1fe0:00007c00 VFLAGS(b): 00000 00000010 00000010 EAX: 000000fd EBX: 00000080 ECX: 00000001 EDX: 00000180 VFLAGS(h): 00000202 ESI: 000007be EDI: 00007dfe EBP: 000007be DS: 0060 ES: 0060 FS: 0000 GS: 0000 FLAGS: IF RF VM VIF IOPL: 0 STACK: 00 00 00 00 00 00 00 00 00 00 -> 00 00 00 00 00 00 00 00 00 00 OPS : 06 1f ea 00 00 60 00 bf 01 12 -> e8 00 00 59 0e 1f 8c c8 48 48 e80000 0060:b32f call b332 ERROR: leavedos() called from within a signal context! And here is 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 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 CONF: x keycode keycode 2 aspect_43 mode13fact 2 gamma 100 font 'vga' mgrab_key "Home" SER: directory /var/lock namestub LCK.. binary No 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(LPT1) f: (null) c: lpr o: '' t: 20 port: 0 CONF: not allowing speaker port access CONF: Packet Driver disabled. device: /home/disnel/.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.2.0.0 is coming up on Linux version 2.6.0-1.104custom CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K)) CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area) 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.1.2.3 2004/01/16 21:48:23 bartoldeman Exp $ CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame) TIME: using 9154 usec for updating ALRM timer ERROR: unexpected CPU exception 0x0e err=0x00000006 cr2=000279fe while in vm86 (DOS) leavedos(4|0x4) called - shutting down ERROR: leavedos() called from within a signal context! Thanks for possible help :) Best regards Disnel