[mythtv] EIT scanner failure caused mythbackend to miss future scheduled recordings

Nick knowledgejunkie at gmail.com
Fri Jun 23 05:01:23 UTC 2006


I'm hoping for an answer on this frustrating one. I'm running a fairly
recent SVN:

Library API version: 0.19.20060631-1
Source code version: 10115M
Options compiled in:
 linux release using_v4l using_oss using_alsa using_arts using_ivtv
using_dbox2 using_hdhr using_ip_rec using_lirc using_joystick_menu
using_dvb using_x11 using_xv using_xrandr using_frontend using_backend

Last night my main backend machine was set to record several programs.
The machine has 3 DVB-T cards and a PVR-150 to record from cable via
S-Video. The EIT scanner has been enabled since moving back to SVN in
early June with no noticeable problems at all. I've been logging with
important,general,record,schedule since moving back over from RPMs in
case there were any issues. I am UK based.

Recordings that successfully recorded were made on DVB cards 1 and 2 -
card 1 recorded from 2 different channels between 20:30 and 21:50 and
the recordings are fine. Card 1 also had a showing of Dream On (I'm
was trying to collect them all) at 00:45 scheduled, and there was a
daily scheduled recording of Law and Order SVU at 0200 this morning
also ready to go.

At 2345 card 2 started to record Mars Attacks, which was due to go on
until 0205 and this recording started normally per the log.

However, at 0022 my log started to fill up very fast with messages.
The first of which was:

2006-06-23 00:22:47.873 Started PESPacket, but !payloadStart()

and this was following by 1.24 _million_ lines of:

2006-06-23 00:22:47.874 Error: We started a PES packet, without a payloadStart!

This carried on until 0230 when I noticed that MythWeb could not reach
the backend, and then I checked the frontend, which froze also.
service mythbackend status reported that the mythbackend process was
still running. not dead nor subsystem locked as can happen.

I restarted the backend (I forgot to check top for CPU usage) and
checked my recordings list. Neither Dream On (set to record on card 1)
nor LAO (card 4) had recorded at all, yet Mars Attacks! had recorded
successfully to its conclusion at 0205. I checked the recording  and
it seems fine.

Annoyed that neither of the two recordings had been made I checked the
backend log (now > 200MB), and quickly noticed the errors. The
scheduler output correctly contained all recordings up until 0022 when
the deluge of errors started.

Is it possible for the EIT scanner to completely nix the entire
system, bar in-progress recordings? Should duplicate messages be
limited? (I run a separate /var/log partition to avoid problems like
this) I have now turned off EIT scanning for those few channels that
are not available from the uk_rt XMLTV grabber.

Assuming this problem is due to the EIT scanner (I noted Trac ticket
#1888 and -dev message
http://www.gossamer-threads.com/lists/mythtv/dev/205583) should it
stop scanning gracefully? I'd hope it would be using the lowest
priority card (I can't tell from the log) but the fact non-DVB
recordings were also lost makes me wonder whether it might have been
anyway and just took out the whole future scheduled recordings
feature.

Any kind devs who could shed some light on this (suggestions,
exaplanations) would be graciously appreciated. Does current
non-mythtv-eit SVN have any fixes for this issue?

Many thanks,
Nick

-- 
MythTV Official wiki:
http://mythtv.org/wiki/
MythTV users list archive:
http://www.gossamer-threads.com/lists/mythtv/users


More information about the mythtv-dev mailing list