Skip to contentSkip to conversation

Systemwide dosemu crashes

DISCUSSION Brad Rodriguez 1 participant 2 messages Jan 4, 2003 – Jan 5, 2003

lore
Share & tools
lore
#0 lore raw

Last week I reported problems accessing I/O ports from within dosemu. It turned out that, for whatever reason, dosemu was using my private-user installation -- from the ready-to-use binary distribution dosemu-1.0.2.1-bin.tgz, installed as per the Quickstart instruction #1 -- rather than my subsequent systemwide installation, from dosemu-1.0.2.tgz, compiled and installed as per Quickstart instructions #2 and #2a.

Since I had done the binary installation first, I presumed that it had left a link or configuration file that was interfering with the later systemwide installation. Not knowing what that might be, I simply deleted all the dosemu files from my system, and reinstalled from dosemu-1.0.2.tgz. (I'm on a Red Hat 8.0 distribution, by the way.)

The make and install_systemwide (using dosemu-freedos-b8p-bit.tgz) ran to completion ok (although with a large number of warnings about -m486, -malign, and multi-line string literals being deprecated). But now when I run dosemu (or xdosemu) I get the following:

----------
Linux DOS emulator 1.0.2.0 $Date: 2001/06/10 $ Last configured at Sat Jan 4 07:44:54 EST 2003 on linux DPMI-Server Version 0.9 installed

FreeDOS kernel version 1.1.28 (Build 2028) [Dec 09 2002 21:55:55] Kernel compatibility 7.10 - WATCOMC - FAT32 support

(C) Copyright 1995-2002 Pasquale J. Villani and The FreeDOS Project. All Rights Reserved. This is free software and comes with ABSOLUTELY NO WARRANTY; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.
C: HD1 Pri:1 CHS= 0-1-1 start = 0MB,size = 392
Kernel: allocated 41 Diskbuffers = 21812 Bytes in HMA
[dosemu EMS 4.0 driver installed]
attempt to execute unknow builtin

System shutdown complete
Reboot now.
----------

I'm running the standard "out of the box" configuration; no attempt to use serial or I/O ports. If I try to run as root I get the following message:

----------
Your are logged in as user root. The local configuration within this DOSEMU installation is not intended for secure operation. You need to run this as normal unprivileged user.
----------

Any suggestions?
Regards,
Brad

#1 lore raw

Comcom crashes (Was: Systemwide dosemu crashes)

I did some poking around in the dosemu code. Fortunately the phrase "unknow builtin" appears only once (in src/plugin/coopthreads/coopthreads.c), and it appeared to be part of dosemu's built-in command interpreter.

Following a recent tip I read on this list from Bart Oldeman to Jan Willem Stumpel, I played a hunch and replaced the default command.com (link to comcom.com) with my 4DOS command.com. Now dosemu works perfectly!

So, thank you, gentlemen -- you never know when your discussions will benefit someone else on this list. Please now consider this a bug report for comcom.com.

Now, on to trying the I/O ports...
Regards,
Brad