Page 2 of 3

Re: Loss of ttyAMA0 with 4.2.0

Posted: Wed Feb 14, 2024 9:06 pm
by W3KIT
Bob,

I saw this on the other post. I have not have a chance to try it.

viewtopic.php?p=24271&fbclid=IwAR21r0b8 ... hcJqU8ZOG4

I never deleted the ttyAMA0, I just unlinked it. I will try that when I get home and -recreates a special file with type and major/minor number with the owner and group he suggested.

If I get to try that sooner I will let you know. But keep in mind that I will be working with 4.3.0 as I never saw this with 4.2.0

73, Kit

Re: Loss of ttyAMA0 with 4.2.0

Posted: Wed Feb 14, 2024 10:35 pm
by ns2b
Hey Kit,

Yep, those are the instructions I used to recreate ttyAMA0 correctly.

Here's a speculation - if the hotpsot is never configured with a display, maybe the problem never occurs.
I had set my display type to None, but the display port was still ttyAMA0. One I set the port to None it
seems like my problems have gone away.

Bob, NS2B

Re: Loss of ttyAMA0 with 4.2.0

Posted: Thu Feb 15, 2024 1:03 am
by W3KIT
Workaround seems to work but after reboot the pi-star the issue is back. At least for me.

73, Kit

Re: Loss of ttyAMA0 with 4.2.0

Posted: Fri Feb 16, 2024 9:13 pm
by MW0MWZ
Update to 4.2.1 and let me know if that cures it for you :)

Re: Loss of ttyAMA0 with 4.2.0

Posted: Fri Feb 16, 2024 10:50 pm
by ns2b
Hmmm....

I'd have to say 4.2.1 is broken even worse.

This was performed on a jumbospot using a pi zero 2W configured as a D-Star hotspot.

I formatted my memory card.
Imaged the card with the 4.2.1 download.
Dropped my saved config from 4.1.8 into the boot partition.
Booted the hotspot

/dev/ttyAMA0 stayed put.

BUT...

The D-Star label kept toggling from red to green and audio received was one syllable at a time.

Tried powering down and up. It didn't connect to my wifi but instead ran home to access point mode.
Truly weird.
A second power cycle and it came up with wifi and behaved as described above.

Tailing the MMDVM log it looks like mmdvmhost is continuously restarting.

Bob, NS2B

Re: Loss of ttyAMA0 with 4.2.0

Posted: Fri Feb 16, 2024 11:37 pm
by G8SEZ
Yep.

3 of my Pi-Star 4.2.1 hotspots are sitting there and continuously restarting, going offline, initialising, rinse and repeat.

Re: Loss of ttyAMA0 with 4.2.0

Posted: Sat Feb 17, 2024 2:02 am
by MW0MWZ
Well damn

EDIT: Update pulled, I'll figure it out tomorrow.

Re: Loss of ttyAMA0 with 4.2.0

Posted: Sat Feb 17, 2024 2:11 am
by MW0MWZ
G8SEZ wrote: Fri Feb 16, 2024 11:37 pm Yep.

3 of my Pi-Star 4.2.1 hotspots are sitting there and continuously restarting, going offline, initialising, rinse and repeat.
check and see if

Code: Select all

/etc/systemd/system/mmdvmhost.service.requires
exists, and if it does remove the whole folder, and run

Code: Select all

sed -i '/Requires=nextiondriver\.service/d' /lib/systemd/system/mmdvmhost.service 
systemctl daemon-reload
and then reboot.

See if that clears them up

Re: Loss of ttyAMA0 with 4.2.0

Posted: Sat Feb 17, 2024 12:53 pm
by G8SEZ
MW0MWZ wrote: Sat Feb 17, 2024 2:11 am
G8SEZ wrote: Fri Feb 16, 2024 11:37 pm Yep.

3 of my Pi-Star 4.2.1 hotspots are sitting there and continuously restarting, going offline, initialising, rinse and repeat.
check and see if

Code: Select all

/etc/systemd/system/mmdvmhost.service.requires
exists, and if it does remove the whole folder, and run

Code: Select all

sed -i '/Requires=nextiondriver\.service/d' /lib/systemd/system/mmdvmhost.service 
systemctl daemon-reload
and then reboot.

See if that clears them up
/etc/systemd/system/mmdvmhost.service.requires did exist, did a sudo rm -rf on the folder

Ran the commands above using sudo, rebooted.

No change, sorry.

Re: Loss of ttyAMA0 with 4.2.0

Posted: Sat Feb 17, 2024 12:59 pm
by MW0MWZ
Can we do some kind of remote session, I'd love to know more about how this is broken for you.

In the mean time I'll also do some more testing here and see if I can see what is up, the above cleaned mine up at least.