• Several Doors not working after upgrae

    From The Lizard Master@VERT/NITEEYES to All on Fri Sep 8 08:02:18 2023
    I posted this in Sync Discussion, but it might be better here. There are a couple dos doors that my wife and I play daily and it's pretty much the reason I set this back up so I'd really appreciate any possible guidance.

    After upgrade from 3.19 - 3.20 I'm getting a CPU Exception. The doors run fine when I run dosemu from command line and they were working before upgrade. It's throwing a system exception though which I know is strange. There are also other door games running fine through DosEMU. I also had made a few stupid mistakes on the upgrade on my end and I had to recereate the settings files. It's very possible I am missing a setting. I also thought permissions might be an issue, but I think I've come to the end of all the iterations I can do with that along with other DOS doors running fine.

    Thanks!

    ERROR: Accessing reserved memory
    at ffffffff00044928 Maybe a null segment registerERROR: unexpected CPU excep
    tion 0x0e err=0x00000005 cr2=ffffffff00044928 while in vm86 (DOS)Program=sigsegv
    .c,

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From Digital Man@VERT to The Lizard Master on Fri Sep 8 12:57:02 2023
    Re: Several Doors not working after upgrae
    By: The Lizard Master to All on Fri Sep 08 2023 08:02 am

    I posted this in Sync Discussion, but it might be better here. There are a couple dos doors that my wife and I play daily and it's pretty much the reason I set this back up so I'd really appreciate any possible guidance.

    After upgrade from 3.19 - 3.20 I'm getting a CPU Exception. The doors run fine when I run dosemu from command line and they were working before upgrade. It's throwing a system exception though which I know is strange. There are also other door games running fine through DosEMU. I also had made a few stupid mistakes on the upgrade on my end and I had to recereate the settings files. It's very possible I am missing a setting. I also thought permissions might be an issue, but I think I've come to the end of all the iterations I can do with that along with other DOS doors running fine.

    Thanks!

    ERROR: Accessing reserved memory
    at ffffffff00044928 Maybe a null segment registerERROR: unexpected CPU excep
    tion 0x0e err=0x00000005 cr2=ffffffff00044928 while in vm86 (DOS)Program=sigsegv
    .c,

    I can't think of any reason why the upgrade to v3.20 would be a factor with these errors. You could installv 3.19 and experiment and see if the error magically disappears with that version, but I'd be very suprised and confused if that was the case.
    --
    digital man (rob)

    Breaking Bad quote #9:
    "Cheesedick" - I know that one [word]. How about that? - Hank Schrader
    Norco, CA WX: 92.6�F, 25.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From The Lizard Master@VERT/NITEEYES to Digital Man on Fri Sep 8 17:02:33 2023
    Re: Several Doors not working after upgrae
    By: Digital Man to The Lizard Master on Fri Sep 08 2023 12:57 pm

    I can't think of any reason why the upgrade to v3.20 would be a factor with these errors. You could installv 3.19 and experiment
    and see if the error magically disappears with that version, but I'd be very suprised and confused if that was the case.

    Yeah I know it doesn't make any sense to me at all, I don't know the specifics, but I'm guessing you are just passing the fossil stuff and it's outside of Synchronet's control. That coupled with the fact other doors are working just fine. I'm just really hoping someone would see the post and it would spark a thought. It's a major bummer.

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From Nightfox@VERT/DIGDIST to The Lizard Master on Fri Sep 8 16:13:24 2023
    Re: Several Doors not working after upgrae
    By: The Lizard Master to Digital Man on Fri Sep 08 2023 05:02 pm

    Yeah I know it doesn't make any sense to me at all, I don't know the specifics, but I'm guessing you are just passing the fossil stuff and it's outside of Synchronet's control. That coupled with the fact other doors are working just fine. I'm just really hoping someone would see the post and it would spark a thought. It's a major bummer.

    Did you by chance also update your Dosemu? Sometimes I've noticed certain builds of Dosemu have changes that can cause issues that weren't there before.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From The Lizard Master@VERT/NITEEYES to Nightfox on Sat Sep 9 10:02:26 2023
    Re: Several Doors not working after upgrae
    By: Nightfox to The Lizard Master on Fri Sep 08 2023 04:13 pm

    Yeah I know it doesn't make any sense to me at all, I don't know the specifics, but I'm guessing you are just passing the fossil stuff and it's outside of Synchronet's control. That coupled with the fact other doors are working just fine. I'm just really hoping someone would see the post and it would spark a thought. It's a major bummer.

    Did you by chance also update your Dosemu? Sometimes I've noticed certain builds of Dosemu have changes that can cause issues that weren't there before.

    Thanks for the reply. I had the same thought and looked up Dosemu and it seems like it hasn't been updated since 2014 unless I was seeing something wrong..

    I'm not sure what else really changed on the system, I was having an issue with permissions, but for this door I literally allowed all everything just to see if anything changed and it didn't. The problem is I was never able to get any of the RTE patches on three doors to ever take, but the TSR would work with them. I read a little and it seems like if the exe is compressed it won't allow the patches to work, but the TSR would still work (although there are very little resources on that).

    I'll keep trying stuff, it's been working for years and I had to fudge with it! ugh!

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From Nightfox@VERT/DIGDIST to The Lizard Master on Sat Sep 9 11:40:32 2023
    Re: Several Doors not working after upgrae
    By: The Lizard Master to Nightfox on Sat Sep 09 2023 10:02 am

    Did you by chance also update your Dosemu? Sometimes I've noticed certain
    builds of Dosemu have changes that can cause issues that weren't there
    before.

    Thanks for the reply. I had the same thought and looked up Dosemu and it seems like it hasn't been updated since 2014 unless I was seeing something wrong..

    Do you mean the package on your system, or Dosemu itself? If you're using Dosemu 1.x (I think 1.4?), I think that hasn't been updated since then, but the newer Dosemu2 is under active development.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From MRO@VERT/BBSESINF to The Lizard Master on Sat Sep 9 14:15:08 2023
    Re: Several Doors not working after upgrae
    By: The Lizard Master to Nightfox on Sat Sep 09 2023 10:02 am

    get any of the RTE patches on three doors to ever take, but the TSR would work with them. I read a little and it seems like if the exe is compressed it won't allow the patches to work, but the TSR would still work (although there are very little resources on that).

    I'll keep trying stuff, it's been working for years and I had to fudge with


    you can try unp on them. if they stripped the headers it wont unpack it.
    there are other ones that force it if it's stripped but i wouldn't trust them. ---
    � Synchronet � ::: BBSES.info - free BBS services :::
  • From The Lizard Master@VERT/NITEEYES to Nightfox on Sun Sep 10 14:06:41 2023
    Re: Several Doors not working after upgrae
    By: Nightfox to The Lizard Master on Sat Sep 09 2023 11:40 am

    Did you by chance also update your Dosemu? Sometimes I've noticed certain
    builds of Dosemu have changes that can cause issues that weren't there
    before.

    Thanks for the reply. I had the same thought and looked up Dosemu and it seems like it hasn't been updated since 2014 unless I was seeing something wrong..

    Do you mean the package on your system, or Dosemu itself? If you're using Dosemu 1.x (I think 1.4?), I think that hasn't been updated since then, but the newer Dosemu2 is under active development.

    Ahhhh, I did not realize there was an active development version. When I go in I see this -

    "Welcome to dosemu 1.4.0.8!"

    But maybe it will work on the new one? And Sync can call that one too? Thanks!

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From The Lizard Master@VERT/NITEEYES to MRO on Sun Sep 10 14:08:45 2023
    Re: Several Doors not working after upgrae
    By: MRO to The Lizard Master on Sat Sep 09 2023 02:15 pm

    get any of the RTE patches on three doors to ever take, but the TSR would work with them. I read a little and it seems like if the exe is compressed it won't allow the patches to work, but the TSR would still work (although there are very little resources on that).

    I'll keep trying stuff, it's been working for years and I had to fudge with


    you can try unp on them. if they stripped the headers it wont unpack it. there are other ones that force it if it's stripped but i wouldn't trust them.

    That's a little out of my range of capability, but I'm not sure I have any other shots here thanks.

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From The Lizard Master@VERT/NITEEYES to Nightfox on Sun Sep 10 14:26:17 2023
    Re: Several Doors not working after upgrae
    By: Nightfox to The Lizard Master on Sat Sep 09 2023 11:40 am

    Did you by chance also update your Dosemu? Sometimes I've noticed certain
    builds of Dosemu have changes that can cause issues that weren't there
    before.

    Thanks for the reply. I had the same thought and looked up Dosemu and it seems like it hasn't been updated since 2014
    unless I
    was seeing something wrong..

    Do you mean the package on your system, or Dosemu itself? If you're using Dosemu 1.x (I think 1.4?), I think that hasn't been
    updated since then, but the newer Dosemu2 is under active development.

    It also works just fine when I run it in DOSEMU, it doesn't when I call it from Synchronet. So it doesn't leave me with much of a way to figure it out.

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From Nightfox@VERT/DIGDIST to The Lizard Master on Sun Sep 10 11:54:12 2023
    Re: Several Doors not working after upgrae
    By: The Lizard Master to Nightfox on Sun Sep 10 2023 02:06 pm

    Ahhhh, I did not realize there was an active development version. When I go in I see this -

    "Welcome to dosemu 1.4.0.8!"

    But maybe it will work on the new one? And Sync can call that one too? Thanks!

    There are some differences in Dosemu2. I thought almost all DOS doors worked well with dosemu 1.4. The only one that didn't work was TradeWars 2002, which was the reason I updated to Dosemu2. I noticed that some other doors didn't run very well though (some are very slow, like there's an infinite loop keeping the CPU busy).

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From MRO@VERT/BBSESINF to The Lizard Master on Sun Sep 10 14:11:01 2023
    Re: Several Doors not working after upgrae
    By: The Lizard Master to MRO on Sun Sep 10 2023 02:08 pm


    you can try unp on them. if they stripped the headers it wont unpack it. there are other ones that force it if it's stripped but i wouldn't trust them.

    That's a little out of my range of capability, but I'm not sure I have any other shots here thanks.


    how is that out of your range? you cant run an exe unpacking utility on them? ---
    � Synchronet � ::: BBSES.info - free BBS services :::
  • From The Lizard Master@VERT/NITEEYES to MRO on Mon Sep 11 09:05:49 2023
    Re: Several Doors not working after upgrae
    By: MRO to The Lizard Master on Sun Sep 10 2023 02:11 pm

    you can try unp on them. if they stripped the headers it wont unpack it. there are other ones that force it if it's stripped but i wouldn't trust them.

    That's a little out of my range of capability, but I'm not sure I have any other shots here thanks.


    how is that out of your range? you cant run an exe unpacking utility on them?

    It's the subseqent steps after that hah, but I'll try it and report back.

    Thank you.

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From The Lizard Master@VERT/NITEEYES to Nightfox on Mon Sep 11 09:07:53 2023
    Re: Several Doors not working after upgrae
    By: Nightfox to The Lizard Master on Sun Sep 10 2023 11:54 am

    Ahhhh, I did not realize there was an active development version. When I go in I see this -

    "Welcome to dosemu 1.4.0.8!"

    But maybe it will work on the new one? And Sync can call that one too? Thanks!

    There are some differences in Dosemu2. I thought almost all DOS doors worked well with dosemu 1.4. The only one that didn't work was TradeWars 2002, which was the reason I updated to Dosemu2. I noticed that some other doors didn't run very well though (some are very slow, like there's an infinite loop keeping the CPU busy).

    DosEMU 1.4 has worked very well for me with a few odd issues until now. I have a few directions here at least.

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From The Lizard Master@VERT/NITEEYES to MRO on Mon Sep 11 15:40:39 2023
    Re: Several Doors not working after upgrae
    By: MRO to The Lizard Master on Sun Sep 10 2023 02:11 pm

    you can try unp on them. if they stripped the headers it wont unpack it. there are other ones that force it if it's
    stripped
    but i wouldn't trust them.

    That's a little out of my range of capability, but I'm not sure I have any other shots here thanks.


    how is that out of your range? you cant run an exe unpacking utility on them?

    UNP didn't seem to find anything to unpack so it might not be unpacked, it might not be patchable with any of the utilities, and I have to run with the TSR. Which it was at one point so I'll have to keep tooling I guess...ugh!

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From The Lizard Master@VERT/NITEEYES to Nightfox on Tue Sep 12 10:20:52 2023
    Re: Several Doors not working after upgrae
    By: Nightfox to The Lizard Master on Sun Sep 10 2023 11:54 am

    Ahhhh, I did not realize there was an active development version. When I go in I see this -

    "Welcome to dosemu 1.4.0.8!"

    But maybe it will work on the new one? And Sync can call that one too? Thanks!

    There are some differences in Dosemu2. I thought almost all DOS doors worked well with dosemu 1.4. The only one that didn't
    work
    was TradeWars 2002, which was the reason I updated to Dosemu2. I noticed that some other doors didn't run very well though
    (some
    are very slow, like there's an infinite loop keeping the CPU busy).

    Nightfox

    Oh man I just noticed something running in console mode from Syncronet! If I run DOSEMU from command prompt and type SHARE, I get SHARE loaded. This is what it shows from Synchronet -

    "Welcome to dosemu 1.4.0.8!"
    About to Execute : D:external.bat
    dosemu FOSSIL emulator: installed.
    Bad command or filename - "share.exe".
    Bad command or filename - "ansi.com".

    Why is it not finding share or ansi.com when running via the Synchronet call? I think this might be the key here, trying not to get too excited, but I have no idea why it finds it no issue when I call DOSEMU from command line, but it's not seeing it from Synchronet call. It might just be a simple Linux alias or something I don't know about.

    Thanks for any guidance here!

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From Nightfox@VERT/DIGDIST to The Lizard Master on Tue Sep 12 08:20:25 2023
    Re: Several Doors not working after upgrae
    By: The Lizard Master to Nightfox on Tue Sep 12 2023 10:20 am

    Oh man I just noticed something running in console mode from Syncronet! If I run DOSEMU from command prompt and type SHARE, I get SHARE loaded. This is what it shows from Synchronet -

    "Welcome to dosemu 1.4.0.8!"
    About to Execute : D:external.bat
    dosemu FOSSIL emulator: installed.
    Bad command or filename - "share.exe".
    Bad command or filename - "ansi.com".

    Why is it not finding share or ansi.com when running via the Synchronet call? I think this might be the key here, trying not to get too excited, but I have no idea why it finds it no issue when I call DOSEMU from command line, but it's not seeing it from Synchronet call. It might just be a simple Linux alias or something I don't know about.

    I'm not sure why that might be.. But I believe Synchronet has its own directory for the C drive for dosemu, and in exec/dosemu.ini, it injects some variables to specify the different drives for dosemu. Maybe that's a place to start.

    Nightfox

    ---
    � Synchronet � Digital Distortion: digitaldistortionbbs.com
  • From The Lizard Master@VERT/NITEEYES to Nightfox on Tue Sep 12 17:11:44 2023
    Re: Several Doors not working after upgrae
    By: Nightfox to The Lizard Master on Tue Sep 12 2023 08:20 am

    I'm not sure why that might be.. But I believe Synchronet has its own directory for the C drive for dosemu, and in exec/dosemu.ini, it injects some variables to specify the different drives for dosemu. Maybe that's a place to start.

    A tad less excited now, share.exe isn't on my system, but share.com is and that's what was running when I typed share from the command line.

    If I look at the node/external.bat file there's a REM'd debug section that has all the variables that the dosemu.ini sets and it appears okay to me.

    --TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From The Lizard Master@VERT/NITEEYES to Nightfox on Thu Sep 14 08:55:58 2023
    Re: Several Doors not working after upgrae
    By: The Lizard Master to Nightfox on Tue Sep 12 2023 05:11 pm

    A tad less excited now, share.exe isn't on my system, but share.com is and that's what was running when I typed share from the command line.

    If I look at the node/external.bat file there's a REM'd debug section that has all the variables that the dosemu.ini sets and it appears okay to me.

    Minor update, but I decided to just run the door local mode in console mode and it works. When I flip on fossil that's when it bombs and it wasn't doing that before I upgraded Synchronet. I'm still not saying it's anything new in synchronet that caused it though, I had permissions issues and did also update some packages. So this might really be a needle in a haystack.

    What I plan on doing as next steps is I'm going to try and set up a clean install and fresh ubuntu just to see. Looking at the console mode it appears the TSR is running fine though and the door runs through it.

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From Nelgin@VERT/EOTLBBS to All on Sun Sep 17 01:33:57 2023
    On Sun, 10 Sep 2023 14:26:17 -0400
    "The Lizard Master" (VERT/NITEEYES) <VERT/NITEEYES![email protected]> wrote:
    Re: Several Doors not working after upgrae
    By: Nightfox to The Lizard Master on Sat Sep 09 2023 11:40 am

    Did you by chance also update your Dosemu? Sometimes I've
    noticed certain builds of Dosemu have changes that can cause
    issues that weren't there before.

    Thanks for the reply. I had the same thought and looked up
    Dosemu and it seems like it hasn't been updated since 2014
    unless I was seeing something wrong..

    Do you mean the package on your system, or Dosemu itself? If
    you're using Dosemu 1.x (I think 1.4?), I think that hasn't been
    updated since then, but the newer Dosemu2 is under active
    development.

    It also works just fine when I run it in DOSEMU, it doesn't when I
    call it from Synchronet. So it doesn't leave me with much of a way to
    figure it out.

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
    [Box Dice]
    1: Name Box Dice
    2: Internal Code BOXDICE
    3: Start-up Directory ../xtrn/boxdice
    4: Command Line boxdice boxdice.cfg
    5: Clean-up Command Line
    6: Execution Cost None
    7: Access Requirements
    8: Execution Requirements
    9: Multiple Concurrent Users Yes
    10: I/O Method FOSSIL or UART
    11: Native Executable/Script No
    12: Use Shell or New Context Yes
    13: Modify User Data No
    14: Execute on Event No
    15: Pause After Execution No
    16: Disable Local Display No
    17: BBS Drop File Type (R) GAP door.sys
    18: Place Drop File In Node Directory
    19: Time Options...
    I think I had to make some changes. Specfically, make sure I/O method
    is FOSSIL or UART, Native Executable/Script is set to No and Use Shell
    or New Context is Yes. The rest shouldn't matter. With these 3 set,
    dosemu2 definitely works with the latest synchronet.
    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23
    ---
    � Synchronet � End Of The Line BBS - endofthelinebbs.com
  • From The Lizard Master@VERT/NITEEYES to Nelgin on Thu Sep 28 12:38:14 2023
    Re: Re: Several Doors not working after upgrae
    By: Nelgin to All on Sun Sep 17 2023 01:33 am

    I think I had to make some changes. Specfically, make sure I/O method
    is FOSSIL or UART, Native Executable/Script is set to No and Use Shell
    or New Context is Yes. The rest shouldn't matter. With these 3 set,
    dosemu2 definitely works with the latest synchronet.

    Great news! So I just decided to spin up a new Synch and installed dosemu2 to test. I followed the wiki, but I'm getting a response that dosemu2 can't find XTRNDIR. I assume this is a var setting somewhere I missed? Is there anyway to write this to the screen? Door.sys is getting written to the door directory so synch is finding and writing to it correctly in /xtrn/door.

    I believe it's from the dosemu.ini update Nightfox posted:

    cmd=/usr/bin/env $TERM HOME=$CTRLDIR QUIET=1 DOSDRIVE_D=$NODEDIR DOSDRIVE_E=$XTRNDIR DOSDRIVE_F=$CTRLDIR DOSDRIVE_G=$DATADIR DOSDRIVE_H=$EXECDIR NODEDIR=$NODEDIR $DOSEMUBIN SHELL_LOADHIGH_DEFAULT=0 -d $NODEDIR -d $XTRNDIR -I"video { none }" $VIRTUALCONF -f$DOSEMUCONF -E$EXTBAT -o$NODEDIRdosemu_boot.log $EXTLOG
    [stdio]
    cmd=/usr/bin/env $TERM HOME=$CTRLDIR QUIET=1 DOSDRIVE_D=$NODEDIR DOSDRIVE_E=$XTRNDIR DOSDRIVE_F=$CTRLDIR DOSDRIVE_G=$DATADIR DOSDRIVE_H=$EXECDIR NODEDIR=$NODEDIR $DOSEMUBIN SHELL_LOADHIGH_DEFAULT=0 -d $NODEDIR -d $XTRNDIR -I"video { none }" -I'keystroke "\n"' $VIRTUALCONF -f$DOSEMUCONF -E$EXTBAT -o$NODEDIRdosemu_boot.log $EXTLOG

    Excited at the prospect! Much appreciated!

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...
  • From The Lizard Master@VERT/NITEEYES to Nightfox on Fri Sep 29 15:44:13 2023
    Re: Re: Several Doors not working after upgrae
    By: The Lizard Master to Nelgin on Thu Sep 28 2023 12:38 pm

    Great news! So I just decided to spin up a new Synch and installed dosemu2 to test. I followed the wiki, but I'm getting a response that dosemu2 can't find XTRNDIR. I assume this is a var setting somewhere I missed? Is there anyway to write this to the screen? Door.sys is getting written to the door directory so synch is finding and writing to it correctly in /xtrn/door.

    So I took out the XTRNDIR var and put in the actual directory as a test. It runs dosemu2 and hangs. Which is fine to me I think because I feel like that means it's close and maybe just sitting at the console or something. Or maybe the fossil isn't kicking on. At very least it's not throwing an exception and bombing out.

    Any other suggestions would be apprecaited. I did a fresh server set up, made sure I took the time to get the permissions right, etc. So I think I might just be down to a few settings here or there.

    ---TLM

    ---
    � Synchronet � I filled this out to keep people from complaining...