<br><br><div><span class="gmail_quote">On 26/04/07, <b class="gmail_sendername">Henrik Beckman</b> <<a href="mailto:henrik.list@gmail.com">henrik.list@gmail.com</a>> 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, made a date stamped copy of messages and cp /dev/null to the message file then rebooted, my recordings start 3 minutes ahead to be able to do a reboot since my disconnects only/mostly occured while "opening" 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'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't been able to identify a message in the mythbackend log (perhaps I need to run with more verbose output?). Now that I'm in a position to do so (finally got broadband at home) I'm intending to upgrade to
0.20-fixes and probably a 2.6.21 kernel. However I'm concerned that without an Oops to grep for in /var/log/messages I'm not going to know how to detect when a disconnect has occurred. <br></div></div><br clear="all">
<br>-- <br>Paul Mason