<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 12 Dec 2020 at 00:15, Ram Ramesh <<a href="mailto:rramesh2400@gmail.com">rramesh2400@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I had something similar. After several weeks of experiment, I found out <br>
that one of the channels from available channels had a poor reception. <br>
This also happened to be the first channel in the list (channel 2 for <br>
me). So, after a reboot of the backend the default will be to tune to <br>
channel 2 (all 4 tuners).  For whatever reason, backend could never tune <br>
to any other channel as the tuner was in broken state as it is stuck <br>
trying to tune channel 2. Since I do not watch or record channel 2, I <br>
simply removed it from the list of available channels and all my <br>
troubles went away.<br>
<br>
While this may not be your situation, just see if one (or more) of your <br>
channel is difficult to tune and if you do not need it, eliminate it <br>
from the list. This might help.<br>
<br>
Ramesh<br>
<br>
<br>
On 12/11/20 4:37 PM, Phill Edwards wrote:<br>
> Hi, I have a 4 tuner HD Homerun. A lot of the recordings work just <br>
> fine, but quite a lot also fail and end up with zero byte recordings. <br>
> I've checked if it's any particular one of the 4 tuners that fail and <br>
> it's not.<br>
><br>
> I've noticed that when it fails there are always two recording entries <br>
> - I guess it fails once and tries again which creates a second entry <br>
> (which also fails).<br>
><br>
> Here's some backend log file info for one of the failed recordings. <br>
> Can anyone identify what's causing the problem? There's a message <br>
> about "Failed to set channel" - could that be the root cause, and if <br>
> so what can I do to fix it?<br>
><br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[38](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0011 <br>
> 0x0014 0x0100-0x010f 0x0901 0x0903-0x0904 0x0906 0x0968 <br>
> 0x157c-0x157d): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I TVRecEvent <br>
> tv_rec.cpp:1057 (HandleStateChange) TVRec[42]: Changing from None to <br>
> RecordingOnly<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I TVRecEvent <br>
> mythdbcon.cpp:420 (PurgeIdleConnections) New DB connection, total: 17<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I TVRecEvent <br>
> tv_rec.cpp:3662 (TuningFrequency) TVRec[42]: TuningFrequency<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E TVRecEvent <br>
> recorders/hdhrstreamhandler.cpp:485 (TunerSet) HDHRSH[38](1251AA81): <br>
> DeviceSet(channel auto:543500000): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E TVRecEvent <br>
> recorders/dtvchannel.cpp:305 (SetChannelByString) <br>
> DTVChan[42](1251AA81): SetChannelByString(22): Tuning to frequency.<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E TVRecEvent <br>
> tv_rec.cpp:3737 (TuningFrequency) TVRec[42]: Failed to set channel to <br>
> 22. Reverting to kState_None<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I TVRecEvent <br>
> tv_rec.cpp:1057 (HandleStateChange) TVRec[42]: Changing from <br>
> RecordingOnly to None<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I CoreContext <br>
> scheduler.cpp:713 (UpdateRecStatus) Updating status for "Absolutely <br>
> Fabulous":Identity on cardid [42] (Pending => Recorder Failed)<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I Scheduler <br>
> scheduler.cpp:2882 (HandleRecordingStatusChange) Tuning recording: <br>
> "Absolutely Fabulous":Identity: channel 1022 on cardid [42], sourceid 1<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I Scheduler <br>
> scheduler.cpp:2311 (HandleReschedule) Reschedule requested for CHECK <br>
> -9 1714 0 UpdateRecStatus2 | Absolutely Fabulous | Identity | Twenty <br>
> years after Eddy, Patsy, Saffy, Bubble and Mother first staggered into <br>
> our lives, they're all back. One of them has been away for some time, <br>
> so there is lots of catching up to do. | EP17852045116<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[41](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0012 <br>
> 0x0014 0x0087 0x0100-0x0109 0x0207 0x0247 0x02d0 0x0321-0x0323 <br>
> 0x0f02): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[38](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0011 <br>
> 0x0014 0x0100-0x010f 0x0901 0x0903-0x0904 0x0906 0x0968 <br>
> 0x157c-0x157d): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: C CoreContext <br>
> programinfo.cpp:259 (ProgramInfo) ProgramInfo(): Failed to find <br>
> recorded entry for 0.<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[41](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0012 <br>
> 0x0014 0x0087 0x0100-0x0109 0x0207 0x0247 0x02d0 0x0321-0x0323 <br>
> 0x0f02): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[38](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0011 <br>
> 0x0014 0x0100-0x010f 0x0901 0x0903-0x0904 0x0906 0x0968 <br>
> 0x157c-0x157d): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[41](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0012 <br>
> 0x0014 0x0087 0x0100-0x0109 0x0207 0x0247 0x02d0 0x0321-0x0323 <br>
> 0x0f02): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E Scheduler <br>
> recordinginfo.cpp:1051 (InsertProgram) <br>
> RecordingInfo::InsertProgram(ProgramInfo(1022_20201211101500.ts): <br>
> channame(ABCComedy/Kids) startts(Fri. Dec. 11 10:17:00 2020 GMT) <br>
> endts(Fri. Dec. 11 10:48:00 2020 GMT)#012 recstartts(Fri. Dec. 11 <br>
> 10:15:00 2020 GMT) recendts(Fri. Dec. 11 10:48:00 2020 GMT)#012       <br>
>       title(Absolutely Fabulous)): recording already exists...<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[38](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0011 <br>
> 0x0014 0x0100-0x010f 0x0901 0x0903-0x0904 0x0906 0x0968 <br>
> 0x157c-0x157d): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I TVRecEvent <br>
> tv_rec.cpp:1057 (HandleStateChange) TVRec[42]: Changing from None to <br>
> RecordingOnly<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I TVRecEvent <br>
> tv_rec.cpp:3662 (TuningFrequency) TVRec[42]: TuningFrequency<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E TVRecEvent <br>
> recorders/hdhrstreamhandler.cpp:485 (TunerSet) HDHRSH[38](1251AA81): <br>
> DeviceSet(channel auto:543500000): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E TVRecEvent <br>
> recorders/dtvchannel.cpp:305 (SetChannelByString) <br>
> DTVChan[42](1251AA81): SetChannelByString(22): Tuning to frequency.<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E TVRecEvent <br>
> tv_rec.cpp:3737 (TuningFrequency) TVRec[42]: Failed to set channel to <br>
> 22. Reverting to kState_None<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I TVRecEvent <br>
> tv_rec.cpp:1057 (HandleStateChange) TVRec[42]: Changing from <br>
> RecordingOnly to None<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I CoreContext <br>
> scheduler.cpp:713 (UpdateRecStatus) Updating status for "Absolutely <br>
> Fabulous":Identity on cardid [42] (Tuning => Recorder Failed)<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E Scheduler <br>
> scheduler.cpp:775 (ChangeRecordingEnd) Failed to change end time on <br>
> card 42 to 2020-12-11T10:48:00Z<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[41](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0012 <br>
> 0x0014 0x0087 0x0100-0x0109 0x0207 0x0247 0x02d0 0x0321-0x0323 <br>
> 0x0f02): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[38](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0011 <br>
> 0x0014 0x0100-0x010f 0x0901 0x0903-0x0904 0x0906 0x0968 <br>
> 0x157c-0x157d): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[41](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0012 <br>
> 0x0014 0x0087 0x0100-0x0109 0x0207 0x0247 0x02d0 0x0321-0x0323 <br>
> 0x0f02): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[38](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0011 <br>
> 0x0014 0x0100-0x010f 0x0901 0x0903-0x0904 0x0906 0x0968 <br>
> 0x157c-0x157d): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I Scheduler <br>
> scheduler.cpp:2415 (HandleReschedule) Reschedule interrupted, will retry<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I Scheduler <br>
> scheduler.cpp:2311 (HandleReschedule) Reschedule requested for CHECK <br>
> -9 1714 0 UpdateRecStatus2 | Absolutely Fabulous | Identity | Twenty <br>
> years after Eddy, Patsy, Saffy, Bubble and Mother first staggered into <br>
> our lives, they're all back. One of them has been away for some time, <br>
> so there is lots of catching up to do. | EP17852045116<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: I Scheduler <br>
> scheduler.cpp:2311 (HandleReschedule) Reschedule requested for PLACE <br>
> Interrupted<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[41](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0012 <br>
> 0x0014 0x0087 0x0100-0x0109 0x0207 0x0247 0x02d0 0x0321-0x0323 <br>
> 0x0f02): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[38](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0011 <br>
> 0x0014 0x0100-0x010f 0x0901 0x0903-0x0904 0x0906 0x0968 <br>
> 0x157c-0x157d): ERROR: lock no longer held<br>
> Dec 11 21:15:00 MBE3 mythbackend: mythbackend[1016]: E <br>
> HDHRStreamHandler recorders/hdhrstreamhandler.cpp:485 (TunerSet) <br>
> HDHRSH[41](1251AA81): DeviceSet(filter 0x0000-0x0001 0x0010-0x0012 <br>
> 0x0014 0x0087 0x0100-0x0109 0x0207 0x0247 0x02d0 0x0321-0x0323 <br>
> 0x0f02): ERROR: lock no longer held<br>
><br><br></blockquote><div>The "ERROR: lock no longer held" indicates that the HDHomeRun has forgotten that MythTV is talking to it. </div><div>This would happen if you power cycle the HDHomeRun while it is being used.</div><div>On older HDHomeRuns quite often the power supply fails and this could be your problem as well.</div><div>I suggest replacing the power supply.</div><div><br></div><div>Klaas.</div><div> </div></div></div>