Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#4159 closed enhancement (fixed)

ORF ICE in Irdeto (CAID 0648) shows: "EMM write error [7C|7B]" on shared EMM

Reported by: brezelbub Owned by:
Priority: minor Component: General
Severity: medium Keywords: ORC ICE Irdeto CAID 0648 + any ACS57 Cards
Cc: Sensitive: no

Description

Revision

all versions up to r10648

Issue Description

Running an ORF ICE card in Irdeto mode (CAID 0648) shows "[irdeto] EMM write error [7C|7B]" on most shared EMM. Only a few are written correctly.

Shared EMM are needed to renew entitlements properly, but to less are written correctly.

Global EMMs are written correctly.

When the issue occurs

If channel is broadcasting EMMs

How the issue is reproducable

Switch to one of the related channels

I need to gather log at log level 255 and append it tomorrow. It might take sometime show the error.

Attachments (2)

oscam_log_level_256_run.log (108.9 KB ) - added by brezelbub 8 years ago.
log snippet with oscam startup and a specific log level 256, waiting for these errors.
oscam_emm_write_error_7B_7C.log (148 bytes ) - added by brezelbub 8 years ago.
does only contain these to errors, no more details are logged here

Download all attachments as: .zip

Change History (9)

by brezelbub, 8 years ago

Attachment: oscam_log_level_256_run.log added

log snippet with oscam startup and a specific log level 256, waiting for these errors.

by brezelbub, 8 years ago

does only contain these to errors, no more details are logged here

comment:1 by brezelbub, 8 years ago

Actually I'm using vdr-plugin-dvbapi to oscam, the error does occur in socket and in network mode. And I've seen the same errors years ago using vdr-plugin-sc/cardclient towards oscam, revisions at this time has been r3xxx/r4xxx.

comment:2 by newcslover, 8 years ago

Edit reader-irdeto.c file

go to irdeto_do_emm

find

if(cta_res[2] != 0)
{

rdr_log(reader, "EMM write error %02X", cta_res[2]);

return ERROR;
}

Remove it and compile again you will no longer see this Error in log.

P.S This is useless check , emm is being written fine then why print annoying log ?

EMM reply 7C or 7B or anything does not determine whether emm written succefully or not.

Someone bother to make patch after removing this anoying check ...

Regards

comment:3 by newcslover, 8 years ago

Component: Card supportGeneral
Keywords: + any ACS57 Cards added

comment:4 by brezelbub, 8 years ago

Thx for the hint, but only 20-30% of incoming EMMs are written correctly. The amount of incomming EMMs equals to CW mode, where all are written correctly.

From what I see is if I get this error, the EMM is not written correctly, otherwise the statistics provided by oscam seem to be wrong somehow.

Last edited 8 years ago by brezelbub (previous) (diff)

comment:5 by newcslover, 8 years ago

Shared and Global are not always meant to be written ... for example Most Global EMMs are need for card only ONCE, While in case of shared emm: not every emm is meant to be written on every card on in shared group.
Card need shared emm (LEN: 3F) only once a day to update each chid, so its normal if you see written and errors for some emm.

I will make a patch and post asap removing this annoying code which prints EMM write error [7C|7B].

Regards

comment:6 by newcslover, 8 years ago

Resolution: fixed
Status: newclosed
Type: defectenhancement

in reply to:  5 comment:7 by Nogel, 8 years ago

Replying to newcslover:

I will make a patch and post asap removing this annoying code which prints EMM write error [7C|7B].

May I asking, if the patch has been already applied or not, as I can't find a commit regarding this and for me, also still have the "ugly" lines in the log.

Regards Nogel

Last edited 8 years ago by Nogel (previous) (diff)
Note: See TracTickets for help on using tickets.