Randomly Reboot & system Freeze

General support for the Pi-Star System
Post Reply
yo3imm
Posts: 5
Joined: Sat Jun 15, 2019 7:18 pm

Randomly Reboot & system Freeze

Post by yo3imm »

My setup is raspberry Pi Zero W + MMDVM_HS_HAT (from Flo – DF2ET) and I experience randomly reboots of the system and also system hang up.

I powered the setup either from AC power adapter or from an PowerBank and the behavior is the same.

I monitor the temperature and it does not exceed 400 C .
I also monitor the supply voltage; all OK, not less that 4.8 V anytime.

How the PI_STAR WatchDog is configure ?

How is working ?
Is any conf file ? I did not find any

I suspect that this watchdog make all this reboots and hang ups.

From the ‘documentation’ I understood that the watchdog watch the network and other parameters (which ?) and if something is wrong it restart the PI_STAR services….it also reboot the system ?

I updated the wpa_supplicant.conf in order to keep WIFI wake all the time.

Any help to over come this situation ?

Any idea what is the cause of this manifestation of my setup ?
User avatar
KE0FHS
Posts: 1122
Joined: Wed Apr 11, 2018 8:40 pm
Location: Colorado, USA
Contact:

Re: Randomly Reboot & system Freeze

Post by KE0FHS »

This is out in left field, but one thing you may want to check is whether WiFi Power Save is on:

Code: Select all

iw wlan0 get power_save
If it is on, see the post here by Albert, AF4FA, for some helpful suggestions:
viewtopic.php?f=3&t=1726#p7603

Beyond that, you might want to consider flashing a fresh Pi-Star image.

Also, before you fix the issue, you might want to roast a duck or something if your hotspot is getting up to 400 C! ;)
73, Toshen, KE0FHS
Playing with Pi-Star (unofficial notes about setting up and using Pi-Star):
https://amateurradionotes.com/pi-star.htm
yo3imm
Posts: 5
Joined: Sat Jun 15, 2019 7:18 pm

Re: Randomly Reboot & system Freeze

Post by yo3imm »

@ KE0FHS
As I said "I updated the wpa_supplicant.conf in order to keep WIFI wake all the time." meaning the command you mentioned.
Regarding the temperature = it is 40 C......

Any way, thank you
yo3imm
Posts: 5
Joined: Sat Jun 15, 2019 7:18 pm

Re: Randomly Reboot & system Freeze

Post by yo3imm »

@KE7FNS
First thank for you reply.
I tryed with different SD cards and the result was the same.
I imagine myself about the voltage so I used different power supply but the result again was the same.
I will try to use the commnad you sugested.
I will try also with a new fresh SD card.

At the end I will try also a new Raspberry card maybe is is something with the wireless part.
As you said and as I undestood the watchdog supervise the MMDVM and DMRGateway (in may case) services and if something wrong restart them.
I saw in my setup that if I stop my wireless router the PI_STAR restart the Raspberry.
Maybe this is how it should work but why sometimes the whole system freeze.....?
G4AON
Posts: 84
Joined: Tue Apr 24, 2018 5:34 pm

Re: Randomly Reboot & system Freeze

Post by G4AON »

KE0FHS wrote: Thu Jun 20, 2019 7:31 pm This is out in left field, but one thing you may want to check is whether WiFi Power Save is on:

Code: Select all

iw wlan0 get power_save
If it is on, see the post here by Albert, AF4FA, for some helpful suggestions:
viewtopic.php?f=3&t=1726#p7603
Could the Pi-Star builds not be altered to have WiFi Power Save off by default? Mine is set to on, but I'm not sure what effect it has. Occasionally, on D-Star I receive the announcement "connecting to..." suggesting something has changed, could that be related to the WiFi Power Save issue?

73 Dave
ID51E plus 2
ID5100E
IC9700
AnyTone AT-D878UV
Chinese MMDVM with OLED on a Pi 3B
DVAP on a Pi 3B
yo3imm
Posts: 5
Joined: Sat Jun 15, 2019 7:18 pm

Re: Randomly Reboot & system Freeze

Post by yo3imm »

Hi Dave

I allready done this modification - to keep WIFI power on all the time and no changes in PI-STAR behavior.
Yes from time to time I have 'Conneting to......' which mean that the system reboot himself.
AF6VN
Posts: 821
Joined: Fri Jul 20, 2018 1:15 am

Re: Randomly Reboot & system Freeze

Post by AF6VN »

yo3imm wrote: Fri Jun 28, 2019 11:48 am Hi Dave

I allready done this modification - to keep WIFI power on all the time and no changes in PI-STAR behavior.
Yes from time to time I have 'Conneting to......' which mean that the system reboot himself.
It may also mean that there was a dropout somewhere in the internet routing itself (DHCP lease from router expired, DHCP lease from ISP to router expired, etc.).

--
AF6VN
Dennis L Bieber
yo3imm
Posts: 5
Joined: Sat Jun 15, 2019 7:18 pm

Re: Randomly Reboot & system Freeze

Post by yo3imm »

I doubt this behavior. The reconnection also happens a few minutes away from each other.
Post Reply