PDA

View Full Version : [Formuler F1] Error -6 When Recording Makes Box Unresponsive



PJDiddy
27-01-18, 00:17
Hi all

Forgive me if I have missed something obvious but I'm a newbie to this after getting my first Enigma2 box last month to replace an aging Foxsat box, a F1 populated with an extra DVB-T2 tuner for Freeview in addition to the two sat tuners being supplied from a Sky dish for Freesat/FTA however the box keeps becoming unresponsive every couple of days displaying the spinner stopping recording and unable to change channels. I love the flexibility of the box but its driving the wife mad especially when it fails on her recordings. The logs suggest "'prepare' failed: error -6" when certain recording are set to start, what is the definition of this error? I can find a number of posts about it but no real fix. Seems to happen when two recordings occur at the same time. Any ideas to stop this happening?

55883

Thanks

Paul

birdman
27-01-18, 02:41
It does seem to be the first recording on the DVB-T2 tuner?.

Error code -6 here is errAllSourcesBusy.

twol
27-01-18, 11:41
Also can see 2 harddisks sda & sdb and a network mount.
To which device are you recording?

bbbuk
27-01-18, 12:59
I thought my missus was bad with recording but it looks like yours is recording near enough 24/7 lol

I have never done my own debug (not yet had a reason too) but I noticed a lot of "renames" for each recording. Not sure if this is normal or if you have extra settings enabled to rename recording from the default. I state this as there was a few 'mv' errors. Maybe you sort the recordings into folders or something else?

Also, 'parted' was mentioned so have you partitioned a drive (hence what twol mentioned about using sda and sdb).

May need more idea of setup like plugins you have downloaded and installed that weren't already included in image when it was flashed?
Do you have recordings moved to specific folders or anything or changed default filenames?
What size HDD or USB do you use and how many and if partitioned?

ccs
27-01-18, 13:13
There are a few

<210132.958> [TimerSanityCheck] conflict detected!
<210132.958> [RecordTimer] timer conflict detected!

errors near the end of the log, suggesting there might not be enough tuners available for future recordings.

PJDiddy
27-01-18, 21:31
Hi guys, thanks for responses so far, here's answers to the queries. I have a 2TB drive connected (/media/hdd) for recordings, currently 88% free and a 64GB USB stick (media/usb) for EPG with 27GB free (it's also got some tunes on there), neither partitioned that I recall, certainly wouldn't have gone out of my way to do so but I can check if needed (not sure which is sda and which is sdb either off top of my head). The network mount is the old Foxsat box as we've not finished watching some older recordings, (was gonna use the Kodi plugin but it won't play them unlike Kodi on my Pi). I was hoping there were some out they who were recording far more so we didn't look that bad, honestly not couch potatoes! Tried to include timers but it said it was too big so maybe that was clue!

Apologies for not including the plugins, I had them in my draft post but forgot to include them when I copied it across as they were above the text. I have Kodi as mentioned above, the renames/moves will be due to Movie Organiser (prefer multiple episodes in directories like the old box), it's also set to remove "New" from the title but this doesn't seem to work very often. Downloaded OnDemand but not tried it yet as I hear it's fairly broken. I also have picons installed.

I've assigned alternatives to the most channels where alternatives exist. When I'm using autotimer I normally select to record a specific HD channel from my Freesat bouquet that the program is one but when it detects a conflict I switch the recording channel to one on my Freeview bouquet instead or it'd be a ongoing conflict each week, is this a correct way of doing things? Or should I be using a different method, I feel like I may be doing something fundamentally wrong. Having said that, why does the box effectivly hang until the plug is pulled just because all the tuners are busy when it does encounter this conflict? Spinner doesn't stop after recording should have finished and tuners freed, it sits there spinning until box is restarted.

The box is normally left on so I guess one tuner (normally a sat tuner as that's the first bouquet we use) is always in use. Am not using zap and record, I guess that this may eliminate the issue but would interrupt viewing. The old Foxsat box with two tuners (I do realise they are different but...), on finding a conflict would change to a channel on same transponder, admittedly also interrupting any viewing but only when it had to, not everytime like it would with zap and record.

Sorry for lengthy post, really feel it's down to me not knowing enough yet for the most part, not having had experience of Enigma2 before, love the customisation but there's so much of it! Again thanks for the help, will happily answer more queries and let me know if I missed anything.

cactikid
27-01-18, 21:52
just a thought is your hdd mounted and showing ext3 -ext4?
i presume you set a timer recording on your sat epg and also on your freeview epg?

PJDiddy
27-01-18, 22:53
just a thought is your hdd mounted and showing ext3 -ext4?
i presume you set a timer recording on your sat epg and also on your freeview epg?

HDD (sdb1) is formatted as ext4 and USB (sda1) is vfat. I started out using OpenWebif's epg search and creating an autotimer from that but the channel selector box didn't always refresh and showed incorrect channel (I've found a couple of post going back years with this issue), I now use the Android app Dream EPG Premium after hearing good things.

If the box encounters this conflict, is there a setting that will change to a channel on the same transponder rather than just stopping due to the error? I'm pretty certain from the answers that it happens when I'm watching something on tuner A (sat), box wants to record two programs both set for the sat tuners as there's not normally a conflict at this time but as I'm watching one so it errors as there's no free tuner, does that sound like what happening? If so whats the best way to avoid it? A box from almost 10 years ago is smart enough to change transponder, can this? I thought with an extra/spare tuner, it would make things easier.

An option would be to watch Freeview and use the sat tuners to record, its not very often I need all three recording at once but wife is accustomed to Freesat channel number, don't really want to reorder the entire Freeview bouquet to match the Freesat!

cactikid
28-01-18, 00:18
usb to me is not setup correctly it also needs to be ext3- ext4
not sure if you are using something not supported as epg can be setup using vix with sat and freeview scans run in the morning giving you 7 day epg.
box should have 2 sat feeds but check both tuners are configured and getting a signal and the same goes for the freeview feed.
if 2 sat recordings happen you may have to go to freeview to view free tuner,recordings overide viewers:p
sometimes if recording 2 sat tps other tps will be lighter in colour and viewable on the same tp.

PJDiddy
28-01-18, 01:21
Think I just shoved in first USB stick I found when setting up so will get that changed. I've tested both sat tuners by disabling one, trying to watch something then disabling the other, both work fine and show correctly in the infobar that I'm using tuner A or B. Also checked signal strength on meter and this looks ok, Freeview feed also working fine showing tuner C whenever I watch something from Freeview bouquet so I assume no probs here either. Whilst playing with the tuner configs, I just tried to record on one tuner for a duration of 1 minute whilst second sat tuner is disabled and it won't let me, stating a conflict with an upcoming recording which isn't starting til tomorrow evening...?!

I currently have the EPG setup with two TV bouquets (one Freesat and one Freeview, an empty favourites and a third bouquet with 5 "channels" of my CCTV streams). I have it set up to download EPG info every 24 hours I think and both show a full 7 days listings.

Forgot to mention earlier that after box does hang and I reboot it, once back up it immediately picks up on the two timers and records both programs with no issue. Seems like box isn't overriding the viewers over the recording as you say it should (exactly like I thought it would work), should it just kick me off the channel I'm watching if it needs the tuner I'm watching?

55894

cactikid
28-01-18, 01:39
on my solo2 both tuners are set to simple,single and sat 28.2 as both are from a fixed dish.
i have a funny feeling you might have to setup box from scratch as wrong settings and epg going to internal flash causes grief.
if watching a channel and box is recording one message comes up saying timer recording is starting and it switches to that.

PJDiddy
28-01-18, 02:14
Nope, never seen any such message. Tuners set up the same, as shown below. Should the EPG be located on hdd then rather than usb?

55895 GH

cactikid
28-01-18, 02:27
setup tuner b like above post and not as post 10,
i use a usb to store my epg as handy to delete and setup again but others use hdd

birdman
28-01-18, 02:45
should it just kick me off the channel I'm watching if it needs the tuner I'm watchingThat is configurable:
Main menu -> Setup -> Recordings, playback & timeshift -> Playback & timseshift / Recordings always have priority: yes/No.

birdman
28-01-18, 02:51
... and epg going to internal flash causes grief.While true, there's no evidence of that happening here:

<199142.598> [eEPGCache] 99236 events read from /media/usb/epg.dat

birdman
28-01-18, 02:52
usb to me is not setup correctly it also needs to be ext3- ext4Mine is vfat and it causes no problems at all. I'm not downloading an EPG to it though (I get mine from the transponder data).

birdman
28-01-18, 03:01
Totally unrelated to your problem, but there's a bug in the MovieOrganisor plugin (it can't handle files with a ' in their name).
If anyone knows where the source is it should be fixable.

PJDiddy
28-01-18, 09:06
That is configurable:
Main menu -> Setup -> Recordings, playback & timeshift -> Playback & timseshift / Recordings always have priority: yes/No.

Thanks, thought this might sort it but looks like I already have it configured correctly.

55897

PJDiddy
28-01-18, 09:11
Totally unrelated to your problem, but there's a bug in the MovieOrganisor plugin (it can't handle files with a ' in their name).
If anyone knows where the source is it should be fixable.

Not sure location of source but I think it was quite by grog68 on Techkings forum so might be worth asking there. Might be why the removing of New sometimes fails.

Andy_Hazza
28-01-18, 09:37
Ditch the usb and point the EPG to your HDD.


Sent from my iPhone using Tapatalk

cactikid
28-01-18, 09:58
Sicilian has posted a bug alert now for this image as a bug has been found

http://www.world-of-satellite.com/showthread.php?58848-Please-read-before-online-updating-from-Release-5-1-012&p=465417#post465417

Sicilian
28-01-18, 10:00
Sicilian has posted a bug alert now for this image as a bug has been found

The bug is nothing to do with whatever is being discussed here. It's a small bug concerning online update.

cactikid
28-01-18, 10:26
but as he has an issue i do see newer image giving him the option?:thumbsup:

PJDiddy
28-01-18, 12:40
Happened again last night, off out today but had a few mins to tinker this morn. Changed sat tuner to single rather than equal to and turned on show message when starting recording before trying to recreate problem. Successfully did so, watching BBC 1 London with timers set for Channel 5 HD and BBC 1 HD using just sat tuners. Box hung with no message to say recording was due to start. Was able to use Dreaboxedit to restart box so does this mean just the GUI was frozen?

I changed the skin to test it wasn't that and again successfully froze box with no message using same channels. Did the same a third time but watched a Freeview channel, again no message but box did not freeze this time (expected as not all tuners needed were in use). Tried recording a Freeview channel using the C tuner DVB-T2 whilst watching another Freeview channel, received a message that a recording was about to start and that service had been changed to the recording channel. I guess this is what should happen when using both sat tuners but it seems to be ignoring the settings when both in use.

Did it one last time, watching a sat channel and recording another and got a message to say a recording was starting. Could it be a bug?

ccs
28-01-18, 12:50
Which skin(s) have you been using?

I can confirm that service changes to the recording channel works fine on a T2 only setup.

PJDiddy
28-01-18, 13:00
Which skin(s) have you been using?

Now away from box so can't remember exactly name but I normally use the Confluence skin and this morning I tried a test timer on the YouVix skin, both fail to show any recording message and both hang box as above using the sat tuners. Can't remember which skin I used when testing the DVB-T2 tuner but it worked fine as it should.

birdman
28-01-18, 13:17
Ditch the usb and point the EPG to your HDD.OK if you're downloading EPG once a day (or so) but not if you are getting it from the transponders (EIT), as having it on the hdd then stops your disk sleeping.

ccs
28-01-18, 13:21
OK if you're downloading EPG once a day (or so) but not if you are getting it from the transponders (EIT), as having it on the hdd then stops your disk sleeping.I thought transponder epg was only written to "disc" at shutdown, and at regular intervals you can define.

My hdd certainly sleeps.

PJDiddy
28-01-18, 13:49
I thought transponder epg was only written to "disc" at shutdown, and at regular intervals you can define.

My hdd certainly sleeps.

Check when the file was last modified and see if it corresponds to a shutdown time?

birdman
28-01-18, 16:01
I thought transponder epg was only written to "disc" at shutdown, and at regular intervals you can define.Ah yes - you are right.
So it makes no significant difference at all whether it be on hdd or usb, as it's only ever read/written once.

PJDiddy
28-02-18, 22:30
An overdue update to the original issue. I eventually got tired of trying to fix it, reflashed the box and started over. Since then for almost 4 weeks it worked fine in regard to this (although I have had some short/empty blank recordings), a quick message flashed up to say recording started and if needed it zapped to the recording service. However, despite not changing a single setting lately it started doing it again, or rather not zapping the channel when it should leading to a hung box once again when it needs to use both tuners and I'm watching one. I checked and the setting are as I left them, recording take priority etc. Why does one recording not just fail instead of hanging the box? Have upgraded to 5.1.013 but it has been working under this (til now).

birdman
28-02-18, 23:19
Having said that, why does the box effectivly hang until the plug is pulled just because all the tuners are busy when it does encounter this conflict?Answering an old-ish query here.
It shouldn't.
However, more than that, for a recording to start a timer needs to be added, and a timer can only be added if it won't cause conflict (run out of tuners) at the timen (and for the duration) of the actual recording. So, in theory, their can't be a conflict when a timer starts unless your hardware has been recently reconfigured (e.g. disabled a tuner) - there can only be a conflict when a timer is added, and then it is created as a disabled one.

So what is happening here is strange.

Valiant
01-03-18, 12:28
So, in theory, their can't be a conflict when a timer starts unless your hardware has been recently reconfigured (e.g. disabled a tuner) - there can only be a conflict when a timer is added, and then it is created as a disabled one.

There can be a conflict - I have experienced a couple some time ago where I have added an auto-timer through the EPG blue button and it clashes with two extant auto-timers. However the clash goes unreported by the timer sanity check and when the time comes there are not enough tuners available and there is a crash. I later found that the clash, though unreported, resulted in the suspension of further creation of timers from auto-timers, so I was able to safely rescue the situation before any conflicting timers were executed. This was in OpenVix 4. I don't know if the current OpenVix exhibits the same behaviour and I am not up-to-date anyway. However, as I have not gathered enough evidence to determine if a fault exists, I think I should look at it again.

birdman
01-03-18, 13:08
This was in OpenVix 4.And was fixed (I remember it well...). But it shouldn't happen (hence the "in theory"). And when it did happen it didn't result in a system lock-up.