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'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"><<a href="mailto:scram69@gmail.com" target="_blank">scram69@gmail.com</a>></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 <<a href="mailto:gravityhammer@gmail.com">gravityhammer@gmail.com</a>> wrote:<br>
> On Tue, May 1, 2012 at 2:09 PM, scram69 <<a href="mailto:scram69@gmail.com">scram69@gmail.com</a>> wrote:<br>
>> On Thu, Mar 29, 2012 at 7:57 PM, Phil Bridges <<a href="mailto:gravityhammer@gmail.com">gravityhammer@gmail.com</a>> wrote:<br>
>>> On Thu, Mar 29, 2012 at 10:49 PM, Michael T. Dean<br>
>>> <<a href="mailto:mtdean@thirdcontact.com">mtdean@thirdcontact.com</a>> wrote:<br>
>>>> On 03/29/2012 10:32 PM, Phil Bridges wrote:<br>
>>>><br>
>>>>> On Thu, Mar 29, 2012 at 10:32 PM, Phil Bridges wrote:<br>
>>>>>><br>
>>>>>> I noticed that I had the mysterious "yellow dots" beside some of my<br>
>>>>>> recordings this evening. At second glance, I realized that the two<br>
>>>>>> shows I was recording at 9PM had two files. Not good. One of the<br>
>>>>>> shows was split into two halves, approximately 30 minutes each. The<br>
>>>>>> other though, had only about 11 minutes in it's first half.<br>
>>>>>><br>
>>>>>> I looked at the log, and found this:<br>
>>>>>><br>
>>>>>><br>
>>>>>> 2012-03-29 21:12:30.800845 E [7151/23462] HDHRStreamHandler<br>
>>>>>> ThreadedFileWriter.cpp:216 (Write) -<br>
>>>>>> TFW(/mnt/recordings2/1461_20120329210000.mpg:99): Maximum buffer size<br>
>>>>>> exceeded.<br>
>>>>>> file will be truncated, no further writing will be<br>
>>>>>> done.<br>
>>>>>> This generally indicates your disk performance<br>
>>>>>> is insufficient to deal with the number of<br>
>>>>>> on-going<br>
>>>>>> recordings, or you have a disk failure.<br>
>>>>>><br>
>>>>>> It also appeared that mythbackend restarted at the bottom of the hour<br>
>>>>>> - at least, there was a new logfile generated.<br>
>>>>>><br>
>>>>>> I was only recording two shows at the time, and I have plenty of space<br>
>>>>>> on each of my recording mountpoints (this was recorded to a local<br>
>>>>>> drive). Any tips at how to further troubleshoot the issue?<br>
>>>>><br>
>>>>> As a quick addition, my mounts are formatted XFS.<br>
>>>><br>
>>>><br>
>>>> any clues in dmesg or system logs?<br>
>>>><br>
>>>> Mike<br>
>>><br>
>>> Unfortunately, yes:<br>
>>><br>
>>><br>
>>> Mar 29 22:51:46 kernel: hdd: status error: status=0x58 { DriveReady<br>
>>> SeekComplete DataRequest }<br>
>>> Mar 29 22:51:46 kernel: hdd: possibly failed opcode: 0xa0<br>
>>> Mar 29 22:51:46 kernel: hdd: drive not ready for command<br>
>>><br>
>>> Crap.<br>
>>> _______________________________________________<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>
>><br>
>> Phil-<br>
>> I am seeing the exact same error from HDHRStreamHandler on my backend.<br>
>> Not only does it freeze the backend, but I have to reboot the machine<br>
>> to recover. I am running an 0.25 Mythbuntu build from April 22nd.<br>
>> Were you able to definitively determine the cause was a failing HDD?<br>
>><br>
>> Thanks,<br>
>> Steve<br>
><br>
><br>
> Steve - my problem did end up being related to a failing hard drive.<br>
> Replaced it, and I haven't gotten this error.<br>
> _______________________________________________<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>
<br>
</div></div>Thanks for the update. That'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>