Page 1 of 1

Randomly Reboot & system Freeze

Posted: Thu Jun 20, 2019 2:58 pm
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 ?

Re: Randomly Reboot & system Freeze

Posted: Thu Jun 20, 2019 7:31 pm
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! ;)

Re: Randomly Reboot & system Freeze

Posted: Thu Jun 20, 2019 7:38 pm
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

Re: Randomly Reboot & system Freeze

Posted: Mon Jun 24, 2019 7:53 am
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.....?

Re: Randomly Reboot & system Freeze

Posted: Thu Jun 27, 2019 9:32 am
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

Re: Randomly Reboot & system Freeze

Posted: Fri Jun 28, 2019 11:48 am
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.

Re: Randomly Reboot & system Freeze

Posted: Fri Jun 28, 2019 4:02 pm
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.).

Re: Randomly Reboot & system Freeze

Posted: Sun Jun 30, 2019 4:07 pm
by yo3imm
I doubt this behavior. The reconnection also happens a few minutes away from each other.