• Dosemu is not locking up

    From plt@1:103/705 to All on Mon Jun 14 21:46:24 2021
    I am not sure if this is causing dosemu to lock up after trying to a bbs door game?

    more dosemu_boot.log
    major = 136 minor = 4
    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: opened include file /etc/dosemu/dosemu.conf
    CONF: closed include file /etc/dosemu/dosemu.conf
    CONF: config variable skip_dosrc set
    CONF: mapping driver = 'auto'
    debug flags: -a+cw
    CONF: Disabling use of pentium timer
    CONF: dosbanner on
    CONF: timer freq=18, update=54925
    CONF: CPU set to 586
    CONF: JIT CPUEMU set to 0 for 586
    CONF: 8192k bytes EMS memory
    CONF: EMS-frame = 0xe400
    CONF: DPMI-Server on (0x5000)
    CONF: DPMI base addr = 0xffffffff
    CONF: PM DOS API Translator on
    CONF: No DJGPP NULL deref checks: off
    CONF: 8192k bytes XMS memory
    CONF: dosemu not running on console
    CONF: time mode = 'bios'
    SER: directory /var/lock namestub LCK.. binary No
    MOUSE: no device specified, type 0 using internaldriver: yes, emulate3buttons: no baudrate: 0
    CONF: Keyboard-layout keyb-user
    CONF: Keyboard-layout uk
    CONF: **** Warning: floppy /dev/fd0 not accessible, disabled
    CONF: fastfloppy = 1
    CONF: IPX support off
    CONF(LPT0) f: (null) c: lpr -l t: 20 port: 0
    CONF(LPT1) f: (null) c: lpr -l -P lpt2 t: 20 port: 0
    CONF: not allowing speaker port access
    CONF: Packet Driver enabled.
    device: /etc/dosemu/drives/c type 4 h: -1 s: -1 t: -1 drive C:
    device: /etc/dosemu/drives/d type 4 h: -1 s: -1 t: -1 drive D:
    CONF: cdrom MSCD0001 on /dev/cdrom
    CONF: config variable c_system unset
    CONF: config variable c_comline set
    Parsing commandline statements.
    CONF: Parsing commandline file.
    SER0: /dev/pts/4
    CONF: config variable c_comline unset
    Linux kernel 4.19.0; CPU speed is 800127000 Hz
    CPU-EMU speed is 800 MHz
    CONF: mostly running as USER: uid=1000 (cached 1000) gid=1000 (cached 1000) DBG_FD already set
    DOSEMU-1.4.0.8 is coming up on Linux version 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03
    -19) x86_64
    Compiled with GCC version 6.3.0 -m64
    WARN: vm86plus service not available in your kernel
    WARN: using CPU emulation for vm86()
    CONF: reserving 640Kb at 0x00000 for 'd' (Base DOS memory (first 640K))
    CONF: reserving 48Kb at 0xF4000 for 'r' (Dosemu reserved area)
    CONF: reserving 128Kb at 0xA0000 for 'v' (Video memory)
    PKT: Cannot open raw sockets: Operation not permitted
    WARN: using non-zero memory base address 0x10f000.
    WARN: You can use the better-tested zero based setup using
    WARN: sysctl -w vm.mmap_min_addr=0
    WARN: as root, or by changing the vm.mmap_min_addr setting in
    WARN: /etc/sysctl.conf or a file in /etc/sysctl.d/ to 0.
    CONF: reserving 8256Kb at 0x100000 for 'x' (Extended memory (HMA+XMS))
    SERIAL $Id$
    registering /dev/pts/4 for serial
    CONF: reserving 16Kb at 0xE4000 for 'E' (EMS page frame)
    CONF: reserving 16Kb at 0xE8000 for 'E' (EMS page frame)
    CONF: reserving 16Kb at 0xEC000 for 'E' (EMS page frame)
    CONF: reserving 16Kb at 0xF0000 for 'E' (EMS page frame)
    CONF: reserving 144Kb at 0xC0000 for 'U' (Upper Memory Block (UMB, XMS 3.0)) TIME: using 9154 usec for updating ALRM timer
    ======================= ENTER CPU-EMU ===============

    * Fault out of DOSEMU code, cs:eip=33:56103b935d16, cr2=11cf, fault_cnt=1 plt@sbbs:/sbbs/node1$

    ---
    þ Synchronet þ sbbs.dynu.net 2025
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hemo@1:103/705 to plt on Tue Jun 15 20:26:06 2021
    Re: Dosemu is not locking up
    By: plt to All on Mon Jun 14 2021 09:46 pm

    I am not sure if this is causing dosemu to lock up after trying to a bbs door game?

    CONF: mostly running as USER: uid=1000 (cached 1000) gid=1000 (cached 1000) WARN: vm86plus service not available in your kernel
    WARN: using CPU emulation for vm86()
    WARN: using non-zero memory base address 0x10f000.
    WARN: You can use the better-tested zero based setup using
    WARN: sysctl -w vm.mmap_min_addr=0
    WARN: as root, or by changing the vm.mmap_min_addr setting in
    WARN: /etc/sysctl.conf or a file in /etc/sysctl.d/ to 0.
    * Fault out of DOSEMU code, cs:eip=33:56103b935d16, cr2=11cf, fault_cnt=1 plt@sbbs:/sbbs/node1$


    The suggestions to correct some things are in the WARN lines.

    The line about faulting out might be related to the items listed in the WARN lines, there are some other items listed here in case you run into more issues:
    https://tldp.org/HOWTO/DOSEMU-HOWTO-11.html
    Section 11.1 is a common issue for the Fault, it has to do with suid root permissions on the dosemu executable.

    hth

    )-(emo

    ---
    þ Synchronet þ - Running madly into the wind and screaming - bbs.ujoint.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Hemo@1:103/705 to Plt on Fri Jun 25 08:19:26 2021
    Re: Re: Dosemu is not locking up
    By: Plt to Hemo on Fri Jun 25 2021 05:16 am

    Re: Dosemu is not locking up
    By: plt to All on Mon Jun 14
    2021 09:46 pm

    I am not sure if this is causing dosemu to lock up after trying to a bbs door game?

    I fixed this issue by adding exitemu in the batch file. It seems that some of the bbs doors do not like to play nice with dosemu.

    That works too. Although technically, you weren't locking up if that was the case. When the BBS appeared to be locked, it ends up waiting for dosemu to exit. I'm betting you could have typed 'exitemu' into the void and your BBS would have regained control.
    http://wiki.synchro.net/howto:dosemu - see Troubleshooting

    It's been so long since I set dosemu up, I forgot about those 'lockups'.
    Glad you got it figured out.

    --
    )-(

    ---
    þ Synchronet þ - Running madly into the wind and screaming - bbs.ujoint.org
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)