<div dir="ltr">Hi all,<div><br clear="all"><div>I've been using my HDPVR for years and for the last 4 or 5 it's been working very well.</div><div><br></div><div>Recently something changed somewhere and recordings have not been happening. Mythbackend doesn't show any complaints about the HDPVR recorder being offline or in error state, it just stops recording new programs. Everything else works fine.</div><div><br></div><div>Digging in a bit I can see that I've got a hung dd process coming from my channel changing script as found here - <a href="https://www.mythtv.org/wiki/Hauppauge_HD-PVR">https://www.mythtv.org/wiki/Hauppauge_HD-PVR</a></div><div><br></div><div>This is the command from that script that I can see in my process list (with variables expanded as expected):</div><div><br></div>timeout 2 dd if=${VDEV} of=/dev/null bs=4k count=1 1>/dev/null 2>/dev/null<div><br></div><div>I can't kill the dd process and it even seems to prevent a reboot cycle from restarting. I have to power off the box before it will restart.</div><div><br></div><div>To work around this I've removed the STB power on detection section from the channel changing script. It's only been a day, but so far things are working.</div><div><br></div><div>I'm sharing partially as FYI in case others are having similar problems, and partially in case there's an easy fix to resolve the dd hang.</div><div><br></div><div>Background:</div><div><br></div><div>My machine was originally a mythbuntu box which I upgraded to 16.04 not too long before this problem started showing up. </div><div>I enabled HWE<span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"> to get this patch so that my Vizio tv wouldn't die and not come back after power saving kicked in:</span></div><div>Revert "drm/i915: Check live status before reading edid"</div><div><div style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:12.8px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial"><a href="https://github.com/torvalds/linux/commit/23f889bdf6ee5cfff012d8b09f6bec920c691696" target="_blank" style="color:rgb(17,85,204)">https://github.com/torvalds/<wbr>linux/commit/<wbr>23f889bdf6ee5cfff012d8b09f6bec<wbr>920c691696</a></div></div><div><br></div><div><div>andrew@mythbackend:~$ uname -a</div><div>Linux mythbackend 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux</div><div>andrew@mythbackend:~$ lsb_release -a</div><div>No LSB modules are available.</div><div>Distributor ID:<span style="white-space:pre">  </span>Ubuntu</div><div>Description:<span style="white-space:pre">    </span>Ubuntu 16.04.4 LTS</div><div>Release:<span style="white-space:pre">    </span>16.04</div><div>Codename:<span style="white-space:pre">        </span>xenial</div><div>andrew@mythbackend:~$ mythbackend --version</div><div>Please attach all output as a file in bug reports.</div><div>MythTV Version : v0.28.2</div><div>MythTV Branch : fixes/0.28</div><div>Network Protocol : 88</div><div>Library API : 0.28.20161120-1</div><div>QT Version : 5.5.1</div><div>Options compiled in:</div><div> linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_crystalhd using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_opengl_video using_opengl_themepainter using_qtwebkit using_qtscript using_qtdbus using_sdl using_taglib using_v4l2 using_x11 using_xrandr using_xv using_profiletype using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_vaapi using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2</div></div><div><br></div><div><br></div><div>Cheers,</div><div>Andrew</div><div class="gmail_signature"></div>
</div></div>