I have dual HDhomerun tuners.  Mythtv 0.25 was recording two HD shows.  One got truncated with the buffer exceeded error.  No other errors in dmesg or /var/log/messaages, i looked for hard drive errors and found none.  To make the matter worst, mythtv showed me that it was still recording (definately a bug), the file was truncated.  Mythtv also lied about the file size and recording duration (also bugs).  If the recording is truncated, don&#39;t lie to the user.  Also this never happend with 0.24 which seems more robust.<br>
<br><div class="gmail_quote">On Tue, May 1, 2012 at 10:20 PM, scram69 <span dir="ltr">&lt;<a href="mailto:scram69@gmail.com" target="_blank">scram69@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5">On Tue, May 1, 2012 at 8:22 PM, Phil Bridges &lt;<a href="mailto:gravityhammer@gmail.com">gravityhammer@gmail.com</a>&gt; wrote:<br>
&gt; On Tue, May 1, 2012 at 2:09 PM, scram69 &lt;<a href="mailto:scram69@gmail.com">scram69@gmail.com</a>&gt; wrote:<br>
&gt;&gt; On Thu, Mar 29, 2012 at 7:57 PM, Phil Bridges &lt;<a href="mailto:gravityhammer@gmail.com">gravityhammer@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; On Thu, Mar 29, 2012 at 10:49 PM, Michael T. Dean<br>
&gt;&gt;&gt; &lt;<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; On 03/29/2012 10:32 PM, Phil Bridges wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; On Thu, Mar 29, 2012 at 10:32 PM, Phil Bridges wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I noticed that I had the mysterious &quot;yellow dots&quot; beside some of my<br>
&gt;&gt;&gt;&gt;&gt;&gt; recordings this evening.  At second glance, I realized that the two<br>
&gt;&gt;&gt;&gt;&gt;&gt; shows I was recording at 9PM had two files.  Not good.  One of the<br>
&gt;&gt;&gt;&gt;&gt;&gt; shows was split into two halves, approximately 30 minutes each.  The<br>
&gt;&gt;&gt;&gt;&gt;&gt; other though, had only about 11 minutes in it&#39;s first half.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I looked at the log, and found this:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; 2012-03-29 21:12:30.800845 E [7151/23462] HDHRStreamHandler<br>
&gt;&gt;&gt;&gt;&gt;&gt; ThreadedFileWriter.cpp:216 (Write) -<br>
&gt;&gt;&gt;&gt;&gt;&gt; TFW(/mnt/recordings2/1461_20120329210000.mpg:99): Maximum buffer size<br>
&gt;&gt;&gt;&gt;&gt;&gt; exceeded.<br>
&gt;&gt;&gt;&gt;&gt;&gt;                        file will be truncated, no further writing will be<br>
&gt;&gt;&gt;&gt;&gt;&gt; done.<br>
&gt;&gt;&gt;&gt;&gt;&gt;                        This generally indicates your disk performance<br>
&gt;&gt;&gt;&gt;&gt;&gt;                        is insufficient to deal with the number of<br>
&gt;&gt;&gt;&gt;&gt;&gt; on-going<br>
&gt;&gt;&gt;&gt;&gt;&gt;                        recordings, or you have a disk failure.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; It also appeared that mythbackend restarted at the bottom of the hour<br>
&gt;&gt;&gt;&gt;&gt;&gt; - at least, there was a new logfile generated.<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; I was only recording two shows at the time, and I have plenty of space<br>
&gt;&gt;&gt;&gt;&gt;&gt; on each of my recording mountpoints (this was recorded to a local<br>
&gt;&gt;&gt;&gt;&gt;&gt; drive).  Any tips at how to further troubleshoot the issue?<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; As a quick addition, my mounts are formatted XFS.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; any clues in dmesg or system logs?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Mike<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Unfortunately, yes:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Mar 29 22:51:46 kernel: hdd: status error: status=0x58 { DriveReady<br>
&gt;&gt;&gt; SeekComplete DataRequest }<br>
&gt;&gt;&gt; Mar 29 22:51:46 kernel: hdd: possibly failed opcode: 0xa0<br>
&gt;&gt;&gt; Mar 29 22:51:46 kernel: hdd: drive not ready for command<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Crap.<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; mythtv-users mailing list<br>
&gt;&gt;&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt;&gt;&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
&gt;&gt;<br>
&gt;&gt; Phil-<br>
&gt;&gt; I am seeing the exact same error from HDHRStreamHandler on my backend.<br>
&gt;&gt;  Not only does it freeze the backend, but I have to reboot the machine<br>
&gt;&gt; to recover.  I am running an 0.25 Mythbuntu build from April 22nd.<br>
&gt;&gt; Were you able to definitively determine the cause was a failing HDD?<br>
&gt;&gt;<br>
&gt;&gt; Thanks,<br>
&gt;&gt; Steve<br>
&gt;<br>
&gt;<br>
&gt; Steve - my problem did end up being related to a failing hard drive.<br>
&gt; Replaced it, and I haven&#39;t gotten this error.<br>
&gt; _______________________________________________<br>
&gt; mythtv-users mailing list<br>
&gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt; <a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<br>
</div></div>Thanks for the update.  That&#39;s what I was afraid of.  Mine is a 5-disk<br>
raid 5 array.  I tested each drive with the WD utility, and all five<br>
passed.  So now, my plan is to hot remove one drive at a time until I<br>
can get the error to go away...<br>
<br>
Steve<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://www.mythtv.org/mailman/listinfo/mythtv-users" target="_blank">http://www.mythtv.org/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br>