Hi:
I posted the following problem a few weeks ago and have not yet received any
response. I would greatly appreciate it if someone would be able to lend some
insight into it.
I'm a new user of DOSEMU, so it may well be that I am failing to see the
obvious.
I am running DOSEMU 0.98.1. At the moment, it is installed as set-uid root, and
I have removed the "nosuidroot" attribute from the "all" line in
"/etc/dosemu.users".
When I execute "dos" as root it works just fine. When I start it as any other
user, however, it just displays (without the indentation):
CPU speed set to 233/1 MHz
Running on CPU=586, FPU=1, rdtsc=1
After this, it writes some escape sequences to standard output which clear the
screen, and then it silently quits with an exit status of 99. Does anyone know
what I might have done wrong, or, at least, how I might go about figuring out
what is wrong?
In case it's helpful, the output from the command
dos -D+#CDEIMPRSWXcdghikmnprsvwx
is
[00000448] CONF: config variable parser_version_3 set
[00000448] CONF: config variable c_system set
[00000448] CONF: Parsing /var/lib/dosemu/global.conf file.
[00000545] CONF: config variable version_3_style_used set
[00000561] CONF: config variable version_3_style_used unset
[00000561] CONF: config variable version_3_style_used set
[00000561] CONF: opened include file /etc/dosemu.conf
[00000584] CONF: closed include file /etc/dosemu.conf
[00000599] debug flags:
[00000618] CONF: dosbanner on
[00000618] CONF: timint on
[00000618] CONF: CPU set to 386
[00000618] CONF: 1024k bytes XMS memory
[00000618] CONF: 1024k bytes EMS memory
[00000618] CONF: EMS-frame = 0xe000
[00000663] CONF: dosemu running on remote_terminal
[00000682] CONF: Keyboard-layout keyb-user
[00000682] CONF: Keyboard-layout us
[00000683] CONF: config variable c_normal set
[00000683] CONF: security on
[00000683] CONF: DPMI-Server off
[00000683] CONF: not allowing speaker port access
[00000683] CONF: IPX support off
[00000684] CONF: config variable c_system unset
[00000684] CONF: not enough privilege to define config variable c_user
[00000684] CONF: not enough privilege to define config variable c_dosrc
[00000684] CONF: Parsing /home/dave/.dosrc file.
[00000698] device: /home/dave/hdi type 0 header_size: 128 h: 64 s: 32 t: 16
drive C:
[00000699] CONF: not enough privilege to undefine config variable c_dosrc
[00000699] debug flags: +#CDEIMPRSWXcdghikmnprsvwx
[00000699] CONF: mostly running as USER: uid=500 (cached 500) gid=500 (cached 500)
[60686582] TIMER: using pentium timing
[00000000] DBG_FD already set
[00000000] DOSEMU-0.98.1.0 is coming up on Linux version 2.0.36
[00000000] Built for 2000036
[00000000] CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
[00000000] CONF: reserving 64Kb at 0xF0000 for 'r' (Dosemu reserved area)
[00000000] DOS memory area being mapped in
[00000015] HMA: mapped id 205 to (nil)
[00000019] HMA: mapped id 205 to 0x100000
[00000019] HMA: mapped id 204 to 0x81db000
[00000023] Initialized all signals to NOT-BLOCK
[00000034] KBD: keyb_server_init()
[00000034] KBD: keyb_server_reset()
[00000050] KBD: initialising 'slang' mode keyboard client
[00000068] KBD: slang_keyb_init()
[00000084] KBD: Not using SIGIO
[00000084] GEN: fd=0 does not get SIGIO, use_sigio=8192
[00000084] KBD: slang_keyb_init() ok
[00000084] KBD: Keyboard init ok, 'slang' mode
[00000084] VID: Setting windows size to li=25, co=80
[00000090] VID: not running on console - resetting to terminal mode
[00000090] VID: Video set to Video_term
[00000090] VID: config.dualmon=0
[00000090] VID: terminal_initialize() called
[00000095] SCREEN saves at: 0x81eb848 of 4000 size
[00000102] VID: cleared screen: 0 7 0xb8000
[00000109] CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
[00000109] SERIAL $Header: /usr/src/dosemu0.60/serial/RCS/ser_init.c,v 1.1
1995/05/06 16:26:19 root Exp root $
[00000109] SER: Running serial_init, 0 serial ports
[00000130] DMA: DMA Controller initialized - 8 & 16 bit modes
[00000135] SB: SB Initialisation
[00000142] SB:[Linux] SB Driver Initialisation Called
[00000154] SB:[Linux] SoundBlaster 16 can be emulated.
[00000171] SB: Downgraded emulation to SB Pro because SBEmu is incomplete
[00000171] SB: SB PRO emulation available
[00000171] SB: Initialisation - Base 0x220, IRQ 5, DMA 1
[00000172] SB: FM Initialisation
[00000172] SB:[Linux] FM Driver Initialisation Called
[00000172] MPU401: MPU-401 Initialisation
[00000172] MPU401: MPU-401 Initialisation - Base 0x330
[00000172] MPU:[Linux] MPU Driver Initialisation Called
[00000172] KBD: IOCTL fd=0x0, req=0x4b2f, param3=0x0
[00000186] RTC: init time 07:43:34
[00000186] CMOS initialized
[00000186] DMA: DMA Controller Reset - 8 & 16 bit modes
[00000186] SB: Resetting SB
[00000186] SB: Disabling Speaker
[00000197] SB:[Linux] Syncing DSP
[00000206] SB:[Linux] SB Driver Reset Called
[00000206] SB: Resetting FM
[00000206] SB:[Linux] FM Driver Reset Called
[00000206] MPU401: Resetting MPU-401
[00000206] MPU:[Linux] MPU Driver Reset Called
[00000216] MOUSE: No mouse configured in serial config! num_ser=0
[00000216] MOUSE: reset mouse/installed!
[00000216] MOUSE: video mode 0x03 found (T80x25 at 0xb8000).
[00000216] maxx=639, maxy=199 speed_x=0 speed_y=0 ignorexy=0 type=0
[00000227] LPT: initializing printer (null)
[00000227] LPT: initializing printer lpt2
[00000227] LPT: initializing printer lpt3
[00000227] IMAGE: Using user permissions
[00000227] NULLF for /home/dave/hdi
[00000238] PIC,mouse,IPX initialized
[00000263] VID: install_int_10_handler: do nothing
[00000289] OpenBroadcast: could not open socket
[00000289] Must be root for virtual TCP/IP
[00000289] CONFIG: 0x0022 binary: 0000 0000 0010 0010
[00000297] EMS: coming up on release 2.0.36
[00000306] EMS: using /proc/self/mem mmaping (yeah!!!)
[00000306] EMS: opening /proc/self/mem
[00000307] EMS: initializing memory
[00000307] CONF: reserving 64Kb at 0xE0000 for 'E' (EMS page frame)
[00000315] XMS: initializing XMS... 64 handles
[00000315] XMS: New UMB region: 0xc0000
[00000317] XMS: umb_setup: addr 0xc0000 size 0x20000
[00000317] SHM: shm_qf_id=206
[00000317] SHM: shm_video_id=207
[00000317] SHM: Client request area set to 0000
[00000325] DISK: Trying to read 1 bytes at T/S/H 0/0/0 at pos 128
[00000334] Atleast 1 NON-SIGIO file handle in use.
[00000335] EMULATE
[00000355] GEN: fd=7 does not get SIGIO, use_sigio=8192
[00000355] TIME: using 9154 usec for updating ALRM timer
[00000362] Driver not initialized ...
[00000371] +1int 0x1c, ax=0x0000
[00000371] DEFIVEC: int 0x1c @ 0xf000:0x01c0
[00000371] Driver not initialized ...
[00000371] +1int 0x1c, ax=0x0000
[00000371] DEFIVEC: int 0x1c @ 0xf000:0x01c0
[00000371] Return from vm86() for STI
[00000371] +1int 0x1c, ax=0x0000
[00000371] DEFIVEC: int 0x1c @ 0xf000:0x01c0
[00000371] +1int 0x1c, ax=0x0000
[00000371] DEFIVEC: int 0x1c @ 0xf000:0x01c0
[00000371] Return from vm86() for STI
[00000371] +1int 0x1c, ax=0x0000
[00000371] DEFIVEC: int 0x1c @ 0xf000:0x01c0
[00000371] Return from vm86() for STI
[00000371] +1int 0x1c, ax=0x0000
[00000371] DEFIVEC: int 0x1c @ 0xf000:0x01c0
[00000371] Return from vm86() for STI
[00000371] +1int 0x1c, ax=0x0000
[00000371] DEFIVEC: int 0x1c @ 0xf000:0x01c0
[00000371] Return from vm86() for STI
[00000375] DISK: Trying to read 1 bytes at T/S/H 0/0/1 at pos 16512
[00000392] DISK read @1/0/0 (1) -> 0x7c00 OK.
[00000392] leavedos(99) called - shutting down
[00000392] leavedos(99) called - shutting down
[00000392] SPEAKER: sound off
[00000392] SPEAKER: sound OFF!
[00000393] calling close_all_printers
[00000393] LPT: closing printer 0 (<<NODEV>>)
[00000393] LPT: closing printer 0, <<NODEV>>
[00000393] LPT: closing printer 1 (lpt2)
[00000393] LPT: closing printer 1, lpt2
[00000393] LPT: closing printer 2 (lpt3)
[00000393] LPT: closing printer 2, lpt3
[00000393] releasing ports and blocked devices
[00000393] calling serial_close
[00000393] SER: Running serial_close
[00000393] calling mouse_close
[00000393] calling SIG_close
[00000393] 00| f000:0000->f0000 01| f000:0010->f0010 02| f000:0020->f0020
[00000393] 03| f000:0030->f0030 04| f000:0040->f0040 05| f000:0050->f0050
[00000393] 06| f000:0060->f0060 07| f000:0070->f0070 08| f800:4000->fc000
[00000394] 09| f000:e987->fe987 0a| f000:00a0->f00a0 0b| f000:00b0->f00b0
[00000394] 0c| f000:00c0->f00c0 0d| f000:00d0->f00d0 0e| f000:00e0->f00e0
[00000394] 0f| f000:00f0->f00f0 10| f000:0100->f0100 11| f000:0110->f0110
[00000394] 12| f000:0120->f0120 13| f000:0130->f0130 14| f000:0140->f0140
[00000394] 15| f000:0150->f0150 16| f800:3500->fb500 17| f000:0170->f0170
[00000394] 18| f000:0180->f0180 19| f000:0190->f0190 1a| f000:01a0->f01a0
[00000394] 1b| f000:01b0->f01b0 1c| f000:01c0->f01c0 1d| f000:01d0->f01d0
[00000394] 1e| f000:01e0->f01e0 1f| f000:01f0->f01f0 20| f000:0200->f0200
[00000394] 21| f000:0210->f0210 22| f000:0220->f0220 23| f000:0230->f0230
[00000394] 24| f000:0240->f0240 25| f000:0250->f0250 26| f000:0260->f0260
[00000394] 27| f000:0270->f0270 28| f000:0280->f0280 29| f000:0290->f0290
[00000394] 2a| f000:02a0->f02a0 2b| f000:02b0->f02b0 2c| f000:02c0->f02c0
[00000394] 2d| f000:02d0->f02d0 2e| f000:02e0->f02e0 2f| f000:02f0->f02f0
[00000394] 30| f000:0300->f0300 31| f000:0310->f0310 32| f000:0320->f0320
[00000394] 33| f000:0332->f0332 34| f000:0340->f0340 35| f000:0350->f0350
[00000394] calling disk_close_all
[00000394] Hard disk Closing 4
[00000394] calling video_close
[00000394] VID: video_close() called
[00000394] VID: terminal_close() called
[00000395] VID: video_close()->Video->close() called
[00000395] calling keyboard_close
[00000395] KBD: keyb_server_close()
[00000395] calling shared memory exit
[00000395] calling HMA exit
[00000396] closing debugger pipes
[00000396]
[00000396] UNIX: run 'rm -rf >/dev/null 2>&1 /home/dave/.dosemu/tmp/temp.7854'
[00000411] Driver not initialized ...
[00000431] run_unix_command() (parent): child exit code: 0
Thanks.
--
Dave Mielke | 856 Grenon Avenue
Phone: 1-613-726-0014 | Ottawa, Ontario
EMail: [EMAIL PROTECTED] | Canada K2B 6G3