[mythtv-commits] Ticket #9566: Mythbackend reports "multiplex is not available" and afterwards the specified DVB tuner is busy for ever

MythTV noreply at mythtv.org
Wed Feb 9 15:42:32 UTC 2011


#9566: Mythbackend reports "multiplex is not available" and afterwards the
specified DVB tuner is busy for ever
-------------------------------------------------+-------------------------
 Reporter:  Tomi Orava <tomi.orava@…>            |           Type:  Bug
   Status:  new                                  |  Report
Milestone:  unknown                              |       Priority:  minor
  Version:  0.24-fixes                           |      Component:  MythTV
 Keywords:  multiplex is not available           |  - General
                                                 |       Severity:  medium
                                                 |  Ticket locked:  0
-------------------------------------------------+-------------------------
 There seems to be some problems in recording realiably with multiple DVB-
 tuner cards & several virtual tuners that result recordings being done
 without physical file of any kind. The MythTV version used in the tests
 has the latest commit of 6dd5e4b821037b20496a7fa715b51fd91a28a49c.

 The test setup has 3 DVB Terratec Cinergy 1200 DVB-T pci tuner cards and
 each of them has usually the max recordings value set to 3. The problem is
 that its almost daily that I seem to have failed recordings and the
 interesting thing is that mythbackend doesn't seem to notice that at all
 ---> ie. no errors are logged about recording failures or such (only
 tuning about tuning failures). Only later on the web-interface causes the
 system to notice that although it thinks its still/has been recording
 something, the file is completely missing.

 When the recording fails, this is all I can see from the logs:


 {{{
 2011-02-08 22:38:05.763 PIDInfo(/dev/dvb/adapter0/frontend0): Closing
 filter for pid 0x201
 2011-02-08 22:38:05.764 TVRec(11): ClearFlags(SignalMonitorRunning,) ->
 RunMainLoop,EITScannerRunning,
 2011-02-08 22:38:05.852 PIDInfo(/dev/dvb/adapter0/frontend0): Closing
 filter for pid 0x294
 2011-02-08 22:38:05.886 TVRec(11): ClearFlags(PENDINGACTIONS,) ->
 RunMainLoop,EITScannerRunning,
 2011-02-08 22:38:05.920 TVRec(11): No recorder yet, calling
 TuningFrequency
 2011-02-08 22:38:05.925 DVBChan(11:/dev/dvb/adapter0/frontend0): Opening
 DVB channel
 2011-02-08 22:38:05.927 ChannelBase(11): SelectChannel 8
 2011-02-08 22:38:05.930 TVRec(11): Starting Signal Monitor
 2011-02-08 22:38:05.930 ChannelThread::run
 2011-02-08 22:38:05.960 TVRec(11): SetupSignalMonitor(1, 0)
 2011-02-08 22:38:05.996 DVBChan(11:/dev/dvb/adapter0/frontend0):
 SetChannelByString(8):
 2011-02-08 22:38:06.030 DVBChan(11:/dev/dvb/adapter0/frontend0): Opening
 DVB channel
 2011-02-08 22:38:06.037 DVBSM(/dev/dvb/adapter0/frontend0): Can measure
 Signal Strength
 2011-02-08 22:38:06.041 DVBChan(11:/dev/dvb/adapter0/frontend0) Error:
 SetChannelByString(8): Multiplex is not available
 2011-02-08 22:38:06.053 DVBSM(/dev/dvb/adapter0/frontend0): Can measure
 S/N
 2011-02-08 22:38:06.105 DVBSM(/dev/dvb/adapter0/frontend0): Can measure
 Bit Error Rate
 2011-02-08 22:38:06.134 DVBSM(/dev/dvb/adapter0/frontend0): Can count
 Uncorrected Blocks
 2011-02-08 22:38:06.146 SM(/dev/dvb/adapter0/frontend0)::RemoveFlags:
 Seen() Match() Wait()
 2011-02-08 22:38:06.161 DVBSM(/dev/dvb/adapter0/frontend0):
 DVBSignalMonitor::ctor initial flags Seen() Match() Wait(Sig,SNR,BER,UB,)
 2011-02-08 22:38:06.183 TVRec(11): Signal monitor successfully created
 2011-02-08 22:38:06.187 SM(/dev/dvb/adapter0/frontend0)::Start: begin
 2011-02-08 22:38:06.199 SignalMonitor: channel change failed
 2011-02-08 22:38:06.199 SM(/dev/dvb/adapter0/frontend0)::Start: end
 2011-02-08 22:38:06.208 TVRec(11): SetFlags(SignalMonitorRunning,) ->
 RunMainLoop,SignalMonitorRunning,EITScannerRunning,
 2011-02-08 22:38:06.211 TVRec(11): ClearFlags(WaitingForSignal,) ->
 RunMainLoop,SignalMonitorRunning,EITScannerRunning,
 2011-02-08 22:38:06.213 TVRec(11): SetFlags(WaitingForSignal,) ->
 RunMainLoop,WaitingForSignal,SignalMonitorRunning,EITScannerRunning,
 2011-02-08 22:38:06.216 TVRec(11): ClearFlags(NeedToStartRecorder,) ->
 RunMainLoop,WaitingForSignal,SignalMonitorRunning,EITScannerRunning,
 2011-02-08 22:38:06.252 SignalMonitor: channel change failed
 2011-02-08 22:38:06.287 TVRec(11) Error: SignalMonitor failed
 2011-02-08 22:38:06.337 TVRec(11): ClearFlags(NeedToStartRecorder,) ->
 RunMainLoop,WaitingForSignal,SignalMonitorRunning,EITScannerRunning,
 2011-02-08 22:38:06.337 SignalMonitor: channel change failed
 2011-02-08 22:38:06.423 TVRec(11): ClearFlags(EITScannerRunning,) ->
 RunMainLoop,WaitingForSignal,SignalMonitorRunning,
 2011-02-08 22:38:06.457 TVRec(11): TeardownSignalMonitor() -- begin
 2011-02-08 22:38:06.539 DVBSM(/dev/dvb/adapter0/frontend0): Stop() --
 begin
 2011-02-08 22:38:06.580 SM(/dev/dvb/adapter0/frontend0)::Stop: begin
 2011-02-08 22:38:06.488 SignalMonitor: channel change failed
 2011-02-08 22:38:06.751 SM(/dev/dvb/adapter0/frontend0)::Stop: end
 2011-02-08 22:38:06.754 DVBSM(/dev/dvb/adapter0/frontend0): Stop() -- end
 2011-02-08 22:38:06.756 SM(/dev/dvb/adapter0/frontend0)::Stop: begin
 2011-02-08 22:38:06.760 SM(/dev/dvb/adapter0/frontend0)::Stop: end

 }}}

 It's not a hardware problem as the hang does happen to any of the three
 installed cards during a longer periods. I've also just seen the exactly
 same problem in my parents setup which has the latest 0.23-fixes version
 installed (only 2 DVB tuner cards). Somehow I get the feeling this problem
 might be related to the #6719.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9566>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list