[mythtv-commits] Ticket #3031: Recording will not commence until a PMT is set.

MythTV mythtv at cvs.mythtv.org
Fri Feb 2 03:46:03 UTC 2007


#3031: Recording will not commence until a PMT is set.
--------------------+-------------------------------------------------------
 Reporter:  jppoet  |       Owner:  ijr    
     Type:  defect  |      Status:  new    
 Priority:  minor   |   Milestone:  unknown
Component:  mythtv  |     Version:  0.20   
 Severity:  medium  |  
--------------------+-------------------------------------------------------
 Running svn Revision: 12662, but have not seen any changesets since then
 that says they fix this.

 For the last week, about 1/5 of my recordings via any of HD-3000 cards is
 failing with:
 {{{
 DVBRec(1) Warning: Recording will not commence until a PMT is set.
 }}}
 I have two backends, each with two HD-3000 cards, and this has happened on
 both of them.

 Leading up to the problem:
 {{{
 2007-01-30 18:59:00.672 TVRec(2): SetFlags(AskAllowRecording,) ->
 RunMainLoop,CancelNextRecording,AskAllowRecording,
 2007-01-30 18:59:00.686 TVRec(2): ClearFlags(AskAllowRecording,) ->
 RunMainLoop,CancelNextRecording,
 2007-01-30 18:59:34.521 TVRec(2): StartRecording(Gilmore Girls)
 2007-01-30 18:59:34.524 TVRec(2): ClearFlags(AskAllowRecording,) ->
 RunMainLoop,CancelNextRecording,
 2007-01-30 18:59:34.846 TVRec(2): StartedRecording(0x726180)
 fn(/mythtv/cobalt/1029_20070130190000.mpg)
 2007-01-30 18:59:34.865 TVRec(2): ClearFlags(CancelNextRecording,) ->
 RunMainLoop,
 2007-01-30 18:59:34.866 TVRec(2): Changing from None to RecordingOnly
 2007-01-30 18:59:34.868 TVRec(2):
 ClearFlags(FrontendReady,CancelNextRecording,) -> RunMainLoop,
 2007-01-30 18:59:34.868 TVRec(2): SetFlags(AskAllowRecording,) ->
 RunMainLoop,AskAllowRecording,
 2007-01-30 18:59:34.868 TVRec(2): Request: Program(yes) channel() input()
 flags(Recording,)
 2007-01-30 18:59:34.881 TVRec(2): HW Tuner: 2->2
 2007-01-30 18:59:34.881 TVRec(2): ClearFlags(PENDINGACTIONS,) ->
 RunMainLoop,AskAllowRecording,
 2007-01-30 18:59:34.902 DVBChan(0): Opening DVB channel
 2007-01-30 18:59:34.902 DVBChan(0): Using DVB card 0, with frontend 'Oren
 OR51132 VSB/QAM Frontend'.
 2007-01-30 18:59:34.905 ChannelBase(2): Input #2: 'DVBInput' schan(4-1)
 sourceid(1) ccid(2)
 2007-01-30 18:59:34.912 ChannelBase(2): Current Input #2: 'DVBInput'
 2007-01-30 18:59:34.913 DVBChan(0): SetChannelByString(19-1):
 2007-01-30 18:59:34.915 DVBChan(0): 563000000 8vsb a auto auto a a auto a
 v
 2007-01-30 18:59:34.921 DVBChan(0): Old Params: 545000000 8vsb a auto auto
 a a auto a v
                         DVBChan(0): New Params: 563000000 8vsb a auto auto
 a a auto a v
 2007-01-30 18:59:34.921 DVBChan(0): Tune(): Tuning to 563000000Hz
 2007-01-30 18:59:34.921 dvbchannel.cpp:wait_for_backend: Status:
 2007-01-30 18:59:34.923 DVBChan(0): Tune(): Frequency tuning successful.
 2007-01-30 18:59:34.923 DVBChan(0): SetChannelByString(19-1): Tuned to
 frequency.
 2007-01-30 18:59:34.923 TVRec(2): Starting Signal Monitor
 2007-01-30 18:59:34.924 TVRec(2): SetupSignalMonitor(1, 0)
 2007-01-30 18:59:34.924 DVBChan(0): Opening DVB channel
 2007-01-30 18:59:35.344 SM(0)::AddFlags: Seen() Match() Wait(Sig,)
 2007-01-30 18:59:35.352 DVBSM(0)::constructor(): initial flags 0x40000000
 2007-01-30 18:59:35.352 TVRec(2): Signal monitor successfully created
 2007-01-30 18:59:35.352 TVRec(2): Setting up table monitoring.
 2007-01-30 18:59:35.410 Using profile 'Live TV' to record
 2007-01-30 18:59:35.411 TVRec(2): ATSC channel: 19_1
 2007-01-30 18:59:35.440 DTVSM(0)::SetChannel(19, 1):
 2007-01-30 18:59:35.440 SM(0)::RemoveFlags: Seen(PAT,PMT,VCT,Crypt,)
 Match(PAT,PMT,VCT,Crypt,) Wait()
 2007-01-30 18:59:35.440 SM(0)::AddFlags: Seen() Match() Wait(PAT,VCT,)
 2007-01-30 18:59:35.442 SM(0)::AddFlags: Seen() Match() Wait(MGT,)
 2007-01-30 18:59:35.442 TVRec(2): Successfully set up ATSC table
 monitoring.
 2007-01-30 18:59:35.443 SM(0)::Start: begin
 2007-01-30 18:59:35.447 SM(0)::Start: end
 2007-01-30 18:59:35.448 TVRec(2): SetFlags(SignalMonitorRunning,) ->
 RunMainLoop,AskAllowRecording,SignalMonitorRunning,
 2007-01-30 18:59:35.448 TVRec(2): ClearFlags(WaitingForSignal,) ->
 RunMainLoop,AskAllowRecording,SignalMonitorRunning,
 2007-01-30 18:59:35.448 TVRec(2): SetFlags(WaitingForSignal,) ->
 RunMainLoop,AskAllowRecording,WaitingForSignal,SignalMonitorRunning,
 2007-01-30 18:59:35.449 TVRec(2): ClearFlags(NeedToStartRecorder,) ->
 RunMainLoop,AskAllowRecording,WaitingForSignal,SignalMonitorRunning,
 2007-01-30 18:59:35.449 TVRec(2): SetFlags(NeedToStartRecorder,) ->
 RunMainLoop,AskAllowRecording,WaitingForSignal,NeedToStartRecorder,SignalMonitorRunning,
 2007-01-30 18:59:35.804 DVBSM(0)::UpdateValues: Signal Locked
 2007-01-30 18:59:35.808 DVBSM(0)::UpdateValues: Waiting for table monitor
 to start
 2007-01-30 18:59:35.812 DVBSM(0)::UpdateValues: Table monitor started
 2007-01-30 18:59:35.808 DVBSM(0)::AddPIDFilter(0x0):
 2007-01-30 18:59:35.821 DVBSM(0)::RemovePIDFilter(0x0):
 2007-01-30 18:59:36.143 DVBSM(0): RunTableMonitorTS(): begin (# of pids 2)
 2007-01-30 18:59:36.144 DVBSM(0)::AddPIDFilter(0x0):
 2007-01-30 18:59:36.145 DVBSM(0)::AddPIDFilter(0x1ffb):
 2007-01-30 18:59:36.171 SM(0)::AddFlags: Seen(MGT,) Match() Wait()
 2007-01-30 18:59:36.172 SM(0)::AddFlags: Seen() Match(MGT,) Wait()
 2007-01-30 18:59:36.185 SM(0)::AddFlags: Seen(VCT,TVCT,) Match() Wait()
 2007-01-30 18:59:36.195 DTVSM(0)::SetVCT(): tvct->ProgramNumber(idx 0):
 prog num 3
 2007-01-30 18:59:36.196 DTVSM(0)::SetProgramNumber(3):
 2007-01-30 18:59:36.196 SM(0)::RemoveFlags: Seen(PMT,Crypt,)
 Match(PMT,Crypt,) Wait()
 2007-01-30 18:59:36.196 SM(0)::AddFlags: Seen() Match() Wait(PMT,)
 2007-01-30 18:59:36.197 SM(0)::AddFlags: Seen() Match(VCT,TVCT,) Wait()
 2007-01-30 18:59:36.225 SM(0)::AddFlags: Seen(PAT,) Match() Wait()
 2007-01-30 18:59:36.225 SM(0)::AddFlags: Seen() Match(PAT,) Wait()
 2007-01-30 18:59:36.225 CreatePATSingleProgram()
 2007-01-30 18:59:36.226 PAT in input stream
 2007-01-30 18:59:36.226 Program Association Table
  PSIP tableID(0x0) length(21) extension(0x817)
       version(9) current(1) section(0) last_section(0)
          tsid: 2071
  programCount: 3
   program number 3 has PID 0x  30   data  0x 0 0x 3 0xe0 0x30
   program number 19 has PID 0x 130   data  0x 0 0x13 0xe1 0x30
   program number 59 has PID 0x 3b0   data  0x 0 0x3b 0xe3 0xb0

 2007-01-30 18:59:36.232 desired_program(3) pid(0x30)
 2007-01-30 18:59:36.232 pmt_pid(0x30)
 2007-01-30 18:59:36.233 PAT for output stream
 2007-01-30 18:59:36.233 Program Association Table
  PSIP tableID(0x0) length(13) extension(0x817)
       version(9) current(1) section(0) last_section(0)
          tsid: 2071
  programCount: 1
   program number 1 has PID 0x  30   data  0x 0 0x 1 0xe0 0x30

 2007-01-30 18:59:36.233 DVBSM(0)::AddPIDFilter(0x30):
 2007-01-30 18:59:36.244 SM(0)::AddFlags: Seen(MGT,) Match() Wait()
 2007-01-30 18:59:36.245 SM(0)::AddFlags: Seen() Match(MGT,) Wait()
 2007-01-30 18:59:36.284 SM(0)::AddFlags: Seen(PMT,) Match() Wait()
 2007-01-30 18:59:36.285 SM(0)::AddFlags: Seen() Match(PMT,) Wait()
 2007-01-30 18:59:36.290 CreatePMTSingleProgram()
 2007-01-30 18:59:36.291 PMT in input stream
 2007-01-30 18:59:36.291 Program Map Table ver(9) pid(0x30) pnum(3) len(23)

  Stream #0 pid(0x31) type(video-mpeg2  0x2)
  Stream #1 pid(0x34) type(audio-ac3  0x81)

 2007-01-30 18:59:36.291 PMT for output stream
 2007-01-30 18:59:36.292 Program Map Table ver(9) pid(0x30) pnum(1) len(23)

  Stream #0 pid(0x31) type(video-mpeg2  0x2)
  Stream #1 pid(0x34) type(audio-ac3  0x81)

 2007-01-30 18:59:36.331 TVRec(2): Got good signal
 2007-01-30 18:59:36.336 TVRec(2): TeardownSignalMonitor() -- begin
 2007-01-30 18:59:36.343 DVBSM(0)::Stop: begin
 2007-01-30 18:59:36.348 SM(0)::Stop: begin
 2007-01-30 18:59:36.383 SM(0)::Stop: end
 2007-01-30 18:59:36.393 DVBSM(0): RunTableMonitorTS(): shutdown
 2007-01-30 18:59:36.396 DVBSM(0)::RemovePIDFilter(0x0):
 2007-01-30 18:59:36.396 DVBSM(0)::RemovePIDFilter(0x30):
 2007-01-30 18:59:36.396 DVBSM(0)::RemovePIDFilter(0x1ffb):
 2007-01-30 18:59:36.711 DVBSM(0): RunTableMonitorTS(): end
 2007-01-30 18:59:36.712 DVBSM(0)::Stop: end
 2007-01-30 18:59:36.716 TVRec(2): TeardownSignalMonitor() -- end
 2007-01-30 18:59:36.717 TVRec(2): ClearFlags(SignalMonitorRunning,) ->
 RunMainLoop,AskAllowRecording,WaitingForSignal,NeedToStartRecorder,
 2007-01-30 18:59:36.717 TVRec(2): ClearFlags(WaitingForSignal,) ->
 RunMainLoop,AskAllowRecording,NeedToStartRecorder,
 2007-01-30 18:59:36.718 TVRec(2): Starting Recorder
 2007-01-30 18:59:36.721 Using profile 'Default' to record
 2007-01-30 18:59:36.804 RecBase(0): SetRingBuffer(0x2aaaaab340f0)
 '/mythtv/cobalt/1029_20070130190000.mpg'
 2007-01-30 18:59:36.806 RecBase(0): SetRecording(0x726180) title(Gilmore
 Girls)
 2007-01-30 18:59:36.822 DVBRec(0): Card opened successfully fd(15)
 2007-01-30 18:59:36.847 TVRec(2):
 SetFlags(RecorderRunning,RingBufferReady,) ->
 RunMainLoop,AskAllowRecording,NeedToStartRecorder,RecorderRunning,RingBufferReady,
 2007-01-30 18:59:36.853 TVRec(2): ClearFlags(NeedToStartRecorder,) ->
 RunMainLoop,AskAllowRecording,RecorderRunning,RingBufferReady,
 2007-01-30 18:59:36.859 DevRdB(0): buffer size 14100 KB
 2007-01-30 18:59:36.873 DVBRec(0) Warning: Recording will not commence
 until a PMT is set.
 2007-01-30 18:59:36.887 DVBRec(0) Warning: Recording will not commence
 until a PMT is set.
 2007-01-30 18:59:36.899 DVBRec(0) Warning: Recording will not commence
 until a PMT is set.
 }}}

 If I restart the backend, then the program records just fine.

 Please let me know if any more information is needed.

 John

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3031>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list