Page 1 of 3

Spontaneous restarts, why?

Posted: Tue Oct 08, 2019 9:10 pm
by mogwai
Hi All,

Today I saw my Toon 1 spontaneously restarting several times. I have no clue why this is happening and how to find out what is wrong. Any hints?

I'm running the latest firmware (5.13.12) and all toonstore apps are updated to their latest versions..

Thanks in advance.

Re: Spontaneous restarts, why?

Posted: Tue Oct 08, 2019 9:24 pm
by Toonz
usually Toon reboots when it runs out of memory (RAM).
Removing custom apps helps or disabling native functionality via the TSC tab in the menu

Re: Spontaneous restarts, why?

Posted: Wed Oct 09, 2019 9:11 pm
by mogwai
I already had most native functionality disabled (except zon op toon :)) and only a few toonstore apps installed. The problem magically disappeared again, let's hope it stays like that...

Re: Spontaneous restarts, why?

Posted: Wed Oct 09, 2019 10:38 pm
by SDeath
I saw the same thing after upgrading to 5.13.9 but I also didn't remove the native Toon apps so that might be it.
I will upgrade to 5.13.12 now and remove those apps.

Re: Spontaneous restarts, why?

Posted: Sun Oct 20, 2019 12:25 am
by maikelvds
I have also this issue. This evening he is restarting continously .
When I want to go in the menu it is working for 3 seconds and return to the main screen again.
After a few minutes Toon is freezing and I have to wait for a restart...

This afternoon it was working perfectly. I did nothing in between and now he is not working anymore...

Help?

Re: Spontaneous restarts, why?

Posted: Sun Oct 20, 2019 1:00 pm
by maikelvds
Just updated to latest version, update was succesfull but Toon is still restarting complete time.

Also tried to remove some custom apps.. So I don't think it is the RAM memory..

Re: Spontaneous restarts, why?

Posted: Sun Oct 20, 2019 1:18 pm
by maikelvds
Now I deleted almost all custom apps and it is working again...
Now piece by piece reinstall.

Re: Spontaneous restarts, why?

Posted: Fri Nov 01, 2019 9:30 am
by michel30
Hello,

I use a Toon 1 with firmware 5.15.6 and I notice that the Toon restarts spontaneously and sometimes it gets stuck when I click on an app for example TSC menu.

I used the same apps as on the other firmwares.

Calendar
waste calendar
Temperature logger
Buienrader

Is there a log file somewhere so that I can see what the issue is and why the toon is acting so weird now with the latest firmware?

Regards,
Michel

Re: Spontaneous restarts, why?

Posted: Fri Nov 01, 2019 9:42 am
by TheHogNL
michel30 wrote:Hello,

I use a Toon 1 with firmware 5.15.6 and I notice that the Toon restarts spontaneously and sometimes it gets stuck when I click on an app for example TSC menu.


Is there a log file somewhere so that I can see what the issue is and why the toon is acting so weird now with the latest firmware?
This is most probably a memory issue. 4 custom apps is on the limit for a toon1. Please run update-rooted.sh with option -f as I have recently (13 days ago) added some memory tuning options for the toon1. Reboot afterwards.

Re: Spontaneous restarts, why?

Posted: Mon Nov 11, 2019 12:30 pm
by Mixpower
I have the same problem, since 5.15.6 it reboot's randomly 2/3 times a day for no reason.
I have not installed any extra apps and only use it for power monitoring and never had such issue before,
can I downgrade the Toon to 5.13.12?

Re: Spontaneous restarts, why?

Posted: Tue Nov 12, 2019 2:45 pm
by TheHogNL
No that is not possible. But try another 'update-rooted.sh -f'. I recently add some memory tweaking options for the toon1. I think that helps a lot.

Re: Spontaneous restarts, why?

Posted: Tue Nov 12, 2019 6:08 pm
by Mixpower
TheHogNL wrote:No that is not possible. But try another 'update-rooted.sh -f'. I recently add some memory tweaking options for the toon1. I think that helps a lot.
Great I'll try that right away!

Re: Spontaneous restarts, why?

Posted: Fri Nov 15, 2019 10:14 pm
by mogwai
mogwai wrote:I already had most native functionality disabled (except zon op toon :)) and only a few toonstore apps installed. The problem magically disappeared again, let's hope it stays like that...
Unfortunately the problem came back :(. Today the toon is almost continuously rebooting. I check diskspace and memory usage and memory seems indeed full. Below my findings, maybe it gives usefull info.

I now run './update_rooted -f' and hopefully that fixes my problem. I also posted the 'top' result after running this, maybe somebody can check if this is 'normal' now...

Result of 'df';

Code: Select all

Filesystem           1K-blocks      Used Available Use% Mounted on
ubi0:rootfs             105740     80888     24852  76% /
tmpfs                    63096       228     62868   0% /var/volatile
Result of 'top' with GUI running:

Code: Select all

Mem: 124484K used, 1712K free, 228K shrd, 0K buff, 4716K cached
CPU: 17.2% usr 72.4% sys  0.0% nic 10.3% idle  0.0% io  0.0% irq  0.0% sirq
Load average: 3.29 7.35 9.82 3/148 22096
Result of 'top' during GUI boot process, sorted by memory usage:

Code: Select all

Mem: 117148K used, 9048K free, 200K shrd, 0K buff, 14112K cached
CPU: 26.7% usr 72.5% sys  0.0% nic  0.0% idle  0.7% io  0.0% irq  0.0% sirq
Load average: 7.94 10.01 10.18 4/148 22913
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
  766     1 root     S     333m269.5  0.7 {hcb_comm} HCBv2 hcb_comm       [OK] [20 clients] [S1|N1]
22545     1 root     R     138m111.7 25.8 /qmf/sbin/qt-gui -platform linuxfb -plugin Tslib
  797     1 root     R    57348 45.3 32.8 {hcb_rrd} HCBv2 hcb_rrd        [OK] [S1|N1]
  803     1 root     S    39924 31.5 14.6 {hdrv_zwave} HCBv2 hdrv_zwave     [OK] [ED4B6C27 SIS 3.67] [S1|N1]
  789     1 root     S    25980 20.5  0.0 {hcb_config} HCBv2 hcb_config     [OK] [S1|N1]
  801     1 root     S    24452 19.3  0.0 {hdrv_hue} HCBv2 hdrv_hue       [OK] [S1|N1]
  774     1 root     S    24240 19.1  0.0 {happ_weather} HCBv2 happ_weather   [OK] [S20|N1]
  769     1 root     S    23732 18.7  0.7 {happ_pwrusage} HCBv2 happ_pwrusage  [OK] [S1|N1]
  772     1 root     S    23544 18.6  0.0 {happ_thermstat} HCBv2 happ_thermstat [OK] [S20|N1]
  765     1 root     S    23168 18.3  0.7 {hcb_netcon} HCBv2 hcb_netcon     [OK] [S1|N1]
  768     1 root     S    23100 18.2  0.0 {happ_kpi} HCBv2 happ_kpi       [OK] [S1|N1]
  770     1 root     S    23080 18.2  0.7 {happ_scsync} HCBv2 happ_scsync    [OK] [S1|N1]
  773     1 root     S    22936 18.1  0.0 {happ_usermsg} HCBv2 happ_usermsg   [OK] [S1|N1]
  802     1 root     S    22372 17.6  7.6 {hdrv_p1} HCBv2 hdrv_p1        [OK] [C:OK E:OP (P1) G:OP (P1) S:OP ] [S1|N1]
  767     1 root     S    21968 17.3  0.0 {happ_eventmgr} HCBv2 happ_eventmgr  [OK] [S1|N1]
  771     1 root     S    21416 16.9  0.0 {happ_smartplug} HCBv2 happ_smartplug [OK] [S1|N1]
  800     1 root     S    21316 16.8  0.0 {hcb_watchdog} HCBv2 hcb_watchdog   [OK] [S20|N1]
  775     1 root     S    17620 13.9  0.0 {hcb_bxtproxy} HCBv2 hcb_bxtproxy   [OK] [S:0:714:464 R:0:0 Q:0 (PRD)] [S1|N1]
  816     1 root     S    15404 12.1  0.0 /usr/sbin/lighttpd -D -m /usr/lib/lighttpd -f /qmf/etc/lighttpd/lighttpd.conf
  796     1 root     S    12092  9.5  6.9 {hcb_log} HCBv2 hcb_log        [OK] [S1|N1]
13880     1 root     S     4176  3.3  1.4 /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -c /etc/network/wpa_supplicant.wl
13987     1 root     S     3576  2.8  0.0 /usr/sbin/nmbd -s /etc/samba/smb.conf
22843 22083 root     R     3264  2.5  4.8 top
22083 22039 root     S     3264  2.5  0.0 -sh
  763     1 root     S     3092  2.4  0.0 /sbin/getty -L 115200 ttymxc0 vt102
  764     1 root     S     3088  2.4  0.7 {tsc} /bin/sh /usr/bin/tsc
Result of top after running 'update_rooted.sh -f'' (sorted by memory usage):

Code: Select all

Mem: 123296K used, 2900K free, 156K shrd, 0K buff, 36244K cached
CPU:  6.1% usr 11.7% sys  0.0% nic 81.6% idle  0.0% io  0.0% irq  0.5% sirq
Load average: 0.62 1.09 0.59 1/148 2166
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
  767     1 root     S     333m269.5  0.0 {hcb_comm} HCBv2 hcb_comm       [OK] [20 clients] [S1|N1]
  763     1 root     S     169m137.4  2.5 /qmf/sbin/qt-gui -platform linuxfb -plugin Tslib
  796     1 root     S    39924 31.5  7.6 {hdrv_zwave} HCBv2 hdrv_zwave     [OK] [ED4B6C27 SIS 3.67] [S1|N1]
  777     1 root     S    25936 20.5  0.0 {hcb_config} HCBv2 hcb_config     [OK] [S1|N1]
  775     1 root     S    24240 19.1  0.0 {happ_weather} HCBv2 happ_weather   [OK] [S20|N1]
  770     1 root     S    23724 18.7  0.0 {happ_pwrusage} HCBv2 happ_pwrusage  [OK] [S1|N1]
  773     1 root     S    23540 18.6  1.0 {happ_thermstat} HCBv2 happ_thermstat [OK] [S20|N1]
  794     1 root     S    23428 18.5  0.0 {hdrv_hue} HCBv2 hdrv_hue       [OK] [S1|N1]
  766     1 root     S    23164 18.3  0.0 {hcb_netcon} HCBv2 hcb_netcon     [OK] [S1|N1]
  769     1 root     S    23100 18.2  0.0 {happ_kpi} HCBv2 happ_kpi       [OK] [S1|N1]
  771     1 root     S    23080 18.2  0.0 {happ_scsync} HCBv2 happ_scsync    [OK] [S1|N1]
  795     1 root     S    22440 17.7  0.0 {hdrv_p1} HCBv2 hdrv_p1        [OK] [C:OK E:OP (P1) G:OP (P1) S:OP ] [S1|N1]
  768     1 root     S    21968 17.3  0.0 {happ_eventmgr} HCBv2 happ_eventmgr  [OK] [S1|N1]
  774     1 root     S    21912 17.3  0.0 {happ_usermsg} HCBv2 happ_usermsg   [OK] [S1|N1]
  784     1 root     S    21796 17.2  0.0 {hcb_rrd} HCBv2 hcb_rrd        [OK] [S1|N1]
  772     1 root     S    21416 16.9  0.0 {happ_smartplug} HCBv2 happ_smartplug [OK] [S1|N1]
  785     1 root     S    21316 16.8  0.0 {hcb_watchdog} HCBv2 hcb_watchdog   [OK] [S20|N1]
  776     1 root     S    17620 13.9  0.5 {hcb_bxtproxy} HCBv2 hcb_bxtproxy   [OK] [S:0:3:2 R:0:0 Q:0 (PRD)] [S1|N1]
  806     1 root     S    14124 11.1  0.5 /usr/sbin/lighttpd -D -m /usr/lib/lighttpd -f /qmf/etc/lighttpd/lighttpd.conf
  783     1 root     S    12100  9.5  0.5 {hcb_log} HCBv2 hcb_log        [OK] [S1|N1]
 1385     1 root     S     4176  3.3  0.0 /usr/sbin/wpa_supplicant -B -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -c /etc/network/wpa_supplicant.wlan0.con
 1312     1 root     S     3576  2.8  0.0 /usr/sbin/nmbd -s /etc/samba/smb.conf
 2157  2131 root     R     3264  2.5  3.0 top
 2131  2083 root     S     3264  2.5  0.0 -sh
  764     1 root     S     3092  2.4  0.0 /sbin/getty -L 115200 ttymxc0 vt102
  765     1 root     S     3088  2.4  0.0 {tsc} /bin/sh /usr/bin/tsc
  704     1 root     S     3088  2.4  0.0 /sbin/syslogd -n -O /var/log/messages -s 32 -b 1 -m 20
  706     1 root     S     3088  2.4  0.0 /sbin/klogd -n

Re: Spontaneous restarts, why?

Posted: Sat Nov 16, 2019 12:03 am
by TheHogNL
mogwai wrote: Result of top after running 'update_rooted.sh -f'' (sorted by memory usage):
You do need to restart the toon after this -f option to use the memory tuning options.

Re: Spontaneous restarts, why?

Posted: Sat Nov 16, 2019 12:25 am
by mogwai
TheHogNL wrote:
mogwai wrote: Result of top after running 'update_rooted.sh -f'' (sorted by memory usage):
You do need to restart the toon after this -f option to use the memory tuning options.
Forgot to mention in my post, but I did issue a 'reboot' afterwards, so the 'top' results are after the reboot had finished.