Hello Guest, if you are reading this it means you have not registered yet. Please take a second, Click here to register, and in a few simple steps you will be able to enjoy our community and use our OpenViX support section.

View Entry Info: Crash at end of recording, when end margin starts

Category:
Possible Bug
What ViX Image build number are you using?
Please provide your ViX Team image build number. Menu > Information > About > Build number > ENTER THIS NUMBER e.g. 4.2.028
OpenViX 5.3.015
Have you tried a flash WITHOUT settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
No
Have you tried a flash WITH settings restore?
Have you tried this? PLEASE SELECT YES OR NO.
Yes
Attachments
Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 53

Thread: Crash at end of recording, when end margin starts

  1. #16

    Title
    Senior Member
    Join Date
    Nov 2017
    Posts
    201
    Thanks
    35
    Thanked 25 Times in 23 Posts
    Quote Originally Posted by Mickkie View Post
    Thanks guys,

    Since I've fsck'ed the partition and reflashed the image, the Mut@nt seems to be OK again. I hope the problem was an one off rather than a eMMC hardware failure. I guess time will tell.
    Sadly there was another crash last night, but looking at dmesg after a clean reboot there are no fs errors. What else might it be causing this? Power supply gone wrong?
    Kind regards,

    Mick

  2. #17
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,276 Times in 1,089 Posts
    …. maybe the crash log will give us a clue?

  3. #18

    Title
    Senior Member
    Join Date
    Nov 2017
    Posts
    201
    Thanks
    35
    Thanked 25 Times in 23 Posts
    Quote Originally Posted by ccs View Post
    …. maybe the crash log will give us a clue?
    Thanks ccs, I have enabled logs and rebooted. Will keep an eye out for subsequent crashes and report back.
    Kind regards,

    Mick

  4. #19
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,384
    Thanks
    988
    Thanked 2,888 Times in 2,243 Posts
    @Mickkie - if its a crash, then the crash log is there - probably in flash if you never set up Debug logs.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  5. #20

    Title
    Senior Member
    Join Date
    Nov 2017
    Posts
    201
    Thanks
    35
    Thanked 25 Times in 23 Posts
    Ohh! I wasn't sure if a log would be created unless I had enabled the capture of debug logs first. This is interesting: there were no crash logs present, when I looked immediately after the 'crash'. Am I misinterpreting the phenomenon as a crash? This is what happened last night.

    I was watching a film from a live transmission, no recording taking place. Suddenly the TV screen went dark and for no longer than 2-3 seconds the VIX spinner showed up at the top left corner of the screen, before the picture returned. This is a much shorter duration than when rebooting the STB or restarting the GUI. If this is not a crash, what could it be?

    At previous instances when this occurred while a recording was taking place, the recording stopped and restarted a few seconds later, resulting in two recorded files stored on the disk.
    Kind regards,

    Mick

  6. #21
    twol's Avatar
    Title
    Moderator
    Join Date
    Apr 2012
    Posts
    8,384
    Thanks
    988
    Thanked 2,888 Times in 2,243 Posts
    @Mickkie - if you get a crash you will see a load of stuff on the screen describing the crash, the system will then reboot enigma and restart.
    What you are seeing is an activity starting that consumes the processor (hence the ViX spinner) - maybe a debug log will show what is happening.
    Gigablue Quad 4K & UE 4K
    .........FBC Tuners:
    ------------------> DUR-Line DCR 5-1-8-L4 Multiswitch to 1.5M dish(28.2E)
    ------------------> Spaun SUS 5581/33 NFA Multiswitch to 80 cm dish(19.2E)
    .......................> FBC & DVB-S2X into 90cm dish (27.5W) Opticum robust Unicable LNB
    AX HD61, Edision Osmio 4K+, Zgemma H9Combo, Octagon SF8008 , gbtrio4k, h9se using Legacy ports on multiswitches
    Zgemma H9 C/S into Giga4K

  7. The Following User Says Thank You to twol For This Useful Post:

    Mickkie (09-02-20)

  8. #22

    Title
    Senior Member
    Join Date
    Nov 2017
    Posts
    201
    Thanks
    35
    Thanked 25 Times in 23 Posts
    Thanks twol, from what you're saying I'm exhausting the resources of the box and it barfs while this is happening. I retraced my steps, thinking what I might have changed in the config to cause this problem. From what I recall I changed the EPG refresh settings, asking it to automatically save the EPG. I disabled it now as shown in the attached screenshot. Could someone please confirm if these are the default settings, or what I could/should change to minimise any adverse impact on the box?
    Attached Images Attached Images
    Kind regards,

    Mick

  9. #23
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,771
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by Mickkie View Post
    For whatever reason the crash took place, inc. the state of the fs, it seems it was remounted as ro when it errored out.
    That's what Linux does when certain errors occur. To stop things getting any worse.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  10. #24
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,771
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by Mickkie View Post
    Thanks twol, from what you're saying I'm exhausting the resources of the box and it barfs while this is happening.
    From the logs you appear to be using /epg.dat to store EPG data.

    < 57428.683> [eEPGCache] /media/hdd/epg.dat not found, try /epg.dat
    That could well run you out of space.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  11. #25

    Title
    Senior Member
    Join Date
    Nov 2017
    Posts
    201
    Thanks
    35
    Thanked 25 Times in 23 Posts
    Thanks birdman, I've gone through some changes in the settings moving the epg.dat location from /media/usb/ to /media/hdd/ and back when among other checks I had unmounted the /media/usb device to fsck its vfat filesystem. I have reset the epg.dat to be stored on /media/usb/ instead of the spinning disk. I assume this is OK for an 8G USB disk, or is the recommended storage space for EPG the spinning disk? The current epg.dat size following a reboot looks OK to me:
    Code:
    root@mutant51:~# ls -la /media/usb/epg.dat 
    -rwxrwxrwx    1 root     root            40 Feb  9 15:45 /media/usb/epg.dat
    I've also set the debug logs to be captured on the USB and I'll see if disabling the autosave for the EPG has resolved my problem.
    Kind regards,

    Mick

  12. #26
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,276 Times in 1,089 Posts
    epg.dat is only read once at boot time, and written once when shutting down (and more often if you think you need to), so I'd put it on the hdd.

    epg.dat should end up much bigger than the 40bytes you're seeing.

  13. The Following User Says Thank You to ccs For This Useful Post:

    Mickkie (09-02-20)

  14. #27

    Title
    Senior Member
    Join Date
    Nov 2017
    Posts
    201
    Thanks
    35
    Thanked 25 Times in 23 Posts
    Thank you css, for this useful pointer. I have moved the EPG cache to the hard drive. I wonder if this is what caused all these problems in the first place.
    Kind regards,

    Mick

  15. #28
    ccs's Avatar
    Title
    ViX Beta Tester
    Join Date
    Sep 2014
    Posts
    5,836
    Thanks
    554
    Thanked 1,276 Times in 1,089 Posts
    This is my (terrestrial only) epg.dat

    Code:
    root@et10000:/media/hdd# ls -l epg.dat                                                                                                    
    -rw-r--r--    1 root     root       2931039 Feb  9 16:41 epg.dat                                                                        
    root@et10000:/media/hdd#

  16. #29
    birdman's Avatar
    Title
    Moderator
    Join Date
    Sep 2014
    Location
    Hitchin, UK
    Posts
    7,771
    Thanks
    235
    Thanked 1,656 Times in 1,305 Posts
    Quote Originally Posted by Mickkie View Post
    I have reset the epg.dat to be stored on /media/usb/ instead of the spinning disk. I assume this is OK for an 8G USB disk, or is the recommended storage space for EPG the spinning disk?
    I have mine on a USB stick. Since I have UK Freeview the EPG data is updated at various times, so I have things set to updated this file from time to time and I don't want to needlessly spin up the disk.
    MiracleBox Prem Twin HD - 2@DVB-T2 + Xtrend et8000 - 5(incl. 2 different USBs)@DVB-T2[terrestrial - UK Freeview HD, Sandy Heath] - LAN/USB-stick/HDD

  17. #30
    Joe_90's Avatar
    Title
    Moderator
    Join Date
    Mar 2014
    Location
    Wicklow, Ireland
    Posts
    4,100
    Thanks
    1,266
    Thanked 1,115 Times in 879 Posts
    @birdman - I think the EPG data is held in RAM during normal running, so it shouldn't be spinning the HDD up. Only when going into standby/deep standby should the system be transferring the EPG cache to disk.
    GB Quad Plus, Mut@nt HD51, AX HD61, 80cm dish and Supreme Dark motor. Sony STR-DN 1060, Sony UHP-H1 Bluray, Odroid N2+ (CoreElec), Monitor Audio Bronze 5.1 speakers

Page 2 of 4 FirstFirst 1234 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.