I have find out what was wrong. It not related to getstream, looks like it driver problem.<br>I am using DViCO FusionHDTV DVB-T Dual Express with latest drivers and kernel 2.6.27-7.<br>After system reboot or combination rmmod/modprobe cx23885 getstream(or any another application) working with card do his job well. Once it terminated(by Ctrl+C) or even simply stopped(when job is finished, e.g. scan) I cant make any DVB related tools work. In /var/log/messages i have lots of messages like this: <br>
<br>Feb 27 19:31:01 iptv-dvbt kernel: [39261.670228] xc2028 0-0061: Loading firmware for type=D2633 DTV7 (90), id 0000000000000000.<br>Feb 27 19:31:01 iptv-dvbt kernel: [39261.685084] xc2028 0-0061: Loading SCODE for type=DTV6 QAM DTV7 DTV78 DTV8 ZARLINK456 SCODE HAS_IF_4760 (620003e0), id 0000000000000000.<br>
Feb 27 19:31:01 iptv-dvbt kernel: [39261.980032] xc2028 0-0061: Loading firmware for type=BASE F8MHZ (3), id 0000000000000000.<br>Feb 27 19:31:03 iptv-dvbt kernel: [39263.250229] xc2028 0-0061: Loading firmware for type=D2633 DTV7 (90), id 0000000000000000.<br>
Feb 27 19:31:03 iptv-dvbt kernel: [39263.265086] xc2028 0-0061: Loading SCODE for type=DTV6 QAM DTV7 DTV78 DTV8 ZARLINK456 SCODE HAS_IF_4760 (620003e0), id 0000000000000000.<br><br>After rmmod/modprobe I can perform new try. Maybe someone here has same problem in the past(and more important successfully solved it:))? <br>
<br><br><div class="gmail_quote">On Thu, Feb 26, 2009 at 8:26 PM, Florian Lohoff <span dir="ltr">&lt;<a href="mailto:flo@rfc822.org">flo@rfc822.org</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="Ih2E3d">On Thu, Feb 26, 2009 at 06:58:32PM +0200, Serg Gulko wrote:<br>
&gt; Hello!<br>
&gt;<br>
&gt; Yes, you was right about commenting watchdog. But now I have new troubles:)<br>
&gt;<br>
&gt; 2009-02-27 03:56:53.215 fe: Adapter 1 Setting up frontend tuner<br>
&gt; 2009-02-27 03:56:53.217 fe: adapter 1 type OFDM name &quot;Zarlink ZL10353 DVB-T&quot;<br>
&gt; 2009-02-27 03:56:53.217 fe: adapter 1 frequency min 174000000 max 862000000<br>
&gt; step 166667 tolerance 0<br>
&gt; 2009-02-27 03:56:53.217 fe: adapter 1 symbol rate min 0 max 0 tolerance 0<br>
&gt; 2009-02-27 03:56:53.217 dmx: Setting filter for pid 8192 pestype 20<br>
&gt; 2009-02-27 03:56:53.252 dvr: Add Section callback for PID 0 (0x0000) type 1<br>
&gt; (PAT)<br>
&gt; 2009-02-27 03:56:53.252 dvr: Add TS callback for PID 0 (0x0000) type 9<br>
&gt; (Reassemble)<br>
&gt; 2009-02-27 03:56:59.042 fe: Adapter 1 Status: 0x00 ()<br>
&gt; 2009-02-27 03:56:59.042 dvr: lockup of DVB card detected - trying to<br>
&gt; reanimate via bouncing filter<br>
&gt; 2009-02-27 03:57:04.862 fe: Adapter 1 Status: 0x00 ()<br>
&gt; 2009-02-27 03:57:04.862 dvr: lockup of DVB card detected - trying to<br>
&gt; reanimate via bouncing filter<br>
&gt; 2009-02-27 03:57:10.712 fe: Adapter 1 Status: 0x00 ()<br>
&gt; 2009-02-27 03:57:10.712 dvr: lockup of DVB card detected - trying to<br>
&gt; reanimate via bouncing filter<br>
<br>
</div>Okay - something is wrong with your tuner setup i guess - because your<br>
DVB card does not hand out TS packets ....<br>
<br>
These are 2 mechanisms - The guard thread watches whether TS packets get<br>
processed from a different thread. When the main getstream thread gets<br>
stuck (mostly because of a programming error or some other strange<br>
things) it kills getstream. So when you want to provide a &quot;high<br>
availability&quot; solution you&#39;d want to start getstream with something like<br>
<br>
        while true; do ./getstream -dd -c config; done<br>
<br>
So getstream kills itself when getting stuck and this would restart it.<br>
<br>
The other mechanism you trigger now is a workaround for some strange DVB<br>
cards which sometimes get stuck. Read: getstream is runnign but no TS<br>
packets. The workaround is to drop all filters or better close all fds<br>
and reopen them.<br>
<br>
Both of which get triggered when there are no dvb packets. I&#39;ll think<br>
about the watchdog as it might be enough to set a timer in the main<br>
process to trigger every second. When getstream gets stuck there will be<br>
no timer/event handling and it&#39;ll get killed too.<br>
<div><div class="Wj3C7c"><br>
Flo<br>
--<br>
Florian Lohoff                  <a href="mailto:flo@rfc822.org">flo@rfc822.org</a>             +49-171-2280134<br>
        Those who would give up a little freedom to get a little<br>
          security shall soon have neither - Benjamin Franklin<br>
</div></div><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
<br>
iD8DBQFJpt66Uaz2rXW+gJcRAvsJAJ9e3e3+mk53TrIBAJa8c3+fmQGUfgCgg+l5<br>
9qR0MK2Xsom9Iq0IczXp0tM=<br>
=t/5R<br>
-----END PGP SIGNATURE-----<br>
<br></blockquote></div><br>