Project

General

Profile

Actions

Bug #3974

open

Error "ECM - key late"

Bug #3974: Error "ECM - key late"

Added by Mariusz Ch. over 9 years ago. Updated about 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2016-09-10
Due date:
% Done:

0%

Estimated time:
Found in version:
4.1-2216~gfd7806a-dirty
Affected Versions:

Description

I use TVheadend version 4.1-2216~gfd7806a-dirty and Oscam version "1.20-unstable_svn Build: r0 Compiler: arm-mv5sft-linux-gnueabi"
on TBS MOI+ IPTV streamer. My MOI+ has dual TBS 6281 DVB-C card and TBS 3102 card reader.

ISSUE:
occasionally (once every few hours) scrambled channel freeze.
The log appears the error "ECM - key late" of the large late time.
It helps to temporarily switch to another channel.

I attach the debug log from TVHeadend, Oscam and CA Configuration in the screenshot.


Files

oscam.log (7.76 KB) oscam.log Mariusz Ch., 2016-09-10 16:06
CAS conf.JPG (123 KB) CAS conf.JPG Mariusz Ch., 2016-09-10 16:06
tvheadend.zip (391 KB) tvheadend.zip Mariusz Ch., 2016-09-10 16:06
oscam.zip (79.3 KB) oscam.zip Mariusz Ch., 2016-09-11 13:05
tvheadend.zip (2.17 MB) tvheadend.zip Mariusz Ch., 2016-09-11 13:05

Updated by Jaroslav Kysela over 9 years ago Actions #1

Provide the full oscam log for 'dvbapi' (debug level 128) for oscam and enable '--trace descrambler,capmt' in tvh. https://tvheadend.org/projects/tvheadend/wiki/Traces

Updated by Mariusz Ch. over 9 years ago Actions #2

Jaroslav Kysela wrote:

Provide the full oscam log for 'dvbapi' (debug level 128) for oscam and enable '--trace descrambler,capmt' in tvh. https://tvheadend.org/projects/tvheadend/wiki/Traces

OK, but I have problem with '--trace descrambler,capmt' option in my tvheadend. This option is totally ignored in startup script or web interface. Works only 'all' parameter, but this produce probably a GBits log after a few hours...

Updated by Mariusz Ch. over 9 years ago Actions #3

Mariusz Ch. wrote:

OK, but I have problem with '--trace descrambler,capmt' option in my tvheadend. This option is totally ignored in startup script or web interface. Works only 'all' parameter, but this produce probably a GBits log after a few hours...

I have 11GB log - '-- debug all --trace all' after 10 night hours. The error "ECM late" occurred after 4 hours...
I have no idea what to do with this file.

Updated by Mariusz Ch. over 9 years ago Actions #4

OK, attached tvheadend.log cut with scripts:
- the occurrence of the ECM error
- removed from the lines included TRACE: tbl-eit, timeshift, parser, tsfix, htsp-sub, upnp, tbl-base
Additionally full oscam.log with debug level 128.

Updated by Mariusz Ch. over 9 years ago Actions #5

An answer? Plan? Something I can complement? Problems constantly repeated ...

Updated by Jaroslav Kysela over 9 years ago Actions #6

Could you try to add your CAID (0B00) to "const_cw" section in data/conf/descrambler ?

Updated by Mariusz Ch. over 9 years ago Actions #7

I added this section: {
"name" : "Stansat",
"caid" : "0B00"
}
I'll come back with the observations

Updated by Mariusz Ch. over 9 years ago Actions #8

The error "descrambler: ECM - key late" still occurs.

Updated by Jaroslav Kysela over 9 years ago Actions #9

It's very unlikely. Do you see "adding CAID 0B00 as constant crypto-word" line when you start tvh? Also, provide another traces.

Updated by Mariusz Ch. over 9 years ago Actions #10

I'm not sure what you're asking. I changed file /tvheadend/data/conf/descrambler adding the section: {
"name" : "Stansat",
"caid" : "0B00"
}
then restart tvheadend done. What more can I do?

Updated by Mariusz Ch. over 9 years ago Actions #11

but I had something else earlier in this section and added a new entry as the second. Is that good?

Updated by Jaroslav Kysela over 9 years ago Actions #12

Check tvh log for line in comment 9 .

Updated by Mariusz Ch. over 9 years ago Actions #13

OK, I understand now.
After allowing only one entry in the "const_cw" section of descrambler file, tvheadend starts with "adding CAID 0B00 as constant crypto-word" option and the ECM key too late problem is resolved.
I have another question what are the options "adding CAID XXXX as quick ECM"?

Updated by Petar Ivanov about 9 years ago Actions #14

Hi,
I have same problem with ECM too late with another caid, when add to "const_cw" section in data/conf/descrambler problem resolved, but my question is to every problematic caid i must add and every new version i must add my problematic caid, can make something to maid code and not make this on every new version ?
Thanks

Actions

Also available in: PDF Atom