• Rpi + Synchronet + DosEMU2 = works!

    From nelgin@EOTLBBS to All on Saturday, December 30, 2023 03:16:24
    Hi all,

    Have you decided not to run Synchronet on your Rpi because of problems compiling or because you wouldn't be able to run DOS doors? Your problems are over.

    Digital Man and Andre put together a great wiki on getting Synchronet to work and I have streamlined the process a little and added instructions to get a Rpi 4 with 64 bit Raspberry Pi OS up and running.

    The instructions are here:
    http://wiki.synchro.net/howto:raspbian_install

    I would like to know if anyone tries it and if they're successful or not and which device they are using. I did try this using Ubuntu and it didn't work out well so I recommend using the latest Raspberry Pi OS. Pick a non-desktop version for best performance so you don't have the graphical interface overhead.
    ---
    ■ Synchronet ■ End Of The Line BBS - endofthelinebbs.com
  • From Gamgee@PALANTIR to nelgin on Saturday, December 30, 2023 08:10:00
    nelgin wrote to All <=-

    Hi all,

    Have you decided not to run Synchronet on your Rpi because of
    problems compiling or because you wouldn't be able to run DOS
    doors? Your problems are over.

    Digital Man and Andre put together a great wiki on getting
    Synchronet to work and I have streamlined the process a little
    and added instructions to get a Rpi 4 with 64 bit Raspberry Pi OS
    up and running.

    The instructions are here:
    http://wiki.synchro.net/howto:raspbian_install

    I would like to know if anyone tries it and if they're successful
    or not and which device they are using. I did try this using
    Ubuntu and it didn't work out well so I recommend using the
    latest Raspberry Pi OS. Pick a non-desktop version for best
    performance so you don't have the graphical interface overhead.

    Thanks for writing this up. Not something I'm looking to do right now,
    but good to have for possible future reference. Appreciate the effort.



    ... Want to meet new people? Pick up the wrong golf ball.
    --- MultiMail/Linux v0.52
    ■ Synchronet ■ Palantir BBS * palantirbbs.ddns.net * Pensacola, FL
  • From Ben Madsen to nelgin on Monday, January 15, 2024 20:01:58
    Re: Rpi + Synchronet + DosEMU2 = works!
    By: nelgin to All on Sat Dec 30 2023 03:16 am


    Have you decided not to run Synchronet on your Rpi because of problems compiling or because you wouldn't be able to run DOS
    doors?
    Your problems are over.

    Digital Man and Andre put together a great wiki on getting Synchronet to work and I have streamlined the process a little and
    added instructions to get a Rpi 4 with 64 bit Raspberry Pi OS up and running.

    The instructions are here:
    http://wiki.synchro.net/howto:raspbian_install

    I would like to know if anyone tries it and if they're successful or not and which device they are using. I did try this using
    Ubuntu and it didn't work out well so I recommend using the latest Raspberry Pi OS. Pick a non-desktop version for best
    performance so you don't have the graphical interface overhead.

    I had a Pine A64+ laying around that I was trying to install Synchronet on. Using DietPi the process could be followed exectly, but I'm getting a segfault when I try to start it up.

    GDB backtrace is showing:
    (Can't figure out to paste into Putty, dang it...)

    Thread 1 (Thread 0x#### (LWP 55229)):
    #0 0x#### in js_GetClassPrototype(JSContext*, JSObject*< JSProtoKey, JSObject**, js::Class*) () from /lib/libmozjs185.so.1.0
    #1 0x#### in ?? () from /lib/libmozjs185.so.1.0
    #2 0x#### in ?? ()

    The Pine A64+ is an arm-based processor with this uname -a output:
    Linux bbspine 6.1.63-current-sunxi64 #1 SMP Mon Nov 20 10:52:19 UTC 2023 aarch64 GNU/Linux

    Not sure what my next step as I'm a little light on debugging crashes with GDB these days.

    Does anybody have an idea what I might have missed or is my combination just too unsupported of an OS / Hardware config at the moment?

    Thanks,
    Ben
  • From Digital Man to Ben Madsen on Monday, January 15, 2024 21:16:02
    Re: Rpi + Synchronet + DosEMU2 = works!
    By: Ben Madsen to nelgin on Mon Jan 15 2024 08:01 pm

    Re: Rpi + Synchronet + DosEMU2 = works!
    By: nelgin to All on Sat Dec 30 2023 03:16 am


    Have you decided not to run Synchronet on your Rpi because of problems compiling or because you wouldn't be able to run DOS doors?
    Your problems are over.

    Digital Man and Andre put together a great wiki on getting Synchronet to work and I have streamlined the process a little and added instructions to get a Rpi 4 with 64 bit Raspberry Pi OS up and running.

    The instructions are here:
    http://wiki.synchro.net/howto:raspbian_install

    I would like to know if anyone tries it and if they're successful or not and which device they are using. I did try this using Ubuntu and it didn't work out well so I recommend using the latest Raspberry Pi OS. Pick a non-desktop version for best performance so you don't have the graphical interface overhead.

    I had a Pine A64+ laying around that I was trying to install Synchronet on. Using DietPi the process could be followed exectly, but I'm getting a segfault when I try to start it up.

    GDB backtrace is showing:
    (Can't figure out to paste into Putty, dang it...)

    Thread 1 (Thread 0x#### (LWP 55229)):
    #0 0x#### in js_GetClassPrototype(JSContext*, JSObject*< JSProtoKey, JSObject**, js::Class*) () from /lib/libmozjs185.so.1.0
    #1 0x#### in ?? () from /lib/libmozjs185.so.1.0
    #2 0x#### in ?? ()

    The Pine A64+ is an arm-based processor with this uname -a output:
    Linux bbspine 6.1.63-current-sunxi64 #1 SMP Mon Nov 20 10:52:19 UTC 2023 aarch64 GNU/Linux

    Not sure what my next step as I'm a little light on debugging crashes with GDB these days.

    Does anybody have an idea what I might have missed or is my combination just too unsupported of an OS / Hardware config at the moment?

    The problem is in libmozjs, so I'd suggest trying to build/use the libmozjs that's included in the SBBS repo instead of your system's libmozjs (in /lib).
    --
    digital man (rob)

    Breaking Bad quote #8:
    I want Shania Twain to give me a tuggy. Guess what? That ain't happening either Norco, CA WX: 53.2°F, 81.0% humidity, 0 mph NE wind, 0.00 inches rain/24hrs
  • From nelgin@EOTLBBS to Ben Madsen on Tuesday, January 16, 2024 00:16:25
    Re: Rpi + Synchronet + DosEMU2 = works!
    By: Ben Madsen to nelgin on Mon Jan 15 2024 20:01:58

    I had a Pine A64+ laying around that I was trying to install Synchronet on. Using DietPi the process could be followed exectly, but I'm getting a segfault when I try to start it up.

    Well, I didn't use a Pine device and I didn't use DietPi so I don't know. As DM said, could try using the library that comes with synchronet instead.

    You'll probably want to build a debug version to get a good backtrace.

    Right click the mouse to paste in putty or SHIFT-INSERT.

    ---
    ■ Synchronet ■ End Of The Line BBS - endofthelinebbs.com
  • From Ben Madsen to Digital Man on Wednesday, January 17, 2024 22:04:28
    Re: Rpi + Synchronet + DosEMU2 = works!
    By: Digital Man to Ben Madsen on Mon Jan 15 2024 09:16 pm

    Re: Rpi + Synchronet + DosEMU2 = works!
    By: Ben Madsen to nelgin on Mon Jan 15 2024 08:01 pm

    I had a Pine A64+ laying around that I was trying to install Synchronet on. Using DietPi the process could be followed exectly, but I'm getting a segfault
    when I
    try to start it up.

    GDB backtrace is showing:
    (Can't figure out to paste into Putty, dang it...)

    Thread 1 (Thread 0x#### (LWP 55229)):
    #0 0x#### in js_GetClassPrototype(JSContext*, JSObject*< JSProtoKey, JSObject**, js::Class*) () from /lib/libmozjs185.so.1.0
    #1 0x#### in ?? () from /lib/libmozjs185.so.1.0
    #2 0x#### in ?? ()

    The Pine A64+ is an arm-based processor with this uname -a output:
    Linux bbspine 6.1.63-current-sunxi64 #1 SMP Mon Nov 20 10:52:19 UTC 2023 aarch64 GNU/Linux

    Not sure what my next step as I'm a little light on debugging crashes with GDB these days.

    Does anybody have an idea what I might have missed or is my combination just too unsupported of an OS / Hardware config at the moment?

    The problem is in libmozjs, so I'd suggest trying to build/use the libmozjs that's included in the SBBS repo instead of your system's libmozjs (in /lib).

    I thought that may have been what to try. Glad to have the confirmation. I've been working my way through that included code, although there are some odd type references it doesn't like (doesn't auto-cast FALSE to some pointer types). I think the last place I got stuck on was in the libffi code. I might just give up on DietPI for a little while and try a different distro.

    Thanks again!
    -Ben
  • From Ben Madsen to Digital Man on Sunday, January 21, 2024 22:10:52
    Re: Rpi + Synchronet + DosEMU2 = works!
    By: Digital Man to Ben Madsen on Mon Jan 15 2024 09:16 pm

    The Pine A64+ is an arm-based processor with this uname -a output:
    Linux bbspine 6.1.63-current-sunxi64 #1 SMP Mon Nov 20 10:52:19 UTC 2023 aarch64 GNU/Linux

    Not sure what my next step as I'm a little light on debugging crashes with GDB these days.

    Does anybody have an idea what I might have missed or is my combination just too unsupported of an OS / Hardware config at the moment?

    The problem is in libmozjs, so I'd suggest trying to build/use the libmozjs that's included in the SBBS repo instead of your system's libmozjs (in /lib).

    Just as an update. After trying the internally packaged library on the Pine A64 using Armbian, I ran into a number of issues with compiling libmozjs which I worked through. Then I ran into libffi6 not being compatible with aarch64 and gave up after trying a bunch times. I admit to not knowing a whole lot about programming for different architectures, but porting libffi6 over to aarch64 wasn't going to be something I wanted to do.

    In the end I remembered that I had an actual RPi already running another service for me and got Synchronet going on that system on the first try.

    Thanks for the suggestions. TL;DR is Pine A64 / Aarch64 doesn't seem like it's quite compatible. RPi sure is, though!

    -Ben