From: Riveros, Ricardo C. (AGL3@jetson.uh.edu)
Date: 05/30/93


From: AGL3@jetson.uh.edu (Riveros, Ricardo C.)
Subject: [HELP] Can't get dosemu0.49 running
Date: 30 May 1993 23:07:51 GMT

Hi people.

i'm trying to make dosemu run on my PC without any success so far. The point
is I don't know what else to try. Nor can I understand some error messages I
get from the dosemu output.

SW/HW/OS: 486/33, 8M RAM. Linux 0.99pl8 (SLS 0.99?), 2 swap files 10M each.
        gcc 233 & libs.

Basically that's what I've done:
- Applied ipcdelta patch (already applied in the SLS distribution).
- Got new kernel.
- Compiled & installed dosemu.
- Made diskimage as the ps doc says.
- Edited /etc/dosemu/config: no HD, floppy according to case below.
  a) Boot from /dev/fd0: attempts to read from diskette (a DOS bootable is
     in the drive). After clear screen, no more info on it, keyboard is
     dead. Linux still sync'ing for a while. Need to reboot.
  b) Boot from diskimage. The same.
  c) No 'rawkeyboard' entry on config file. After dosemu (C) messg, same
     behaviour as before, but now ALT-CTL-DEL reboots the machine.

        Never got a prompt on dosemu. What follows are excerpts from
the debug output:

TESTING DOS_SYSCALL messages..
SYSCALL ERROR: 45, *Level 2 not synchronized* in file emu.c, line 235: expr=
        -1
[[-- dont know what that means --]]
debug flags: +vsdRWkpiwghxmIEc
...
device: diskimage type 2 h: 2 s: 18 t: 80
CONF: now 1 floppies
DEBUG FLAGS:
disk: 1, keyboard: 1, video: 1, io: 1
serial: 1, printer: 1, warning: 1 , general: 1
IPC: shm...idt: 0, low: 1, param 3, HMA 2
PARAM: number 3, address 0x5fff0000
EMS: initializing memory
EMS: Not opening /proc/self/mem
EMULATE
...
set_console_video called
VID: get_video_ram WAITING
CONSOLE VIDEO address: 0xb8000 0xb8000 0xb8000
VC_ACTIVE!
VC_ACTIVE: ours: 1, active: 1
VID: we're active, waiting...
put_video_ram called
VID: get_video_ram WAITING
CONSOLE VIDEO address: 0xb8000 0xb8000 0xb8000
VID: cleared screen
...
$Header: /usr/src/dos/RCS/emu.c,v 1.27 1993/05/04 05:29:22 root Exp root $
CONFIG: 0x0063 binary: 0000 0000 0110 0011
CMOS initialized:
$Header: /usr/src/dos/RCS/cmos.c,v 1.6 1993/05/04 05:29:22 root Exp root $
XMS: initializing XMS...
RCS: $Header: /usr/src/dos/RCS/xms.c,v 1.10 1993/05/04 0
CONFIG: 0x0063 binary: 0000 0000 0110 0011
CMOS initialized:
$Header: /usr/src/dos/RCS/cmos.c,v 1.6 1993/05/04 05:29:22 root Exp root $
XMS: initializing XMS...
RCS: $Header: /usr/src/dos/RCS/xms.c,v 1.10 1993/05/04 05:29:22 root Exp root $
64 handles
...
XMS: umb_setup: addr 0x000c0000 size 0x20000
XMS: umb_setup: addr 0x000f0000 size 0xf000
KEYBUFFER DUMP: 0x00 0x00
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
ERROR: testing error messages, don't worry...
IPC: starting up...fd's 8 and 9
IPC: not munmap()ing child memory because it is shared!
IPC: entering main process...
[[-- and several blocks like the following one. I understand dosemu can read
     the keyboard, but is not doing anything with it --]]
IPC/KBD: readret = 0x1c0d
IPC/KBD: (child) putting key in buffer
KEYBUFFER DUMP: 0x00 0x01
1c0d 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
...
IPC/KBD: readret = 0x1c0d
IPC/KBD: (child) putting key in buffer
KEYBUFFER DUMP: 0x00 0x05
1c0d 2064 1769 1372 1c0d 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000

        If someone can give me some clues on what's going on, or where to look
at, I'll remember such kindness for ever :-). Email or posting is fine.
Email would be less bandwith waste, though...

Thanks in advance,

--Carlos
Carlos Riveros Allied Geophysical Labs.
salrcr@fermat.agl.uh.edu University of Houston
agl3@jane.uh.edu