Fwd: SIM_JOB_RUN_GSM_ALGO fails

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/.

Sebastien Lorquet sebastien at lorquet.fr
Mon Dec 19 16:01:53 UTC 2011


Hi,

SW1SW2 = 0000 let me think that the command was not actually sent to the card,
or the card was mute, or the error is very low level.

is the failing sim OK in a real phone?

Regards,
Sebastien

PS: A very minor point, I don't know how the debug function is supposed to work,
but the "data=" field is not the data, but the whole command.

Le 19/12/2011 16:36, Ethan Brown a écrit :
> Hello,
>
> The command SIM_JOB_RUN_GSM_ALGO fails on one of my sim cards.  Here is the
> log from mobile app:
>
> <0005> gsm48_mm.c:1637 AUTHENTICATION REQUEST (seq
> 0)                                                                            
> <0005> subscriber.c:957 Generating KEY at
> SIM                                                                                    
>
> <000f> sim.c:209 got new job: SIM_JOB_RUN_GSM_ALGO
> (handle=00000006)                                                             
> <000f> sim.c:539 RUN GSM
> ALGORITHM                                                                                               
>
> <000f> sim.c:187 sending APDU (class 0xa0, ins 0x88, data=a0 88 00 00 10 92 15
> a4 00 40 78 f7 7e b0 8c 31 19 99 56 01 93 )       
> <000f> sim.c:877 received APDU (len=0 sw1=0x00
> sw2=0x00)                                                                         
>
> <000f> sim.c:953 command
> failed                                                                                                  
>
> <000f> sim.c:151 sending result to callback function
> (type=1)                                                                    
> <0005> subscriber.c:991 key generation on SIM failed (cause 2)         
>
>
> And this is the log from L1:
>
> SIM Request (21): a0 88 00 00 10 92 15 a4 00 40 78 f7 7e b0 8c 31 19 99 56 01 93
> Triggering SIM transmission Character underflow!Triggering SIM reception Max
> characters received!SIM: ACK does not match request, response[0]=60,
> sim_data[1]=88
> SIM Response (2): 00 00
>
>
> The SIM I used for that test is somewhat different than other SIMs I have
> tested and worked before.  I attached a picture of two SIMs I used.  The green
> SIM is the one that fails running SIM_JOB_RUN_GSM_ALGO.  The white one works
> perfectly.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/baseband-devel/attachments/20111219/7abc432c/attachment.htm>


More information about the baseband-devel mailing list