<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Message: 7<br>
Date: Mon, 24 May 2010 15:26:51 -0500<br>
From: Johnny Walker &lt;<a href="mailto:johnnyjboss@gmail.com">johnnyjboss@gmail.com</a>&gt;<br>
Subject: Re: [mythtv-users] HDPVR Causing Backend to Hard Freeze<br>
To: Discussion about mythtv &lt;<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>&gt;<br>
Message-ID:<br>
        &lt;<a href="mailto:AANLkTiksBRmg2sDOdiVrnso0y5WVyCd2NVJwerVgoSIY@mail.gmail.com">AANLkTiksBRmg2sDOdiVrnso0y5WVyCd2NVJwerVgoSIY@mail.gmail.com</a>&gt;<br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
On Mon, May 24, 2010 at 3:16 PM, Jason Sharpe &lt;<a href="mailto:mythtv.list@gmail.com">mythtv.list@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; Date: Mon, 24 May 2010 11:22:37 -0500<br>
&gt;&gt; From: Johnny Walker &lt;<a href="mailto:johnnyjboss@gmail.com">johnnyjboss@gmail.com</a>&gt;<br>
&gt;&gt; Subject: Re: [mythtv-users] HDPVR Causing Backend to Hard Freeze<br>
&gt;&gt; To: Discussion about mythtv &lt;<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>&gt;<br>
&gt;&gt; Message-ID:<br>
&gt;&gt;        &lt;<a href="mailto:AANLkTilPeoGbXxGRBAgfeFd6mhijMrsuzgmb-2LzLiZL@mail.gmail.com">AANLkTilPeoGbXxGRBAgfeFd6mhijMrsuzgmb-2LzLiZL@mail.gmail.com</a>&gt;<br>
&gt;&gt; Content-Type: text/plain; charset=ISO-8859-1<br>
&gt;&gt;<br>
&gt;&gt; On Mon, May 24, 2010 at 11:16 AM, Jason Sharpe &lt;<a href="mailto:mythtv.list@gmail.com">mythtv.list@gmail.com</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; Message: 18<br>
&gt;&gt; &gt;&gt; Date: Mon, 24 May 2010 11:36:17 -0400<br>
&gt;&gt; &gt;&gt; From: Greg &lt;<a href="mailto:greg12866@nycap.rr.com">greg12866@nycap.rr.com</a>&gt;<br>
&gt;&gt; &gt;&gt; Subject: Re: [mythtv-users] HDPVR Causing Backend to Hard Freeze<br>
&gt;&gt; &gt;&gt; To: Discussion about mythtv &lt;<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>&gt;<br>
&gt;&gt; &gt;&gt; Message-ID: &lt;<a href="mailto:4BFA9CF1.5040204@nycap.rr.com">4BFA9CF1.5040204@nycap.rr.com</a>&gt;<br>
&gt;&gt; &gt;&gt; Content-Type: text/plain; charset=&quot;iso-8859-1&quot;; Format=&quot;flowed&quot;<br>
&gt;&gt; &gt;&gt;<br>
&gt;&gt; &gt;&gt; On 05/24/2010 09:47 AM, Jason Sharpe wrote:<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     Date: Sun, 23 May 2010 23:43:35 -0500<br>
&gt;&gt; &gt;&gt; &gt;     From: &lt;<a href="mailto:mythtv.list@gmail.com">mythtv.list@gmail.com</a> &lt;mailto:<a href="mailto:mythtv.list@gmail.com">mythtv.list@gmail.com</a>&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;     Subject: [mythtv-users] HDPVR Causing Backend to Hard Freeze<br>
&gt;&gt; &gt;&gt; &gt;     To: <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a> &lt;mailto:<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a>&gt;<br>
&gt;&gt; &gt;&gt; &gt;     Message-ID:<br>
&gt;&gt; &gt;&gt; &gt;     &lt;<a href="mailto:AANLkTik9Zpyq8ZGeHXcEEKNrF8ZOXOqSYFqqVJguPivq@mail.gmail.com">AANLkTik9Zpyq8ZGeHXcEEKNrF8ZOXOqSYFqqVJguPivq@mail.gmail.com</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; &lt;mailto:<a href="mailto:AANLkTik9Zpyq8ZGeHXcEEKNrF8ZOXOqSYFqqVJguPivq@mail.gmail.com">AANLkTik9Zpyq8ZGeHXcEEKNrF8ZOXOqSYFqqVJguPivq@mail.gmail.com</a>&gt;&gt;<br>
&gt;&gt; &gt;&gt; &gt;     Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     Hello,<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     I have been fighting this issue for a days now and I wanted to<br>
&gt;&gt; &gt;&gt; &gt;     throw this<br>
&gt;&gt; &gt;&gt; &gt;     out there to see if anyone else has seen/heard of anything like<br>
&gt;&gt; &gt;&gt; &gt;     this. I can<br>
&gt;&gt; &gt;&gt; &gt;     recreate the issue over and over but I am not sure what is<br>
&gt;&gt; &gt;&gt; &gt; causing<br>
&gt;&gt; &gt;&gt; &gt; it.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     When one recording is ending on a tuner and another is beginning<br>
&gt;&gt; &gt;&gt; &gt;     on my HDPVR<br>
&gt;&gt; &gt;&gt; &gt;     my whole backend hard freezes requiring a push of the reset<br>
&gt;&gt; &gt;&gt; &gt; button<br>
&gt;&gt; &gt;&gt; &gt;     for the<br>
&gt;&gt; &gt;&gt; &gt;     PC to come back up.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     In Other Words:<br>
&gt;&gt; &gt;&gt; &gt;     Tuner 1: HD Homerun Records from 09:00 - 10:00<br>
&gt;&gt; &gt;&gt; &gt;     Tuner 2: HDPVR Has a show starting at 10:00<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     At 09:59 when the backend should start recording from the HDPVR<br>
&gt;&gt; &gt;&gt; &gt;     the backend<br>
&gt;&gt; &gt;&gt; &gt;     hard freezes.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     Using that example above, if the HDPVR starts to record at 09:30<br>
&gt;&gt; &gt;&gt; &gt;     everything<br>
&gt;&gt; &gt;&gt; &gt;     is fine. It is only when 1 show is ending and another is<br>
&gt;&gt; &gt;&gt; &gt; beginning<br>
&gt;&gt; &gt;&gt; &gt;     on the<br>
&gt;&gt; &gt;&gt; &gt;     HDPVR.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     I can record from each tuner just fine for multiple shows back to<br>
&gt;&gt; &gt;&gt; &gt;     back on<br>
&gt;&gt; &gt;&gt; &gt;     the same tuner without issue, so the tuners work.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     Here is the strange thing, the other way around, there is no<br>
&gt;&gt; &gt;&gt; &gt; freezing.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     Meaning:<br>
&gt;&gt; &gt;&gt; &gt;     Tuner 1: HDPVR Records from 09:00 - 10:00<br>
&gt;&gt; &gt;&gt; &gt;     Tuner 2: HD Homerun Has a show starting at 10:00<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     In that senerio, everything works just fine.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     I have elimitated the HD Homerun as the source of the problem by<br>
&gt;&gt; &gt;&gt; &gt;     trying a<br>
&gt;&gt; &gt;&gt; &gt;     pcHDTV HD-3000 instead, still freezes.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     Details:<br>
&gt;&gt; &gt;&gt; &gt;     HD Homerun using Tuner 0 (Over the Air ATSC)<br>
&gt;&gt; &gt;&gt; &gt;     HDPVR and a Dishnetwork ViP 211k receiver (Component and SPDIF)<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     Note: IR blasting is done via a homebrew serial blaster, I am<br>
&gt;&gt; &gt;&gt; &gt;     _not_ using<br>
&gt;&gt; &gt;&gt; &gt;     the HDPVR for blasting.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     Both the HD Homerun and the HDPVR are running the latest<br>
&gt;&gt; &gt;&gt; &gt; firmware.<br>
&gt;&gt; &gt;&gt; &gt;     I was<br>
&gt;&gt; &gt;&gt; &gt;     going to downgrade the firmware in the HDPVR, but I read that the<br>
&gt;&gt; &gt;&gt; &gt;     previous<br>
&gt;&gt; &gt;&gt; &gt;     version had its own problems.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     I am running Mythdora 12.23, mythbackend version:<br>
&gt;&gt; &gt;&gt; &gt; tags/release-0-23<br>
&gt;&gt; &gt;&gt; &gt;     [0.23-1.md12 (r24509).<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     The backend log isn&#39;t much help, since when it freezes it can&#39;t<br>
&gt;&gt; &gt;&gt; &gt;     write to it,<br>
&gt;&gt; &gt;&gt; &gt;     heh (HW Tuner 44 is the HDPVR)<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:58:00.784 Reschedule requested for id 0.<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:58:01.977 Scheduled 781 items in 1.2 = 0.01 match +<br>
&gt;&gt; &gt;&gt; &gt;     1.17 place<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:58:01.991 scheduler: Scheduled items: Scheduled 781<br>
&gt;&gt; &gt;&gt; &gt;     items in<br>
&gt;&gt; &gt;&gt; &gt;     1.2 = 0.01 match + 1.17 place<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:58:29.861 TVRec(44): ASK_RECORDING 44 29 0 0<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:59:01.227 ProgramInfo(): Updated pathname &#39;&#39;:&#39;&#39; -&gt;<br>
&gt;&gt; &gt;&gt; &gt;     &#39;5389_20100523215900.mpg&#39;<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:59:01.346 TVRec(44): Changing from None to<br>
&gt;&gt; &gt;&gt; &gt; RecordingOnly<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:59:01.358 TVRec(44): HW Tuner: 44-&gt;44<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:59:02.471 ret_pid(0) child(11739) status(0x0)<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:59:03.484 ret_pid(0) child(11739) status(0x0)<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:59:04.501 ret_pid(0) child(11739) status(0x0)<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:59:05.519 ret_pid(0) child(11739) status(0x0)<br>
&gt;&gt; &gt;&gt; &gt;     2010-05-23 21:59:06.536 ret_pid(0) child(11739) status(0x0)<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     The next line of the log is the backend starting after I had to<br>
&gt;&gt; &gt;&gt; &gt;     push the<br>
&gt;&gt; &gt;&gt; &gt;     reset button.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     I am at my wits end, any ideas?<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;     Thanks in advance for any help.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; So I spent some more time working on the issue this morning.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; I downgraded the firmware of the HDPVR, no change, still hangs as<br>
&gt;&gt; &gt;&gt; &gt; described.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; I reloaded the newest firmware of the HDPVR into it and changed the<br>
&gt;&gt; &gt;&gt; &gt; USB port it was plugged into making sure it was on a different bus,<br>
&gt;&gt; &gt;&gt; &gt; no<br>
&gt;&gt; &gt;&gt; &gt; change, still hangs as described.<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt;&gt; &gt; mythtv-users mailing list<br>
&gt;&gt; &gt;&gt; &gt; <a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
&gt;&gt; &gt;&gt; &gt; <a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
&gt;&gt; &gt;&gt; &gt;<br>
&gt;&gt; &gt;&gt; Most people with this problem add a sleep to their channel changing<br>
&gt;&gt; &gt;&gt; script...Search this list for hdpvr channel script... I would guess<br>
&gt;&gt; &gt;&gt; that<br>
&gt;&gt; &gt;&gt; is your problem also..<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks for the reply.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I had read that when I got the HDPVR, so since day 1 with the HDPVR I<br>
&gt;&gt; &gt; have<br>
&gt;&gt; &gt; had a 3 sec sleep at the end of the script. I just checked my script and<br>
&gt;&gt; &gt; confirmed the 3.0 sec sleep at the end.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Any other ideas?<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; Seeings as you&#39;re on Mythdora and I&#39;ve not used it I was trying to<br>
&gt;&gt; stay out of this thread.<br>
&gt;&gt;<br>
&gt;&gt; However I am curious if you run the backend with &#39;-v most&#39; and<br>
&gt;&gt; pastebin the logs and post the link back here if we&#39;d see something<br>
&gt;&gt; more meaningful.<br>
&gt;&gt;<br>
&gt;&gt; Also is .23-release in your version number indicative that you&#39;re NOT<br>
&gt;&gt; following the fixes branch? Someone with more experience with a fedora<br>
&gt;&gt; based OS might want to suggest how to get the fixes branch on your<br>
&gt;&gt; box.<br>
&gt;&gt;<br>
&gt;&gt; -Johnny<br>
&gt;&gt;<br>
&gt;<br>
&gt; Thanks all to who are replying, I have been troubleshooting all morning.<br>
&gt;<br>
&gt; I updated the kernel hoping it would become more stable, it now is. I am<br>
&gt; running  kernel.i686 0:2.6.32.12-115.fc12.<br>
&gt;<br>
&gt; Now the backend computer doesn&#39;t freeze when I have the problem, so it does<br>
&gt; provide more logging. (A side note: it doesn&#39;t hang however I lose network<br>
&gt; connectivity when this happens, a reboot brings the network back)<br>
&gt;<br>
&gt; I am NOT running the fixes branch of mythtv.<br>
&gt;<br>
&gt; Checking the system log messages, I get this EVERY time the IR Blaster is<br>
&gt; accessed, either on backend startup, manually sending commands, or normal<br>
&gt; recordings:<br>
&gt;<br>
&gt; May 24 13:40:48 localhost lircd-0.8.6[1780]: accepted new client on<br>
&gt; /dev/lircd1<br>
&gt; May 24 13:40:48 localhost lircd-0.8.6[1780]: removed client<br>
&gt; May 24 13:40:48 localhost lircd-0.8.6[1780]: buffer too small<br>
&gt; May 24 13:40:49 localhost lircd-0.8.6[1780]: accepted new client on<br>
&gt; /dev/lircd1<br>
&gt; May 24 13:40:49 localhost lircd-0.8.6[1780]: removed client<br>
&gt; May 24 13:40:49 localhost lircd-0.8.6[1780]: buffer too small<br>
&gt; May 24 13:40:49 localhost lircd-0.8.6[1780]: accepted new client on<br>
&gt; /dev/lircd1<br>
&gt; May 24 13:40:50 localhost lircd-0.8.6[1780]: removed client<br>
&gt; May 24 13:40:50 localhost lircd-0.8.6[1780]: buffer too small<br>
&gt;<br>
&gt; running:<br>
&gt;<br>
&gt; [root@mythtv storage] mythbackend -v most &gt; crash.log<br>
&gt; irsend: timeout<br>
&gt; irsend: timeout<br>
&gt; irsend: timeout<br>
&gt; irsend: timeout<br>
&gt;<br>
&gt;<br>
&gt; The timeouts don&#39;t appear when the backend starts, they show up when the<br>
&gt; script runs to change the channel when another tuner is running.<br>
&gt; Note: If no other tuner is recording, I can record from the HDPVR without<br>
&gt; issue, that is the confusing part.<br>
&gt;<br>
&gt; You can view the crash.log at: <a href="http://pastebin.com/mMWVbrjn" target="_blank">http://pastebin.com/mMWVbrjn</a><br>
&gt;<br>
&gt; HW Tuner 44 is the HDPVR<br>
&gt; The recording starts on line 4081<br>
&gt; When this recording starts I am recording something on the HD Homerun<br>
&gt;<br>
&gt; My Channel Change Script is:<br>
&gt;<br>
&gt; #!/bin/bash<br>
&gt; PATH=/bin:/usr/bin:/usr/sbin<br>
&gt;<br>
&gt; REMOTE=dish<br>
&gt; irsend --device=/dev/lircd1 SEND_START $REMOTE SELECT<br>
&gt; sleep 4.0<br>
&gt; for digit in `echo $1 | sed &#39;s/\(.\)/\1 \n/g&#39;` ; do<br>
&gt;         irsend --device=/dev/lircd1 SEND_START $REMOTE $digit<br>
&gt;         sleep 0.2<br>
&gt; done<br>
&gt;<br>
&gt; irsend --device=/dev/lircd1 SEND_START $REMOTE SELECT<br>
&gt; sleep 0.2<br>
&gt; irsend --device=/dev/lircd1 SEND_START $REMOTE CANCEL<br>
&gt; sleep 3.0<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; The first select is to wake up the receiver if it is asleep, the last cancel<br>
&gt; is to get rid of the OSD from the receiver<br>
&gt;<br>
&gt; Thanks again, I would glady by someone a cold case of beer if they have the<br>
&gt; answer..:)<br>
&gt;<br>
<br>
as a troubleshooting idea - if you change your channel change command<br>
to &quot;/bin/true&quot; and make sure the cable box is already providing signal<br>
does the problem go away?<br>
<br>
<br></blockquote><div><br>I followed your idea and changed the channel change script in mythtvsetup to  /bin/true and YES the problem did go away I recorded on both tuners about 20 times switching back and forth between tuners and it didn&#39;t freeze once. It ALWAYS hung on the first time so I think it is safe to say that the problem did go away using /bin/true.<br>
<br>So with the irsend time outs and the other clues, I think it does have something with the way I am blasting.<br></div></div><br>