no free card avalable (1 Viewer)

mrkaras

Portal Pro
December 9, 2006
541
7
Home Country
No free card available
3 tuners, 1 in use according to MP 3 - 1 = 0
the other 2 tuners do show up in the server config.
the other 2 tuners can scan for and find channels
every card is mapped to every channel
 

mm1352000

Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Hello mrkaras

    1 tuner in use, 2 tuners blocked due to failed reservations:
    [2013-10-21 20:29:25,657] [Log ] [scheduler thread] [DEBUG] - CardReservationBase.RequestCardTuneReservation: failed reservation tuningdetails=DVBT:tv:Nine Network Australia Nine Digital Freq:191500 ONID:4114 TSID:1024 SID:1025 PMT:0x101 FTA:True LCN:10000 BandWidth:7, res id blocking=4, state=TunePending
    [2013-10-21 20:29:25,657] [Log ] [scheduler thread] [DEBUG] - CardReservationBase.RequestCardTuneReservation: failed reservation tuningdetails=DVBT:tv:Nine Network Australia Nine Digital Freq:191500 ONID:4114 TSID:1024 SID:1025 PMT:0x101 FTA:True LCN:10000 BandWidth:7, res id blocking=n/a, state=TunePending

    [2013-10-21 20:29:08,623] [Log ] [scheduler thread] [INFO ] - scheduler: SchedulerWorker inner exception System.NullReferenceException: Object reference not set to an instance of an object.
    at TvService.CardReservationBase.RequestCardTuneReservation(ITvCardHandler tvcard, IChannel tuningDetail, IUser user, Int32 idChannel)
    at TvService.CardReservationHelper.RequestCardReservation(IUser user, CardDetail cardDetail, TVController tvController, ICardReservation cardResImpl, Int32 idChannel)
    at TvService.CardReservationHelper.RequestCardReservations(IUser user, IEnumerable`1 availCardsForReservation, TVController tvController, ICardReservation cardResImpl, IEnumerable`1 ignoreCards, Int32 idChannel)
    at TvService.Scheduler.IterateCardsUntilRecording(RecordingDetail recDetail, IUser user, ICollection`1 cardsForReservation, CardReservationRec cardRes)
    at TvService.Scheduler.StartRecordOnCard(RecordingDetail recDetail, IUser& user, ICollection`1 cardsForReservation)
    at TvService.Scheduler.StartRecordOnFreeCard(RecordingDetail recDetail, IUser& user)
    at TvService.Scheduler.StartRecord(RecordingDetail recDetail)
    at TvService.Scheduler.StartAnyDueRecordings()
    at TvService.Scheduler.DoScheduleWork()
    at TvService.Scheduler.SchedulerWorker()

    Looks like a genuine bug in the reservation system. My guess is something to do with recording attempting to start at the same time as scanning.

    mm
     

    mrkaras

    Portal Pro
    December 9, 2006
    541
    7
    Home Country
    Any ideas how I stop it happening then? I only started running the scan after I had the problems. I can restart the service but I think it will come back soon, I have been having specific problems with tuning channel 9 and its associated stations, at other times recently I could tune any station except channel 9 based stations, the channel 9 stations would say no signal I think even after trying a few times (as MP sometimes requires)
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Any ideas how I stop it happening then?
    No. I'm not sure of the cause so I can't be sure of the solution either. Not scanning would be one thing... not that it is a solution, but you did ask how to stop it from happening.

    I only started running the scan after I had the problems.
    What do you mean?
    You have 3 tuners.
    TV service started at 20:25 on the 21st.
    Recording for "Doctor Who" started immediately. At that point all tuners were available.
    [2013-10-21 20:25:46,192] [Log ] [scheduler thread] [INFO ] - Scheduler: Time to record ABC2 8:25 PM-8:31 PM Doctor Who
    Recording started successfully by 20:25:49.
    At 20:26 I see you start a scan:
    [2013-10-21 20:26:21,166] [Log ] [18 ] [INFO ] - card: Scan 8 to...
    Are you telling me that the problem had started sometime in that 35 second gap?
    If so, I don't see any indications of this.

    I can restart the service but I think it will come back soon, I have been having specific problems with tuning channel 9 and its associated stations, at other times recently I could tune any station except channel 9 based stations, the channel 9 stations would say no signal I think even after trying a few times (as MP sometimes requires)
    I'm sorry I'm not able to examine your entire set of log files in detail (they're rather long), but it looks to me like your 7162 tuners (I guess a DigitalNow dual hybrid) are not currently able to tune channel 9. I can't tell why but for all intents and purposes it looks like signal strength/quality issues. Are you sure the frequency is correct?

    177500 kHz = 7
    184500 kHz = SBS
    191500 kHz = 9
    219500 kHz = 10
    226500 kHz = ABC

    I know Australia uses 125 kHz offsets in some areas. Some tuners are capable of automatically scanning the offset frequencies while others are not. If the frequencies you've ended up with are the non-offset values and the 7162 tuners are not capable of automatically scanning the offsets then it might explain why the Asus tuner appears fine and the 7162 tuners are not.

    Could also be the way you're splitting the signal...
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand

    mrkaras

    Portal Pro
    December 9, 2006
    541
    7
    Home Country
    Doctor Who was recording when I tried to start watching another channel (channel 9 or Go probably) and it didn't work, I then wanted to see what was going on and wanted to test that the cards had not disappeared from the server and did work. I started the scan to try to fix any tuning issues regarding that card

    I'm not sure I understand the offset bit, when I run the scan that should set up the card to work properly on anything it finds shouldn't it? or do I need to mess with offset frequencies manually?[DOUBLEPOST=1382429628][/DOUBLEPOST]never had tv server unkillable via task manager but frequently won't stop via services. still sounds like something I should install.
     

    mm1352000

    Retired Team Member
  • Premium Supporter
  • September 1, 2008
    21,544
    8,236
    Home Country
    New Zealand New Zealand
    Doctor Who was recording when I tried to start watching another channel (channel 9 or Go probably) and it didn't work, I then wanted to see what was going on and wanted to test that the cards had not disappeared from the server and did work. I started the scan to try to fix any tuning issues regarding that card
    I see in the MediaPortal log that you tried to tune Go! at 16:28:10 on the 22nd, but the scan I see is from the 21st.
    So what I'm saying is, those two tuners were blocked for almost a day before it seems like you noticed.
    Could you please be more specific about dates and times if I'm not getting this right.

    I'm not sure I understand the offset bit, when I run the scan that should set up the card to work properly on anything it finds shouldn't it? or do I need to mess with offset frequencies manually?
    Example:
    • when asked to tune frequency X, tuner A checks X kHz, X - 125 kHz, and X + 125 kHz
    • when asked to tune frequency X, tuner B checks X kHz
    If the broadcast frequency is X - 125 kHz or X + 125 kHz (ie. "offset") and MediaPortal tells tuner B to tune X kHz, it will fail to lock. On the other hand, tuner A will succeed because it checks the offsets.

    The answer to your question is: it depends on what the person who submitted the tuning details that you're using put in the tuning detail file. If they exactly match the broadcast frequencies (as you'd hope they would) then any tuner should work without messing with anything. If the person didn't apply the offset (ie. they entered Y but the real broadcast frequency is Y + 125 kHz) then tuners that don't check offsets would fail to tune.

    This is why I said are you sure the frequency is correct.
     

    mrkaras

    Portal Pro
    December 9, 2006
    541
    7
    Home Country
    I think it is quite possible the tuner was locked for almost a day, I have on other tuner so the system was sort of functioning.
    I have looked up the frequency and it is listed as 191500, so I guess I better go and manually adjust all my tuning details, I thought the auto tune would have got them right. I don't think the frequency is the problem or it would never work but its got to be a good thing to fix it properly anyway, thanks
     

    Users who are viewing this thread

    Similar threads

    I note that you are using MP2. The following applies to MP1, but I think that MP2 is identical in this situation. "TV Server Config" has a "TV Mapping" panel in the "TV Channels" section. On the "TV Mapping" tab: The left column lists the channels that have not yet been mapped to the TV tuner identified by the drop-down menu just...
    I note that you are using MP2. The following applies to MP1, but I think that MP2 is identical in this situation. "TV Server...
    I've scanned for channels, and got all channels mapped to tuner 0 of my 8 channel TV card (eg: 2 cards of 4 channels each) Is there...
    Replies
    1
    Views
    893
    MP1 MP2 Picture-in-picture DE
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many tries, and it’s not clear what I am doing that makes it work on those occasions when it does. Cannot find guidance on the site. Thanks, N. Again, if anyone knows how to do this, would be much...
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
    Can anyone tell me the step-by-step procedure for bringing up a second channel in pip mode? I can only do it sometimes, after many...
    Replies
    0
    Views
    2K
    two simultaneous recordings succeeded. All good!
    two simultaneous recordings succeeded. All good!
    Since upgrading from 1.36 to 1.38, MP1 no longer connects to my tuners. They no longer appear under the server in the left-hand...
    Replies
    11
    Views
    2K
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    Reading through your code, I can see it's more than a couple steps above my paygrade. :cry:
    I used to run the TVService under the "NT Service\TVService" account to follow least privileges principal (not exposing my whole...
    Replies
    3
    Views
    2K
    Thank you for confirming that U&W works for you. I ended up deleting U&W and rescanning for channels. That fixed the issue.
    Thank you for confirming that U&W works for you. I ended up deleting U&W and rescanning for channels. That fixed the issue.
    I have setup Refresh DVB EPG so that BBC One is the grabber channel (which is meant to grab all available channels) but the U&W...
    Replies
    2
    Views
    231
    Top Bottom