[vdr] Dead lock in VDR/EPG scan

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Mon Jun 6 18:20:58 CEST 2005


Rainer Zocholl wrote:
> Hello
> 
> Yesterday i set EGP timeout to 1 in the hope the LNBsharing 
> patch will prevent the usual deadlocks. It does not 
> need to do anything.
> 
> It happens too that the box ran that hour without any recordings
> instead of being powered off as usual, so EPG scan could really start.
> (Hm, why 1h as minimum?)

On a single card system it doesn't really make much sense to have
shorter times - after all, you wouldn't even be able to watch a full
length movie.

Besides, if you want to start an EPG scan you can select "Scan" from the
Setup/EPG menu at any time.

> As you may se below, 
> "Starting EPG scan" starts at channel 0 (zero? What is channel 0?), 

This may be a dummy channel that's used to tune to a new transponder.
It doesn't have a number.

> switches to channel 1, that's Ok...
> got new transponders/programs, that's OK. (so many new to day?)
> then VDR switches to channel 279!
> Why 279 and not 2? What's that?
> 
> The next timer event would be a timer to record channel 27 at 10:52
> but the switch attempt occurs at 10:42:18 
> and obviuosly leads VDR into a deep endless loop.
> 
> channel 279 is
> OLD GOLD;PREMIERE:11720:hC34:S19.2E:27500:0:336=deu:0:1801,1722,1702:167:133:3:0
> 
> Never ever tuned to 279 (encrypted) channel, no timer except 
> the one in approx 10 minutes at channel 27 ( an ASCII buffer Bug? *27*9?)

Well, since there is a patch involved that may well interfere with all
this I'd say you should test without that patch first and see if it
happens there, too.

> 09:09:08 [8593]: info: Channel locked by LNB!
> 09:09:58 [8600]: changing name of channel 312 from 'D 4 - 07:45,;' to 'D 4 - 09:30,;'
> 09:09:58 [8600]: linking channel 118 from 305 308 304 415 310 313 312 311 309 to 305 308 304 415 310 313 311 312 309
> ...
> 09:40:48 [8593]: Power button pressed
> 09:40:48 [8593]: next timer event at Mon Jun  6 10:52:00 2005
> 09:40:48 [8593]: confirm: Press any key to cancel shutdown
> 09:40:54 [8593]: confirmed
> ...
> 10:00:57 [8593]: next timer event at Mon Jun  6 10:52:00 2005
> ...
> 10:40:37 [8597]: changing pids of channel 160 from 901+901:902:204 to 701+701:702:204
> 10:41:34 [8593]: info: Starting EPG scan
> 10:41:36 [8593]: switching to channel 0
> 10:41:36 [22711]: TS buffer on device 1 thread ended (pid=22711, tid=2752525)
> 10:41:36 [22710]: buffer stats: 4136 (0%) used
> 10:41:36 [22710]: receiver on device 1 thread ended (pid=22710, tid=2736140)
> 10:41:36 [8593]: buffer stats: 0 (0%) used
> 10:41:37 [8603]: changing pids of channel 636 from 0+0:0:0 to 32+32:33:0
> 10:41:37 [8603]: changing pids of channel 637 from 0+0:0:0 to 70+70:71:54
> 10:41:38 [8603]: changing pids of channel 638 from 0+0:0:0 to 0+0:73:0
> 10:41:38 [8603]: changing pids of channel 639 from 0+0:0:0 to 61+61:62:0
> 10:41:41 [8603]: changing pids of channel 646 from 0+0:0:0 to 41+41:40:0
> 10:41:42 [8603]: changing pids of channel 647 from 0+0:0:0 to 0+0:58=eng:0
> 10:41:42 [8603]: changing pids of channel 648 from 0+0:0:0 to 0+0:59:0
> 10:42:00 [8600]: creating new channel 'TVP Kultura,;TVP' on S19.2E transponder 110861 with id 1-1059-7101-0
> 10:42:00 [8600]: creating new channel 'TV Polonia,;TVP Service' on S19.2E transponder 110861 with id 1-1059-7100-0
> 10:42:00 [8600]: changing pids of channel 814 from 0+0:0:0 to 516+8190:690=pol:580
> 10:42:00 [8600]: changing pids of channel 815 from 0+0:0:0 to 514+8190:670=pol:578
> 10:42:02 [8603]: creating new channel 'Cartoon Network/TCM,Cartoon Network/TCM;UPC Direct' on S19.2E transponder 110920 with id 1-1063-20341-0
> 10:42:02 [8603]: creating new channel 'Boomerang,Boomerang;UPC Direct' on S19.2E transponder 110920 with id 1-1063-20343-0
> 10:42:02 [8603]: creating new channel 'Viasat Explorer,Viasat Explorer;UPC Direct' on S19.2E transponder 110920 with id 1-1063-20344-0
> 10:42:02 [8603]: creating new channel 'Viasat History,Viasat History;UPC Direct' on S19.2E transponder 110920 with id 1-1063-20345-0
> 10:42:02 [8603]: creating new channel 'AXN,AXN;UPC Direct' on S19.2E transponder 110920 with id 1-1063-20346-0
> 10:42:02 [8603]: creating new channel 'Cinemax,Cinemax;UPC Direct' on S19.2E transponder 110920 with id 1-1063-20347-0
> 10:42:02 [8603]: creating new channel 'Minimax/A+,Minimax/A+;UPC Direct' on S19.2E transponder 110920 with id 1-1063-20348-0
> 10:42:02 [8603]: creating new channel 'CT1,CT1;UPC Direct' on S19.2E transponder 110920 with id 1-1063-20342-0
> 10:42:02 [8603]: creating new channel 'CT2,CT2;UPC Direct' on S19.2E transponder 110920 with id 1-1063-20350-0
> 10:42:02 [8603]: creating new channel 'Film+,Film+;UPC Direct' on S19.2E transponder 110920 with id 1-1063-20349-0
> 10:42:02 [8603]: changing pids of channel 818 from 0+0:0:0 to 251+251:260=hun,261=cze:270
> 10:42:02 [8603]: changing caids of channel 818 from 0 to D02
> 10:42:02 [8603]: changing pids of channel 819 from 0+0:0:0 to 301+301:310=hun,311=cze:320
> 10:42:02 [8603]: changing caids of channel 819 from 0 to D02
> 10:42:02 [8603]: changing pids of channel 820 from 0+0:0:0 to 351+351:360=hun,361=cze,362=eng:370
> 10:42:02 [8603]: changing caids of channel 820 from 0 to D02
> 10:42:03 [8603]: changing pids of channel 821 from 0+0:0:0 to 401+401:410=hun,411=cze,412=eng:0
> 10:42:03 [8603]: changing caids of channel 821 from 0 to D02
> 10:42:03 [8603]: changing caids of channel 821 from 0 to D02
> 10:42:03 [8603]: changing pids of channel 822 from 0+0:0:0 to 451+451:460=hun:0
> 10:42:03 [8603]: changing caids of channel 822 from 0 to D02
> 10:42:03 [8603]: changing pids of channel 825 from 0+0:0:0 to 501+501:511=cze:0
> 10:42:03 [8603]: changing caids of channel 825 from 0 to D02
> 10:42:03 [8603]: changing pids of channel 824 from 0+0:0:0 to 551+551:561=cze:570
> 10:42:03 [8603]: changing caids of channel 824 from 0 to D02
> 10:42:04 [8603]: changing pids of channel 816 from 0+0:0:0 to 101+101:110=hun,112=eng:120
> 10:42:04 [8603]: changing caids of channel 816 from 0 to D02
> 10:42:04 [8603]: changing pids of channel 823 from 0+0:0:0 to 151+151:161=cze:170
> 10:42:04 [8603]: changing caids of channel 823 from 0 to D02
> 10:42:04 [8603]: changing pids of channel 817 from 0+0:0:0 to 201+201:210=hun,212=eng,213=pol:0
> 10:42:04 [8603]: changing caids of channel 817 from 0 to D02
> 10:42:18 [8593]: switching to channel 279
> 10:42:18 [8593]: info: Channel not available!
> 10:42:20 [8593]: switching to channel 279
> 10:44:20 [8593]: info: Channel not available!
> 10:44:22 [8593]: switching to channel 279
> 10:44:22 [8593]: info: Channel not available!
> 10:44:24 [8593]: switching to channel 279
> 10:44:24 [8593]: info: Channel not available!
> 10:44:26 [8593]: switching to channel 279
> 10:44:26 [8593]: info: Channel not available!
> 10:44:28 [8593]: switching to channel 279
> 10:44:28 [8593]: info: Channel not available!
> 10:44:30 [8593]: switching to channel 279
> 10:44:30 [8593]: info: Channel not available!
> 10:44:32 [8593]: switching to channel 279
> 10:44:32 [8593]: info: Channel not available!
> 10:44:34 [8593]: switching to channel 279
> 
>                                                                                                            
> 
> 10:51:56 [8593]: switching to channel 279
> 10:51:56 [8593]: info: Channel not available!
> 10:51:58 [8593]: switching to channel 279
> 10:51:58 [8593]: info: Channel not available!
> 10:52:00 [8593]: switching to channel 279
> 10:52:00 [8593]: info: Channel not available!
> 10:52:02 [8593]: switching to channel 279
> 10:52:02 [8593]: info: Channel not available!
> 10:52:04 [8593]: switching to channel 279
> 10:52:04 [8593]: info: Channel not available!
> 10:52:06 [8593]: switching to channel 279
> 10:52:06 [8593]: info: Channel not available!
> 10:52:08 [8593]: switching to channel 279
> 10:52:08 [8593]: info: Channel not available!
> 
> 
> 
> msi:~# ps fax | grep vdr
> 29410 pts/1    S+     0:00          \_ grep vdr
>  8593 ?        S      5:46 ./vdr -v /video0 -P osdteletext -P femon -l 3 -w 60 -s /video0/pwroff /root/video/VDR/
>  8595 ?        S      0:00  \_ ./vdr -v /video0 -P osdteletext -P femon -l 3 -w 60 -s /video0/pwroff /root/video/VDR/
>  8596 ?        S      0:00      \_ ./vdr -v /video0 -P osdteletext -P femon -l 3 -w 60 -s /video0/pwroff /root/video/VDR/
>  8597 ?        RN    34:45      \_ ./vdr -v /video0 -P osdteletext -P femon -l 3 -w 60 -s /video0/pwroff /root/video/VDR/
>  8599 ?        S      0:00      \_ ./vdr -v /video0 -P osdteletext -P femon -l 3 -w 60 -s /video0/pwroff /root/video/VDR/
>  8600 ?        SN    30:26      \_ ./vdr -v /video0 -P osdteletext -P femon -l 3 -w 60 -s /video0/pwroff /root/video/VDR/
>  8602 ?        S      0:00      \_ ./vdr -v /video0 -P osdteletext -P femon -l 3 -w 60 -s /video0/pwroff /root/video/VDR/
>  8603 ?        SN    31:34      \_ ./vdr -v /video0 -P osdteletext -P femon -l 3 -w 60 -s /video0/pwroff /root/video/VDR/
>  8605 ?        S      0:00      \_ ./vdr -v /video0 -P osdteletext -P femon -l 3 -w 60 -s /video0/pwroff /root/video/VDR/
>  8606 ?        SN     9:03      \_ ./vdr -v /video0 -P osdteletext -P femon -l 3 -w 60 -s /video0/pwroff /root/video/VDR/
>  8607 ?        S      0:00      \_ ./vdr -v /video0 -P osdteletext -P femon -l 3 -w 60 -s /video0/pwroff /root/video/VDR/
> msi:~# kill 8593
> msi:~# kill 8593
> 
> a kill -9 was required...
> 
> vdr 1.3.25 only patch LNBsharing.

Does the problem also occur _without_ that patch (plain vanilla VDR)?

Klaus



More information about the vdr mailing list