<br><br><div><span class="gmail_quote">On 26/04/07, <b class="gmail_sendername">Henrik Beckman</b> &lt;<a href="mailto:henrik.list@gmail.com">henrik.list@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I wrote a small script the ran in cron every minute, the script itself looped every 10 seconds.<br>Checking messages for the <span id="st" name="st" class="st">disconnect</span> message,&nbsp; made a date stamped copy of messages and cp&nbsp; /dev/null&nbsp; to the message file then rebooted,&nbsp; my recordings&nbsp; start 3 minutes ahead to&nbsp; be able to do a reboot since my disconnects only/mostly occured while &quot;opening&quot; a channel, havenīt had any disconnects for a long while though.
</blockquote><div><br><br>I have a script that does something like this. At the moment I&#39;m running MythTV 0.20 and 2.6.20.<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I would be simple to have a script running through messages each minute and restarting myth-backend in case of a <span id="st" name="st" class="st">disconnect</span>. The oopses where much worse since the occasionaly needed a hard reset.
</blockquote><div><br><br>How do you detect the disconnects? I haven&#39;t been able to identify a&nbsp; message in the&nbsp; mythbackend log (perhaps I need to run with more verbose output?). Now that I&#39;m in a position to do so (finally got broadband at home) I&#39;m intending to upgrade to 
0.20-fixes and probably a 2.6.21 kernel. However I&#39;m concerned that without an Oops to grep for in /var/log/messages I&#39;m not going to know how to detect when a disconnect has occurred. <br></div></div><br clear="all">
<br>-- <br>Paul Mason