[mythtv-users] HD-PVR / Mythtv robustness

Don Lewis dl-mythtv at catspoiler.org
Sun Feb 13 01:53:06 UTC 2011


I'm having similar problems that are only solved by power cycling my
HD-PVR.  Its gotten pretty bad and seems to lock after only a few
recordings.

Nothing suspicious shows up in the logs other than this:
  2011-02-12 05:26:01.074 Updating status for "If I Leap" on cardid 15
               (Tuning => Recorded)

If mythbackend gets to the end of a recording and the status is still
"Tuning", that's a pretty sure sign that the recording has failed and it
should not be marked as "Recorded".  The recording should only be marked
as "Recorded" if the status was "Recording".


After the first failure, on subsequent recordings I then see two
attempts to SetInputAnfFormat NTSC before trying ATSC and also failing:

2011-02-12 08:59:01.655 TVRec(15): Changing from None to RecordingOnly
2011-02-12 08:59:01.718 TVRec(15): HW Tuner: 15->15
2011-02-12 08:59:11.807 Channel(/dev/video-hdpvr_0) Error: SetInputAndFormat(15, NTSC)
                        while setting input (v4l v2)
                        eno: Connection timed out (110)
2011-02-12 08:59:21.859 Channel(/dev/video-hdpvr_0) Error: SetInputAndFormat(15, NTSC)
                        while setting format (v4l v2)
                        eno: Connection timed out (110)
2011-02-12 08:59:31.918 Channel(/dev/video-hdpvr_0) Error: SetInputAndFormat(15, ATSC)
                        while setting input (v4l v2)
                        eno: Connection timed out (110)
2011-02-12 08:59:41.953 Channel(/dev/video-hdpvr_0) Error: SetInputAndFormat(15, ATSC)
                        while setting format (v4l v2)
                        eno: Connection timed out (110)
2011-02-12 08:59:41.997 Channel(/dev/video-hdpvr_0): SetInputAndFormat() failed
2011-02-12 08:59:42.120 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 7 min
2011-02-12 08:59:42.156 Started recording: "Ten for Grandpa": channel 3505 on cardid 15, sourceid 3
2011-02-12 08:59:43.289 AnalogSM(/dev/video-hdpvr_0), Error: Start encoding failed
                        eno: Resource temporarily unavailable (11)
[SNIP]
2011-02-12 09:11:00.171 TVRec(15): Changing from RecordingOnly to None
2011-02-12 09:11:00.481 AnalogSM(/dev/video-hdpvr_0), Error: Start encoding failed
                        eno: Resource temporarily unavailable (11)
2011-02-12 09:11:00.573 Updating status for "Ten for Grandpa" on cardid 15 (Tuning => Recorded)
2011-02-12 09:11:00.698 Finished recording Ten for Grandpa: channel 3505


In my case, I think the problem got worse when I upgraded from Fedora 12
i386 to Fedora 14 x86_64.  At least the upgrade fixed my firewire
recording problems ...


I've increased the sleep time in my channel change script from 4 seconds
to 10 seconds and I've increased the HD-PVR tuning timeout from
10 seconds to 15 seconds.  I'll see if that makes any difference.



More information about the mythtv-users mailing list