Enigma2 restart

    • Enigma2 restart

      Hi
      On some channels my Dreambox DM 525 HD stops working: on the screen there is settings icon only and web interface or remote control does not work.
      But if I log in via telnet or ssh there is enigma2 process defunct.
      So main question is: what can I do to avoid that state?
      But if it happend - I try to restart enigma2:

      Quellcode

      1. killall enigma2 or pkill -9 -f enigma2

      and then

      Quellcode

      1. /usr/bin/enigma2

      But it does not start and I got:

      Quellcode

      1. PYTHONPATH: /usr/lib/enigma2/python
      2. before: 1
      3. after: 1
      4. default pipe size of 65536 bytes detected
      5. ---- opening lame channel db
      6. reading services (version 4)
      7. loaded 4609 services
      8. scanning for frontends..
      9. [ 0] opening frontend
      ... and it wait forever then.

      Is there any solution to this? Thanks in advance :)
    • In DreamOS we have systemd, so please use it ;)

      Quellcode

      1. systemctl restart enigma2

      And to receive a few more info on your freezes, journalctl might help. E.g. you could create a log of all e2 outputs since the last boot. Or a log of all stdout content since the last boot. Or an ongoing log (stop with Ctrl + C).

      Quellcode

      1. journalctl -u enigma2 > /tmp/enigma2.log
      2. journalctl > /tmp/full.log
      3. journalctl -f -u enigma2 > /tmp/enigma2_running.log

      P.S.: enigma2 has never been started by the binary itself, but the enigma2.py startup script.
      so long
      m0rphU
    • I have no experience in enigma2 at all but this lines look strange for me:

      Quellcode

      1. SubServices is returning list [('1:0:1:144E:5DC:13E:820000:0:0:0:', '(...)')]
      2. timeout 0012!
      3. ...
      4. sdt update done!
      5. SubServices is returning list [('1:0:1:144E:5DC:13E:820000:0:0:0:', ' ')]

      Look like channel changes name (?)
      And a moment later, I think it the time when enigma2 stops responding...

      Quellcode

      1. AUDIO_STOP - ok
      2. DEMUX_STOP - audio - main thread is non-idle! display spinner!
      3. 15467085 ms latency per 1000 blits (0,064653 fps)
      4. [EPGC] schedule other finished(1510166104)
      5. 119999 ms latency per 1000 blits (8,333403 fps)
      But why? And how to prevent or restart it?
    • I'm still trying to workaroud it at least :(
      Here is dmesg output:
      mega.nz/#!xa4GUSxY!pI8vjdG1KWn…RISmFwY9jUABK5yAosOrYSCco
      It looks something very bad happens on some channels:


      Quellcode

      1. [63838.185000] CPU 0 Unable to handle kernel paging request at virtual address 00a45b2c, epc == e07911a4, ra == e0791154
      2. [63838.186000] Oops[#1]:
      3. [63838.186000] Cpu 0
      4. [63838.186000] $ 0 : 00000000 10008b00 00a45b2c 7fffffff
      5. [63838.186000] $ 4 : 0397029e e0a45b30 00010000 0000001f
      6. [63838.186000] $ 8 : 000e210f af721b9f 0001ffff 807439f8
      7. [63838.186000] $12 : 00000050 00000006 0000002c 00000022
      8. [63838.186000] $16 : 00000000 e0a386e0 00000001 00000000
      9. [63838.186000] $20 : 805d015c e0a386e0 e0a39d68 805d015c
      10. [63838.186000] $24 : 00000000 80335110
      11. [63838.191000] $28 : af720000 af721c10 00000000 e0791154
      12. [63838.191000] Hi : 00000000
      13. [63838.191000] Lo : 00000178
      14. [63838.191000] epc : e07911a4 bcm_xpt_decoder_stop+0x248/0x2b8 [bcm73625]
      15. [63838.191000] Tainted: P O
      16. [63838.191000] ra : e0791154 bcm_xpt_decoder_stop+0x1f8/0x2b8 [bcm73625]
      17. [63838.191000] Status: 10008703 KERNEL EXL IE
      18. [63838.191000] Cause : 00800004
      19. [63838.191000] BadVA : 00a45b2c
      20. [63838.191000] PrId : 0002a065 (Broadcom BMIPS4380)
      21. [63838.191000] Modules linked in: dreambox_keyboard(PO) bcm73625(PO) atbm781x(PO) lnb_ctrl(PO) dreambox_rc2(PO) stb_core(PO)
      22. [63838.191000] Process enigma2 (pid: 194, threadinfo=af720000, task=afe1f2f8, tls=77232490)
      23. [63838.191000] Stack : 00000001 00000000 ffffffff 00000000 00000000 00000000 00000000 e0a28280
      24. [63838.191000] 00000000 e0a28260 00000000 00000000 00000000 00000000 af57f480 00018000
      25. [63838.191000] 00001776 0006ddd0 00001000 00000bbb 0002bf98 00000000 0006defc 00000000
      26. [63838.201000] 00000000 00000000 00001388 af58df00 00000008 00000001 e0a3a060 e0a39af8
      27. [63838.201000] e0a386e0 00000007 805d015c 00000070 e0a39dd8 e07a8af0 00000000 00000000
      28. [63838.201000] ...
      29. [63838.201000] Call Trace:
      30. [63838.201000] [<e07911a4>] bcm_xpt_decoder_stop+0x248/0x2b8 [bcm73625]
      31. [63838.201000] [<e07a8af0>] bcm_audio_decoder_xpt_stop+0xf0/0x1d0 [bcm73625]
      32. [63838.201000] [<e0786404>] bcm_dvb_demux_free_pid_channel+0xa14/0xabc [bcm73625]
      33. [63838.201000]
      34. [63838.201000]
      35. [63838.201000] Code: 00031827 c0440000 00832024 <e0440000> 1080fffc 00000000 02301021 2403ffff ac400ebc
      36. [63838.209000] ---[ end trace 27de713721ad43f6 ]---
      Alles anzeigen

      Can anyone help? Or how can I report this issue to Dreambox developer?
    • Thanks for respond :)
      I'm trying to compile enigma2 to debug it my myself but any help of more expreience users or developers will be helpful.
      I can confirm reprodution of the problem a moment ago on :
      Hotbird 13E 11488 27500 H sid 5198
      en.kingofsat.net/tp.php?tp=796
      My firmware:
      Image: Experimental 2017-07-20
      Dreambox OS: 4.3.1r20-2017-11-07
      All up to date.
      Logs:
      I move now all files to dedicated directory so above posts link may be deprecated
      All log files are available here:
      mega.nz/#F!FPonlAjZ!CMEKPkdTFtUxJfyti7HYEw

      I can produce fresh logs if required.


      There are more channels I have the same problem, but data of this I saved to tests.