home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Support
General Support
TV Service dying
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="gibman" data-source="post: 917476" data-attributes="member: 25430"><p>what it says is:</p><p> </p><p><strong> res id blocking=31, state=TuneCancelled</strong></p><p> </p><p>here u can see see why the tuner reservation failed.</p><p>it's because of previous reservation with id 31 not releasing the lock<strong>. </strong>It's last known state was 'TuneCancelled'.</p><p> </p><p>in order to find the culprit tune reservation in the logs, look in tv.bak file for 'CardReservationBase.RequestCardTuneReservation: placed reservation with id=31'</p><p> </p><p>[CODE]</p><p>2012-09-18 22:58:40.433566 [DVB EPG timer(4)]: CardReservationBase.RequestCardTuneReservation: placed reservation with id=31, tuningdetails=DVBS:radio:BSkyB Kismat Freq:12523000 ONID:2 TSID:2612 SID:9566 PMT:0x141 FTA:True LCN:470 SymbolRate:27500 Modulation:ModNotSet Polarisation:LinearV InnerFecRate:Rate2_3 DisEqc:None band:Universal Pilot:NotSet RollOff:NotSet</p><p>[/CODE]</p><p> </p><p>somehow this thread stops here ??</p><p> </p><p>[CODE]2012-09-18 22:58:40.449166 [DVB EPG timer(4)]: dvb:GetNewSubChannel:0 #0[/CODE]</p><p> </p><p>the next expected log line should have been:</p><p>DVB EPG timer(4)]: TvDvbChannel ctor new subchIndex:0</p><p> </p><p>it essentially locks the card, preventing other tune requests to fail, and will do so until tvservice is restarted ?</p><p> </p><p>.. as can be seen here:</p><p> </p><p>[CODE]2012-09-19 07:17:57.351966 [(26)]: CardReservationBase.RequestCardTuneReservation: placed reservation with id=34, tuningdetails=DVBS:tv:BSkyB BBC One HD Freq:10847000 ONID:2 TSID:2050 SID:6941 PMT:0x104 FTA:True LCN:32 SymbolRate:23000 Modulation:ModQpsk Polarisation:LinearV InnerFecRate:Rate8_9 DisEqc:None band:Universal Pilot:Off RollOff:ThirtyFive</p><p>2012-09-19 07:17:57.353966 [(26)]: CardReservationBase.HasUserHigherPriorityThanBlockingUser: True - user 'VHTPC-PC' with prio=2 vs blocking user 'epg' with prio=1</p><p> </p><p>2012-09-19 07:17:57.354966 [(26)]: CardReservationBase.RequestCardTuneReservation: failed reservation tuningdetails=DVBS:tv:BSkyB BBC One HD Freq:10847000 ONID:2 TSID:2050 SID:6941 PMT:0x104 FTA:True LCN:32 SymbolRate:23000 Modulation:ModQpsk Polarisation:LinearV InnerFecRate:Rate8_9 DisEqc:None band:Universal Pilot:Off RollOff:ThirtyFive, res id blocking=31, state=TuneCancelled</p><p> </p><p>2012-09-19 07:17:57.356966 [(26)]: CardReservationBase.RequestCardTuneReservation: placed reservation with id=35, tuningdetails=DVBT:tv: BBC One HD Freq:474000 ONID:9018 TSID:16517 SID:17540 PMT:0x19C8 FTA:True LCN:50 BandWidth:8</p><p> </p><p>2012-09-19 07:17:57.357966 [(26)]: CardReservationBase.RequestCardTuneReservation: placed reservation with id=36, tuningdetails=DVBT:tv: BBC One HD Freq:474000 ONID:9018 TSID:16517 SID:17540 PMT:0x19C8 FTA:True LCN:50 BandWidth:8[/CODE]</p><p> </p><p>So is it a deadlock or a bad driver ?</p><p> </p><p>if a bad tuner driver decides to forever block it will cause the same symptoms.</p><p> </p><p>My guess is that you can't repro this issue on demand ?</p><p> </p><p>in TvDvbChannel.cs we have:</p><p>[CODE] public TvDvbChannel(IFilterGraph2 graphBuilder, ConditionalAccess ca, MDPlugs mdplugs, IBaseFilter tif,</p><p> IBaseFilter tsWriter, int subChannelId, IChannel channel)</p><p> {</p><p> _cancelled = false;</p><p> _listenCA = false;</p><p> _eventPMT = new ManualResetEvent(false);</p><p> _eventCA = new ManualResetEvent(false);</p><p> _graphState = GraphState.Created;</p><p> _graphBuilder = graphBuilder;</p><p> _conditionalAccess = ca;</p><p> _mdplugs = mdplugs;</p><p> _filterTIF = tif;</p><p> _teletextDecoder = new DVBTeletext();</p><p> _packetHeader = new TSHelperTools.TSHeader();</p><p> _tsHelper = new TSHelperTools();</p><p> _channelInfo = new ChannelInfo();</p><p> _pmtPid = -1;</p><p> _subChannelIndex = -1;</p><p> _tsFilterInterface = (ITsFilter)tsWriter;</p><p> _tsFilterInterface.AddChannel(ref _subChannelIndex);</p><p> </p><p> Log.Log.WriteFile("TvDvbChannel ctor new subchIndex:{0}", _subChannelIndex);</p><p> </p><p> _subChannelId = subChannelId;</p><p> _conditionalAccess.AddSubChannel(_subChannelId, channel);</p><p> _timeshiftFileName = "";</p><p> _recordingFileName = "";</p><p> _pmtData = null;</p><p> _pmtLength = 0;</p><p> }[/CODE]</p><p> </p><p>/gibman</p></blockquote><p></p>
[QUOTE="gibman, post: 917476, member: 25430"] what it says is: [B] res id blocking=31, state=TuneCancelled[/B] here u can see see why the tuner reservation failed. it's because of previous reservation with id 31 not releasing the lock[B]. [/B]It's last known state was 'TuneCancelled'. in order to find the culprit tune reservation in the logs, look in tv.bak file for 'CardReservationBase.RequestCardTuneReservation: placed reservation with id=31' [CODE] 2012-09-18 22:58:40.433566 [DVB EPG timer(4)]: CardReservationBase.RequestCardTuneReservation: placed reservation with id=31, tuningdetails=DVBS:radio:BSkyB Kismat Freq:12523000 ONID:2 TSID:2612 SID:9566 PMT:0x141 FTA:True LCN:470 SymbolRate:27500 Modulation:ModNotSet Polarisation:LinearV InnerFecRate:Rate2_3 DisEqc:None band:Universal Pilot:NotSet RollOff:NotSet [/CODE] somehow this thread stops here ?? [CODE]2012-09-18 22:58:40.449166 [DVB EPG timer(4)]: dvb:GetNewSubChannel:0 #0[/CODE] the next expected log line should have been: DVB EPG timer(4)]: TvDvbChannel ctor new subchIndex:0 it essentially locks the card, preventing other tune requests to fail, and will do so until tvservice is restarted ? .. as can be seen here: [CODE]2012-09-19 07:17:57.351966 [(26)]: CardReservationBase.RequestCardTuneReservation: placed reservation with id=34, tuningdetails=DVBS:tv:BSkyB BBC One HD Freq:10847000 ONID:2 TSID:2050 SID:6941 PMT:0x104 FTA:True LCN:32 SymbolRate:23000 Modulation:ModQpsk Polarisation:LinearV InnerFecRate:Rate8_9 DisEqc:None band:Universal Pilot:Off RollOff:ThirtyFive 2012-09-19 07:17:57.353966 [(26)]: CardReservationBase.HasUserHigherPriorityThanBlockingUser: True - user 'VHTPC-PC' with prio=2 vs blocking user 'epg' with prio=1 2012-09-19 07:17:57.354966 [(26)]: CardReservationBase.RequestCardTuneReservation: failed reservation tuningdetails=DVBS:tv:BSkyB BBC One HD Freq:10847000 ONID:2 TSID:2050 SID:6941 PMT:0x104 FTA:True LCN:32 SymbolRate:23000 Modulation:ModQpsk Polarisation:LinearV InnerFecRate:Rate8_9 DisEqc:None band:Universal Pilot:Off RollOff:ThirtyFive, res id blocking=31, state=TuneCancelled 2012-09-19 07:17:57.356966 [(26)]: CardReservationBase.RequestCardTuneReservation: placed reservation with id=35, tuningdetails=DVBT:tv: BBC One HD Freq:474000 ONID:9018 TSID:16517 SID:17540 PMT:0x19C8 FTA:True LCN:50 BandWidth:8 2012-09-19 07:17:57.357966 [(26)]: CardReservationBase.RequestCardTuneReservation: placed reservation with id=36, tuningdetails=DVBT:tv: BBC One HD Freq:474000 ONID:9018 TSID:16517 SID:17540 PMT:0x19C8 FTA:True LCN:50 BandWidth:8[/CODE] So is it a deadlock or a bad driver ? if a bad tuner driver decides to forever block it will cause the same symptoms. My guess is that you can't repro this issue on demand ? in TvDvbChannel.cs we have: [CODE] public TvDvbChannel(IFilterGraph2 graphBuilder, ConditionalAccess ca, MDPlugs mdplugs, IBaseFilter tif, IBaseFilter tsWriter, int subChannelId, IChannel channel) { _cancelled = false; _listenCA = false; _eventPMT = new ManualResetEvent(false); _eventCA = new ManualResetEvent(false); _graphState = GraphState.Created; _graphBuilder = graphBuilder; _conditionalAccess = ca; _mdplugs = mdplugs; _filterTIF = tif; _teletextDecoder = new DVBTeletext(); _packetHeader = new TSHelperTools.TSHeader(); _tsHelper = new TSHelperTools(); _channelInfo = new ChannelInfo(); _pmtPid = -1; _subChannelIndex = -1; _tsFilterInterface = (ITsFilter)tsWriter; _tsFilterInterface.AddChannel(ref _subChannelIndex); Log.Log.WriteFile("TvDvbChannel ctor new subchIndex:{0}", _subChannelIndex); _subChannelId = subChannelId; _conditionalAccess.AddSubChannel(_subChannelId, channel); _timeshiftFileName = ""; _recordingFileName = ""; _pmtData = null; _pmtLength = 0; }[/CODE] /gibman [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
General Support
TV Service dying
Contact us
RSS
Top
Bottom